(0.1ms) select sqlite_version(*)  (2.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.0ms) PRAGMA index_list("schema_migrations")  (1.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateMessageTemplates (149)  (0.5ms) CREATE TABLE "message_templates" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "status" varchar(255) NOT NULL, "title" text NOT NULL, "body" text NOT NULL, "position" integer, "locale" varchar(255) DEFAULT 'en', "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("message_templates")  (0.5ms) CREATE UNIQUE INDEX "index_message_templates_on_status" ON "message_templates" ("status")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('149') Migrating to CreateMessages (154)  (0.4ms) CREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "read_at" datetime, "receiver_id" integer, "sender_id" integer, "subject" varchar(255) NOT NULL, "body" text, "message_request_id" integer, "state" varchar(255), "parent_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("messages")  (0.1ms) CREATE INDEX "index_messages_on_sender_id" ON "messages" ("sender_id")  (0.0ms) PRAGMA index_list("messages")  (0.0ms) PRAGMA index_info('index_messages_on_sender_id')  (0.1ms) CREATE INDEX "index_messages_on_receiver_id" ON "messages" ("receiver_id")  (0.0ms) PRAGMA index_list("messages")  (0.0ms) PRAGMA index_info('index_messages_on_receiver_id')  (0.0ms) PRAGMA index_info('index_messages_on_sender_id')  (0.1ms) CREATE INDEX "index_messages_on_message_request_id" ON "messages" ("message_request_id")  (0.0ms) PRAGMA index_list("messages")  (0.0ms) PRAGMA index_info('index_messages_on_message_request_id')  (0.0ms) PRAGMA index_info('index_messages_on_receiver_id')  (0.0ms) PRAGMA index_info('index_messages_on_sender_id')  (0.2ms) CREATE INDEX "index_messages_on_parent_id" ON "messages" ("parent_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('154') Migrating to CreateMessageRequests (20080819181903)  (0.6ms) CREATE TABLE "message_requests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sender_id" integer, "receiver_id" integer, "message_template_id" integer, "sent_at" datetime, "deleted_at" datetime, "body" text, "state" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("message_requests")  (0.1ms) CREATE INDEX "index_message_requests_on_state" ON "message_requests" ("state")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080819181903') Migrating to AddLftAndRgtToMessage (20110913115320)  (0.5ms) ALTER TABLE "messages" ADD "lft" integer  (0.2ms) ALTER TABLE "messages" ADD "rgt" integer  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110913115320')  (0.4ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  (0.0ms) PRAGMA index_list("message_requests")  (0.0ms) PRAGMA index_info('index_message_requests_on_state')  (0.0ms) PRAGMA index_list("message_templates")  (0.0ms) PRAGMA index_info('index_message_templates_on_status')  (0.0ms) PRAGMA index_list("messages")  (0.0ms) PRAGMA index_info('index_messages_on_parent_id')  (0.0ms) PRAGMA index_info('index_messages_on_message_request_id')  (0.0ms) PRAGMA index_info('index_messages_on_receiver_id')  (0.0ms) PRAGMA index_info('index_messages_on_sender_id') Processing by MessageRequestsController#index as HTML Completed 500 Internal Server Error in 5ms Processing by MessageTemplatesController#new as HTML Completed 500 Internal Server Error in 10ms Processing by MessagesController#new as HTML Completed 500 Internal Server Error in 13ms Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.3ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 6ms Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 4ms Fixture Delete (0.4ms) DELETE FROM "message_requests" Fixture Insert (0.2ms) INSERT INTO "message_requests" ("sender_id", "receiver_id", "message_template_id", "state", "created_at", "updated_at", "id") VALUES (1, 1, 1, 'pending', '2011-12-16 03:25:48', '2011-12-16 03:25:48', 980190962) Fixture Insert (0.1ms) INSERT INTO "message_requests" ("sender_id", "receiver_id", "message_template_id", "state", "created_at", "updated_at", "id") VALUES (1, 1, 1, 'pending', '2011-12-16 03:25:48', '2011-12-16 03:25:48', 298486374) Fixture Delete (0.3ms) DELETE FROM "message_templates" Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (1, 'reservation_accepted', 'Reservation accepted', 'Reservation accepted', 1, '2011-12-16 03:25:48', '2011-12-16 03:25:48') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (2, 'item_received', 'Item received', 'Item received', 2, '2011-12-16 03:25:48', '2011-12-16 03:25:48') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (3, 'reservation_expired_for_patron', 'Reservation expired', 'Reservation expired', 3, '2011-12-16 03:25:48', '2011-12-16 03:25:48') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (4, 'reservation_expired_for_library', 'Reservation expired', 'Reservation expired', 4, '2011-12-16 03:25:48', '2011-12-16 03:25:48') Fixture Insert (0.2ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (5, 'reservation_canceled_for_patron', 'Reservation canceled', 'Reservation canceled', 5, '2011-12-16 03:25:48', '2011-12-16 03:25:48') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (6, 'reservation_canceled_for_library', 'Reservation canceled', 'Reservation canceled', 6, '2011-12-16 03:25:48', '2011-12-16 03:25:48') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (7, 'recall_item', 'Recall item', 'Recall item', 7, '2011-12-16 03:25:48', '2011-12-16 03:25:48') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (8, 'recall_overdue_item', 'Recall overdue item', 'Recall overdue item', 8, '2011-12-16 03:25:48', '2011-12-16 03:25:48') Fixture Delete (0.2ms) DELETE FROM "messages" Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "read_at", "state", "lft", "rgt", "updated_at") VALUES (1, 3, 4, 'First Message', 'Abby, you get the first message', '2007-07-04 12:10:47.000000', '2011-12-13 03:25:48.000000', 'unread', 1, 2, '2011-12-16 03:25:48') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (2, 4, 3, 'RE: First Message', 'Thanks Dad! You are the coolest!', '2011-12-14 03:25:48.000000', 'unread', 3, 4, '2011-12-16 03:25:48') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (3, 3, 4, 'Second Message', 'Catie, you get the 2nd message', '2011-12-15 03:25:48.000000', 'unread', 5, 6, '2011-12-16 03:25:48') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (6, 4, 5, 'Dad!', 'He is sucha dork.', '2011-12-14 03:25:48.000000', 'unread', 7, 8, '2011-12-16 03:25:48') Processing by MessageRequestsController#index as HTML Completed 500 Internal Server Error in 5ms Processing by MessageTemplatesController#new as HTML Completed 500 Internal Server Error in 6ms Message Load (0.4ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 8ms Processing by MessagesController#new as HTML Completed 500 Internal Server Error in 6ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 8ms Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 8ms Fixture Delete (0.4ms) DELETE FROM "message_requests" Fixture Insert (0.2ms) INSERT INTO "message_requests" ("sender_id", "receiver_id", "message_template_id", "state", "created_at", "updated_at", "id") VALUES (1, 1, 1, 'pending', '2011-12-16 03:26:26', '2011-12-16 03:26:26', 980190962) Fixture Insert (0.1ms) INSERT INTO "message_requests" ("sender_id", "receiver_id", "message_template_id", "state", "created_at", "updated_at", "id") VALUES (1, 1, 1, 'pending', '2011-12-16 03:26:26', '2011-12-16 03:26:26', 298486374) Fixture Delete (0.1ms) DELETE FROM "message_templates" Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (1, 'reservation_accepted', 'Reservation accepted', 'Reservation accepted', 1, '2011-12-16 03:26:26', '2011-12-16 03:26:26') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (2, 'item_received', 'Item received', 'Item received', 2, '2011-12-16 03:26:26', '2011-12-16 03:26:26') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (3, 'reservation_expired_for_patron', 'Reservation expired', 'Reservation expired', 3, '2011-12-16 03:26:26', '2011-12-16 03:26:26') Fixture Insert (0.2ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (4, 'reservation_expired_for_library', 'Reservation expired', 'Reservation expired', 4, '2011-12-16 03:26:26', '2011-12-16 03:26:26') Fixture Insert (0.2ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (5, 'reservation_canceled_for_patron', 'Reservation canceled', 'Reservation canceled', 5, '2011-12-16 03:26:26', '2011-12-16 03:26:26') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (6, 'reservation_canceled_for_library', 'Reservation canceled', 'Reservation canceled', 6, '2011-12-16 03:26:26', '2011-12-16 03:26:26') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (7, 'recall_item', 'Recall item', 'Recall item', 7, '2011-12-16 03:26:26', '2011-12-16 03:26:26') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (8, 'recall_overdue_item', 'Recall overdue item', 'Recall overdue item', 8, '2011-12-16 03:26:26', '2011-12-16 03:26:26') Fixture Delete (0.2ms) DELETE FROM "messages" Fixture Insert (0.2ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "read_at", "state", "lft", "rgt", "updated_at") VALUES (1, 3, 4, 'First Message', 'Abby, you get the first message', '2007-07-04 12:10:47.000000', '2011-12-13 03:26:26.000000', 'unread', 1, 2, '2011-12-16 03:26:26') Fixture Insert (0.2ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (2, 4, 3, 'RE: First Message', 'Thanks Dad! You are the coolest!', '2011-12-14 03:26:26.000000', 'unread', 3, 4, '2011-12-16 03:26:26') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (3, 3, 4, 'Second Message', 'Catie, you get the 2nd message', '2011-12-15 03:26:26.000000', 'unread', 5, 6, '2011-12-16 03:26:26') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (6, 4, 5, 'Dad!', 'He is sucha dork.', '2011-12-14 03:26:26.000000', 'unread', 7, 8, '2011-12-16 03:26:26') Processing by MessageRequestsController#index as HTML Completed 500 Internal Server Error in 7ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_1' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_1"], ["created_at", Fri, 16 Dec 2011 03:26:26 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_1"], ["title", "message_template_1"], ["updated_at", Fri, 16 Dec 2011 03:26:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_2' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_2"], ["created_at", Fri, 16 Dec 2011 03:26:26 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_2"], ["title", "message_template_2"], ["updated_at", Fri, 16 Dec 2011 03:26:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_3' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_3"], ["created_at", Fri, 16 Dec 2011 03:26:26 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_3"], ["title", "message_template_3"], ["updated_at", Fri, 16 Dec 2011 03:26:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_4' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_4"], ["created_at", Fri, 16 Dec 2011 03:26:26 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_4"], ["title", "message_template_4"], ["updated_at", Fri, 16 Dec 2011 03:26:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML Completed 500 Internal Server Error in 8ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_5' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_5"], ["created_at", Fri, 16 Dec 2011 03:26:26 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_5"], ["title", "message_template_5"], ["updated_at", Fri, 16 Dec 2011 03:26:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 7ms Processing by MessageTemplatesController#new as HTML Completed 500 Internal Server Error in 6ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_6' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_6"], ["created_at", Fri, 16 Dec 2011 03:26:26 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_6"], ["title", "message_template_6"], ["updated_at", Fri, 16 Dec 2011 03:26:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 7ms Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_19", "status"=>"message_template_19", "body"=>"message_template_19"}} Completed 500 Internal Server Error in 6ms Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_20", "status"=>"message_template_20", "body"=>"message_template_20"}} Completed 500 Internal Server Error in 4ms Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Completed 500 Internal Server Error in 3ms Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Completed 500 Internal Server Error in 4ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_23' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_23"], ["created_at", Fri, 16 Dec 2011 03:26:26 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_23"], ["title", "message_template_23"], ["updated_at", Fri, 16 Dec 2011 03:26:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_25' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_25"], ["created_at", Fri, 16 Dec 2011 03:26:26 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_25"], ["title", "message_template_25"], ["updated_at", Fri, 16 Dec 2011 03:26:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_27' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_27"], ["created_at", Fri, 16 Dec 2011 03:26:26 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_27"], ["title", "message_template_27"], ["updated_at", Fri, 16 Dec 2011 03:26:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_29' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_29"], ["created_at", Fri, 16 Dec 2011 03:26:26 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_29"], ["title", "message_template_29"], ["updated_at", Fri, 16 Dec 2011 03:26:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_31' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_31"], ["created_at", Fri, 16 Dec 2011 03:26:26 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_31"], ["title", "message_template_31"], ["updated_at", Fri, 16 Dec 2011 03:26:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_33' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_33"], ["created_at", Fri, 16 Dec 2011 03:26:26 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_33"], ["title", "message_template_33"], ["updated_at", Fri, 16 Dec 2011 03:26:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_35' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_35"], ["created_at", Fri, 16 Dec 2011 03:26:26 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_35"], ["title", "message_template_35"], ["updated_at", Fri, 16 Dec 2011 03:26:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_37' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_37"], ["created_at", Fri, 16 Dec 2011 03:26:26 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_37"], ["title", "message_template_37"], ["updated_at", Fri, 16 Dec 2011 03:26:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_39' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_39"], ["created_at", Fri, 16 Dec 2011 03:26:26 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_39"], ["title", "message_template_39"], ["updated_at", Fri, 16 Dec 2011 03:26:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_41' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_41"], ["created_at", Fri, 16 Dec 2011 03:26:26 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_41"], ["title", "message_template_41"], ["updated_at", Fri, 16 Dec 2011 03:26:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_43' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_43"], ["created_at", Fri, 16 Dec 2011 03:26:26 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_43"], ["title", "message_template_43"], ["updated_at", Fri, 16 Dec 2011 03:26:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_44", "status"=>"message_template_44", "body"=>"message_template_44"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 4ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_45' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_45"], ["created_at", Fri, 16 Dec 2011 03:26:27 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_45"], ["title", "message_template_45"], ["updated_at", Fri, 16 Dec 2011 03:26:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_46", "status"=>"message_template_46", "body"=>"message_template_46"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 5ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_47' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_47"], ["created_at", Fri, 16 Dec 2011 03:26:27 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_47"], ["title", "message_template_47"], ["updated_at", Fri, 16 Dec 2011 03:26:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 4ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_49' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_49"], ["created_at", Fri, 16 Dec 2011 03:26:27 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_49"], ["title", "message_template_49"], ["updated_at", Fri, 16 Dec 2011 03:26:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_50' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_50"], ["created_at", Fri, 16 Dec 2011 03:26:27 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_50"], ["title", "message_template_50"], ["updated_at", Fri, 16 Dec 2011 03:26:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_51' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_51"], ["created_at", Fri, 16 Dec 2011 03:26:27 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_51"], ["title", "message_template_51"], ["updated_at", Fri, 16 Dec 2011 03:26:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_52' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_52"], ["created_at", Fri, 16 Dec 2011 03:26:27 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_52"], ["title", "message_template_52"], ["updated_at", Fri, 16 Dec 2011 03:26:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_53' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_53"], ["created_at", Fri, 16 Dec 2011 03:26:27 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_53"], ["title", "message_template_53"], ["updated_at", Fri, 16 Dec 2011 03:26:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_54' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_54"], ["created_at", Fri, 16 Dec 2011 03:26:27 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_54"], ["title", "message_template_54"], ["updated_at", Fri, 16 Dec 2011 03:26:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_55' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_55"], ["created_at", Fri, 16 Dec 2011 03:26:27 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_55"], ["title", "message_template_55"], ["updated_at", Fri, 16 Dec 2011 03:26:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 4ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_56' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_56"], ["created_at", Fri, 16 Dec 2011 03:26:27 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_56"], ["title", "message_template_56"], ["updated_at", Fri, 16 Dec 2011 03:26:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 3ms Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 4ms Processing by MessagesController#new as HTML Completed 500 Internal Server Error in 3ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 5ms Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 4ms  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateMessageTemplates (149) Migrating to CreateMessages (154) Migrating to CreateMessageRequests (20080819181903) Migrating to AddLftAndRgtToMessage (20110913115320) Migrating to CreateLanguages (20111201121636)  (0.0ms) select sqlite_version(*)  (0.4ms) CREATE TABLE "languages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "native_name" varchar(255), "display_name" text, "iso_639_1" varchar(255), "iso_639_2" varchar(255), "iso_639_3" varchar(255), "note" text, "position" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201121636') Migrating to CreateRoles (20111201121844)  (0.3ms) CREATE TABLE "roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "display_name" text, "note" text, "position" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201121844') Migrating to CreateUsers (20111201155456)  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_group_id" integer, "required_role_id" integer, "username" varchar(255), "note" text, "locale" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201155456') Migrating to AddDeviseToUsers (20111201155513)  (0.3ms) ALTER TABLE "users" ADD "email" varchar(255) DEFAULT '' NOT NULL  (0.1ms) ALTER TABLE "users" ADD "encrypted_password" varchar(128) DEFAULT '' NOT NULL  (0.1ms) ALTER TABLE "users" ADD "reset_password_token" varchar(255)  (0.1ms) ALTER TABLE "users" ADD "reset_password_sent_at" datetime  (0.1ms) ALTER TABLE "users" ADD "remember_created_at" datetime  (0.1ms) ALTER TABLE "users" ADD "sign_in_count" integer DEFAULT 0  (0.2ms) ALTER TABLE "users" ADD "current_sign_in_at" datetime  (0.1ms) ALTER TABLE "users" ADD "last_sign_in_at" datetime  (0.1ms) ALTER TABLE "users" ADD "current_sign_in_ip" varchar(255)  (0.1ms) ALTER TABLE "users" ADD "last_sign_in_ip" varchar(255)  (0.0ms) PRAGMA index_list("users")  (0.1ms) CREATE INDEX "index_users_on_email" ON "users" ("email")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.4ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201155513') Migrating to CreateUserGroups (20111201163342)  (0.3ms) CREATE TABLE "user_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "display_name" text, "note" text, "position" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201163342') Migrating to CreateUserHasRoles (20111201163718)  (0.3ms) CREATE TABLE "user_has_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "role_id" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201163718')  (0.4ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  (0.0ms) PRAGMA index_list("languages")  (0.0ms) PRAGMA index_list("message_requests")  (0.2ms) PRAGMA index_info('index_message_requests_on_state')  (0.0ms) PRAGMA index_list("message_templates")  (0.0ms) PRAGMA index_info('index_message_templates_on_status')  (0.0ms) PRAGMA index_list("messages")  (0.0ms) PRAGMA index_info('index_messages_on_parent_id')  (0.0ms) PRAGMA index_info('index_messages_on_message_request_id')  (0.0ms) PRAGMA index_info('index_messages_on_receiver_id')  (0.0ms) PRAGMA index_info('index_messages_on_sender_id')  (0.0ms) PRAGMA index_list("roles")  (0.0ms) PRAGMA index_list("user_groups")  (0.0ms) PRAGMA index_list("user_has_roles")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')  (0.0ms) PRAGMA index_info('index_users_on_email') Fixture Delete (0.4ms) DELETE FROM "message_requests" Fixture Insert (0.2ms) INSERT INTO "message_requests" ("sender_id", "receiver_id", "message_template_id", "state", "created_at", "updated_at", "id") VALUES (1, 1, 1, 'pending', '2011-12-16 03:32:42', '2011-12-16 03:32:42', 980190962) Fixture Insert (0.1ms) INSERT INTO "message_requests" ("sender_id", "receiver_id", "message_template_id", "state", "created_at", "updated_at", "id") VALUES (1, 1, 1, 'pending', '2011-12-16 03:32:42', '2011-12-16 03:32:42', 298486374) Fixture Delete (0.1ms) DELETE FROM "message_templates" Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (1, 'reservation_accepted', 'Reservation accepted', 'Reservation accepted', 1, '2011-12-16 03:32:42', '2011-12-16 03:32:42') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (2, 'item_received', 'Item received', 'Item received', 2, '2011-12-16 03:32:42', '2011-12-16 03:32:42') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (3, 'reservation_expired_for_patron', 'Reservation expired', 'Reservation expired', 3, '2011-12-16 03:32:42', '2011-12-16 03:32:42') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (4, 'reservation_expired_for_library', 'Reservation expired', 'Reservation expired', 4, '2011-12-16 03:32:42', '2011-12-16 03:32:42') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (5, 'reservation_canceled_for_patron', 'Reservation canceled', 'Reservation canceled', 5, '2011-12-16 03:32:42', '2011-12-16 03:32:42') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (6, 'reservation_canceled_for_library', 'Reservation canceled', 'Reservation canceled', 6, '2011-12-16 03:32:42', '2011-12-16 03:32:42') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (7, 'recall_item', 'Recall item', 'Recall item', 7, '2011-12-16 03:32:42', '2011-12-16 03:32:42') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (8, 'recall_overdue_item', 'Recall overdue item', 'Recall overdue item', 8, '2011-12-16 03:32:42', '2011-12-16 03:32:42') Fixture Delete (0.3ms) DELETE FROM "messages" Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "read_at", "state", "lft", "rgt", "updated_at") VALUES (1, 3, 4, 'First Message', 'Abby, you get the first message', '2007-07-04 12:10:47.000000', '2011-12-13 03:32:42.000000', 'unread', 1, 2, '2011-12-16 03:32:42') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (2, 4, 3, 'RE: First Message', 'Thanks Dad! You are the coolest!', '2011-12-14 03:32:42.000000', 'unread', 3, 4, '2011-12-16 03:32:42') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (3, 3, 4, 'Second Message', 'Catie, you get the 2nd message', '2011-12-15 03:32:42.000000', 'unread', 5, 6, '2011-12-16 03:32:42') Fixture Insert (0.3ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (6, 4, 5, 'Dad!', 'He is sucha dork.', '2011-12-14 03:32:42.000000', 'unread', 7, 8, '2011-12-16 03:32:42') Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_1@example.jp"], ["encrypted_password", "$2a$04$By3Hj9V.nA9.GIqvmd1tSO5gpNu.LqaQbodbJ3s7UQQ8xI.RRA/.a"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00], ["user_group_id", nil], ["username", "admin_1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML Completed 500 Internal Server Error in 5ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_1@example.jp"], ["encrypted_password", "$2a$04$fhqXlolZ1Lw9kYuKkfkDburfBuXsz224MqUH0OcqPHkU5BJ9PgL4q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00], ["user_group_id", nil], ["username", "librarian_1"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML Completed 500 Internal Server Error in 4ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_1@example.jp"], ["encrypted_password", "$2a$04$CthAi11dJG7Wu1B8Da6HtObCoH/wSyvnbmJdU/FWNgQP2yObLM4i."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00], ["user_group_id", nil], ["username", "user_1"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML Completed 500 Internal Server Error in 4ms Processing by MessageRequestsController#index as HTML Completed 500 Internal Server Error in 4ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_2@example.jp"], ["encrypted_password", "$2a$04$wNqbLmyak8yn0OamIf8b/uj8.QLaHvO/.Zhi6vLqNG8HR9paSY09K"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00], ["user_group_id", nil], ["username", "admin_2"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_2@example.jp"], ["encrypted_password", "$2a$04$ZCPz5cuniEPUIbqN3QPv2ur1r/aWjV97yPR6C3TEjmnwpFLvwBu.G"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00], ["user_group_id", nil], ["username", "user_2"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_3@example.jp"], ["encrypted_password", "$2a$04$PKPDxmBUKXoLvDVaMfvRcuT5o6wv7moXgknb/hGaLksM6ansxzY8i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00], ["user_group_id", nil], ["username", "user_3"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_1' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_1"], ["created_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_1"], ["title", "message_template_1"], ["updated_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_1' AND "message_templates"."id" != 9) LIMIT 1 SQL (1.1ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 3], ["sender_id", 2], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.2ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 8ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_2@example.jp"], ["encrypted_password", "$2a$04$DyK3XHj.1DuyDO2RcwdbY.MZIZIpcMrc9PecOCbPMf6FfE8jRAd/i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00], ["user_group_id", nil], ["username", "librarian_2"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_4@example.jp"], ["encrypted_password", "$2a$04$iZ14QM1ilo9jWAugMjv.Oecie28/5QwPXbvA0vJNC2kRFxbZK4U9G"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00], ["user_group_id", nil], ["username", "user_4"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_5@example.jp"], ["encrypted_password", "$2a$04$KtWzU6MwFUeSu6Fuf73pJu83wpxtqz9/0T8gnohCkD1cNwwaTLOZq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00], ["user_group_id", nil], ["username", "user_5"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_2' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_2"], ["created_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_2"], ["title", "message_template_2"], ["updated_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_2' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 3], ["sender_id", 2], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 8ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_6@example.jp"], ["encrypted_password", "$2a$04$BjNd8EPq/IFsT2IN5Y1.Zekch0Bd5hwQKmiEG2VaQRV8/MS55SYHa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00], ["user_group_id", nil], ["username", "user_6"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_7@example.jp"], ["encrypted_password", "$2a$04$TwrLJv2lznAMUO4HvDbmge4y3KMaj.F3hNwu9ID9yuATSaLcUTpWW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00], ["user_group_id", nil], ["username", "user_7"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_8@example.jp"], ["encrypted_password", "$2a$04$MLekSyD4e/dtWGue2157WudunT6murchf6yCdtOx.TlK7oUavw3ra"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00], ["user_group_id", nil], ["username", "user_8"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_3' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_3"], ["created_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_3"], ["title", "message_template_3"], ["updated_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_3' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 3], ["sender_id", 2], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 9ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_9@example.jp"], ["encrypted_password", "$2a$04$eUuFqkgR76Pacd/vnnoMd.UvWLcXeIBcu.hF6a8G0g7rLvSLy3qZK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00], ["user_group_id", nil], ["username", "user_9"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_10@example.jp"], ["encrypted_password", "$2a$04$iJhV4o6peJ65KlFgghj.Nue7BMUqtU39Q65wYeOKrmti5UDbYKbX."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00], ["user_group_id", nil], ["username", "user_10"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_4' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_4"], ["created_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_4"], ["title", "message_template_4"], ["updated_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_4' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 2], ["sender_id", 1], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 10ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_3@example.jp"], ["encrypted_password", "$2a$04$4dYTxqnRW7W8bPU573x/YuiFAA0UozU.ffpOXcWio7pwpb/FBqFxm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00], ["user_group_id", nil], ["username", "admin_3"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_11@example.jp"], ["encrypted_password", "$2a$04$XaYYs3s/peg5FUuddTXR/uVCTwpLI1LpbZQHF/AAjvGM6tqV5syq."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00], ["user_group_id", nil], ["username", "user_11"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_12@example.jp"], ["encrypted_password", "$2a$04$QI/jUrnm4tZjr.ZdeeI.A.G0AR3fYIkBnWGR.A4CABxBXt7qtDQ7q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00], ["user_group_id", nil], ["username", "user_12"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_5' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_5"], ["created_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_5"], ["title", "message_template_5"], ["updated_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_5' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 3], ["sender_id", 2], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 9ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (6.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_3@example.jp"], ["encrypted_password", "$2a$04$aCG9E02s3bsgtEVv8LO9w.EJKA4edbZ1wLwrSjBChLVxT6vTcUNX6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00], ["user_group_id", nil], ["username", "librarian_3"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_13@example.jp"], ["encrypted_password", "$2a$04$rkfsCMhL9wGNyrn2MgISBOjfH7rUsZS.J6iEgTYFXzByhpHGJElXq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00], ["user_group_id", nil], ["username", "user_13"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_14@example.jp"], ["encrypted_password", "$2a$04$A5x33qmveIjKyoLrlXwOx.gRcbZty0KIuA9fMNS/FkDTKJlXolghy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00], ["user_group_id", nil], ["username", "user_14"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_6' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_6"], ["created_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_6"], ["title", "message_template_6"], ["updated_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_6' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 3], ["sender_id", 2], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_15@example.jp"], ["encrypted_password", "$2a$04$htthX7x3vVjKld59bIMV2OQalMQH8aVsQUCivxXsEr1uNrFhFApr."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00], ["user_group_id", nil], ["username", "user_15"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_16@example.jp"], ["encrypted_password", "$2a$04$krHK.aVkyh1hIp1h4ZKzce5piwqCeCZdhIeA/mWHRBTfndaCodSpe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00], ["user_group_id", nil], ["username", "user_16"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_17@example.jp"], ["encrypted_password", "$2a$04$p8rtmd8Jkt2huqGFDI6wjeeZVBwGXvK/BlJlcYCgcj.oT27GgcdLy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00], ["user_group_id", nil], ["username", "user_17"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_7' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_7"], ["created_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_7"], ["title", "message_template_7"], ["updated_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_7' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 3], ["sender_id", 2], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_18@example.jp"], ["encrypted_password", "$2a$04$AY7Rsob273BeHYAYjb26BO2n3WkfV8rn.clWJC3voz5j0dAw6Sj5i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00], ["user_group_id", nil], ["username", "user_18"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_19@example.jp"], ["encrypted_password", "$2a$04$31SbZ6izC1.X.DXloj7uGeSGJrYQtqRbQOmyCo7xyRJ2Zs2NJGbT2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00], ["user_group_id", nil], ["username", "user_19"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_8' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_8"], ["created_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_8"], ["title", "message_template_8"], ["updated_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_8' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 2], ["sender_id", 1], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00]]  (2.3ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (60.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_20@example.jp"], ["encrypted_password", "$2a$04$TXDhinsLieeuOCk93W.C6erTVORJURZuUD2T4O2bGKe.p8USkN1u6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00], ["user_group_id", nil], ["username", "user_20"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_21@example.jp"], ["encrypted_password", "$2a$04$TwbVp.8oiuatxew2.GlWj.b/In91/Za7tSht.voOwIUbksazi5cI2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00], ["user_group_id", nil], ["username", "user_21"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_9' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_9"], ["created_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_9"], ["title", "message_template_9"], ["updated_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_9' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 2], ["sender_id", 1], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_22@example.jp"], ["encrypted_password", "$2a$04$oELe18WGqkBiLXhHxabVqOOofHCTPR9eVdsNWykjpZjwhWXb3uhA6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00], ["user_group_id", nil], ["username", "user_22"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.5ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_23@example.jp"], ["encrypted_password", "$2a$04$vzzEws9hPdQaKZjRaKl3K.HAyL3w33WIAi1HhQn7T7j6DvxhM9n.."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00], ["user_group_id", nil], ["username", "user_23"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_10' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_10"], ["created_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_10"], ["title", "message_template_10"], ["updated_at", Fri, 16 Dec 2011 03:32:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_4@example.jp"], ["encrypted_password", "$2a$04$v01Zt80c9Mak6OFL3yauLO7YCnZAONPndyHAvi71GGSq9XCwWm2zG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["user_group_id", nil], ["username", "admin_4"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"3", "receiver_id"=>"4", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 8ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_24@example.jp"], ["encrypted_password", "$2a$04$qGDAdbDzOHv.L72tgRCBGu6jJ.8zQtOs5OwqXCO2yWEP6U5DZIL3W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["user_group_id", nil], ["username", "user_24"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_25@example.jp"], ["encrypted_password", "$2a$04$20uQOKcI8lFDIBWgZwlb.eTESSO1ObCs4nZ8VfdlRLQj8yBW1eL/O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["user_group_id", nil], ["username", "user_25"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_11' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_11"], ["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_11"], ["title", "message_template_11"], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_11' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 2], ["sender_id", 1], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_26@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_26@example.jp"], ["encrypted_password", "$2a$04$x60pdqYg2LGlZXZN.dkw3erDRwDExr6U3huDMp1cbyreMk6153EXG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["user_group_id", nil], ["username", "user_26"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_27@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_27@example.jp"], ["encrypted_password", "$2a$04$QMpiN.cRzI4z1.TPOEML/OyBRKxQaIn8jEPbBbaS4y0RVM.qjC4SK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["user_group_id", nil], ["username", "user_27"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_12' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_12"], ["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_12"], ["title", "message_template_12"], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_5@example.jp"], ["encrypted_password", "$2a$04$513w.2SPUSDwKHd8FS9NeeyHbJP2.xScILPPtYmKkgEPUYBzdskfS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["user_group_id", nil], ["username", "admin_5"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"3", "receiver_id"=>"4", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 10ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_28@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_28@example.jp"], ["encrypted_password", "$2a$04$7PtROL84YdKNeKBHoFEqOu2D7gcfT21wRtOnlPb8U6guzWvSKk2.2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["user_group_id", nil], ["username", "user_28"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_29@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (57.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_29@example.jp"], ["encrypted_password", "$2a$04$42/d9TnHDMbe8O7/PdTpl.5NBd6iHjHj9GGKBebM/3lLLkIriWU7W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["user_group_id", nil], ["username", "user_29"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_13' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_13"], ["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_13"], ["title", "message_template_13"], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_13' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 2], ["sender_id", 1], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_30@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_30@example.jp"], ["encrypted_password", "$2a$04$hCeqX8wcwTRiO3xsS6e1Z.uh/JLk7/l5EgmdbnZuySWHqEiSuU3Ia"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["user_group_id", nil], ["username", "user_30"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_31@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_31@example.jp"], ["encrypted_password", "$2a$04$J8Sd/e04a1CNDb4evEIdkOGbzTvGyL4Gym.8D3/vjSX1SFC..1jS6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["user_group_id", nil], ["username", "user_31"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_14' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_14"], ["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_14"], ["title", "message_template_14"], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_6@example.jp"], ["encrypted_password", "$2a$04$ngYbc7005HUra.aDYO/ZB.rvmteUFU3ALNEUyRWjpIkEj/6te2na6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["user_group_id", nil], ["username", "admin_6"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 8ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_32@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_32@example.jp"], ["encrypted_password", "$2a$04$q0B7Ge6V6mM.7Zdt0Zgxf.Bw1ShbLpFYNLxvQFmT4O0G/Va1h8wEe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["user_group_id", nil], ["username", "user_32"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_33@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_33@example.jp"], ["encrypted_password", "$2a$04$YgeVbMhned6N84E7LRZ06OVes5rS6awbgWuxUA9xq7a8f81HF.Gba"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["user_group_id", nil], ["username", "user_33"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_15' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_15"], ["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_15"], ["title", "message_template_15"], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_15' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 2], ["sender_id", 1], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_34@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_34@example.jp"], ["encrypted_password", "$2a$04$DhqusJuiCY.eKRUn1WL6vexlIAHi6IgoJqzZm37QyNtZbUEm5XZQm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["user_group_id", nil], ["username", "user_34"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_35@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_35@example.jp"], ["encrypted_password", "$2a$04$msLWECajwiSaGxrvTwflzu2GYve5WPBz/sX2qxxQh59zrtMWFde8m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["user_group_id", nil], ["username", "user_35"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_16' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_16"], ["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_16"], ["title", "message_template_16"], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_4@example.jp"], ["encrypted_password", "$2a$04$bTnMXwF4/O5TxK0vSHk.YepakqZ5ZdzKCOuS4XGbmaRtGaVEcxHd."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["user_group_id", nil], ["username", "librarian_4"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"3", "receiver_id"=>"4", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_36@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_36@example.jp"], ["encrypted_password", "$2a$04$Ntz2JNmaepPveKApTtrb0e9QmvoRQKbhWPM52CW9H.8i7/t/cPGF."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["user_group_id", nil], ["username", "user_36"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_37@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_37@example.jp"], ["encrypted_password", "$2a$04$Bd/0djyTGwC1QaBH6yNLlOzrwXOkFB1S/zKEZIx4f0qPHbZDdo3bm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["user_group_id", nil], ["username", "user_37"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_17' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_17"], ["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_17"], ["title", "message_template_17"], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_17' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 2], ["sender_id", 1], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_38@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_38@example.jp"], ["encrypted_password", "$2a$04$OiR0aTfJFzcOXzxQsrhdGeiD.XrhMp6uiMIDEZm/5YIDSkwHtZsia"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["user_group_id", nil], ["username", "user_38"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_39@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_39@example.jp"], ["encrypted_password", "$2a$04$/1ToewEeImRWlILYgN7QEuZvMxi96VBpBTPnDcIfjPT2dj6Mo3XUS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["user_group_id", nil], ["username", "user_39"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_18' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_18"], ["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_18"], ["title", "message_template_18"], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_5@example.jp"], ["encrypted_password", "$2a$04$Bpcc7cBPRMHTJZdy5jiCyumgJtINeXcxO4V8/n.vlUefcodae4kPW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["user_group_id", nil], ["username", "librarian_5"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"3", "receiver_id"=>"4", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 9ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_40@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_40@example.jp"], ["encrypted_password", "$2a$04$kE9NkIAEhUHcVI8mrhIUAuZk4fQvroHG7ZLIOST9xeSc9FHm9benq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["user_group_id", nil], ["username", "user_40"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.5ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.6ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_41@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_41@example.jp"], ["encrypted_password", "$2a$04$mG8qWkCrw3haXQ4wMXSAtOKke9N/0fuf2zm7p9lOXkkOGgLfQ/er2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["user_group_id", nil], ["username", "user_41"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_19' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_19"], ["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_19"], ["title", "message_template_19"], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_19' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 2], ["sender_id", 1], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_42@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_42@example.jp"], ["encrypted_password", "$2a$04$AhLjFox6drWSq11fS5zVzeG2ebi.mCBQiDm7GEhvBO0r3lFRQmrk."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["user_group_id", nil], ["username", "user_42"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_43@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_43@example.jp"], ["encrypted_password", "$2a$04$evWWzXcAHQZaYmEeHRNbkeBXhm8/xm1VnHlM7PgbfoabXsVz90eH2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["user_group_id", nil], ["username", "user_43"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_20' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_20"], ["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_20"], ["title", "message_template_20"], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_6@example.jp"], ["encrypted_password", "$2a$04$xcjZBo/VkCobzHcQ3rgLHOYP7bL5tLiJbl/L/6IfE0puG84TE3YUS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["user_group_id", nil], ["username", "librarian_6"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 9ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_44@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_44@example.jp"], ["encrypted_password", "$2a$04$4zc0A6eSInY2iyxJonhvo.sx8Fw/ioBpYct/47gXoi/KCXvKLTGqK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["user_group_id", nil], ["username", "user_44"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_45@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_45@example.jp"], ["encrypted_password", "$2a$04$qiUj.O3FX9/LAZpDzK7UQ.kmZR7u4NfdlX.MgX4OCp22OjmMYKl9W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["user_group_id", nil], ["username", "user_45"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_21' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_21"], ["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_21"], ["title", "message_template_21"], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_21' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 2], ["sender_id", 1], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_46@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_46@example.jp"], ["encrypted_password", "$2a$04$OmkoXU1dZDtY0iWj63pMkO52nuf3yVv6bCMr9WCzq195x8N7ChSJe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["user_group_id", nil], ["username", "user_46"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_47@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (44.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_47@example.jp"], ["encrypted_password", "$2a$04$QKMV8NXCyt2m0zAgI8kwV.h0EoUT9yXX4o9yi0Imw9/kI.wzmIpG2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["user_group_id", nil], ["username", "user_47"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_22' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_22"], ["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_22"], ["title", "message_template_22"], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_48@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_48@example.jp"], ["encrypted_password", "$2a$04$iLfuNN0S4/kvDvvsAk5sK.C/n/gmLJK.LrAJzMImNArPL/hZdBfgS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["user_group_id", nil], ["username", "user_48"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"3", "receiver_id"=>"4", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_49@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_49@example.jp"], ["encrypted_password", "$2a$04$Y0lWdcYPi8iPWB//eiJ0hOsDWxkg/OpO3oka/UK/xV1PRKxzmYgsi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["user_group_id", nil], ["username", "user_49"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_50@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_50@example.jp"], ["encrypted_password", "$2a$04$h7Dl7Id.chVrwvJVtShOsOP.d931Ua4nfh7dVT7q1Mbokjb4hW81O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["user_group_id", nil], ["username", "user_50"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_23' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_23"], ["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_23"], ["title", "message_template_23"], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_23' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 2], ["sender_id", 1], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_51@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_51@example.jp"], ["encrypted_password", "$2a$04$QQeuL5Ik9x9hSbxwudIV5u/b17d7il.ERuZK8xYu0vKRStjCpZpkC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["user_group_id", nil], ["username", "user_51"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_52@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_52@example.jp"], ["encrypted_password", "$2a$04$Hhhc2CRveFSbLCTeVvUqDeJZpoF392j1tnsPOAmMHWZXhAri.xkzW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["user_group_id", nil], ["username", "user_52"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_24' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_24"], ["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_24"], ["title", "message_template_24"], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_53@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_53@example.jp"], ["encrypted_password", "$2a$04$LDM88pbgWNPK27XcO5R1c.qZP71JclZJ1cD4IK6VSPiVEGRyGyKxm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["user_group_id", nil], ["username", "user_53"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"3", "receiver_id"=>"4", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 5ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_54@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_54@example.jp"], ["encrypted_password", "$2a$04$ind0huvQA6PyWbXVsf9gEOPTfWOIZwHgpy3okrRu5.BDT4Ha1aFCW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["user_group_id", nil], ["username", "user_54"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_55@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_55@example.jp"], ["encrypted_password", "$2a$04$GdZo05DH0q6XIe6Ez7//Du0SC882IDVulhkkgvi.Xy32FvRL8pzMq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["user_group_id", nil], ["username", "user_55"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_25' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_25"], ["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_25"], ["title", "message_template_25"], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_25' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 2], ["sender_id", 1], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.0ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_56@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_56@example.jp"], ["encrypted_password", "$2a$04$FPx2LEYDcpcoedKg69QYj.cIcXCExCZklPOaywOFjR97NmhL7D56i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["user_group_id", nil], ["username", "user_56"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.0ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.0ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_57@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_57@example.jp"], ["encrypted_password", "$2a$04$9ADhIhIUX1aODtJWlKgeOe6HX0kBhWG98gm3jmzkQ0ArPSy3hKF3a"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["user_group_id", nil], ["username", "user_57"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_26' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_26"], ["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_26"], ["title", "message_template_26"], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_58@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (31.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_58@example.jp"], ["encrypted_password", "$2a$04$lM6E8ckITbQCF6MCtIShEOmLCW2VENpnPi4QqPLhEsg3mJ8TAHjRi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["user_group_id", nil], ["username", "user_58"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 5ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.0ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_59@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_59@example.jp"], ["encrypted_password", "$2a$04$NSk2Pnqk5m3FZq9ePBKIvuIGfox6iOXzDvw51LtWe0o9VTIV2K7wS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["user_group_id", nil], ["username", "user_59"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_60@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_60@example.jp"], ["encrypted_password", "$2a$04$ITfoOuoLMMOqbH4CTrMnJusGyVwTUFtlS2UPEBY6BuVwIctDlyjoa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["user_group_id", nil], ["username", "user_60"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_27' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_27"], ["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_27"], ["title", "message_template_27"], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_27' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 2], ["sender_id", 1], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.0ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_61@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_61@example.jp"], ["encrypted_password", "$2a$04$tTRlXZj6ktFzmyErRfyEuu7sfTqx8KXayszL1wM6HAqBeDyz1qBni"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["user_group_id", nil], ["username", "user_61"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.0ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.0ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_62@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_62@example.jp"], ["encrypted_password", "$2a$04$dcjDp0Fs4seE3m24B0fSgOIG7n2Woi8msjYhmpQjDorFSH2pU7lhi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["user_group_id", nil], ["username", "user_62"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_28' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_28"], ["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_28"], ["title", "message_template_28"], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"3", "receiver_id"=>"4", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_63@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_63@example.jp"], ["encrypted_password", "$2a$04$ZeXscCeC3N.gLumssg/nQ.snFW9WIKCQW9uVpL6czVCIr8n.uzY/q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["user_group_id", nil], ["username", "user_63"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_64@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_64@example.jp"], ["encrypted_password", "$2a$04$wdnj0hcByfeLE1xWQt7Xd.o9jV2XqEJcwyffUlyROib0lKiF45KB2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["user_group_id", nil], ["username", "user_64"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_29' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_29"], ["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_29"], ["title", "message_template_29"], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_29' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 2], ["sender_id", 1], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_65@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_65@example.jp"], ["encrypted_password", "$2a$04$lrPCC//tlGt4r2WYd0ls5OjmnBBiuu/GEoNZ/X.IlwJrJdm93j/Mq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["user_group_id", nil], ["username", "user_65"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_66@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_66@example.jp"], ["encrypted_password", "$2a$04$dUJWW8Mb8M9BHa2yV0nxUu6SsYchcYlD8JOlFLkdwScVgaa.o6Oka"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["user_group_id", nil], ["username", "user_66"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_30' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_30"], ["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_30"], ["title", "message_template_30"], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"3", "receiver_id"=>"4", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 5ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_67@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_67@example.jp"], ["encrypted_password", "$2a$04$um5i.QLLkXxnZcbIuRgqKOuPn7WlY23SzD3KLvOZ3Pcx0BNKbMqdW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["user_group_id", nil], ["username", "user_67"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_68@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (33.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_68@example.jp"], ["encrypted_password", "$2a$04$tm1AV6LzYQPyTOfDSR.LMey5rYx5wrTr/tS7AuDBQxGekryp76O6y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["user_group_id", nil], ["username", "user_68"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_31' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_31"], ["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_31"], ["title", "message_template_31"], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_31' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 2], ["sender_id", 1], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.0ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_69@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_69@example.jp"], ["encrypted_password", "$2a$04$GcDev1kj/etFM/dMv0Hmw.Y1SzGUr2cfNzGRM8Fi1.VXkbRyiJo0m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["user_group_id", nil], ["username", "user_69"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_70@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_70@example.jp"], ["encrypted_password", "$2a$04$SyF5cSFDUSp4nBN7FpAM9eskgWOpXUGCFK7ntYvYMyGIzssyXHa7m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["user_group_id", nil], ["username", "user_70"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_32' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_32"], ["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_32"], ["title", "message_template_32"], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_71@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_71@example.jp"], ["encrypted_password", "$2a$04$NDTzPe96OrajiyjMa6Upu.GYv94STO7ereg6d7aWbkkVJc1q4el/i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["user_group_id", nil], ["username", "user_71"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_72@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_72@example.jp"], ["encrypted_password", "$2a$04$IK6kvutRi6StaMRIuaxmA.rt57B.lbs/6JN6UDXv09ewOBq.R6Y1G"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["user_group_id", nil], ["username", "user_72"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_33' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_33"], ["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_33"], ["title", "message_template_33"], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_33' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 2], ["sender_id", 1], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_7@example.jp"], ["encrypted_password", "$2a$04$KmYVRaWjZQ0oZPbCEHAzV.Qgw82UogpIJ1VLnXNfhMUnt9g18n3Te"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:44 UTC +00:00], ["user_group_id", nil], ["username", "admin_7"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 4ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_73@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_73@example.jp"], ["encrypted_password", "$2a$04$.su/uM.DZMJ95MfgeVk49OHqD/Rl3ugqM2wdn3hkR2mSXauOTPoVG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["user_group_id", nil], ["username", "user_73"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_74@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_74@example.jp"], ["encrypted_password", "$2a$04$CYrAFy/evgYVFho.y9J9DuwhyNxayfJKFiC3cALGbgBxVGWKraPjK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["user_group_id", nil], ["username", "user_74"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_34' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_34"], ["created_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_34"], ["title", "message_template_34"], ["updated_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_34' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 2], ["sender_id", 1], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_8@example.jp"], ["encrypted_password", "$2a$04$TBzau7GHGeWNQa4P2x99/enqyL793qF.LxtvdqxQmqMyBjy/tMsvu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["user_group_id", nil], ["username", "admin_8"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.0ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_75@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_75@example.jp"], ["encrypted_password", "$2a$04$4ieolM/I5sjW.aF9FdSNF.OMXg7InFzUOEGPm62qvAemG1hBbaQ9y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["user_group_id", nil], ["username", "user_75"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_76@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (32.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_76@example.jp"], ["encrypted_password", "$2a$04$IGpjy5mSRWA5xcZ5fGp5RewWtgKB.Rvq4VurWcl4dlTJWkqHGte3u"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["user_group_id", nil], ["username", "user_76"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_35' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_35"], ["created_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_35"], ["title", "message_template_35"], ["updated_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_35' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 2], ["sender_id", 1], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_7@example.jp"], ["encrypted_password", "$2a$04$Qc/U6Dtvl3/3bFmTnCnQh.5/Grej/iECfp5BAsTjojBR0HWAGixxC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["user_group_id", nil], ["username", "librarian_7"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.0ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_77@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_77@example.jp"], ["encrypted_password", "$2a$04$BrKzTbuPPUsKfLrXyhf8aeHAUZoRmDPFm/9pJpsyQ0YpUw5Q9yZ.u"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["user_group_id", nil], ["username", "user_77"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_78@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_78@example.jp"], ["encrypted_password", "$2a$04$0U.RGc7p6tUqQvnf0VrEKu5gJ0nSyZYNvmXSbFVGyKSm5m8uqFhY6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["user_group_id", nil], ["username", "user_78"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_36' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_36"], ["created_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_36"], ["title", "message_template_36"], ["updated_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_36' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 2], ["sender_id", 1], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_8@example.jp"], ["encrypted_password", "$2a$04$Tyw1HblU5IVMe0xPnzDao.ef5sHhp47Irpc1oUtGDXasfQMfkS/Re"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["user_group_id", nil], ["username", "librarian_8"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_79@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_79@example.jp"], ["encrypted_password", "$2a$04$ZZUgN56EBjoP5v1vqmF0LuSG8MZUFXpMq7DCAsUQZuEl4htLIaUJm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["user_group_id", nil], ["username", "user_79"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_80@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_80@example.jp"], ["encrypted_password", "$2a$04$vBLSMhu6wMHlxv7JBXTvoeFoaP5lX6e3QdZZxqDD3F3C7nN7CoWKi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["user_group_id", nil], ["username", "user_80"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_37' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_37"], ["created_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_37"], ["title", "message_template_37"], ["updated_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_37' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 2], ["sender_id", 1], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_81@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_81@example.jp"], ["encrypted_password", "$2a$04$iYy0g/EVcTdEA/TfMKX8HOHYlYT8J8CZKOVa7PJYwGPl5WiqSUto6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["user_group_id", nil], ["username", "user_81"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_82@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_82@example.jp"], ["encrypted_password", "$2a$04$//iKd/D9hieNDn/MTntPGOhOKAVL1/F6NcRDOQmMvrVzRikMjwyOG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["user_group_id", nil], ["username", "user_82"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_83@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_83@example.jp"], ["encrypted_password", "$2a$04$6h4lVm3MB9s7c9guJxpSBe3oU1mm70E3G.jk6dRtxLxSXoRhIm3vm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["user_group_id", nil], ["username", "user_83"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_38' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_38"], ["created_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_38"], ["title", "message_template_38"], ["updated_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_38' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 2], ["sender_id", 1], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_84@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (32.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_84@example.jp"], ["encrypted_password", "$2a$04$e2lyvNswJtGnCKHUotvygO9Bjf9J9TNX9EfUGHLDuq8mQL2xGXdsi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["user_group_id", nil], ["username", "user_84"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_85@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_85@example.jp"], ["encrypted_password", "$2a$04$sRYcLNyJKv28OYHsGMvqauRX90XNCQVp4Psb71Cjp3oKWLmzlCnLy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["user_group_id", nil], ["username", "user_85"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_86@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_86@example.jp"], ["encrypted_password", "$2a$04$kH3c2/a07x4JpJ.Dz0qVdOZiakO0/HChXq5BbxftICmMG4DXk.14."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["user_group_id", nil], ["username", "user_86"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_39' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_39"], ["created_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_39"], ["title", "message_template_39"], ["updated_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_39' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 2], ["sender_id", 1], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_87@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_87@example.jp"], ["encrypted_password", "$2a$04$V6HsnX6HztaBLxwC5tI8r.P.PFOvf1OtGhCi8UTrqzex95UrS5tE6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["user_group_id", nil], ["username", "user_87"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_88@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_88@example.jp"], ["encrypted_password", "$2a$04$NxDt7bc3JQqmgptVdNYBg.Iik5cLA9k8AZMCtRLiuu3VHOQnTGkTS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["user_group_id", nil], ["username", "user_88"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_40' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_40"], ["created_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_40"], ["title", "message_template_40"], ["updated_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_40' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 2], ["sender_id", 1], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 4ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_41' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_41"], ["created_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_41"], ["title", "message_template_41"], ["updated_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_9@example.jp"], ["encrypted_password", "$2a$04$0s6Fgsd6JYMoyaLCK6f5c.tkczoL8Xu73USTHlUNjsvO1NzUxmjyq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["user_group_id", nil], ["username", "admin_9"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML Completed 500 Internal Server Error in 2ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_42' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_42"], ["created_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_42"], ["title", "message_template_42"], ["updated_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_9@example.jp"], ["encrypted_password", "$2a$04$ofhKtgNKeV5fSu/qjk6UM.gkXhchW.AY.A/XjQ.5E.Sp9q/cDN.c."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["user_group_id", nil], ["username", "librarian_9"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML Completed 500 Internal Server Error in 2ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_43' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_43"], ["created_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_43"], ["title", "message_template_43"], ["updated_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_89@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_89@example.jp"], ["encrypted_password", "$2a$04$D3AkYAigFutfzvBzqo5WPu0piXlAaUc4LUYH5m8da31GQlA3dQu1e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["user_group_id", nil], ["username", "user_89"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML Completed 500 Internal Server Error in 2ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_44' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_44"], ["created_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_44"], ["title", "message_template_44"], ["updated_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML Completed 500 Internal Server Error in 2ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_10@example.jp"], ["encrypted_password", "$2a$04$achKAoYBnbpfDgb3g4.bneM2lyy9G59QhHlKxzo72S6wRrpvxZNhO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["user_group_id", nil], ["username", "admin_10"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_45' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_45"], ["created_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_45"], ["title", "message_template_45"], ["updated_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_10@example.jp"], ["encrypted_password", "$2a$04$6.85oJP73QAXSa//BNb5JOXxOcYT1SPz3AxCS.5qUA/UsMEFAtAZG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["user_group_id", nil], ["username", "librarian_10"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_46' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_46"], ["created_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_46"], ["title", "message_template_46"], ["updated_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_90@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_90@example.jp"], ["encrypted_password", "$2a$04$KO9k1ykhzXU8zQbzuWzW3OCGCOO3qJoli//zldEocfHb5q.0FESBu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["user_group_id", nil], ["username", "user_90"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_47' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_47"], ["created_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_47"], ["title", "message_template_47"], ["updated_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 4ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_48' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_48"], ["created_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_48"], ["title", "message_template_48"], ["updated_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1 UserGroup Load (0.0ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_11@example.jp"], ["encrypted_password", "$2a$04$5Z2ye.ES/NtJgiSgicILPOnnC2t/UQ4GzLRGMKEu1Nk1PCtYIG7Be"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["user_group_id", nil], ["username", "admin_11"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML Completed 500 Internal Server Error in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_11@example.jp"], ["encrypted_password", "$2a$04$dwc1s4qjojvIwbSqWxOSQ.9tX7tJBAfiq.QBts2Z8Q5m9QzY/Pwme"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["user_group_id", nil], ["username", "librarian_11"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML Completed 500 Internal Server Error in 3ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_91@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_91@example.jp"], ["encrypted_password", "$2a$04$B10nqdG4PQQUV7iHISU7uumlui.T96KI0pCT9rDhFED4luAerS2Di"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["user_group_id", nil], ["username", "user_91"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML Completed 500 Internal Server Error in 3ms Processing by MessageTemplatesController#new as HTML Completed 500 Internal Server Error in 3ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_12@example.jp"], ["encrypted_password", "$2a$04$TRYtxFJ.h7TpNnaHHEOox.C1i0scbwuJfevcHs04SLpfGpIf2dKYi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["user_group_id", nil], ["username", "admin_12"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_49' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_49"], ["created_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_49"], ["title", "message_template_49"], ["updated_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_12@example.jp"], ["encrypted_password", "$2a$04$wEnItQK64sp/UfvTA86A6O1iliTFyrIPjQgO2QVRi93tD7TBSxTTm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["user_group_id", nil], ["username", "librarian_12"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_50' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_50"], ["created_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_50"], ["title", "message_template_50"], ["updated_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_92@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_92@example.jp"], ["encrypted_password", "$2a$04$qybQ2sstGDU2Lz1MnEq.t.9ECisA81Yi88/gQwFxmLfUamYyL7xw2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["user_group_id", nil], ["username", "user_92"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_51' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_51"], ["created_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_51"], ["title", "message_template_51"], ["updated_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 35ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_52' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_52"], ["created_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_52"], ["title", "message_template_52"], ["updated_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_13@example.jp"], ["encrypted_password", "$2a$04$eDhEWvWP1QGGkF4B4hv4y.eqqTIjUgiUegEwNJlG.MGOi4ytBnHu2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["user_group_id", nil], ["username", "admin_13"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_53", "status"=>"message_template_53", "body"=>"message_template_53"}} Completed 500 Internal Server Error in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_14@example.jp"], ["encrypted_password", "$2a$04$0ILUPQJPC6hHUhPwn3Dnm.i.lR5hsgZ3OkPE.dZ.bmVWxYLKcSHGG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["user_group_id", nil], ["username", "admin_14"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_54", "status"=>"message_template_54", "body"=>"message_template_54"}} Completed 500 Internal Server Error in 3ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1 UserGroup Load (0.0ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.0ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_15@example.jp"], ["encrypted_password", "$2a$04$yC3yQW.MMtSiDMXxAw7n3ubw4idSVqTbsl0v2lh237PbeetyaDZWG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["user_group_id", nil], ["username", "admin_15"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Completed 500 Internal Server Error in 3ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_16@example.jp"], ["encrypted_password", "$2a$04$9urnzvU/6Q6z6zBlFNcc1u/NmFNMcqRJw2bDeTCkCtQe11vKR5v3G"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["user_group_id", nil], ["username", "admin_16"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Completed 500 Internal Server Error in 3ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_13@example.jp"], ["encrypted_password", "$2a$04$8cP0mgonplvfJidG00y8dulpuTdxfIEBfEnVMXQrH4aCq7cUzIR/e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["user_group_id", nil], ["username", "librarian_13"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_57", "status"=>"message_template_57", "body"=>"message_template_57"}} Completed 500 Internal Server Error in 6ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_14@example.jp"], ["encrypted_password", "$2a$04$v5HeOd/QAAxJ.mwyBzFuIu1XN/g7KPNrP8Om1fVL9ZuFPOg/YHGDC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["user_group_id", nil], ["username", "librarian_14"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_58", "status"=>"message_template_58", "body"=>"message_template_58"}} Completed 500 Internal Server Error in 6ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_15@example.jp"], ["encrypted_password", "$2a$04$GsdMJ8ADrvUXOX2NiFE.4epZUAy4Bu9muvhiYQVcUSrlbP5T933sG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["user_group_id", nil], ["username", "librarian_15"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Completed 500 Internal Server Error in 6ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_16@example.jp"], ["encrypted_password", "$2a$04$bnmEo.N5Oq7/y6p/OieMguWQjHxzqQhWAIMdYuHp63e02GXfIDXWC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["user_group_id", nil], ["username", "librarian_16"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Completed 500 Internal Server Error in 5ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_93@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_93@example.jp"], ["encrypted_password", "$2a$04$xoFdv4TTPegyJ0qeiCk9f.aSd3sJbzYm93QbdD9cAD9MD5pBds1W6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["user_group_id", nil], ["username", "user_93"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_61", "status"=>"message_template_61", "body"=>"message_template_61"}} Completed 500 Internal Server Error in 61ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_94@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_94@example.jp"], ["encrypted_password", "$2a$04$AfPjG.BZabGQ3mZm.MqgnO1CwwubamcKdQbVoIMRMdcAUlRY267S6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["user_group_id", nil], ["username", "user_94"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_62", "status"=>"message_template_62", "body"=>"message_template_62"}} Completed 500 Internal Server Error in 6ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_95@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_95@example.jp"], ["encrypted_password", "$2a$04$5wobfctFKr8AQTpm7kY34exaotvOPo7Cm5QuKztqeDjhDucPquSam"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["user_group_id", nil], ["username", "user_95"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Completed 500 Internal Server Error in 6ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_96@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_96@example.jp"], ["encrypted_password", "$2a$04$UESpA.GCJdbjIHVNWrKVh.vAHNnyqTozof03.hWr1xBMPVNJUDtVq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["user_group_id", nil], ["username", "user_96"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Completed 500 Internal Server Error in 6ms Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_65", "status"=>"message_template_65", "body"=>"message_template_65"}} Completed 500 Internal Server Error in 7ms Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_66", "status"=>"message_template_66", "body"=>"message_template_66"}} Completed 500 Internal Server Error in 6ms Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Completed 500 Internal Server Error in 7ms Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Completed 500 Internal Server Error in 6ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_69' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_69"], ["created_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_69"], ["title", "message_template_69"], ["updated_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_17@example.jp"], ["encrypted_password", "$2a$04$6RQa.Ta0Efi/kQFyItz.QuExd9wiDhe/fKMWiSIWnTKuffTBYCqFq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["user_group_id", nil], ["username", "admin_17"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_70", "status"=>"message_template_70", "body"=>"message_template_70"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 7ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_71' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_71"], ["created_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_71"], ["title", "message_template_71"], ["updated_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_18@example.jp"], ["encrypted_password", "$2a$04$vo4rqU6cFoMDm1XHEpdXtOZwcTG6QnOBgS0H3/c05mHGTbp.fx.ne"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["user_group_id", nil], ["username", "admin_18"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_72", "status"=>"message_template_72", "body"=>"message_template_72"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 7ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_73' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_73"], ["created_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_73"], ["title", "message_template_73"], ["updated_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_19@example.jp"], ["encrypted_password", "$2a$04$MptcQ4Lt0RqsFoawRBLEC.RqsQGZocXmFjPwDNoW4G/c36ceerxyy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["user_group_id", nil], ["username", "admin_19"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_74", "status"=>"message_template_74", "body"=>"message_template_74"}, "position"=>"2", "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 7ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_75' LIMIT 1 SQL (1.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_75"], ["created_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_75"], ["title", "message_template_75"], ["updated_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_20@example.jp"], ["encrypted_password", "$2a$04$SEGrccvZUBqFNVD1zLN1IeGCbnkspNDw3K9u0snAYR76xpPGZzL12"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:45 UTC +00:00], ["user_group_id", nil], ["username", "admin_20"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 8ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.2ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_77' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_77"], ["created_at", Fri, 16 Dec 2011 03:32:46 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_77"], ["title", "message_template_77"], ["updated_at", Fri, 16 Dec 2011 03:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_17@example.jp"], ["encrypted_password", "$2a$04$ri83GlQ.m6auyXXrTDOGF.80zOqLfdVr1pEXdSmnJXeVoEooD86/a"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:46 UTC +00:00], ["user_group_id", nil], ["username", "librarian_17"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_78", "status"=>"message_template_78", "body"=>"message_template_78"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 6ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_79' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_79"], ["created_at", Fri, 16 Dec 2011 03:32:46 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_79"], ["title", "message_template_79"], ["updated_at", Fri, 16 Dec 2011 03:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_18@example.jp"], ["encrypted_password", "$2a$04$oqMsH3HiJi96WIJHkwyZUusSzrXBRMrUlRs2R2VBIew3LpoqmxunS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:46 UTC +00:00], ["user_group_id", nil], ["username", "librarian_18"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_80", "status"=>"message_template_80", "body"=>"message_template_80"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 10ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_81' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_81"], ["created_at", Fri, 16 Dec 2011 03:32:46 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_81"], ["title", "message_template_81"], ["updated_at", Fri, 16 Dec 2011 03:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_19@example.jp"], ["encrypted_password", "$2a$04$tlInxb75bTT1cQLLPpY2Ju2rdvrWHoLJv5ccTorpwQLF3IwyyUXo."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:46 UTC +00:00], ["user_group_id", nil], ["username", "librarian_19"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 7ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_83' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_83"], ["created_at", Fri, 16 Dec 2011 03:32:46 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_83"], ["title", "message_template_83"], ["updated_at", Fri, 16 Dec 2011 03:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_97@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_97@example.jp"], ["encrypted_password", "$2a$04$CB.j69wXfDNO3JJZ1YvnyOsEUYj6ZL2RjgqbH91DQbhhw0OLscQwu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:46 UTC +00:00], ["user_group_id", nil], ["username", "user_97"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_84", "status"=>"message_template_84", "body"=>"message_template_84"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 11ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_85' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_85"], ["created_at", Fri, 16 Dec 2011 03:32:46 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_85"], ["title", "message_template_85"], ["updated_at", Fri, 16 Dec 2011 03:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_98@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_98@example.jp"], ["encrypted_password", "$2a$04$ZLeIxe.r3n7AA2y73DlFJuwmYBGAEr23gjWwmtWuvzBhuOQshZ7Oa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:46 UTC +00:00], ["user_group_id", nil], ["username", "user_98"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_86", "status"=>"message_template_86", "body"=>"message_template_86"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 7ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_87' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_87"], ["created_at", Fri, 16 Dec 2011 03:32:46 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_87"], ["title", "message_template_87"], ["updated_at", Fri, 16 Dec 2011 03:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_99@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_99@example.jp"], ["encrypted_password", "$2a$04$FI8S0kscTN2g6TfTTpQzI.nTaVCiBAErnlfsYCmzYb95DvAmgPnuW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:46 UTC +00:00], ["user_group_id", nil], ["username", "user_99"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 11ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_89' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_89"], ["created_at", Fri, 16 Dec 2011 03:32:46 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_89"], ["title", "message_template_89"], ["updated_at", Fri, 16 Dec 2011 03:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_90", "status"=>"message_template_90", "body"=>"message_template_90"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 8ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_91' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_91"], ["created_at", Fri, 16 Dec 2011 03:32:46 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_91"], ["title", "message_template_91"], ["updated_at", Fri, 16 Dec 2011 03:32:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_92", "status"=>"message_template_92", "body"=>"message_template_92"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 8ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_93' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_93"], ["created_at", Fri, 16 Dec 2011 03:32:46 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_93"], ["title", "message_template_93"], ["updated_at", Fri, 16 Dec 2011 03:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 7ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_95' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_95"], ["created_at", Fri, 16 Dec 2011 03:32:46 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_95"], ["title", "message_template_95"], ["updated_at", Fri, 16 Dec 2011 03:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_21@example.jp"], ["encrypted_password", "$2a$04$g5mCnU4NXV3Ks5fLBZ9w6O9SPR3hzh3wXSRtAo1D2bMW4ta88xlty"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:46 UTC +00:00], ["user_group_id", nil], ["username", "admin_21"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 66ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_96' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_96"], ["created_at", Fri, 16 Dec 2011 03:32:46 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_96"], ["title", "message_template_96"], ["updated_at", Fri, 16 Dec 2011 03:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_22@example.jp"], ["encrypted_password", "$2a$04$y4IPGdj5KQPaO6BY9ww.AOrB2ptxY.jSqWbKYcB20rkWoZ34Dsdmy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:46 UTC +00:00], ["user_group_id", nil], ["username", "admin_22"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 7ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_97' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_97"], ["created_at", Fri, 16 Dec 2011 03:32:46 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_97"], ["title", "message_template_97"], ["updated_at", Fri, 16 Dec 2011 03:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_20@example.jp"], ["encrypted_password", "$2a$04$HtUOCeg4k0J7iVFC8NVqReLQaP48D6pB5fStxpFYEJwMX.HRU8mzW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:46 UTC +00:00], ["user_group_id", nil], ["username", "librarian_20"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 9ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_98' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_98"], ["created_at", Fri, 16 Dec 2011 03:32:46 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_98"], ["title", "message_template_98"], ["updated_at", Fri, 16 Dec 2011 03:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_21@example.jp"], ["encrypted_password", "$2a$04$QRN00.aRaR4WV2uepT4YPOZhbRcV1Q6Aaynix8t65LhEw4JRD2Zju"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:46 UTC +00:00], ["user_group_id", nil], ["username", "librarian_21"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 6ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_99' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_99"], ["created_at", Fri, 16 Dec 2011 03:32:46 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_99"], ["title", "message_template_99"], ["updated_at", Fri, 16 Dec 2011 03:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_100@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_100@example.jp"], ["encrypted_password", "$2a$04$wR11tUDvgCeGCE.gxp0YZuG.xVWtOztcQ00XQpycVcuYwr0lPgLvS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:46 UTC +00:00], ["user_group_id", nil], ["username", "user_100"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 6ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_100' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_100"], ["created_at", Fri, 16 Dec 2011 03:32:46 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_100"], ["title", "message_template_100"], ["updated_at", Fri, 16 Dec 2011 03:32:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_101@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (5.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_101@example.jp"], ["encrypted_password", "$2a$04$z5.n.0zmwhW3Jjv.sUj1lOE/UMuyFoHR8am8496CV8WLWXbTvqdCm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:46 UTC +00:00], ["user_group_id", nil], ["username", "user_101"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 9ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_101' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_101"], ["created_at", Fri, 16 Dec 2011 03:32:46 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_101"], ["title", "message_template_101"], ["updated_at", Fri, 16 Dec 2011 03:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 6ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_102' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_102"], ["created_at", Fri, 16 Dec 2011 03:32:46 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_102"], ["title", "message_template_102"], ["updated_at", Fri, 16 Dec 2011 03:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 7ms Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 9ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.8ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_23@example.jp"], ["encrypted_password", "$2a$04$vIb16gRKwioX/JZtpxPIyOQKOzyNUMM3nJDDNo3B4sTZUotDTJnGe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:46 UTC +00:00], ["user_group_id", nil], ["username", "admin_23"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#new as HTML Completed 500 Internal Server Error in 5ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_22@example.jp"], ["encrypted_password", "$2a$04$YRLs4gRsnjhF2ufiUvp65e5WQhQ6CABPPooQxzfnoCiOTwJ6XecpG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:46 UTC +00:00], ["user_group_id", nil], ["username", "librarian_22"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#new as HTML Completed 500 Internal Server Error in 5ms Processing by MessagesController#new as HTML Completed 500 Internal Server Error in 8ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_24@example.jp"], ["encrypted_password", "$2a$04$V.i619.H7nY0LVV1FfdoCOSnC0dk77ZCU04QzDZeNl.S821yJzEXe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:46 UTC +00:00], ["user_group_id", nil], ["username", "admin_24"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_23@example.jp"], ["encrypted_password", "$2a$04$p0eAR6q0HoIh7W1L5oYTBeLCWyA6MkMPic6MsKbTc20LMULzi6Ur."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:46 UTC +00:00], ["user_group_id", nil], ["username", "librarian_23"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 6ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_102@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_102@example.jp"], ["encrypted_password", "$2a$04$jIOEfbcfh2.I42ycdGn40.y2qY59KjkpWRLW5KIKxy3dgrpxAuV2a"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:46 UTC +00:00], ["user_group_id", nil], ["username", "user_102"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_103@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_103@example.jp"], ["encrypted_password", "$2a$04$1nysSlj2ydnec6vHkSYtKOeHJx4xBhEsWgyP1KOaQktTW0VX.bVC."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:46 UTC +00:00], ["user_group_id", nil], ["username", "user_103"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "user_102"]]  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_104@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_104@example.jp"], ["encrypted_password", "$2a$04$MTZR/E1vQi8luocyR5A8weQGuHxb8QisnsGkW6HPLr.wcdR/wcwm."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:46 UTC +00:00], ["user_group_id", nil], ["username", "user_104"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_105@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (62.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_105@example.jp"], ["encrypted_password", "$2a$04$hn.ctcUy.ZAoM7dUf7rwjO8zsNbjlX/reI5sxs2NrlHhKdveK9XoC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:46 UTC +00:00], ["user_group_id", nil], ["username", "user_105"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_106@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_106@example.jp"], ["encrypted_password", "$2a$04$eG9NyYP05mBMmMwIZEpebehPz.2BKkOBIJOwY91xhdVrarb7BbldG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:46 UTC +00:00], ["user_group_id", nil], ["username", "user_106"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_107@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_107@example.jp"], ["encrypted_password", "$2a$04$QFJMzshcp5spUvxS28Z7DOvFht8WGV5dvG3gxn05N5akhniv1Voh2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:46 UTC +00:00], ["user_group_id", nil], ["username", "user_107"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_108@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_108@example.jp"], ["encrypted_password", "$2a$04$yZzN8k8/h/4kw7AdJCTZleOAWZrO8W9E8OXhUaCnJhH.FrLfgoPkm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:46 UTC +00:00], ["user_group_id", nil], ["username", "user_108"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_109@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_109@example.jp"], ["encrypted_password", "$2a$04$70/xEQ6nPbt/Lb817oFJzuyk5Ocllb1hvZkZ0FkgkbJZo9KPXsTQa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:46 UTC +00:00], ["user_group_id", nil], ["username", "user_109"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_110@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_110@example.jp"], ["encrypted_password", "$2a$04$MLOR0tjx2O5O4n.ARzQHt.yRZkU4Q5giVRE990Pc.IHAnKXwZ3j6W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:46 UTC +00:00], ["user_group_id", nil], ["username", "user_110"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_111@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_111@example.jp"], ["encrypted_password", "$2a$04$zfDfGTqvuy.S1uxjKhdgduNfxBCX1/TC2M///1NtStUGERojUbUFa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:46 UTC +00:00], ["user_group_id", nil], ["username", "user_111"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_112@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_112@example.jp"], ["encrypted_password", "$2a$04$mJrqmRJdt.j72ALtkO6zZ.mET4P4kk6M7YeFHqgb8eu.pJtl2llXq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:46 UTC +00:00], ["user_group_id", nil], ["username", "user_112"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_113@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_113@example.jp"], ["encrypted_password", "$2a$04$8H9X9tVxCWV8McXrBl3eH.lt8TumnKvy3x8ScmHokcB931psgCrvO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:47 UTC +00:00], ["user_group_id", nil], ["username", "user_113"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_114@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_114@example.jp"], ["encrypted_password", "$2a$04$f3dlmKc2aPdyhwfxIIuBhuHVljFilN0SSHQeAZNuUNUQ0RbufV6GS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:47 UTC +00:00], ["user_group_id", nil], ["username", "user_114"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_115@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_115@example.jp"], ["encrypted_password", "$2a$04$PycH17hDpO9L6UMN/.y1req6rcg0.8jZBGwsSHVYmFvqO.Xec7Uj."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:47 UTC +00:00], ["user_group_id", nil], ["username", "user_115"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_116@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_116@example.jp"], ["encrypted_password", "$2a$04$yNcXEch/j8yOZ0jJCxzM1eeSAq2hpZAggHUhO2q2tVHGKqIpX28dK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:47 UTC +00:00], ["user_group_id", nil], ["username", "user_116"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_117@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_117@example.jp"], ["encrypted_password", "$2a$04$2SkO7jvuxbp8G4JnxjmBf.au7nVnJVJVx/eOq.z0ImxRVepOV1FW6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:47 UTC +00:00], ["user_group_id", nil], ["username", "user_117"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_118@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_118@example.jp"], ["encrypted_password", "$2a$04$Oevf2vvzYYympS8icZBZ9.B0Du2RkUGPa7Kko4O0Caescpe.tQN4a"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:47 UTC +00:00], ["user_group_id", nil], ["username", "user_118"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (65.0ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_119@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_119@example.jp"], ["encrypted_password", "$2a$04$2/LSBxzuo6RU862nOUnLiu/D1m5bTTkt3TaZJKaNiomH9SsMeju.C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:47 UTC +00:00], ["user_group_id", nil], ["username", "user_119"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.6ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_120@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_120@example.jp"], ["encrypted_password", "$2a$04$6XFe2Wrd8XSjfLi90LWNxOY1.y5i1qs8gpm0Ju1/jvUO.2Lm4J9jq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:47 UTC +00:00], ["user_group_id", nil], ["username", "user_120"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_121@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_121@example.jp"], ["encrypted_password", "$2a$04$k4hBQOTxyESeERWCKFAwOuOKGtDAGwKrdhK.JKIu35QAWwLQhZywy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:47 UTC +00:00], ["user_group_id", nil], ["username", "user_121"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_122@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_122@example.jp"], ["encrypted_password", "$2a$04$dgkQjcgMVtpOsMyXXyk5rOiN/QG7.BUsU1l80T86k5SsJpCvVdu6."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:47 UTC +00:00], ["user_group_id", nil], ["username", "user_122"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_123@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_123@example.jp"], ["encrypted_password", "$2a$04$agc124xwzHr2BtCYRM2BX.NV0BUJnBpZ2dKgbWBnem5m9fcHbyAKy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:47 UTC +00:00], ["user_group_id", nil], ["username", "user_123"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_124@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_124@example.jp"], ["encrypted_password", "$2a$04$8u9yMtaOdCoRZkhm3q5nr.gn/EVQsJuW0ekcaxQQzm21KyH1OWFhK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:47 UTC +00:00], ["user_group_id", nil], ["username", "user_124"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_125@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (9.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_125@example.jp"], ["encrypted_password", "$2a$04$LbEs/3MFl9bXZHyHYp5rVe2FQCwGJKdZbkkp2sAqdbK4p4b6rIiaC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:47 UTC +00:00], ["user_group_id", nil], ["username", "user_125"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_126@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_126@example.jp"], ["encrypted_password", "$2a$04$eHIHb2Da7Js4.lXUumW4XeR6XdbD3sIoBMH69TSnLD6aicSqtMgYK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:47 UTC +00:00], ["user_group_id", nil], ["username", "user_126"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_127@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_127@example.jp"], ["encrypted_password", "$2a$04$giSTJn6xnVJIKWLkcWoedOWuXZaIIt6zn5M/2bEkutnsLgrdd60Oi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:47 UTC +00:00], ["user_group_id", nil], ["username", "user_127"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_128@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_128@example.jp"], ["encrypted_password", "$2a$04$sW3uWr558zNoVH9LEAHVQ.J.4HL51rDaQB4MA2ybbqeMEEwBpCAO."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:47 UTC +00:00], ["user_group_id", nil], ["username", "user_128"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_129@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_129@example.jp"], ["encrypted_password", "$2a$04$C8Pc.NH.YzwO3UU2zujSY.vynn2WCfzM3nVoyqKCA7yDWjiSQwKJS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:47 UTC +00:00], ["user_group_id", nil], ["username", "user_129"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_130@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_130@example.jp"], ["encrypted_password", "$2a$04$Cpx8fqUCuKrC7QAHqyUFY.B15RNDYZVGBKs828hmeTkXO1.KeYM3S"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:47 UTC +00:00], ["user_group_id", nil], ["username", "user_130"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_131@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_131@example.jp"], ["encrypted_password", "$2a$04$H5L8OPeA7/Jr8Gvb.vjyCOQfLc6EsrX709AadY5EnVDeJSXn.cDne"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:47 UTC +00:00], ["user_group_id", nil], ["username", "user_131"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_132@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (65.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_132@example.jp"], ["encrypted_password", "$2a$04$u12Th43L09XkJ0.qd2z1JOiql84RznEr0VxfHkGOpIZ1oLtankB4S"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:47 UTC +00:00], ["user_group_id", nil], ["username", "user_132"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_133@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:32:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_133@example.jp"], ["encrypted_password", "$2a$04$G6wEzfQLmxIw7oGt1SSln.D/a0MMjNXyXzSYDxGnxh3UuJ.1jNRde"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:32:47 UTC +00:00], ["user_group_id", nil], ["username", "user_133"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] Completed 500 Internal Server Error in 8ms Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 8ms Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 8ms Fixture Delete (0.4ms) DELETE FROM "message_requests" Fixture Insert (0.2ms) INSERT INTO "message_requests" ("sender_id", "receiver_id", "message_template_id", "state", "created_at", "updated_at", "id") VALUES (1, 1, 1, 'pending', '2011-12-16 03:34:36', '2011-12-16 03:34:36', 980190962) Fixture Insert (0.2ms) INSERT INTO "message_requests" ("sender_id", "receiver_id", "message_template_id", "state", "created_at", "updated_at", "id") VALUES (1, 1, 1, 'pending', '2011-12-16 03:34:36', '2011-12-16 03:34:36', 298486374) Fixture Delete (0.2ms) DELETE FROM "message_templates" Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (1, 'reservation_accepted', 'Reservation accepted', 'Reservation accepted', 1, '2011-12-16 03:34:36', '2011-12-16 03:34:36') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (2, 'item_received', 'Item received', 'Item received', 2, '2011-12-16 03:34:36', '2011-12-16 03:34:36') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (3, 'reservation_expired_for_patron', 'Reservation expired', 'Reservation expired', 3, '2011-12-16 03:34:36', '2011-12-16 03:34:36') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (4, 'reservation_expired_for_library', 'Reservation expired', 'Reservation expired', 4, '2011-12-16 03:34:36', '2011-12-16 03:34:36') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (5, 'reservation_canceled_for_patron', 'Reservation canceled', 'Reservation canceled', 5, '2011-12-16 03:34:36', '2011-12-16 03:34:36') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (6, 'reservation_canceled_for_library', 'Reservation canceled', 'Reservation canceled', 6, '2011-12-16 03:34:36', '2011-12-16 03:34:36') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (7, 'recall_item', 'Recall item', 'Recall item', 7, '2011-12-16 03:34:36', '2011-12-16 03:34:36') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (8, 'recall_overdue_item', 'Recall overdue item', 'Recall overdue item', 8, '2011-12-16 03:34:36', '2011-12-16 03:34:36') Fixture Delete (0.2ms) DELETE FROM "messages" Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "read_at", "state", "lft", "rgt", "updated_at") VALUES (1, 3, 4, 'First Message', 'Abby, you get the first message', '2007-07-04 12:10:47.000000', '2011-12-13 03:34:36.000000', 'unread', 1, 2, '2011-12-16 03:34:36') Fixture Insert (0.2ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (2, 4, 3, 'RE: First Message', 'Thanks Dad! You are the coolest!', '2011-12-14 03:34:36.000000', 'unread', 3, 4, '2011-12-16 03:34:36') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (3, 3, 4, 'Second Message', 'Catie, you get the 2nd message', '2011-12-15 03:34:36.000000', 'unread', 5, 6, '2011-12-16 03:34:36') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (6, 4, 5, 'Dad!', 'He is sucha dork.', '2011-12-14 03:34:36.000000', 'unread', 7, 8, '2011-12-16 03:34:36') Fixture Delete (0.1ms) DELETE FROM "roles" Fixture Insert (1.0ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Guest', 'Guest', 1, NULL, '2011-12-16 03:34:36', '2011-12-16 03:34:36') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('User', 'User', 2, NULL, '2011-12-16 03:34:36', '2011-12-16 03:34:36') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Librarian', 'Librarian', 3, NULL, '2011-12-16 03:34:36', '2011-12-16 03:34:36') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Administrator', 'Administrator', 4, NULL, '2011-12-16 03:34:36', '2011-12-16 03:34:36') Fixture Delete (0.1ms) DELETE FROM "user_groups" Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('(not specified)', '(not specified)', '2007-12-13 12:00:51.564542', 1, '', '2007-12-13 12:00:01.674976', 1) Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('User', 'User', '2007-12-22 18:14:56.836548', 2, '', '2007-12-22 18:14:40.173954', 2) Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('Faculty', 'Faculty', '2007-12-22 18:15:05.134351', 3, '', '2007-12-22 18:15:05.126457', 3) Fixture Delete (0.1ms) DELETE FROM "user_has_roles" Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (1, 4, '2011-12-16 03:34:36', '2011-12-16 03:34:36', 135138680) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (2, 3, '2011-12-16 03:34:36', '2011-12-16 03:34:36', 344583537) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (3, 2, '2011-12-16 03:34:36', '2011-12-16 03:34:36', 206669143) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (4, 3, '2011-12-16 03:34:36', '2011-12-16 03:34:36', 226540757) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (5, 2, '2011-12-16 03:34:36', '2011-12-16 03:34:36', 358143215) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (6, 2, '2011-12-16 03:34:36', '2011-12-16 03:34:36', 576709754) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (7, 2, '2011-12-16 03:34:36', '2011-12-16 03:34:36', 1010528733) Fixture Delete (0.2ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:16:30.163731', '$2a$10$vHohD1WflnTIqAa8zMkF9evwAgIZRw3XuR4d3bi29M.jph/MB/AJi', 2, 1, NULL, 'admin', 'tanabe@kamata.lib.teu.ac.jp', '2007-11-19 07:58:32.111941', 4) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 03:41:16.337474', '$2a$10$9O2VuTccN4gHq36ARg0QReSrb1D7WrBBhZZ759RM9moHbB0W5zCzS', 1, 2, NULL, 'librarian1', 'librarian1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:33.172441', 1) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', '$2a$10$JthS59A0BNkDOoFpCXM0V.GhhffKaoWKbzpPahYp/vTFrOyM7h/uW', 1, 3, NULL, 'user1', 'user1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:23.340575', '$2a$10$YmmTGrYQ1Ir6oc7wXnp.GuNeO1eYLoP3sv8wMSIrTdaGw2BPwRrpS', 1, 4, NULL, 'librarian2', '2008-01-18 03:24:04.222344', 1) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:44.711117', '$2a$10$i7UjJhLVrJM/J7qaTwW39OXw1NiwowUEbtNHVDV0sqMLjX9.UO9ca', 1, 5, NULL, 'user2', '2008-01-18 04:29:06.922728', 2) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 6, NULL, 'user3', 'user3@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 7, NULL, 'user4', 'user4@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_1@example.jp"], ["encrypted_password", "$2a$04$Wixcx7Z3lazd/NODaOfYleLtNhWtSKeyswhbbbkFE8pYyR7SEQNfe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00], ["user_group_id", 1], ["username", "admin_1"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:37.414226' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML Completed 500 Internal Server Error in 6ms Role Load (0.5ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_1@example.jp"], ["encrypted_password", "$2a$04$aCGppr57csr0f9So3qi3m.t1oIDXBnBdTKAPoz4c48cJLhGs2D5BK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00], ["user_group_id", 1], ["username", "librarian_1"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:37.466856' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML Completed 500 Internal Server Error in 5ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_1@example.jp"], ["encrypted_password", "$2a$04$g4Kk.b8SDMsOwdUKNN/KV.xj0vTfm31TT14PIgb5bHBf5OHVj3TJ."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00], ["user_group_id", 1], ["username", "user_1"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:37.491361' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML Completed 500 Internal Server Error in 4ms Processing by MessageRequestsController#index as HTML Completed 500 Internal Server Error in 4ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_2@example.jp"], ["encrypted_password", "$2a$04$HHt9qw98EUnwClKt4lNJeO7yjZgDp46T78y0K5H9kIoOskAxhT47G"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00], ["user_group_id", 1], ["username", "admin_2"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:37.523458' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_2@example.jp"], ["encrypted_password", "$2a$04$ph9YLnLCutkIoQ6tNY7bluOoi3GhS/BB53MoiJ4H2HRT4.Il1aAbe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00], ["user_group_id", 1], ["username", "user_2"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00], ["user_id", 9]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:37.539213' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (47.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_3@example.jp"], ["encrypted_password", "$2a$04$cKKUMhF9Oi4BpUhmiqpxK.npMP6Dm0FPsCdAlCaP2euEtH/.oaKRe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00], ["user_group_id", 1], ["username", "user_3"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:37.610742' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_1' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_1"], ["created_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_1"], ["title", "message_template_1"], ["updated_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_1' AND "message_templates"."id" != 9) LIMIT 1 SQL (1.0ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.2ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_2@example.jp"], ["encrypted_password", "$2a$04$ZZs9mOKqNXShkqzlhwNZiu4fba6P.yJuuM0Lb6GJlp4ubSDV3Ohau"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00], ["user_group_id", 1], ["username", "librarian_2"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:37.671257' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_4@example.jp"], ["encrypted_password", "$2a$04$fAZQV1Jxb2YgqjU16jA4ZOAlb8gSk9RolkpG9ytLLAIQFaz2rJpKi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00], ["user_group_id", 1], ["username", "user_4"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:37.684398' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_5@example.jp"], ["encrypted_password", "$2a$04$RTLi9eDpAgyendE1s58KWuG6S/3OcOn.Nyw9dGsNHWmlpypIopYxW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00], ["user_group_id", 1], ["username", "user_5"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:37.700051' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_2' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_2"], ["created_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_2"], ["title", "message_template_2"], ["updated_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_2' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_6@example.jp"], ["encrypted_password", "$2a$04$ya7ndXLcW7QwGeTl5K3bNeHDQayf2iikC7PKma7LOfSn3vwWkWcVy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00], ["user_group_id", 1], ["username", "user_6"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:37.734432' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.7ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_7@example.jp"], ["encrypted_password", "$2a$04$Zj0.oXlr1.SVAa7NHByNW.F4T7mJ95ieEsjk4gl8CAXWOFwwl.2KG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00], ["user_group_id", 1], ["username", "user_7"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:37.749411' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_8@example.jp"], ["encrypted_password", "$2a$04$4dW/RmtkRnZ6YgUSpTrJ8.prU7AOrGHnWvpMwFDR4YJiuXB/gzsVy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00], ["user_group_id", 1], ["username", "user_8"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:37.762525' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_3' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_3"], ["created_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_3"], ["title", "message_template_3"], ["updated_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_3' AND "message_templates"."id" != 9) LIMIT 1 SQL (1.6ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 6ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_9@example.jp"], ["encrypted_password", "$2a$04$rrVe7MNVycCcP.LwAWbagus9JhRsbn1rqhCEAieeYhJ7KVJXOumyS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00], ["user_group_id", 1], ["username", "user_9"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:37.801866' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_10@example.jp"], ["encrypted_password", "$2a$04$FT.ZhdN.BeGyxyvuF8DRUOhkxq4u.O85czn6K8OUl2nngJ0XtQdNq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00], ["user_group_id", 1], ["username", "user_10"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:37.814503' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_4' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_4"], ["created_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_4"], ["title", "message_template_4"], ["updated_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_4' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_3@example.jp"], ["encrypted_password", "$2a$04$Tn3w2swvTcRGjuSGOl3JmONHC5QBco2kWMIBpsfvAXYL4gJSmt3E."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00], ["user_group_id", 1], ["username", "admin_3"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:37.925456' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_11@example.jp"], ["encrypted_password", "$2a$04$6T8OgD.8F8LY5fz69mUVA.RiyVgclEFgEV00EhTzFrDCLqPSUmlyO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00], ["user_group_id", 1], ["username", "user_11"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:37.939401' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_12@example.jp"], ["encrypted_password", "$2a$04$u1TfKoMu6YIrb6FjFHAaE.f2unxUQNZbthpWxrn0o1k4PlQLr8hYW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00], ["user_group_id", 1], ["username", "user_12"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:37.952435' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_5' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_5"], ["created_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_5"], ["title", "message_template_5"], ["updated_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_5' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_3@example.jp"], ["encrypted_password", "$2a$04$5uTi33bs1.3TTml8Dmigq.nI9HoVfrH/g.udxsH.smpYQro7cM462"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00], ["user_group_id", 1], ["username", "librarian_3"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:34:37 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:37.991157' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_13@example.jp"], ["encrypted_password", "$2a$04$01TfzlPLqcje6v13gWu/nu3dUGf/fuKgaLAvVZ3v8ECCRgKmd/WJa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["user_group_id", 1], ["username", "user_13"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:38.006385' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.6ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_14@example.jp"], ["encrypted_password", "$2a$04$JKIRBVYMHTi8WOPjDrNnx..5bUgcrGSjbnwyRpYx1iG7KiHk6p3Xm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["user_group_id", 1], ["username", "user_14"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:38.022528' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_6' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_6"], ["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_6"], ["title", "message_template_6"], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_6' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 8ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_15@example.jp"], ["encrypted_password", "$2a$04$D.hnM.QDa..sx3U5u0qD2ucYIZQMRSl5OUFcvtUPx4ZlD4OoItSCu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["user_group_id", 1], ["username", "user_15"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:38.065215' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_16@example.jp"], ["encrypted_password", "$2a$04$9e6TWJ8eYGbvlvWFBSto1.6L/Pnp335ahrsXm/nPdWdPefNyaPjCS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["user_group_id", 1], ["username", "user_16"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:38.079921' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_17@example.jp"], ["encrypted_password", "$2a$04$vhhZbpDGQ5LStRdCIE14zetmj.VjHtoqrdQCDEqYiA.CTjriyy9vi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["user_group_id", 1], ["username", "user_17"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:38.093752' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_7' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_7"], ["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_7"], ["title", "message_template_7"], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_7' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 8ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_18@example.jp"], ["encrypted_password", "$2a$04$Kd/JC2YYJ/OLrO9S4J3s2eoeofa2Yj3hevvL9CdSbVawDOLBxz8M2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["user_group_id", 1], ["username", "user_18"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:38.138249' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (53.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_19@example.jp"], ["encrypted_password", "$2a$04$K5LdBYfsrNKCIbA8w3wIlOIuYTXf0CavSo8LFcte9l9BIEr979p8O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["user_group_id", 1], ["username", "user_19"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:38.203353' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_8' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_8"], ["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_8"], ["title", "message_template_8"], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_8' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 8ms Role Load (0.4ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_20@example.jp"], ["encrypted_password", "$2a$04$vH4FsVo1.yjM5qZCV8qDQ.nHAho22mxEGMqiSoIEzLmEabnj0taZS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["user_group_id", 1], ["username", "user_20"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:38.246457' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_21@example.jp"], ["encrypted_password", "$2a$04$EcuEUGYm6FJt.1SpsvIQrevFCNmagTe76f7iGf4.WIeZWom8R/Puu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["user_group_id", 1], ["username", "user_21"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:38.259913' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_9' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_9"], ["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_9"], ["title", "message_template_9"], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_9' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_22@example.jp"], ["encrypted_password", "$2a$04$68Uc4RSYLgFU9Ixv1jKAy.enEdbKWXampvpObLG5TjBpRV/0Jv73a"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["user_group_id", 1], ["username", "user_22"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:38.287142' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_23@example.jp"], ["encrypted_password", "$2a$04$vPBCknQjhckchnrY1tqB1OREZzi5PkLtqyxFJKHbFHqboAXGQ8ziO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["user_group_id", 1], ["username", "user_23"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:38.300299' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_10' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_10"], ["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_10"], ["title", "message_template_10"], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (3.5ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_4@example.jp"], ["encrypted_password", "$2a$04$Y1L4yur4vFFeC3qAgKEGuOC5asFbv/GKaV4ta60exyGHpBwnrg7ne"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["user_group_id", 1], ["username", "admin_4"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:38.323776' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 8ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_24@example.jp"], ["encrypted_password", "$2a$04$W3TEc4I.HCbJJCQ4OzBede3A5wvV/oAj58Cxmpi8wQgWm40rba9d2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["user_group_id", 1], ["username", "user_24"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:38.357640' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_25@example.jp"], ["encrypted_password", "$2a$04$kZ4oRIbNYxW40oqOn1BBSu5Wa0QI3C6sKQSSPX.PSkZfPDhXTatMi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["user_group_id", 1], ["username", "user_25"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["user_id", 9]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:38.373103' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_11' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_11"], ["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_11"], ["title", "message_template_11"], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_11' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_26@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_26@example.jp"], ["encrypted_password", "$2a$04$D95u.Z32/lBZd8nRKedrG.8NQYhSkuVSII//aOgCCk1ImDot.QLQa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["user_group_id", 1], ["username", "user_26"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:38.402580' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_27@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_27@example.jp"], ["encrypted_password", "$2a$04$w4/mfUZp0ACGxFYxuC./5uY3J45dJGCe5Hofzi.cxU6cOoSLntL8y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["user_group_id", 1], ["username", "user_27"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:38.416592' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_12' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_12"], ["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_12"], ["title", "message_template_12"], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_5@example.jp"], ["encrypted_password", "$2a$04$IqwsV1PbcnRht1.YTfBDMuoBnl8z2AcLNX9n.YDgPaz9NFWRFRJz6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["user_group_id", 1], ["username", "admin_5"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:38.434047' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 77ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_28@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_28@example.jp"], ["encrypted_password", "$2a$04$9bfVierMbZi0OxG8HA/IUuLFZmXr1mI5I/IGXVf39BmwSp4p7QtGO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["user_group_id", 1], ["username", "user_28"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:38.532890' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_29@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_29@example.jp"], ["encrypted_password", "$2a$04$3fiLr2Dmbhk980heNjwfl.G2y.Eix6r8BC64dIk5bsqakltqgudFS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["user_group_id", 1], ["username", "user_29"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:38.545939' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_13' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_13"], ["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_13"], ["title", "message_template_13"], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_13' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_30@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_30@example.jp"], ["encrypted_password", "$2a$04$Pk8vGX9spJkU0i.wVlt.yeGFev.B80rrqoRLhRx1qKke69JpEYQHe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["user_group_id", 1], ["username", "user_30"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:38.570278' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_31@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_31@example.jp"], ["encrypted_password", "$2a$04$nTkFrFL5V6UmokjXgs88G.LNAPXaMoK6csF9uz1pkXshV.D46cvZ."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["user_group_id", 1], ["username", "user_31"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:38.584955' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_14' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_14"], ["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_14"], ["title", "message_template_14"], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_6@example.jp"], ["encrypted_password", "$2a$04$HOyf8EVwYSqsSjmPva2cF.gPAE0UBUkfi024gLJT66aqHcDTrJJ1i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["user_group_id", 1], ["username", "admin_6"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["user_id", 12]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:38.602947' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_32@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_32@example.jp"], ["encrypted_password", "$2a$04$z41V7FV.pgbYkzfumXXJZ.ZQGHLc3FLQBu1Kqg8Yu338GhBZWSGHy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["user_group_id", 1], ["username", "user_32"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:38.632505' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_33@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_33@example.jp"], ["encrypted_password", "$2a$04$vWs11TOQRM15h9aqXer3YOQp2UJKM4oBNN/RMrMZCDGgX9QfoJAgO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["user_group_id", 1], ["username", "user_33"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:38.645653' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_15' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_15"], ["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_15"], ["title", "message_template_15"], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_15' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_34@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_34@example.jp"], ["encrypted_password", "$2a$04$LLHa6MmrynjtmuFBTO439u1pl/AbdwYaoML8K3tSPwcIGi.WP3Oz."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["user_group_id", 1], ["username", "user_34"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:38.673798' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_35@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_35@example.jp"], ["encrypted_password", "$2a$04$g/BCwUZR0XKxIv4Zijxl5ubOBWJ2rsKXqv.ejvrg3Oq8WpslC9SiG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["user_group_id", 1], ["username", "user_35"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:38.687720' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_16' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_16"], ["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_16"], ["title", "message_template_16"], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_4@example.jp"], ["encrypted_password", "$2a$04$.Fnv6NkJxcQne3cnAkIjeuBbaJdD79nr0K6W95UrBFk/6HWdFh6GO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["user_group_id", 1], ["username", "librarian_4"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:38.704678' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.2ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_36@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_36@example.jp"], ["encrypted_password", "$2a$04$o1F8QTGwkMf68kgzV6kDF.aib.OFfceSB6B1MzJzSHtWfTo3BcMdK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["user_group_id", 1], ["username", "user_36"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:38.736566' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_37@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (61.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_37@example.jp"], ["encrypted_password", "$2a$04$56upyvsHtTslZJvyYD41BOpN3RSOtw7ZyJJHrxDHpUUGbtR5k6t1u"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["user_group_id", 1], ["username", "user_37"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:38.811044' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_17' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_17"], ["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_17"], ["title", "message_template_17"], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_17' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_38@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_38@example.jp"], ["encrypted_password", "$2a$04$9rlwpqDclu9xTcL3KW.cuebEfBeCRDt2j.tjjFows.BUI3322HgYy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["user_group_id", 1], ["username", "user_38"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:38.835733' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_39@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_39@example.jp"], ["encrypted_password", "$2a$04$F8PV4SjE8njVxSf/JnBqBuQ9SA28Wt9qO5cfuHBddHm5DnEYxNKme"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["user_group_id", 1], ["username", "user_39"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:38.847890' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_18' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_18"], ["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_18"], ["title", "message_template_18"], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_5@example.jp"], ["encrypted_password", "$2a$04$nK9zAWBTRtNVCV9k3iJ20OZGjNrHkDPkU6O2pJtRj4JMUuROk4JgC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["user_group_id", 1], ["username", "librarian_5"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:38.869513' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 8ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_40@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_40@example.jp"], ["encrypted_password", "$2a$04$qyB3n7mxFa6kzQVbYaPpZ.MhaPRR6BxiLhoRXD85Cno3i/y67fbCi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["user_group_id", 1], ["username", "user_40"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:38.897452' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_41@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_41@example.jp"], ["encrypted_password", "$2a$04$p6a64Cz2aNZJvcvNb9qxDucotDyQROPbt2zIzDjfx2sRMGcnpmjZa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["user_group_id", 1], ["username", "user_41"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:38.910924' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_19' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_19"], ["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_19"], ["title", "message_template_19"], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_19' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_42@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_42@example.jp"], ["encrypted_password", "$2a$04$WWHAG.zjX7KsajtHVGMb4OVuuv/kbsNgii1cjdgWZh.fVxbHXCpqC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["user_group_id", 1], ["username", "user_42"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:38.941468' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_43@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_43@example.jp"], ["encrypted_password", "$2a$04$Iscotgntaaln2BDdpHv6WugaKVzlVzx16Vqz7hHapBxO46drjPeRO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["user_group_id", 1], ["username", "user_43"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:38.954566' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_20' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_20"], ["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_20"], ["title", "message_template_20"], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_6@example.jp"], ["encrypted_password", "$2a$04$1tvWZcDw5bodqnGd92Se5OPjKifHnczgHUqaKtAA8DtbEWUj9DsTG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["user_group_id", 1], ["username", "librarian_6"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:34:38 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:38.985828' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 10ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_44@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_44@example.jp"], ["encrypted_password", "$2a$04$MBXnfzfIgPtrjq.lq9xMq.Hy9a9Hf4eaDc9LN.H8GShVL9UU.1u3i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_group_id", 1], ["username", "user_44"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:39.018255' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_45@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_45@example.jp"], ["encrypted_password", "$2a$04$3vNBYNLbvPvjrV47sx7hx.QU9rikaZf8Yd.eFYXELAJxHUQpzPmRi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_group_id", 1], ["username", "user_45"]] SQL (0.4ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:39.031980' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_21' LIMIT 1 SQL (5.8ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_21"], ["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_21"], ["title", "message_template_21"], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_21' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_46@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (54.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_46@example.jp"], ["encrypted_password", "$2a$04$iGars6g8FxlbSwU8sVddsOT2O5srTZINJ6UamjhP3C9ykppFeati."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_group_id", 1], ["username", "user_46"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:39.120005' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_47@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_47@example.jp"], ["encrypted_password", "$2a$04$iHnbzrzqOPOC5mSHPrslLOajc0.rswkugeAqjBLAa1CCo8iDQ6xyu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_group_id", 1], ["username", "user_47"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:39.132538' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_22' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_22"], ["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_22"], ["title", "message_template_22"], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_48@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_48@example.jp"], ["encrypted_password", "$2a$04$w.S1z5oB3/CrTCbfrw26IeSLZGF65ccSOl5Z50xFX2QTM61xraN06"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_group_id", 1], ["username", "user_48"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:39.148701' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 6ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_49@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_49@example.jp"], ["encrypted_password", "$2a$04$z0blhZgZcM8vl4wexoQS8ORutWoAi2.tn/ebXDzsHMXAgB8cjhaiG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_group_id", 1], ["username", "user_49"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:39.172448' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_50@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_50@example.jp"], ["encrypted_password", "$2a$04$Oe5GENInpUD7CZAGAsUE2eLt/1szJe8M2O09jhDhzcbz4TbU/FNrS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_group_id", 1], ["username", "user_50"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:39.183183' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_23' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_23"], ["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_23"], ["title", "message_template_23"], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_23' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_51@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_51@example.jp"], ["encrypted_password", "$2a$04$TYAMPeIzu6IHRPkFbAAS9uCQbK2HvGn7DahCfsp9f7Zqdrv9pFeGO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_group_id", 1], ["username", "user_51"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:39.200396' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_52@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_52@example.jp"], ["encrypted_password", "$2a$04$3V8zUONDYsjIPHMnKJw1nO.Rcke9RYsrdHhn.PQ.y.dLtOlukfl8y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_group_id", 1], ["username", "user_52"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:39.208766' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_24' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_24"], ["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_24"], ["title", "message_template_24"], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_53@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_53@example.jp"], ["encrypted_password", "$2a$04$QfoI1fRq3zBEiS4tZmQnA.u//j4B76pfBBXQwwSV/Ja.sXhpUzGtW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_group_id", 1], ["username", "user_53"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:39.219388' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 5ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_54@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_54@example.jp"], ["encrypted_password", "$2a$04$wHl7eYaW0ch54Q05pg4hROexrkfIwprYHmtLkQ.6fa1hsOCFH.xc."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_group_id", 1], ["username", "user_54"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:39.238006' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_55@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_55@example.jp"], ["encrypted_password", "$2a$04$AytRxytPJWtHPrZ4tS4KoeXB9LdqJCSw4X.A.6P1pxrbXaXbyKsaq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_group_id", 1], ["username", "user_55"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:39.246918' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_25' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_25"], ["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_25"], ["title", "message_template_25"], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_25' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_56@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_56@example.jp"], ["encrypted_password", "$2a$04$hdvBaY6wX4tzApLNWho2POG67/GkVU.1ZbF5tYgKTw6JYhnEgiDrK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_group_id", 1], ["username", "user_56"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:39.262400' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_57@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_57@example.jp"], ["encrypted_password", "$2a$04$582gV8tIzJMbxo5gpphbnOLB5tvqnfR904H2E2IcE3C9CTcwP9RMq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_group_id", 1], ["username", "user_57"]] SQL (32.9ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:39.304129' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_26' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_26"], ["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_26"], ["title", "message_template_26"], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_58@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_58@example.jp"], ["encrypted_password", "$2a$04$iZjntOR7.SlKFAEkc6x/nevSCi.KG2Ls36KIlDr.48wALt0KrkoPy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_group_id", 1], ["username", "user_58"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:39.315630' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_59@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_59@example.jp"], ["encrypted_password", "$2a$04$MTLkMt10rKkrKUMmxRND9OgbNt1NBVbWnp9XN9OSNPA/Cbf0tPSXi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_group_id", 1], ["username", "user_59"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:39.331653' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_60@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_60@example.jp"], ["encrypted_password", "$2a$04$UtgeuvdqEaW8ogYt1aIhYuB3Sztrl3aOXqZiEEdqjITImXYutR4FS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_group_id", 1], ["username", "user_60"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:39.340256' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_27' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_27"], ["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_27"], ["title", "message_template_27"], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_27' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_61@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_61@example.jp"], ["encrypted_password", "$2a$04$MC7YttmLBKAtQPLoOYc3SuRiXR1t/VUzseWSuOJo8vREgrdhAwaCm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_group_id", 1], ["username", "user_61"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:39.354252' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_62@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_62@example.jp"], ["encrypted_password", "$2a$04$DMLPnslDp8/QiWLM4eZsJu1dNZx.cRi9OopLdlFHll0.Gsuy8RPwu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_group_id", 1], ["username", "user_62"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:39.363492' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_28' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_28"], ["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_28"], ["title", "message_template_28"], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 4ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_63@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_63@example.jp"], ["encrypted_password", "$2a$04$dIalS0GTvIUA6E7HmqkeB.z9mcHJaT.5WwXHKQHH9hFT7wtE17JO."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_group_id", 1], ["username", "user_63"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:39.384216' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_64@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_64@example.jp"], ["encrypted_password", "$2a$04$1q0aFOIAn0xHwD0v.AlbG..pA2zkapUb39ej2H7UNXy4mmRLUlqRy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_group_id", 1], ["username", "user_64"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:39.392454' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_29' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_29"], ["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_29"], ["title", "message_template_29"], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_29' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_65@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_65@example.jp"], ["encrypted_password", "$2a$04$WmF4GM33mHby0haPP6lih.qUnUVpnYaSy8hhxTUvREgWPe4FCKN5S"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_group_id", 1], ["username", "user_65"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:39.407320' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_66@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_66@example.jp"], ["encrypted_password", "$2a$04$w0VHOxvqwAVSOEiKGH68Cu9jhl93JVPuhJ8Q8/d.x7EAXV2IhY9NS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_group_id", 1], ["username", "user_66"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:39.415394' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_30' LIMIT 1 SQL (0.1ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_30"], ["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_30"], ["title", "message_template_30"], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_67@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_67@example.jp"], ["encrypted_password", "$2a$04$THy14ewsH9BUKUiuhZvGCOtAEL7ShfEZiHRf21mEsitznGuRbsc8C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_group_id", 1], ["username", "user_67"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:39.434562' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_68@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (33.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_68@example.jp"], ["encrypted_password", "$2a$04$jrMGSvjbkv3lnJ1A9ux3Xu0Je9GO7vsInQfhC.wfN6rlteLqbf3HO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_group_id", 1], ["username", "user_68"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:39.476367' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_31' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_31"], ["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_31"], ["title", "message_template_31"], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_31' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_69@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_69@example.jp"], ["encrypted_password", "$2a$04$eWqTKS6dW/PJhhI1qrDCW.K/.A8XONgDwj8PgWQxrfoeCJHr4G0re"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_group_id", 1], ["username", "user_69"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:39.491195' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_70@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_70@example.jp"], ["encrypted_password", "$2a$04$nJUi3jWo8s6I/.kPAD3W.ehDNY7QkKVN8M.HugdvayQfckuOo3uCe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_group_id", 1], ["username", "user_70"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:39.499394' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_32' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_32"], ["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_32"], ["title", "message_template_32"], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_71@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_71@example.jp"], ["encrypted_password", "$2a$04$gfHSAuMA2N4fKcsfKSf0su.UXfLvLMXf8klcTmqzn0rUkpQrRBJ1G"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_group_id", 1], ["username", "user_71"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:39.517482' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_72@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_72@example.jp"], ["encrypted_password", "$2a$04$DFygg5RLwl0IgKIUWoXpwO1qic5qHxjMCT2w3hHXXo6mJ3f6SaN3O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_group_id", 1], ["username", "user_72"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:39.525693' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_33' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_33"], ["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_33"], ["title", "message_template_33"], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_33' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.6ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_7@example.jp"], ["encrypted_password", "$2a$04$Uce1MocPbil9n7lVrohL8OewCRNskLREnsMGDBfdYBe4K9tkpv.ji"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_group_id", 1], ["username", "admin_7"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:39.540354' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 5ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_73@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_73@example.jp"], ["encrypted_password", "$2a$04$EOoOuMzWHjrXR/x6c9mA8eIVY.glc/WKv9pfTnlSfaxNibUtC9HAu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_group_id", 1], ["username", "user_73"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:39.556468' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_74@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_74@example.jp"], ["encrypted_password", "$2a$04$Kdn4P1HoHosrn9QitWuB2.iRYWm3p5aWfhqWLeNknUmU0aHhrXgmm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_group_id", 1], ["username", "user_74"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:39.565416' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_34' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_34"], ["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_34"], ["title", "message_template_34"], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_34' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.6ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_8@example.jp"], ["encrypted_password", "$2a$04$YcdytDqL2qT8qbxzKvBQPO0WKbN/3rVCi.7qyRtK8vifwFZreq4RO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_group_id", 1], ["username", "admin_8"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:39.580696' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_75@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_75@example.jp"], ["encrypted_password", "$2a$04$g3DGCgI4y4Osy1klI.nWveUYz08hBKe8KNWk/1QgZagX9H8lDPPaK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_group_id", 1], ["username", "user_75"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:39.597814' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_76@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_76@example.jp"], ["encrypted_password", "$2a$04$q.qdxvBfBKnWcZsnZPVrk.BKDBglbR5vmK9I4SCZ9qusko4FR/fpW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_group_id", 1], ["username", "user_76"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:39.606162' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_35' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_35"], ["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_35"], ["title", "message_template_35"], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_35' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_7@example.jp"], ["encrypted_password", "$2a$04$LZ9YeiaYwtcIBvdUzsZkyOlVDv8uXk1gCNWLQSBU6g65fCHYgRj4q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_group_id", 1], ["username", "librarian_7"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:39.654241' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 5ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_77@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_77@example.jp"], ["encrypted_password", "$2a$04$P/sVj6UznZ8JfMbxyNFCJesLUhPssf2OCSyZh/Aw2imCVA04ZAO3i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_group_id", 1], ["username", "user_77"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:39.669958' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_78@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_78@example.jp"], ["encrypted_password", "$2a$04$qSAWYcwxGuQyrJJlwYUbB.xfvUxVmTym2RWXmxbFEkYQcQ7Liu06m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_group_id", 1], ["username", "user_78"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:39.678605' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_36' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_36"], ["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_36"], ["title", "message_template_36"], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_36' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_8@example.jp"], ["encrypted_password", "$2a$04$tyQGBkN5JMcm3RDe9bR9d..w2rk6MiKM9TPURbxBVYL33LhUhRiAq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_group_id", 1], ["username", "librarian_8"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:39.693560' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_79@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_79@example.jp"], ["encrypted_password", "$2a$04$5S2d/zPutv7t8vIgbK56du8PWEN0hmyQxres.stZgxtlkhekF/GiG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_group_id", 1], ["username", "user_79"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:39.709079' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_80@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_80@example.jp"], ["encrypted_password", "$2a$04$j/x6hS76/qMNZseJHmMo0ugLaPWNzG7LIygJx6PwAGikSlwNUU7pC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_group_id", 1], ["username", "user_80"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:39.717547' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_37' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_37"], ["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_37"], ["title", "message_template_37"], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_37' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_81@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_81@example.jp"], ["encrypted_password", "$2a$04$OqA9ckJXnOTD4yiLMCIp1uH8krShGVZOVF44nsV1htBUCcXTon9mi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_group_id", 1], ["username", "user_81"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:39.732362' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 4ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_82@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_82@example.jp"], ["encrypted_password", "$2a$04$dYjjTgbLar7kK8sIba2neudbe3HUYpZZWJfvc7SDMkEwAK.d1/.GK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_group_id", 1], ["username", "user_82"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:39.748724' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_83@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_83@example.jp"], ["encrypted_password", "$2a$04$5K2phfyClkU9KSDaDw30rubBCjh7kP4.h0Tgy00dHl2VLYq3z3Obe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_group_id", 1], ["username", "user_83"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:39.757175' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_38' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_38"], ["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_38"], ["title", "message_template_38"], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_38' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_84@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_84@example.jp"], ["encrypted_password", "$2a$04$3AcUcekDauOvQlobtSIleOcft5or4QfxIS9HBlk12luop0kuWkgdK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_group_id", 1], ["username", "user_84"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:39.772581' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_85@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_85@example.jp"], ["encrypted_password", "$2a$04$ely74QWS1D.VBSiqUETy0OZYT70.cCZmWpsfq1Y5yoXib4sx7Vnd6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_group_id", 1], ["username", "user_85"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:39.824210' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_86@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_86@example.jp"], ["encrypted_password", "$2a$04$nlzjssaKBs4XC2YX9i.FauWuhCmlRNzf5JU/ZrDndrGOTZlHToXru"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_group_id", 1], ["username", "user_86"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:39.832882' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_39' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_39"], ["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_39"], ["title", "message_template_39"], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_39' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_87@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_87@example.jp"], ["encrypted_password", "$2a$04$Gtb8S72v/kpIHWDto3DwHeIPxCEDNUOsycaA2ja8oXkrbJ9aBzA2."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_group_id", 1], ["username", "user_87"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:39.854837' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_88@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_88@example.jp"], ["encrypted_password", "$2a$04$j7vSklER0BCxlS9HzbjjlePps0agJUvFEgq5.OnfnuQKvm6DjneUK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_group_id", 1], ["username", "user_88"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:39.865404' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_40' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_40"], ["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_40"], ["title", "message_template_40"], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_40' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 4ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_41' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_41"], ["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_41"], ["title", "message_template_41"], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_9@example.jp"], ["encrypted_password", "$2a$04$JQpt//pwQg4Ab1Zx0pGLYuBAaMWsfqEKBwznqpsW1llx8aDKqA0nC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_group_id", 1], ["username", "admin_9"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:39.890741' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML Completed 500 Internal Server Error in 2ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_42' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_42"], ["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_42"], ["title", "message_template_42"], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_9@example.jp"], ["encrypted_password", "$2a$04$pgqhbn6lK486hPTTpox/hO7xyKI7oPvQTpoLSL9zFx5lNSwmymKeC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_group_id", 1], ["username", "librarian_9"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:39.908030' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML Completed 500 Internal Server Error in 2ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_43' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_43"], ["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_43"], ["title", "message_template_43"], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_89@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_89@example.jp"], ["encrypted_password", "$2a$04$FB.SvhSUfhx.I1CbFJX0Ru99zoOQC2LE36Arxq2/5bhF2oeAMTdbi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_group_id", 1], ["username", "user_89"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:39.924435' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML Completed 500 Internal Server Error in 2ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_44' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_44"], ["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_44"], ["title", "message_template_44"], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML Completed 500 Internal Server Error in 2ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_10@example.jp"], ["encrypted_password", "$2a$04$hf4LuUVMagOFuhd/Cj4RLeTM4rh/46fNgu62QHzMK2o3ODB6wr/qO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_group_id", 1], ["username", "admin_10"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:39.945464' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_45' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_45"], ["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_45"], ["title", "message_template_45"], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 4ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_10@example.jp"], ["encrypted_password", "$2a$04$Rkj2SGl7V17ydAIjfyMBluqjiTrJfBv9j/POqyOh21B0k5jfLkOHC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_group_id", 1], ["username", "librarian_10"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:39.964949' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_46' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_46"], ["created_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_46"], ["title", "message_template_46"], ["updated_at", Fri, 16 Dec 2011 03:34:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 5ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_90@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_90@example.jp"], ["encrypted_password", "$2a$04$kJ.YOA/CfsUWYfkvagjnr.xohOyV0tJlIpFCf1rrh89TRNT/c30pa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["user_group_id", 1], ["username", "user_90"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:40.019791' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_47' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_47"], ["created_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_47"], ["title", "message_template_47"], ["updated_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 4ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_48' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_48"], ["created_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_48"], ["title", "message_template_48"], ["updated_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_11@example.jp"], ["encrypted_password", "$2a$04$U2l3av5p6aNHS4ZlPeEtUOpa5eZVB495N5Fe0rMecMmZ9SZ5nV3hq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["user_group_id", 1], ["username", "admin_11"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:40.047179' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML Completed 500 Internal Server Error in 4ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_11@example.jp"], ["encrypted_password", "$2a$04$QeoHPorMrt7FCtslOiEwgu3/C8JyUPQjLr9.HrrJJ79R0eZ6xeguy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["user_group_id", 1], ["username", "librarian_11"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:40.062332' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML Completed 500 Internal Server Error in 3ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_91@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_91@example.jp"], ["encrypted_password", "$2a$04$ywz7KOyueVEjFe/p8/ASeeb9LvQgZl.cDhb68asVUTDL3BK0YytDK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["user_group_id", 1], ["username", "user_91"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:40.078022' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML Completed 500 Internal Server Error in 3ms Processing by MessageTemplatesController#new as HTML Completed 500 Internal Server Error in 3ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_12@example.jp"], ["encrypted_password", "$2a$04$Hq3dGn67SbI4V.1PrUQTV..6Ot1CGkIzxhU9ely2Aqs8PNWzwN5xu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["user_group_id", 1], ["username", "admin_12"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:40.097521' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_49' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_49"], ["created_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_49"], ["title", "message_template_49"], ["updated_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 4ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_12@example.jp"], ["encrypted_password", "$2a$04$wwAP5wDcJYhjCWE333WZk.eS/A/V2GJeK1f0FaWTJ2Jr79OjKMNNi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["user_group_id", 1], ["username", "librarian_12"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:40.117916' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_50' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_50"], ["created_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_50"], ["title", "message_template_50"], ["updated_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 6ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_92@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_92@example.jp"], ["encrypted_password", "$2a$04$3IJ1GO2YcZWTM/zwA5ZxPes4dHlT4JLFKpGbEUEM8KCGqZd07N.Fu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["user_group_id", 1], ["username", "user_92"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:40.145944' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_51' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_51"], ["created_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_51"], ["title", "message_template_51"], ["updated_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 5ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_52' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_52"], ["created_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_52"], ["title", "message_template_52"], ["updated_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 5ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (56.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_13@example.jp"], ["encrypted_password", "$2a$04$56FDVDguKWZfNZ39q9/GWuK8D7OYG9.lXKMFI8O7tE/k0KaAjlsvu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["user_group_id", 1], ["username", "admin_13"]] SQL (0.4ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:40.238268' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_53", "status"=>"message_template_53", "body"=>"message_template_53"}} Completed 500 Internal Server Error in 6ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_14@example.jp"], ["encrypted_password", "$2a$04$EZoFC7AhxXNK/3V5vPzac.ewsxfIgxXRSK39aWFHAWe8a6/W/0lDu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["user_group_id", 1], ["username", "admin_14"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:40.263804' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_54", "status"=>"message_template_54", "body"=>"message_template_54"}} Completed 500 Internal Server Error in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_15@example.jp"], ["encrypted_password", "$2a$04$X8JpKQCkq6.ld.09729tpOvnPtAmDGdxOw4YaDIR3WrCWx0ipbOti"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["user_group_id", 1], ["username", "admin_15"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:40.290866' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Completed 500 Internal Server Error in 6ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_16@example.jp"], ["encrypted_password", "$2a$04$ktQ9sS4vHVupz8RQZmf7ZOFvbxOv/J2tX.7wz0/dskm5hEgJSICEe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["user_group_id", 1], ["username", "admin_16"]] SQL (0.4ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:40.314244' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Completed 500 Internal Server Error in 6ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_13@example.jp"], ["encrypted_password", "$2a$04$bsq7.m8MT6b.HuVFbk5mKeAp9toh3Maz.GuuapXPfQvwWyR13B4Fm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["user_group_id", 1], ["username", "librarian_13"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:40.337621' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_57", "status"=>"message_template_57", "body"=>"message_template_57"}} Completed 500 Internal Server Error in 6ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_14@example.jp"], ["encrypted_password", "$2a$04$1M0uCUJE0zi2ZAhFdNBJQuhjRt7VXjoughY3c14dUxb9viYGWEPsq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["user_group_id", 1], ["username", "librarian_14"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:40.362352' WHERE "roles"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_58", "status"=>"message_template_58", "body"=>"message_template_58"}} Completed 500 Internal Server Error in 6ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_15@example.jp"], ["encrypted_password", "$2a$04$uZ0ZMAenqE8kZq1ipu0uDOgmkvvcRkR7Cc89OdT19q.4da4pwjO7i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["user_group_id", 1], ["username", "librarian_15"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:40.390030' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Completed 500 Internal Server Error in 6ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_16@example.jp"], ["encrypted_password", "$2a$04$AX5bwls/9PQr1LHyo8xYr.Z3YgatKxU5Vl47mzZ5tlaf1ILCdgIxG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["user_group_id", 1], ["username", "librarian_16"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:40.416669' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Completed 500 Internal Server Error in 6ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_93@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_93@example.jp"], ["encrypted_password", "$2a$04$mMaee5v0CCHzPcorVgKHa.JAY2pCH6iOGdcU7PRnxwFwv8Nvol3Sy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["user_group_id", 1], ["username", "user_93"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:40.440778' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_61", "status"=>"message_template_61", "body"=>"message_template_61"}} Completed 500 Internal Server Error in 6ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_94@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_94@example.jp"], ["encrypted_password", "$2a$04$X/kJFNFdQcqiRqQTWP1Io.aimgQitNCbw7YqEVRW5fnIJihHPGcZK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["user_group_id", 1], ["username", "user_94"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:40.464561' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_62", "status"=>"message_template_62", "body"=>"message_template_62"}} Completed 500 Internal Server Error in 62ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_95@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_95@example.jp"], ["encrypted_password", "$2a$04$eYP4BHW0Cn.Hsj8oZZrQcuFWSKIpjJRTquOTXnU5RvKlaxA.K9ZLC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["user_group_id", 1], ["username", "user_95"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:40.547145' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Completed 500 Internal Server Error in 6ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_96@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_96@example.jp"], ["encrypted_password", "$2a$04$jjC7Vx7nwiIjMiyFX6rFKeDqgyaRLwOUhv0vYyMiMXObgXP.739RW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["user_group_id", 1], ["username", "user_96"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:40.570547' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Completed 500 Internal Server Error in 6ms Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_65", "status"=>"message_template_65", "body"=>"message_template_65"}} Completed 500 Internal Server Error in 5ms Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_66", "status"=>"message_template_66", "body"=>"message_template_66"}} Completed 500 Internal Server Error in 6ms Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Completed 500 Internal Server Error in 6ms Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Completed 500 Internal Server Error in 6ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_69' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_69"], ["created_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_69"], ["title", "message_template_69"], ["updated_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_17@example.jp"], ["encrypted_password", "$2a$04$IS.ODgdtvIfda1oODEJQu.x/mzhB722wZ7tzUTITwgibY1/a1Dkz."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["user_group_id", 1], ["username", "admin_17"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:40.639098' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_70", "status"=>"message_template_70", "body"=>"message_template_70"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 9ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_71' LIMIT 1 SQL (1.8ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_71"], ["created_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_71"], ["title", "message_template_71"], ["updated_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.5ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_18@example.jp"], ["encrypted_password", "$2a$04$CRVJo4X3OQVlesrRv8v1lug.xzA/UutlTzm2LEZdVm5exTI6ex/k2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["user_group_id", 1], ["username", "admin_18"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:40.674308' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_72", "status"=>"message_template_72", "body"=>"message_template_72"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 6ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_73' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_73"], ["created_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_73"], ["title", "message_template_73"], ["updated_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_19@example.jp"], ["encrypted_password", "$2a$04$LIdfJrnmHoYODO2tNjtYF.fWYIlYEUYyK0Vt9a9rTIhK5O6N20AA6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["user_group_id", 1], ["username", "admin_19"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:40.704696' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_74", "status"=>"message_template_74", "body"=>"message_template_74"}, "position"=>"2", "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 7ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_75' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_75"], ["created_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_75"], ["title", "message_template_75"], ["updated_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_20@example.jp"], ["encrypted_password", "$2a$04$MpRNO9wRqvQUyKZw8Wm32.DE3NVl1kyw9HCcB9jEhsSMbJ6ih3QEO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["user_group_id", 1], ["username", "admin_20"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:40.733547' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 6ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_77' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_77"], ["created_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_77"], ["title", "message_template_77"], ["updated_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_17@example.jp"], ["encrypted_password", "$2a$04$IPB9n3g2wM8u92yoLfWqde2sTM5/GRQ7BOZ7YLqdvlMQxaTUto3u2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["user_group_id", 1], ["username", "librarian_17"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:40.768502' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_78", "status"=>"message_template_78", "body"=>"message_template_78"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 9ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_79' LIMIT 1 SQL (57.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_79"], ["created_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_79"], ["title", "message_template_79"], ["updated_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_18@example.jp"], ["encrypted_password", "$2a$04$bDWezd9/1EU.nkGzqsmoZeHav3b.RCsTeQJSaj9iMKMXgpwBfn8ZG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["user_group_id", 1], ["username", "librarian_18"]] SQL (1.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:40.860514' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_80", "status"=>"message_template_80", "body"=>"message_template_80"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 9ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_81' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_81"], ["created_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_81"], ["title", "message_template_81"], ["updated_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_19@example.jp"], ["encrypted_password", "$2a$04$5fzyA/Az3qLzaSAxq7mgVOj8pdc38gtmqU58k8nrBjvNEgb5dwnpG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["user_group_id", 1], ["username", "librarian_19"]] SQL (0.5ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:40.893073' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 7ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_83' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_83"], ["created_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_83"], ["title", "message_template_83"], ["updated_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_97@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_97@example.jp"], ["encrypted_password", "$2a$04$uHoY97amXPI4xaYJmMDqIOUf3YQWVY6xwHFgnGeL9M2h79YXpLwUy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["user_group_id", 1], ["username", "user_97"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:40.922849' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_84", "status"=>"message_template_84", "body"=>"message_template_84"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 7ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_85' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_85"], ["created_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_85"], ["title", "message_template_85"], ["updated_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_98@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_98@example.jp"], ["encrypted_password", "$2a$04$yhi.GM4lbZQbROGh4Dktz.NqE/mNM4qKr.6LQDH5Oi5qm7l.jON2O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["user_group_id", 1], ["username", "user_98"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:40.952721' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_86", "status"=>"message_template_86", "body"=>"message_template_86"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 6ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_87' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_87"], ["created_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_87"], ["title", "message_template_87"], ["updated_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (1.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_99@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_99@example.jp"], ["encrypted_password", "$2a$04$LlsBDG6WyWo6ub9Dwwka3u6XPnL4mKXp7JTk8tG34MQUQN5P.LeTi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["user_group_id", 1], ["username", "user_99"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:40 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:40.983038' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 8ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_89' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_89"], ["created_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_89"], ["title", "message_template_89"], ["updated_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_90", "status"=>"message_template_90", "body"=>"message_template_90"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 8ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_91' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_91"], ["created_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_91"], ["title", "message_template_91"], ["updated_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_92", "status"=>"message_template_92", "body"=>"message_template_92"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 8ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_93' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_93"], ["created_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_93"], ["title", "message_template_93"], ["updated_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 7ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_95' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_95"], ["created_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_95"], ["title", "message_template_95"], ["updated_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_21@example.jp"], ["encrypted_password", "$2a$04$8mg1.LjLXvWPSsTuaLszb.cE.u5oVD0id3GMd.H7PFhb4AsRgqdEq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00], ["user_group_id", 1], ["username", "admin_21"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:41.068169' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 8ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_96' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_96"], ["created_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_96"], ["title", "message_template_96"], ["updated_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_22@example.jp"], ["encrypted_password", "$2a$04$MHUovVo2Bd.LzNlY3pyLyOFEmuE/f9XVPVVhek.d9J54ZNwTIRh4i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00], ["user_group_id", 1], ["username", "admin_22"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:41.102752' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 65ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_97' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_97"], ["created_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_97"], ["title", "message_template_97"], ["updated_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.4ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_20@example.jp"], ["encrypted_password", "$2a$04$/BI6Mlt4vqesGRWBYn80suyhDM.OygFysFCftSuHv59lv/u4f53d6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00], ["user_group_id", 1], ["username", "librarian_20"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:41.195014' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 6ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.4ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_98' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_98"], ["created_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_98"], ["title", "message_template_98"], ["updated_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_21@example.jp"], ["encrypted_password", "$2a$04$wVdeakYZLxjwJSh3mA0EAuwSYWn9AzDg4qFPrV.OwOI9XkoDTVTU2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00], ["user_group_id", 1], ["username", "librarian_21"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:41.225447' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 6ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_99' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_99"], ["created_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_99"], ["title", "message_template_99"], ["updated_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_100@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_100@example.jp"], ["encrypted_password", "$2a$04$Qdn0983RPoY4C2COVhOvs..0tGxdN4/ZjKCamwJ.dx398R5iwc7/i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00], ["user_group_id", 1], ["username", "user_100"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:41.252606' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 13ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_100' LIMIT 1 SQL (4.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_100"], ["created_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_100"], ["title", "message_template_100"], ["updated_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (2.5ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_101@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_101@example.jp"], ["encrypted_password", "$2a$04$GcbZby8tjcoRxI31AeoTuOnOiCtvY3t67P2mCOyiQTSPAQVF9qio2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00], ["user_group_id", 1], ["username", "user_101"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:41.297860' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 6ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_101' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_101"], ["created_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_101"], ["title", "message_template_101"], ["updated_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 6ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_102' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_102"], ["created_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_102"], ["title", "message_template_102"], ["updated_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 10ms User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 69ms User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 7ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#show as HTML Parameters: {"id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] Completed 500 Internal Server Error in 7ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 10ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 9ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_23@example.jp"], ["encrypted_password", "$2a$04$1pe0wr.YRl6vB4BERFJE2usrcCC68ZmozwuGLnO9CQkIWeB8tS.k2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00], ["user_group_id", 1], ["username", "admin_23"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:41.546631' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#new as HTML Completed 500 Internal Server Error in 8ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_22@example.jp"], ["encrypted_password", "$2a$04$lcXDKQZf/lYDajYTEj3HUe7MBzLLFtwoGNTHKFjR5V66hwwQsgo02"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00], ["user_group_id", 1], ["username", "librarian_22"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:41.575512' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#new as HTML Completed 500 Internal Server Error in 5ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML Completed 500 Internal Server Error in 5ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML Completed 500 Internal Server Error in 5ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML Parameters: {"parent_id"=>"1"} Completed 500 Internal Server Error in 5ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML Parameters: {"parent_id"=>"2"} Completed 500 Internal Server Error in 5ms Processing by MessagesController#new as HTML Completed 500 Internal Server Error in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.2ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_24@example.jp"], ["encrypted_password", "$2a$04$kppaJPQQY0WyiA7XrR7q6eB0jH2XKhE3pVJ7mvT9ZguaUUKXIxM.a"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00], ["user_group_id", 1], ["username", "admin_24"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:41.652318' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.3ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_23@example.jp"], ["encrypted_password", "$2a$04$Dlfi9XzjXctlwmneVSGGRuJTosUDPMMRAHPuwtOOZJf6wxENDrShC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00], ["user_group_id", 1], ["username", "librarian_23"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:41.683752' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 7ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_102@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_102@example.jp"], ["encrypted_password", "$2a$04$f8WBv/IEo/nMntSxZck4QOqnN21f2ONSX7Brgt9evq0YJrY.dZ6y6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00], ["user_group_id", 1], ["username", "user_102"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:41.722694' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_103@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (67.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_103@example.jp"], ["encrypted_password", "$2a$04$FJmBnpJbABXQgkTLsTZVg.9gS89vhEZcjm36jAMlHpHuO5i8mCgPe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00], ["user_group_id", 1], ["username", "user_103"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:41.801917' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "user_102"]]  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_104@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_104@example.jp"], ["encrypted_password", "$2a$04$Wd5z8XmYaoUrUlVfJJu1eeRmNp.m/21fUkR22f8Ng/HdZvHOwUnjK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00], ["user_group_id", 1], ["username", "user_104"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:41.847550' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_105@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_105@example.jp"], ["encrypted_password", "$2a$04$k8eauhqT0/EYXWFXf9KZ5u.zXy88g7Z2jngjr9S5zKcuq4c9l6OIu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00], ["user_group_id", 1], ["username", "user_105"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00], ["user_id", 9]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:41.861810' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_104", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 11ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_106@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_106@example.jp"], ["encrypted_password", "$2a$04$JcgTQTzYHraQAUruKVInPO4nggBaLAaQmR5.P4GI3zcNNDLGtJVVC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00], ["user_group_id", 1], ["username", "user_106"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:41.891648' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_107@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_107@example.jp"], ["encrypted_password", "$2a$04$ikK3.rr3Qa09gwdp8J0uk.cTYg0ud6Rmkw/ckGiwQyshiGlNNzWk."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00], ["user_group_id", 1], ["username", "user_107"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:41.905081' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_106", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 7ms Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_108@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_108@example.jp"], ["encrypted_password", "$2a$04$kpHjXUN4Fm1AJZNWpmvHVuGMVL05HWvdLx5aTY6pyjOEb6ShvXMj2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00], ["user_group_id", 1], ["username", "user_108"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:41.939022' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_109@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_109@example.jp"], ["encrypted_password", "$2a$04$wpPfx1mZ4yxbrCUGoLkYZe1l/x3dBBPpESAj7o31/GZw7gkz6/ppu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00], ["user_group_id", 1], ["username", "user_109"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:41.951583' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 9ms Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_110@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_110@example.jp"], ["encrypted_password", "$2a$04$pV.4yU6sd2Wh2j6hlnXJ1exrSCbhCJDeD75kfy9lyuIK0pMhq.1ba"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00], ["user_group_id", 1], ["username", "user_110"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:41.985694' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_111@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_111@example.jp"], ["encrypted_password", "$2a$04$2hBcHoWAbdCq8p9oRHgD0u3b4416iYMcZMNpfYVK9vrJoqVYb.oEi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:41 UTC +00:00], ["user_group_id", 1], ["username", "user_111"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:42 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:42 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:42.001922' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 7ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_112@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_112@example.jp"], ["encrypted_password", "$2a$04$mpKY08BbRv2L0aYkmoo.led/g2ykRpSyzzNoBDGXUqYu/nD/KEQFS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:42 UTC +00:00], ["user_group_id", 1], ["username", "user_112"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:42 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:42 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:42.029085' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_113@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (72.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_113@example.jp"], ["encrypted_password", "$2a$04$zHu5H00AAU6o9.kfAIZb7eNbPvwfsTMowBRdqy1Gk8CQqGK8sC/re"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:42 UTC +00:00], ["user_group_id", 1], ["username", "user_113"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:42 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:42 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:42.113914' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_112", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 7ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_114@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_114@example.jp"], ["encrypted_password", "$2a$04$9cy50Kg0OXtyXtHQYmtzaORVVZL2WhsgQTRGdmLulubHF/zSMHfd2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:42 UTC +00:00], ["user_group_id", 1], ["username", "user_114"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:42 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:42 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:42.140281' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_115@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_115@example.jp"], ["encrypted_password", "$2a$04$um7DsiWKqAaC5k7x0glfNOIbT5GdghqJT79BX5I/WrF391xPukWF6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:42 UTC +00:00], ["user_group_id", 1], ["username", "user_115"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:42 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:42 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:42.153445' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_114", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 7ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_116@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_116@example.jp"], ["encrypted_password", "$2a$04$mUBDLzyXWApyMM10ZMGmo.Rpf6LqWM3yFqYn.cow0DWmz.dcVblBe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:42 UTC +00:00], ["user_group_id", 1], ["username", "user_116"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:42 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:42 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:42.181545' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_117@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_117@example.jp"], ["encrypted_password", "$2a$04$3z4o4Lon1296vbIyutmI/e3A7ydukZDjJyoVlsJU5tvPZxGdLtjau"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:42 UTC +00:00], ["user_group_id", 1], ["username", "user_117"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:42 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:42 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:42.196473' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 8ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_118@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_118@example.jp"], ["encrypted_password", "$2a$04$Uh8yapUPTofuLb/IjrNJSO4ZzcYbmfJcrFelavmp8PSQGGpl33a5i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:42 UTC +00:00], ["user_group_id", 1], ["username", "user_118"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:42 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:42 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:42.224171' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.4ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_119@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_119@example.jp"], ["encrypted_password", "$2a$04$ldEg2VkuGtNvcHKRHTk2/.CZQtQfiFL5It/H8sFD5o0ZvGNpkxmJm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:42 UTC +00:00], ["user_group_id", 1], ["username", "user_119"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:42 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:42 UTC +00:00], ["user_id", 9]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:42.237116' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 11ms Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_120@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_120@example.jp"], ["encrypted_password", "$2a$04$X6y6MQhsfe/txcwRP0LoFOM7FYzLX5RInESc8w9lnBKT0A9kGcV1S"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:42 UTC +00:00], ["user_group_id", 1], ["username", "user_120"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:42 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:42 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:42.277222' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_121@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_121@example.jp"], ["encrypted_password", "$2a$04$jNoDDyYUcqKLpPfBuAU3z.IwoVhnR2g91K1sqEakavL/qAIjybbhi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:42 UTC +00:00], ["user_group_id", 1], ["username", "user_121"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:42 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:42 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:42.291721' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] Completed 500 Internal Server Error in 7ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_122@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_122@example.jp"], ["encrypted_password", "$2a$04$aTjnD4HZ00lq1QgOjKXWDe14GxsFEhAZ7ZB34kUT4TJ1pMYR6VM3S"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:42 UTC +00:00], ["user_group_id", 1], ["username", "user_122"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:42 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:42 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:42.318015' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_123@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_123@example.jp"], ["encrypted_password", "$2a$04$CrM4cWdY71A8pP5Kcl7ZeuYg6p59cavRVDLKdD7eRgiX1f6PzYEum"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:42 UTC +00:00], ["user_group_id", 1], ["username", "user_123"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:42 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:42 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:42.331434' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 68ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_124@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_124@example.jp"], ["encrypted_password", "$2a$04$5E6KlPq04QwfnUWYmFrW.ejnek4YVS/skXr60fYPP2jidfTAxVFqq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:42 UTC +00:00], ["user_group_id", 1], ["username", "user_124"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:42 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:42 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:42.423873' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_125@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_125@example.jp"], ["encrypted_password", "$2a$04$ipIeXV8ckh6JKfMjiA3IIuEr5kl7dxZyEPXbkwQ9JDgpMrvYU3i8a"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:42 UTC +00:00], ["user_group_id", 1], ["username", "user_125"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:42 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:42 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:42.436553' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_124", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 10ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_126@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_126@example.jp"], ["encrypted_password", "$2a$04$UHSFPYVm31DS.UNr3RDi7Odp9/UY8lOJFvHqMR.UVna30hZCGrdfS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:42 UTC +00:00], ["user_group_id", 1], ["username", "user_126"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:42 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:42 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:42.473837' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_127@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_127@example.jp"], ["encrypted_password", "$2a$04$jc/jVFWslD4YtJg4TiD1BO3e4BqwI9FlHkWZ/VHU4yIuhiuycX4Cy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:42 UTC +00:00], ["user_group_id", 1], ["username", "user_127"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:42 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:42 UTC +00:00], ["user_id", 9]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:42.487865' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_126", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 9ms Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_128@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_128@example.jp"], ["encrypted_password", "$2a$04$H.YlcFwKE3EQR3qU0ium0uSmaSYM13q2zK3QNAxukKSts6QUNHUEe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:42 UTC +00:00], ["user_group_id", 1], ["username", "user_128"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:42 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:42 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:42.519981' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_129@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_129@example.jp"], ["encrypted_password", "$2a$04$S2omOSs9mhwgg1UBnUTua.cN9WugGiBskiJRg.rb/B2BvVBdh.Crq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:42 UTC +00:00], ["user_group_id", 1], ["username", "user_129"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:42 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:42 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:42.532940' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 8ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_130@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_130@example.jp"], ["encrypted_password", "$2a$04$6qWWfLqdLea41ElRwsUYVOKEjDqNIg3Fv5BdHFPhOVgMvWpF./ElG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:42 UTC +00:00], ["user_group_id", 1], ["username", "user_130"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:42 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:42 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:42.560682' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.3ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_131@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_131@example.jp"], ["encrypted_password", "$2a$04$D9nEbqLspU4.BDSGy9MXUOfR1heukJzXOdCPjZzjgDSh4xyrWm55m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:42 UTC +00:00], ["user_group_id", 1], ["username", "user_131"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:42 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:42 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:42.575807' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 7ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_132@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_132@example.jp"], ["encrypted_password", "$2a$04$.CLB.fGg1NAdczcB.2a8ueouahhNF41yCeBsZjntc9REHdcrYLiqK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:42 UTC +00:00], ["user_group_id", 1], ["username", "user_132"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:42 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:42 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:42.605681' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_133@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_133@example.jp"], ["encrypted_password", "$2a$04$ITKdmbiuIbBEHUfCoYRZJ.KdSzpYiclT0ps8pNdjr89BdaocaNMpW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:34:42 UTC +00:00], ["user_group_id", 1], ["username", "user_133"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:34:42 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:34:42 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:34:42.619025' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] Completed 500 Internal Server Error in 7ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#destroy as HTML Parameters: {"id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] Completed 500 Internal Server Error in 67ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 8ms Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.3ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 12ms Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 7ms  (0.1ms) select sqlite_version(*)  (15.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.0ms) PRAGMA index_list("schema_migrations")  (4.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateMessageTemplates (149)  (0.5ms) CREATE TABLE "message_templates" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "status" varchar(255) NOT NULL, "title" text NOT NULL, "body" text NOT NULL, "position" integer, "locale" varchar(255) DEFAULT 'en', "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("message_templates")  (0.4ms) CREATE UNIQUE INDEX "index_message_templates_on_status" ON "message_templates" ("status")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('149') Migrating to CreateMessages (154)  (0.4ms) CREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "read_at" datetime, "receiver_id" integer, "sender_id" integer, "subject" varchar(255) NOT NULL, "body" text, "message_request_id" integer, "state" varchar(255), "parent_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("messages")  (0.1ms) CREATE INDEX "index_messages_on_sender_id" ON "messages" ("sender_id")  (0.0ms) PRAGMA index_list("messages")  (0.0ms) PRAGMA index_info('index_messages_on_sender_id')  (0.1ms) CREATE INDEX "index_messages_on_receiver_id" ON "messages" ("receiver_id")  (0.0ms) PRAGMA index_list("messages")  (0.0ms) PRAGMA index_info('index_messages_on_receiver_id')  (0.0ms) PRAGMA index_info('index_messages_on_sender_id')  (0.1ms) CREATE INDEX "index_messages_on_message_request_id" ON "messages" ("message_request_id")  (0.1ms) PRAGMA index_list("messages")  (0.0ms) PRAGMA index_info('index_messages_on_message_request_id')  (0.0ms) PRAGMA index_info('index_messages_on_receiver_id')  (0.0ms) PRAGMA index_info('index_messages_on_sender_id')  (0.1ms) CREATE INDEX "index_messages_on_parent_id" ON "messages" ("parent_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('154') Migrating to CreateMessageRequests (20080819181903)  (0.5ms) CREATE TABLE "message_requests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sender_id" integer, "receiver_id" integer, "message_template_id" integer, "sent_at" datetime, "deleted_at" datetime, "body" text, "state" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("message_requests")  (0.1ms) CREATE INDEX "index_message_requests_on_state" ON "message_requests" ("state")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080819181903') Migrating to AddLftAndRgtToMessage (20110913115320)  (3.5ms) ALTER TABLE "messages" ADD "lft" integer  (0.3ms) ALTER TABLE "messages" ADD "rgt" integer  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110913115320') Migrating to CreateLanguages (20111201121636)  (0.5ms) CREATE TABLE "languages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "native_name" varchar(255), "display_name" text, "iso_639_1" varchar(255), "iso_639_2" varchar(255), "iso_639_3" varchar(255), "note" text, "position" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201121636') Migrating to CreateRoles (20111201121844)  (0.4ms) CREATE TABLE "roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "display_name" text, "note" text, "position" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201121844') Migrating to CreateUsers (20111201155456)  (0.7ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_group_id" integer, "required_role_id" integer, "username" varchar(255), "note" text, "locale" varchar(255), "user_number" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201155456') Migrating to AddDeviseToUsers (20111201155513)  (0.6ms) ALTER TABLE "users" ADD "email" varchar(255) DEFAULT '' NOT NULL  (0.2ms) ALTER TABLE "users" ADD "encrypted_password" varchar(128) DEFAULT '' NOT NULL  (0.2ms) ALTER TABLE "users" ADD "reset_password_token" varchar(255)  (0.2ms) ALTER TABLE "users" ADD "reset_password_sent_at" datetime  (0.2ms) ALTER TABLE "users" ADD "remember_created_at" datetime  (0.3ms) ALTER TABLE "users" ADD "sign_in_count" integer DEFAULT 0  (0.2ms) ALTER TABLE "users" ADD "current_sign_in_at" datetime  (0.2ms) ALTER TABLE "users" ADD "last_sign_in_at" datetime  (0.2ms) ALTER TABLE "users" ADD "current_sign_in_ip" varchar(255)  (3.4ms) ALTER TABLE "users" ADD "last_sign_in_ip" varchar(255)  (0.0ms) PRAGMA index_list("users")  (0.2ms) CREATE INDEX "index_users_on_email" ON "users" ("email")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.6ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201155513') Migrating to CreateUserGroups (20111201163342)  (0.5ms) CREATE TABLE "user_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "display_name" text, "note" text, "position" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201163342') Migrating to CreateUserHasRoles (20111201163718)  (0.6ms) CREATE TABLE "user_has_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "role_id" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201163718')  (0.5ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  (0.0ms) PRAGMA index_list("languages")  (0.0ms) PRAGMA index_list("message_requests")  (0.0ms) PRAGMA index_info('index_message_requests_on_state')  (0.0ms) PRAGMA index_list("message_templates")  (0.0ms) PRAGMA index_info('index_message_templates_on_status')  (0.0ms) PRAGMA index_list("messages")  (0.0ms) PRAGMA index_info('index_messages_on_parent_id')  (0.0ms) PRAGMA index_info('index_messages_on_message_request_id')  (0.0ms) PRAGMA index_info('index_messages_on_receiver_id')  (0.0ms) PRAGMA index_info('index_messages_on_sender_id')  (0.0ms) PRAGMA index_list("roles")  (0.0ms) PRAGMA index_list("user_groups")  (0.0ms) PRAGMA index_list("user_has_roles")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')  (0.0ms) PRAGMA index_info('index_users_on_email') Fixture Delete (0.3ms) DELETE FROM "message_requests" Fixture Insert (0.1ms) INSERT INTO "message_requests" ("sender_id", "receiver_id", "message_template_id", "state", "created_at", "updated_at", "id") VALUES (1, 1, 1, 'pending', '2011-12-16 03:37:46', '2011-12-16 03:37:46', 980190962) Fixture Insert (0.1ms) INSERT INTO "message_requests" ("sender_id", "receiver_id", "message_template_id", "state", "created_at", "updated_at", "id") VALUES (1, 1, 1, 'pending', '2011-12-16 03:37:46', '2011-12-16 03:37:46', 298486374) Fixture Delete (0.1ms) DELETE FROM "message_templates" Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (1, 'reservation_accepted', 'Reservation accepted', 'Reservation accepted', 1, '2011-12-16 03:37:46', '2011-12-16 03:37:46') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (2, 'item_received', 'Item received', 'Item received', 2, '2011-12-16 03:37:46', '2011-12-16 03:37:46') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (3, 'reservation_expired_for_patron', 'Reservation expired', 'Reservation expired', 3, '2011-12-16 03:37:46', '2011-12-16 03:37:46') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (4, 'reservation_expired_for_library', 'Reservation expired', 'Reservation expired', 4, '2011-12-16 03:37:46', '2011-12-16 03:37:46') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (5, 'reservation_canceled_for_patron', 'Reservation canceled', 'Reservation canceled', 5, '2011-12-16 03:37:46', '2011-12-16 03:37:46') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (6, 'reservation_canceled_for_library', 'Reservation canceled', 'Reservation canceled', 6, '2011-12-16 03:37:46', '2011-12-16 03:37:46') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (7, 'recall_item', 'Recall item', 'Recall item', 7, '2011-12-16 03:37:46', '2011-12-16 03:37:46') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (8, 'recall_overdue_item', 'Recall overdue item', 'Recall overdue item', 8, '2011-12-16 03:37:46', '2011-12-16 03:37:46') Fixture Delete (0.2ms) DELETE FROM "messages" Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "read_at", "state", "lft", "rgt", "updated_at") VALUES (1, 3, 4, 'First Message', 'Abby, you get the first message', '2007-07-04 12:10:47.000000', '2011-12-13 03:37:46.000000', 'unread', 1, 2, '2011-12-16 03:37:46') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (2, 4, 3, 'RE: First Message', 'Thanks Dad! You are the coolest!', '2011-12-14 03:37:46.000000', 'unread', 3, 4, '2011-12-16 03:37:46') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (3, 3, 4, 'Second Message', 'Catie, you get the 2nd message', '2011-12-15 03:37:46.000000', 'unread', 5, 6, '2011-12-16 03:37:46') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (6, 4, 5, 'Dad!', 'He is sucha dork.', '2011-12-14 03:37:46.000000', 'unread', 7, 8, '2011-12-16 03:37:46') Fixture Delete (0.1ms) DELETE FROM "roles" Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Guest', 'Guest', 1, NULL, '2011-12-16 03:37:46', '2011-12-16 03:37:46') Fixture Insert (0.0ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('User', 'User', 2, NULL, '2011-12-16 03:37:46', '2011-12-16 03:37:46') Fixture Insert (0.0ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Librarian', 'Librarian', 3, NULL, '2011-12-16 03:37:46', '2011-12-16 03:37:46') Fixture Insert (0.0ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Administrator', 'Administrator', 4, NULL, '2011-12-16 03:37:46', '2011-12-16 03:37:46') Fixture Delete (0.1ms) DELETE FROM "user_groups" Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('(not specified)', '(not specified)', '2007-12-13 12:00:51.564542', 1, '', '2007-12-13 12:00:01.674976', 1) Fixture Insert (0.0ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('User', 'User', '2007-12-22 18:14:56.836548', 2, '', '2007-12-22 18:14:40.173954', 2) Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('Faculty', 'Faculty', '2007-12-22 18:15:05.134351', 3, '', '2007-12-22 18:15:05.126457', 3) Fixture Delete (0.1ms) DELETE FROM "user_has_roles" Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (1, 4, '2011-12-16 03:37:46', '2011-12-16 03:37:46', 135138680) Fixture Insert (0.0ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (2, 3, '2011-12-16 03:37:46', '2011-12-16 03:37:46', 344583537) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (3, 2, '2011-12-16 03:37:46', '2011-12-16 03:37:46', 206669143) Fixture Insert (0.0ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (4, 3, '2011-12-16 03:37:46', '2011-12-16 03:37:46', 226540757) Fixture Insert (0.0ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (5, 2, '2011-12-16 03:37:46', '2011-12-16 03:37:46', 358143215) Fixture Insert (0.0ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (6, 2, '2011-12-16 03:37:46', '2011-12-16 03:37:46', 576709754) Fixture Insert (0.0ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (7, 2, '2011-12-16 03:37:46', '2011-12-16 03:37:46', 1010528733) Fixture Delete (0.1ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:16:30.163731', '$2a$10$vHohD1WflnTIqAa8zMkF9evwAgIZRw3XuR4d3bi29M.jph/MB/AJi', 2, 1, NULL, 'admin', 'tanabe@kamata.lib.teu.ac.jp', '2007-11-19 07:58:32.111941', 4) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 03:41:16.337474', '$2a$10$9O2VuTccN4gHq36ARg0QReSrb1D7WrBBhZZ759RM9moHbB0W5zCzS', 1, 2, NULL, 'librarian1', 'librarian1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:33.172441', 1) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', '$2a$10$JthS59A0BNkDOoFpCXM0V.GhhffKaoWKbzpPahYp/vTFrOyM7h/uW', 1, 3, NULL, 'user1', 'user1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:23.340575', '$2a$10$YmmTGrYQ1Ir6oc7wXnp.GuNeO1eYLoP3sv8wMSIrTdaGw2BPwRrpS', 1, 4, NULL, 'librarian2', '2008-01-18 03:24:04.222344', 1) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:44.711117', '$2a$10$i7UjJhLVrJM/J7qaTwW39OXw1NiwowUEbtNHVDV0sqMLjX9.UO9ca', 1, 5, NULL, 'user2', '2008-01-18 04:29:06.922728', 2) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 6, NULL, 'user3', 'user3@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 7, NULL, 'user4', 'user4@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_1@example.jp"], ["encrypted_password", "$2a$04$/czutA/uoF5taeTy5viDU..NfjkzJY1SrtHabDziCrEsqIzERiqEG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_1"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:46 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:37:46 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:46.553432' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 89ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_1@example.jp"], ["encrypted_password", "$2a$04$u9t22BvCq2qPW6pck9jSD.cNKEVLuGeeJwe9Te6REdi1X.mw3JCr6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_1"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:46 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:37:46 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:46.665661' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 6ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_1@example.jp"], ["encrypted_password", "$2a$04$WOkt6IB6iEcVBfA7lr9fBuXJ8ceaTLAZ/nmBaXKm9dBETu8eGxRp."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_1"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:46 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:46 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:46.765234' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 5ms Processing by MessageRequestsController#index as HTML Completed 500 Internal Server Error in 99ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_2@example.jp"], ["encrypted_password", "$2a$04$1k632QGFul1HD62b93d/LuCKMpuzQIMY.hOhswoY/LLWn56fewXp6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_2"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:46 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:37:46 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:46.949693' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_2@example.jp"], ["encrypted_password", "$2a$04$MKqIb/J3v0okkOacwSZLTuJBNjkjnJCNnABZ8q3ssIRNaYKUmbVZG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_2"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:46 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:46 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:46.958297' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_3@example.jp"], ["encrypted_password", "$2a$04$SCNl9Z0MAfa7Rc9IUzUBZedjo5vVywqfkK7dOjxbniTqAkparVWDq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_3"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:46 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:46 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:46.974580' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_1' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_1"], ["created_at", Fri, 16 Dec 2011 03:37:46 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_1"], ["title", "message_template_1"], ["updated_at", Fri, 16 Dec 2011 03:37:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_1' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:37:46 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:37:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.2ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 57ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_2@example.jp"], ["encrypted_password", "$2a$04$/jrUThyhyNX158Dd1twpxuZlqxXBsh0Ribo5.DK4ZuEZHgaEnLJRW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_2"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:47.072680' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_4@example.jp"], ["encrypted_password", "$2a$04$rqkPorFN9jMJ36TkRXU.u.dauFc.30QZU.LLwxSJwcqL6qXPoHaqm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_4"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:47.088262' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (1.7ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_5@example.jp"], ["encrypted_password", "$2a$04$4YRj/TfXAyrU2U7bOoIxMOcueqILeqzczhAVmiv/Y3UPIq4tbrTom"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_5"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:47.102621' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_2' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_2"], ["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_2"], ["title", "message_template_2"], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_2' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.9ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 11ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_6@example.jp"], ["encrypted_password", "$2a$04$kqm5yMlJJCRu1tUhmCfbUOBA0.er0MVDAUVsIzlZkoCDUFXQrgwme"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_6"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:47.150599' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_7@example.jp"], ["encrypted_password", "$2a$04$Jzwjd7jkbYqQBWxajU8yiOXUyJluHD4kzZEA/ge8sMKgWjRtCGbK2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_7"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:47.166446' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_8@example.jp"], ["encrypted_password", "$2a$04$WC2WuknYbHXaPSb0933BuehIdpOWON7t53eC0QnEHHFulftFpeE9y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_8"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:47.179706' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_3' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_3"], ["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_3"], ["title", "message_template_3"], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_3' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 8ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_9@example.jp"], ["encrypted_password", "$2a$04$4eK5uph1Lko2dbroVnROnOyomt6TCv8euyjZuTVqN2dUh5okdks2G"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_9"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:47.216622' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_10@example.jp"], ["encrypted_password", "$2a$04$/Pg.3pJfgR4HnD5J.91wQ.jtcwy6SLyjQOA39V1CelF0puT4VII22"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_10"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:47.230681' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_4' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_4"], ["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_4"], ["title", "message_template_4"], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (1.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_4' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 12ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_3@example.jp"], ["encrypted_password", "$2a$04$Nd68EU3qgkOTVYRgEafOYO0fsp9PoQ.5k62gY8l9LRW/v2g1.d1MW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_3"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:47.273020' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (57.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_11@example.jp"], ["encrypted_password", "$2a$04$nwg2lDMqAhP0CO61isESc.8xxDLTtUrCMgrl76Ouxi8B1vrD7JZr."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_11"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:47.343944' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_12@example.jp"], ["encrypted_password", "$2a$04$prhPMy7GI42ge90qp1cdB.f/LprV3F4KJsV8Rarp8ju0tIJEiBz.m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_12"]] SQL (0.8ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:47.360055' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_5' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_5"], ["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_5"], ["title", "message_template_5"], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_5' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 8ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_3@example.jp"], ["encrypted_password", "$2a$04$rdWFlOxbWQEH7hO2PA1ESuEWBsXOkMU6TEGe7O1Gp6dFqEkrjxeAK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_3"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:47.399323' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_13@example.jp"], ["encrypted_password", "$2a$04$wwX0E/xTkWPSmN1pXaM/f.oYXHs7GL1zLs82F7yQXu1s65Y7YLKgm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_13"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["user_id", 9]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:47.415375' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_14@example.jp"], ["encrypted_password", "$2a$04$/PhoZCqxBpRtOdztJdLb8O82az0EbN3KPthvVph.Atd.pR6VXss2a"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_14"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:47.428381' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_6' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_6"], ["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_6"], ["title", "message_template_6"], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_6' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.6ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 8ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_15@example.jp"], ["encrypted_password", "$2a$04$37CH/i5gzaAgvLUHjXHMc.xC6AkLzzozJ6BTcjoxgTv1DxfmyW4Ce"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_15"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:47.474416' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_16@example.jp"], ["encrypted_password", "$2a$04$D8gnGJD70db6xBjqj0vMIu7QW4YAgt/qn6SP7lXzsC1DNnRo5k7t2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_16"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:47.496630' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_17@example.jp"], ["encrypted_password", "$2a$04$apjJnAho4v1I2YH7U.UreukswG7DZNu4RB2aoPrPddtpE8CsnpkIC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_17"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:47.508811' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_7' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_7"], ["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_7"], ["title", "message_template_7"], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_7' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 8ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_18@example.jp"], ["encrypted_password", "$2a$04$objiSCX6EGlh.r0QdI.ZDu6bvGvErBKUaZw1C4BF46liR.Cokbcxe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_18"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:47.547079' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_19@example.jp"], ["encrypted_password", "$2a$04$sgtP084x8QRGSogmAadxseKOhKlRkHzc6WTENQ0dUL5U0oyG47Wsy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_19"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:47.562459' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_8' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_8"], ["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_8"], ["title", "message_template_8"], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_8' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 63ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_20@example.jp"], ["encrypted_password", "$2a$04$67NI9kRoNDAvBNrQcYV7Y.r7zdhtEyFuCt.bWWggs7OwGFQwD1O0q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_20"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:47.655016' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_21@example.jp"], ["encrypted_password", "$2a$04$D9PlOBhJJUkWlnLLWiThZejezd3/qf.yNbM44zR35YqxTBif4pDV."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_21"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:47.668918' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_9' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_9"], ["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_9"], ["title", "message_template_9"], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_9' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_22@example.jp"], ["encrypted_password", "$2a$04$NsknI7RwFxTMLw1tci.IGOLThbs8W87gxFSCD/GOeQO/e/WBOkfIq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_22"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:47.691659' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_23@example.jp"], ["encrypted_password", "$2a$04$3qKi1Y8AySwCu76JIhcExOJK53M67OH7iv3EV56Ud891fPuFO.YRW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_23"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:47.705205' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_10' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_10"], ["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_10"], ["title", "message_template_10"], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_4@example.jp"], ["encrypted_password", "$2a$04$oI.4eLglFu9p8fz6SgDOK.kFbA0Rb1YE3Fjf5n3vA48hvOGSufiP."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_4"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:47.724347' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 500 Internal Server Error in 10ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_24@example.jp"], ["encrypted_password", "$2a$04$3O.D/8lnHhOqAdjT.3oDvekwlS.T5WhJUqw0q9KxE3C5YYlS7as2O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_24"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:47.760803' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_25@example.jp"], ["encrypted_password", "$2a$04$AHTWekwPdiUJCqdWJncma.vebrhMiAVA9j9uf.wwaZpoF5OAkOYjm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_25"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["user_id", 9]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:47.775181' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_11' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_11"], ["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_11"], ["title", "message_template_11"], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_11' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_26@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_26@example.jp"], ["encrypted_password", "$2a$04$SeRlTVV6R1nXeanydO7sC.kREfh0NjrlEr7AT5e7wt9LJN61aBB6a"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_26"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:47.799293' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_27@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (6.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_27@example.jp"], ["encrypted_password", "$2a$04$JKIJB2monylMMKKYHpxVpOxgvMd9TFyeqKY5X82XNXvJENT1uh5lK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_27"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:47.816106' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_12' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_12"], ["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_12"], ["title", "message_template_12"], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_5@example.jp"], ["encrypted_password", "$2a$04$v03MJvsoD0sYMgi4txelHesFTmbds3BXSULDjz6hwzgLCX6P8aiAm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_5"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:47.835009' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (60.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 500 Internal Server Error in 68ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_28@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_28@example.jp"], ["encrypted_password", "$2a$04$LnLxtJClI832Y78OsWd/FO7FlbKmddfVJUTTkEiU.9UUDBKt8cNmK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_28"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:47.923252' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_29@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_29@example.jp"], ["encrypted_password", "$2a$04$9j15c17GQgEv//UxKUpA7u0yAz1B9NPN4U80JKOTGNDdnsH1Ktcuy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_29"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["user_id", 9]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:47.943625' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_13' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_13"], ["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_13"], ["title", "message_template_13"], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_13' AND "message_templates"."id" != 9) LIMIT 1 SQL (1.0ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_30@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_30@example.jp"], ["encrypted_password", "$2a$04$RPqZcdijAzv6enpBlIQrs.RK0ssW6ms9PThSOkFyE0ow5SuQJiG8i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_30"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:47.970678' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_31@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_31@example.jp"], ["encrypted_password", "$2a$04$cDvdpR1kGVt/BEg/Cd8Qu.1MJ/OqDn77pA8qip5H4zkW/0id76Twq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_31"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:47.982627' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_14' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_14"], ["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_14"], ["title", "message_template_14"], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_6@example.jp"], ["encrypted_password", "$2a$04$Rd/e6OKcMiXqgFJ88Ro9C.OBkJ1I5SQZ8DNZKRtT7zsxcbo4Agqcm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_6"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:37:47 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:47.999706' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 500 Internal Server Error in 9ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_32@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_32@example.jp"], ["encrypted_password", "$2a$04$7ogq1mmG2Pd3db.y8uYnReJUYuGVgxyLGir6ipN9bNfdjMObmZuLa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_32"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:48.031309' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_33@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_33@example.jp"], ["encrypted_password", "$2a$04$9/vc6dhxWnPHEdODvmOlPe9NysQoHI0LRvBaQMzFJWbJgERmNyPiW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_33"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["user_id", 9]]  (0.5ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:48.046245' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_15' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_15"], ["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_15"], ["title", "message_template_15"], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_15' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_34@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_34@example.jp"], ["encrypted_password", "$2a$04$HpSjsG.M4N/Mmea5XbBSs.Q7lweF.Rt2cLf6ryl/VxT36A0gZahxa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_34"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:48.078482' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_35@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_35@example.jp"], ["encrypted_password", "$2a$04$qAJLgrtxBNr2oPw3yc6.W.yjBJsZIODgS9h1PAX3eakgQjXnXeage"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_35"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:48.090221' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_16' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_16"], ["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_16"], ["title", "message_template_16"], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_4@example.jp"], ["encrypted_password", "$2a$04$l9DA0W86jBcp0ZZL/x158O55mBMl0EGmhIyVC0EBXZN7f18PVwKPa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_4"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:48.107515' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 500 Internal Server Error in 9ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_36@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (63.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_36@example.jp"], ["encrypted_password", "$2a$04$ADnS7nMxOT35m/TYwxV.9OCMVg.LJSIKRu1sfzI91VSAFrPSdi4wK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_36"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:48.204887' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_37@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_37@example.jp"], ["encrypted_password", "$2a$04$FrQF1DXEFeXOjxMlj9KMLeLnGJnPKtnJSCwW32XgPlHW5gruRhNya"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_37"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:48.218375' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_17' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_17"], ["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_17"], ["title", "message_template_17"], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_17' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_38@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_38@example.jp"], ["encrypted_password", "$2a$04$mJ8oQtgjjOjIwhWFTIzcu.E1stFhDUZ5ARrPwhtqE99tWGrlv5kfK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_38"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:48.251267' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_39@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_39@example.jp"], ["encrypted_password", "$2a$04$24y.M9FKPtM1GuwpH.b5Ruq5qCjNOwFwiOXCXw/VBo4grN6YRqOSW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_39"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:48.267362' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_18' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_18"], ["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_18"], ["title", "message_template_18"], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_5@example.jp"], ["encrypted_password", "$2a$04$ZCTxHeh7tvg2iB4CQQqqxuCSmMm67BfyG1B1lsh6452TtKna7czQC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_5"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:48.285063' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 500 Internal Server Error in 10ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_40@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_40@example.jp"], ["encrypted_password", "$2a$04$/VKs4W348E1r.oZWznBdtOtw5sGa1.MMAs6D9IAU/gmBGTBb1pmm2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_40"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:48.318670' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_41@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_41@example.jp"], ["encrypted_password", "$2a$04$1sF6MYlWo57OKn8AIrJJOeJgubouXKn6Xdwi.DGuwvOnoAFi2oLS."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_41"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:48.332909' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_19' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_19"], ["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_19"], ["title", "message_template_19"], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_19' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_42@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_42@example.jp"], ["encrypted_password", "$2a$04$dHPCVLeAE6jrOPB6x764/unRycnC7AOHCh4G8arc/0k25UW/ZWP5m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_42"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:48.368186' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_43@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_43@example.jp"], ["encrypted_password", "$2a$04$gcKunHsc/6AtZBA4Wlrf.eO/AlsWRMEv49raZLOzNqzEs5P0dOFSq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_43"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:48.385262' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_20' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_20"], ["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_20"], ["title", "message_template_20"], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_6@example.jp"], ["encrypted_password", "$2a$04$GYts4pOylOSyi9PRfaKvDu8wQnbmFy.FGD6bX/BanhNwqq8v2aIKC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_6"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:48.409050' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 500 Internal Server Error in 8ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_44@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_44@example.jp"], ["encrypted_password", "$2a$04$99JETQ6nY7fNGNQnjMyc4OxlKkiSMKmsugmWc6LbB43Mkiopd72Qm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_44"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:48.493598' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_45@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_45@example.jp"], ["encrypted_password", "$2a$04$2ydWk0PsJHgQl4idIfTAMuAwZQZI7bLbm5Y7x6wA1yPfcbbqdZHX."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_45"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["user_id", 9]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:48.507992' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_21' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_21"], ["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_21"], ["title", "message_template_21"], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_21' AND "message_templates"."id" != 9) LIMIT 1 SQL (2.6ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_46@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_46@example.jp"], ["encrypted_password", "$2a$04$g8R0MI/oH8ASVXnHD3w/f.LO24OHrTRjOtUCeIC.oh/OWxZaAObjS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_46"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:48.538750' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_47@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_47@example.jp"], ["encrypted_password", "$2a$04$GE/A3XbHJJv3.UeqFkKnM.RSTSExjdE7BRr1wS8XuYjwyyqSDuwSi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_47"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:48.551637' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_22' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_22"], ["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_22"], ["title", "message_template_22"], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_48@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_48@example.jp"], ["encrypted_password", "$2a$04$yF185saUp.yTO3ucK49AlOmToAoy9WA8G1q5mlJEkHjjfSLg34E6S"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_48"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:48.571134' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 500 Internal Server Error in 9ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_49@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_49@example.jp"], ["encrypted_password", "$2a$04$0IT.2JOBZD9.AxWruztibehKLhJ6fBnH8OhDPiOZjI8h4qUQ1tI3C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_49"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:48.598959' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_50@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_50@example.jp"], ["encrypted_password", "$2a$04$CAr9Y6jIUsbgYN89AANe/.hf6DvfediRmhcjY.YtVgMLmptG93ceK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_50"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["user_id", 9]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:48.614395' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_23' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_23"], ["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_23"], ["title", "message_template_23"], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_23' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_51@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_51@example.jp"], ["encrypted_password", "$2a$04$03bTn2uXdfuXfXFMA9BHZe5LlU8ZSN962psI1uD77nlFHcS0B8wZS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_51"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:48.641182' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_52@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_52@example.jp"], ["encrypted_password", "$2a$04$aSSyrC9no7cyqhznMxlWT.rX5YI00Y4nbC0z362BqgblzCzk3Mg1y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_52"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:48.657595' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_24' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_24"], ["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_24"], ["title", "message_template_24"], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_53@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_53@example.jp"], ["encrypted_password", "$2a$04$4EOOLMu/4bq9wYsAseYAM.2ft5AwG85ceeVE8HyHOD8wetzx0Kx32"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_53"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:48.678274' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 500 Internal Server Error in 9ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_54@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_54@example.jp"], ["encrypted_password", "$2a$04$BKott.2vRV9DvFLbH9Zji.EPFLig9idlVR/FC0ZK4ySRKH.tSf1hq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_54"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:48.708260' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_55@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_55@example.jp"], ["encrypted_password", "$2a$04$4w.Ba3RsHARFGrLmuj8z3.n01Ynei7Y2d/9FEErC/uFIXsvdwRSVK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_55"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["user_id", 9]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:48.777965' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_25' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_25"], ["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_25"], ["title", "message_template_25"], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_25' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_56@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_56@example.jp"], ["encrypted_password", "$2a$04$cJyQpHY5yvFtYLhYoiyz2.PDuy0we0H0TYTzwcdKR8IKmswDzFbly"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_56"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:48.801046' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_57@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_57@example.jp"], ["encrypted_password", "$2a$04$9ELT4.Iby/tE4Z0iQ9sQH.IVT7ICClpQy07sJjiccD78B3VOhsK.i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_57"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:48.816681' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_26' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_26"], ["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_26"], ["title", "message_template_26"], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_58@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_58@example.jp"], ["encrypted_password", "$2a$04$lmcJS6TxyKfjs/MgAhd.muAHKIc2BeGVp1SvAH1C1o50IB5G23PUa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_58"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:48.833263' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 500 Internal Server Error in 9ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_59@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_59@example.jp"], ["encrypted_password", "$2a$04$JJFBtdB.ssPFMoJjsu3KQusqMIw9JP3xbpEmHSYDM.IXkwFmJdcO6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_59"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:48.865886' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.2ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_60@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_60@example.jp"], ["encrypted_password", "$2a$04$SM0knajIZwUAs.CRMIH5X.P/SYPwPh2K//x0wv7yFRHquJMFmzMDa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_60"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:48.881963' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_27' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_27"], ["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_27"], ["title", "message_template_27"], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_27' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_61@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_61@example.jp"], ["encrypted_password", "$2a$04$8KOC0rR6pPIOTC0njtNaBOuxsq/fijHMG9jnR/V14mDZha5kAU476"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_61"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:48.907701' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_62@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_62@example.jp"], ["encrypted_password", "$2a$04$Zc9p5WvwlLL37f7i7y7aeeFmP4fr20ibNs9Zxx9R4hcdOiPMCrEe."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_62"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:48.920378' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_28' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_28"], ["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_28"], ["title", "message_template_28"], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 6ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_63@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_63@example.jp"], ["encrypted_password", "$2a$04$pW5H/0rAHs2Hon8WiveETuET67LGP5b0BKORsuZ5rwodfL8C1cJ/C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_63"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:48.951603' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_64@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_64@example.jp"], ["encrypted_password", "$2a$04$FuLElal8fUZD4TAxg1g8Z.oqem8D6RCh5PErntbZSfp5sxQtpFy1O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_64"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:48.964100' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_29' LIMIT 1 SQL (2.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_29"], ["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_29"], ["title", "message_template_29"], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_29' AND "message_templates"."id" != 9) LIMIT 1 SQL (56.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:37:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_65@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_65@example.jp"], ["encrypted_password", "$2a$04$O407GP8172WYngl/WfKotO8l.D6MztJVjvjJW7B58DEZ8UxtBoetO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_65"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:49.047126' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_66@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_66@example.jp"], ["encrypted_password", "$2a$04$61FJAopSk84Go.djpTjzN.Rqi07JW7Y1hUnztb7dMyoDZmyxl5/MC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_66"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:49.059655' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_30' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_30"], ["created_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_30"], ["title", "message_template_30"], ["updated_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_67@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (7.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_67@example.jp"], ["encrypted_password", "$2a$04$3CPh0ULmjvwvTLBg/A/0uu5Apt3ki04DWSTdCOr6c8VeimYfWQsaa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_67"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:49.095446' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_68@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_68@example.jp"], ["encrypted_password", "$2a$04$G1Hl35WUORZvhqoPZnvrsul79RenFRoN6HN3ALhITDHqMnKHm/jYu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_68"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:49.112908' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_31' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_31"], ["created_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_31"], ["title", "message_template_31"], ["updated_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_31' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_69@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_69@example.jp"], ["encrypted_password", "$2a$04$Y5Bp9bDFeeHKah3T3wWOauB904UmhrZpF/O3ce6lptcKehC7Dq3Y."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_69"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:49.146846' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_70@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_70@example.jp"], ["encrypted_password", "$2a$04$DEmcFe3qnibTJiHYYFd9oeD7GQ4jYAGDurPSenjWKl743vZP7znyO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_70"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:49.159514' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_32' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_32"], ["created_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_32"], ["title", "message_template_32"], ["updated_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_71@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_71@example.jp"], ["encrypted_password", "$2a$04$xsCjOhTc9PnY0.5Yb66QBOdQpJMygVgcYYD4253iHHUkuHmOOBNkC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_71"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:49.190501' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_72@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_72@example.jp"], ["encrypted_password", "$2a$04$0.ydpBHIcuNb2t/1FpfeJeGs4qnWfKARGn7naXfUaVaO4Y.F0z/Mq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_72"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:49.204036' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_33' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_33"], ["created_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_33"], ["title", "message_template_33"], ["updated_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_33' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_7@example.jp"], ["encrypted_password", "$2a$04$8kF9pqGyA8nFj60vqR2y9OgL6KNXNM6LOkTv2vpMTMFV8mijnCDY6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_7"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:49.231875' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 500 Internal Server Error in 12ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_73@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (54.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_73@example.jp"], ["encrypted_password", "$2a$04$AoX6WwRotQMpiW/7Q7MhlOvGM.U8Wx27IZWamrnwx7yg7T54/p4hO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_73"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:49.319072' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_74@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_74@example.jp"], ["encrypted_password", "$2a$04$05pTsEX0KkcvQkxGhMsFMu.N9O6/dlU7LptP5NIQ0CvbqEG9yLskm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_74"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:49.332162' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_34' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_34"], ["created_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_34"], ["title", "message_template_34"], ["updated_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_34' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_8@example.jp"], ["encrypted_password", "$2a$04$HIr9.YJcDWR1NGhqBTFBFODtgYOy8ZpGLsq0kjMJ/lDApAw5WMApS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_8"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:49.361377' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 500 Internal Server Error in 9ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_75@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_75@example.jp"], ["encrypted_password", "$2a$04$8od45/DZyRpAq4qXkb13XOlLThg05P0pdyLmvth3.UvlcZcYqR06m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_75"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:49.391705' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_76@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_76@example.jp"], ["encrypted_password", "$2a$04$ovxNNCwCm7MS.OS.oPis/Oj6/s/3FaqhRyk/hR0JJezUpKAC4jlzS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_76"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:49.408204' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_35' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_35"], ["created_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_35"], ["title", "message_template_35"], ["updated_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_35' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (1.6ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_7@example.jp"], ["encrypted_password", "$2a$04$rLzehTMPxbKPgld3Uqu2v.JkTxu624QcQrxlT00LfgKdYeh0ZnFLa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_7"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:49.436331' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 500 Internal Server Error in 8ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_77@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_77@example.jp"], ["encrypted_password", "$2a$04$janyeipp8ktdlz5R.Sw3luFtTkVmOhyniOuiFCTHiiHm4gAbOmcVy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_77"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:49.461804' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_78@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_78@example.jp"], ["encrypted_password", "$2a$04$n48JXCh4iqNE5BZG6y8.4uLNnx9CV4.Z5dOITqV4Dke5vwnHWYDJG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_78"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:49.474271' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_36' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_36"], ["created_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_36"], ["title", "message_template_36"], ["updated_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_36' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_8@example.jp"], ["encrypted_password", "$2a$04$AP/Fl.ByoRjzAlhAWKqmfuajnugqUuCHhvMMI.xKeDFm0Q/uJfsyu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_8"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:49.508888' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 500 Internal Server Error in 8ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_79@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_79@example.jp"], ["encrypted_password", "$2a$04$sHc8d8r/rv4y4jXgia6VXeKghe5l29VztgS0YhoVwoVpWgjo9G10C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_79"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:49.537230' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_80@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (59.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_80@example.jp"], ["encrypted_password", "$2a$04$cTtAV2e7n63l3HSWIEqynepeTe2syqXPw2HsSu6w.zPfsaAweJ46G"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_80"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["user_id", 9]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:49.609606' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_37' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_37"], ["created_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_37"], ["title", "message_template_37"], ["updated_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_37' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_81@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_81@example.jp"], ["encrypted_password", "$2a$04$TD6gp.IHUKJXct.cjterwuD1xDDebQZAXSplqhROkFLKdLZMq6EUu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_81"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:49.635942' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 500 Internal Server Error in 10ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_82@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_82@example.jp"], ["encrypted_password", "$2a$04$xiBE6VhniLYlT4AAzhLYluEiX15iy2KRkz5wytPDQLu9N7LuTR7BW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_82"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:49.663231' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_83@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_83@example.jp"], ["encrypted_password", "$2a$04$ykas.kbPrDzOHEfPInYwBeVQQ4RsUFn9949Q8QyJP2IC4nb7B4nj6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_83"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:49.677537' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_38' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_38"], ["created_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_38"], ["title", "message_template_38"], ["updated_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_38' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_84@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_84@example.jp"], ["encrypted_password", "$2a$04$xVbalQDfiQZ6iqHhoPwte.8/AZ.n72IDW4Yzxe7n/g91IbYL/dlmK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_84"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:49.705237' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (2.4ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 500 Internal Server Error in 11ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_85@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_85@example.jp"], ["encrypted_password", "$2a$04$Pc6vpV1EvO3oo1T2nei/YeLDlh0FlZ41nw9oAdCf0.imSI9Fd//xe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_85"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:49.741598' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_86@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_86@example.jp"], ["encrypted_password", "$2a$04$Xn7SwtI3K8rx3.aGmMHTq.69lLI/9SbFkJLfeAImTVzpR187RhYmu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_86"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:49.755421' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_39' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_39"], ["created_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_39"], ["title", "message_template_39"], ["updated_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_39' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_87@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_87@example.jp"], ["encrypted_password", "$2a$04$swSqGFomB3FTaWqJhFsX6eEc6pehratSaa0e3P7Aah4maaZ8eZPiK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_87"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:49.792882' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_88@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_88@example.jp"], ["encrypted_password", "$2a$04$C4vU3dNiuRmvqESCG1iSLu7Gbc/Q/Y1lwrDwGIc4B77/3KFJy2qqS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_88"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:49.804983' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_40' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_40"], ["created_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_40"], ["title", "message_template_40"], ["updated_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_40' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 72ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_41' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_41"], ["created_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_41"], ["title", "message_template_41"], ["updated_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_9@example.jp"], ["encrypted_password", "$2a$04$sZ0uSzBhMS1k8p24JbmfMuucROxTslca1r9zPby/3uiDAkBqWp5Vy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_9"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:49.913304' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 7ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_42' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_42"], ["created_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_42"], ["title", "message_template_42"], ["updated_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_9@example.jp"], ["encrypted_password", "$2a$04$4BQVTWpae300bxOGs.3gUOsYmbZ4.gW2HQwoufN.87sPzsCeNtnqK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_9"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:49.943637' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 8ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_43' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_43"], ["created_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_43"], ["title", "message_template_43"], ["updated_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_89@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (7.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_89@example.jp"], ["encrypted_password", "$2a$04$EBy4.PCGwpe1Ja2keuTNL.uJo4cnZdo9J1d4OdS57hYSKg24SaNeq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_89"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:49 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:49.986376' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 8ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_44' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_44"], ["created_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_44"], ["title", "message_template_44"], ["updated_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML Completed 500 Internal Server Error in 5ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_10@example.jp"], ["encrypted_password", "$2a$04$yTZjW0BGiyPT/.lF7bGV.ecH0dySjeByqd0fd2Fg2h42TqOFEjT5S"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_10"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:50.024953' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_45' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_45"], ["created_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_45"], ["title", "message_template_45"], ["updated_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 108ms (Views: 99.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_10@example.jp"], ["encrypted_password", "$2a$04$eeeQHmTYMzH2kZ3w5x3nVuews01HFM3gbmwDhdueAZPGPNoxevx.6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_10"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:50.151038' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_46' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_46"], ["created_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_46"], ["title", "message_template_46"], ["updated_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_90@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_90@example.jp"], ["encrypted_password", "$2a$04$un26agCGBx4iqjC7C56MuOByDEQiZ9B/Xaj4qmdIUrEGz2JYhtmIq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_90"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:50.172269' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_47' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_47"], ["created_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_47"], ["title", "message_template_47"], ["updated_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 5ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_48' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_48"], ["created_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_48"], ["title", "message_template_48"], ["updated_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_11@example.jp"], ["encrypted_password", "$2a$04$Ve8pXtm5rztvdNG8LbUur.O0XWbQJTVb7Puy09dDK4Ga1Zd/48p8."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_11"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:50.200791' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 20ms (Views: 15.5ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_11@example.jp"], ["encrypted_password", "$2a$04$w80nSIv83kR5EKADPP1GOe.S.6Bx0wXdoSySqTOeusQ7iIq4F1mKS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_11"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:50.236395' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 5ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_91@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_91@example.jp"], ["encrypted_password", "$2a$04$aNAsLoXkt0mOra1xqiJ7OezOXIJgwo2n9kmK9XB9W.pljWAuL1ph2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_91"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:50.255649' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 6ms (Views: 1.1ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Processing by MessageTemplatesController#new as HTML Completed 500 Internal Server Error in 3ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_12@example.jp"], ["encrypted_password", "$2a$04$94v5euuqPjaE7iuPk0QCguRka1eMwlmKRMl8BvihaIaeYgkpabTrq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_12"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:50.280998' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_49' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_49"], ["created_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_49"], ["title", "message_template_49"], ["updated_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 8ms (Views: 3.0ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (35.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_12@example.jp"], ["encrypted_password", "$2a$04$BBbl5o7i7TdP9bdAR6xhw.buyziUhM1ntPid/JeNNBE8DYtVNurdm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_12"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:50.337850' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_50' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_50"], ["created_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_50"], ["title", "message_template_50"], ["updated_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_92@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_92@example.jp"], ["encrypted_password", "$2a$04$GZG6hnIIKhqB3o4RFk48YOc.1mRFksDHL8.TJQs2rTPutTApzYr2q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_92"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:50.358895' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_51' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_51"], ["created_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_51"], ["title", "message_template_51"], ["updated_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 5ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_52' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_52"], ["created_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_52"], ["title", "message_template_52"], ["updated_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 4ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_13@example.jp"], ["encrypted_password", "$2a$04$7AMp75bO/i/KFlZ0tOeNVuD4ccAstMeda7Lk9mSC8c987SdwIX8Wi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_13"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:50.388286' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_53", "status"=>"message_template_53", "body"=>"message_template_53"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_53' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_53"], ["created_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_53"], ["title", "message_template_53"], ["updated_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates/9 Completed 302 Found in 15ms  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_53' AND "message_templates"."id" != 9) LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_14@example.jp"], ["encrypted_password", "$2a$04$EPFM21oqdjdExEvZ3OZFRuN/Ua49Rx.UCjF8liPkjN4nMIaS9Sdy6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_14"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:50.416587' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_54", "status"=>"message_template_54", "body"=>"message_template_54"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_54' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_54"], ["created_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_54"], ["title", "message_template_54"], ["updated_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates/9 Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_15@example.jp"], ["encrypted_password", "$2a$04$H4iLnEVgtlOuQ6UDFw5ND.Wil9m8lmBrUjOVpAYuigmLZ8Sk6Enr6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_15"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:50.440468' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 0.7ms | ActiveRecord: 0.0ms | Solr: 0.0ms) SQL (0.2ms) UPDATE "message_templates" SET position = (position + 1) WHERE "message_templates"."id" IN (SELECT "message_templates"."id" FROM "message_templates" WHERE (1 = 1 AND position >= 9) ORDER BY position)  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_16@example.jp"], ["encrypted_password", "$2a$04$oRbpVhjIcQRa.AkRa22zcekoA/kQOHmL566fKpOlkgaB0VcKxhEc2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_16"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:50.463871' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 9ms (Views: 0.9ms | ActiveRecord: 0.0ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_13@example.jp"], ["encrypted_password", "$2a$04$pFJA4wbT9.KhRda8gZtJmuXm19IqDGuUfVr4P7o0VBpsZyt0NWA5W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_13"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:50.520033' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_57", "status"=>"message_template_57", "body"=>"message_template_57"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_57' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_57"], ["created_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_57"], ["title", "message_template_57"], ["updated_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates/9 Completed 302 Found in 8ms  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_57' AND "message_templates"."id" != 9) LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_14@example.jp"], ["encrypted_password", "$2a$04$l9AVDBg9F6jUYu2/4OVCi.drjOIM3ton1MVikRTxtQjAodewEYhZ."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_14"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:50.540132' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_58", "status"=>"message_template_58", "body"=>"message_template_58"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_58' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_58"], ["created_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_58"], ["title", "message_template_58"], ["updated_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates/9 Completed 302 Found in 9ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_15@example.jp"], ["encrypted_password", "$2a$04$J2SmD5v4nF8ZMjNRFn1yLOcw0kkQ7anA2K91rdrb5ACym.YIVkFhy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_15"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:50.561172' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 0.7ms | ActiveRecord: 0.0ms | Solr: 0.0ms) SQL (0.1ms) UPDATE "message_templates" SET position = (position + 1) WHERE "message_templates"."id" IN (SELECT "message_templates"."id" FROM "message_templates" WHERE (1 = 1 AND position >= 9) ORDER BY position)  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_16@example.jp"], ["encrypted_password", "$2a$04$xZHl7u37e82wqjYlSm8f0uF9Rb6yQyNh3huyorsAEa8yv7SOoqg2e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_16"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:50.583294' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 0.7ms | ActiveRecord: 0.0ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_93@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_93@example.jp"], ["encrypted_password", "$2a$04$nvR9a9HPiDVxcVHfIV8I1uNDCfu6Lsy7BzvuGIStTTtLrbhdW8K0K"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_93"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:50.603266' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_61", "status"=>"message_template_61", "body"=>"message_template_61"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_61' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_61"], ["created_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_61"], ["title", "message_template_61"], ["updated_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates/9 Completed 302 Found in 9ms  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_61' AND "message_templates"."id" != 9) LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_94@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_94@example.jp"], ["encrypted_password", "$2a$04$F9V8bXZudh9XzmpN/qvZc.Q0T3kSJhGken5FEU9F6atZSNf.zoPc."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_94"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:50.623526' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_62", "status"=>"message_template_62", "body"=>"message_template_62"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_62' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_62"], ["created_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_62"], ["title", "message_template_62"], ["updated_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates/9 Completed 302 Found in 10ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_95@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_95@example.jp"], ["encrypted_password", "$2a$04$9HJgogoCmGlAA4THGlUS7uMAao5PUlHE8T9vc/lP583rjJit7cdo6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_95"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:50.645889' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 45ms (Views: 0.8ms | ActiveRecord: 0.0ms | Solr: 0.0ms) SQL (0.2ms) UPDATE "message_templates" SET position = (position + 1) WHERE "message_templates"."id" IN (SELECT "message_templates"."id" FROM "message_templates" WHERE (1 = 1 AND position >= 9) ORDER BY position)  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_96@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_96@example.jp"], ["encrypted_password", "$2a$04$nyX0GUd9Y/k3XSbB9..DfeB98jiNzgC4csiZZ0Jc951d/AfU2lgQq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_96"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:50.705224' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 0.7ms | ActiveRecord: 0.0ms | Solr: 0.0ms) Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_65", "status"=>"message_template_65", "body"=>"message_template_65"}} Completed 500 Internal Server Error in 3ms Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_66", "status"=>"message_template_66", "body"=>"message_template_66"}} Completed 500 Internal Server Error in 3ms Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Completed 500 Internal Server Error in 4ms Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Completed 500 Internal Server Error in 3ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_69' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_69"], ["created_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_69"], ["title", "message_template_69"], ["updated_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_17@example.jp"], ["encrypted_password", "$2a$04$zrSmkmm3jf3HR1ViCB1mjO7SA15iamSGI/RmJwl4mOMaLU8ZmcXOW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_17"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:50.752294' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_70", "status"=>"message_template_70", "body"=>"message_template_70"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_70' AND "message_templates"."id" != 9) LIMIT 1  (0.1ms) UPDATE "message_templates" SET "title" = 'message_template_70', "status" = 'message_template_70', "body" = 'message_template_70', "updated_at" = '2011-12-16 03:37:50.760604' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates/9 Completed 302 Found in 10ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_71' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_71"], ["created_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_71"], ["title", "message_template_71"], ["updated_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_18@example.jp"], ["encrypted_password", "$2a$04$hJeukGwyaSaQL1Ac7qL0j.5n7zteoyWpgROinmGz3H8SGWIc48oJi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_18"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:50.776326' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_72", "status"=>"message_template_72", "body"=>"message_template_72"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_72' AND "message_templates"."id" != 9) LIMIT 1  (0.1ms) UPDATE "message_templates" SET "title" = 'message_template_72', "status" = 'message_template_72', "body" = 'message_template_72', "updated_at" = '2011-12-16 03:37:50.785153' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates/9 Completed 302 Found in 8ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_73' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_73"], ["created_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_73"], ["title", "message_template_73"], ["updated_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_19@example.jp"], ["encrypted_password", "$2a$04$EVByxQvI8M063TgHTzh3J.t11vyOOgTjkenZu1/BwxT9xCaFD7fkK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_19"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:50.799395' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_74", "status"=>"message_template_74", "body"=>"message_template_74"}, "position"=>"2", "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "message_templates" SET "position" = 0, "updated_at" = '2011-12-16 03:37:50.806429' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "message_templates" SET position = (position - 1) WHERE "message_templates"."id" IN (SELECT "message_templates"."id" FROM "message_templates" WHERE (1 = 1 AND position > 9) ORDER BY position) SQL (0.1ms) UPDATE "message_templates" SET position = (position + 1) WHERE "message_templates"."id" IN (SELECT "message_templates"."id" FROM "message_templates" WHERE (1 = 1 AND position >= 2) ORDER BY position)  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "message_templates" SET "position" = 2, "updated_at" = '2011-12-16 03:37:50.807976' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates Completed 302 Found in 7ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_75' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_75"], ["created_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_75"], ["title", "message_template_75"], ["updated_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_20@example.jp"], ["encrypted_password", "$2a$04$aNQb/0jLmOgvIuZ7VUASuer0enaRtF/vTm6QyRflYJun6EANtO9ty"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_20"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:50.821751' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = '' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 43ms (Views: 1.0ms | ActiveRecord: 0.0ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_77' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_77"], ["created_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_77"], ["title", "message_template_77"], ["updated_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_17@example.jp"], ["encrypted_password", "$2a$04$YhblL8HSvejgrTxrVPCBkebCjMUNRH/PQUDtfrzq.JSzVJxNeZe46"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_17"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:50.881032' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_78", "status"=>"message_template_78", "body"=>"message_template_78"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_78' AND "message_templates"."id" != 9) LIMIT 1  (0.1ms) UPDATE "message_templates" SET "title" = 'message_template_78', "status" = 'message_template_78', "body" = 'message_template_78', "updated_at" = '2011-12-16 03:37:50.889506' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates/9 Completed 302 Found in 8ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_79' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_79"], ["created_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_79"], ["title", "message_template_79"], ["updated_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_18@example.jp"], ["encrypted_password", "$2a$04$RpI39JbAQzGQIjW/xsGlluD6b45GKIk4Xo7qFmuShyZOSpd/HoR3u"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_18"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:50.904602' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_80", "status"=>"message_template_80", "body"=>"message_template_80"}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_80' AND "message_templates"."id" != 9) LIMIT 1  (0.1ms) UPDATE "message_templates" SET "title" = 'message_template_80', "status" = 'message_template_80', "body" = 'message_template_80', "updated_at" = '2011-12-16 03:37:50.912434' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates/9 Completed 302 Found in 8ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_81' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_81"], ["created_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_81"], ["title", "message_template_81"], ["updated_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_19@example.jp"], ["encrypted_password", "$2a$04$qAmOZyaCKMhM5S3cchxlaOP84pApjt/WEH4L2tG7PFiLZScy1jfMO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_19"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:50.927670' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = '' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 0.7ms | ActiveRecord: 0.0ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_83' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_83"], ["created_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_83"], ["title", "message_template_83"], ["updated_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_97@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_97@example.jp"], ["encrypted_password", "$2a$04$DPuODoAoFBKhlP4WOBS1ROiwe5g0etc9viSkAN0TSq81JgPvE9SS6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_97"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:50.950672' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_84", "status"=>"message_template_84", "body"=>"message_template_84"}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 5ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_85' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_85"], ["created_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_85"], ["title", "message_template_85"], ["updated_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_98@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_98@example.jp"], ["encrypted_password", "$2a$04$n.PWLf/1HgK/YC8qHN5wGOWYOYCZVNE4SsDZ1DVx7YKKcW31writa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_98"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:50.970936' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_86", "status"=>"message_template_86", "body"=>"message_template_86"}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 6ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_87' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_87"], ["created_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_87"], ["title", "message_template_87"], ["updated_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_99@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_99@example.jp"], ["encrypted_password", "$2a$04$j1dWo3eZcgttAhq6Fjdv2efq8sU9IojTOnxPnzMUg5tBMAHM9VbLa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_99"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:50 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:50.995892' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 8ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_89' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_89"], ["created_at", Fri, 16 Dec 2011 03:37:51 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_89"], ["title", "message_template_89"], ["updated_at", Fri, 16 Dec 2011 03:37:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_90", "status"=>"message_template_90", "body"=>"message_template_90"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 4ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_91' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_91"], ["created_at", Fri, 16 Dec 2011 03:37:51 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_91"], ["title", "message_template_91"], ["updated_at", Fri, 16 Dec 2011 03:37:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_92", "status"=>"message_template_92", "body"=>"message_template_92"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 6ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_93' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_93"], ["created_at", Fri, 16 Dec 2011 03:37:51 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_93"], ["title", "message_template_93"], ["updated_at", Fri, 16 Dec 2011 03:37:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 7ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_95' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_95"], ["created_at", Fri, 16 Dec 2011 03:37:51 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_95"], ["title", "message_template_95"], ["updated_at", Fri, 16 Dec 2011 03:37:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_21@example.jp"], ["encrypted_password", "$2a$04$ffIuGzYI80uLcKsSimpiVeu9X5gh0QOa/uaffKb16VpM0NAlwY7x."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_21"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:51 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:37:51 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:51.127043' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (1.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "message_templates" WHERE "message_templates"."id" = ? [["id", 9]] SQL (0.2ms) UPDATE "message_templates" SET position = (position - 1) WHERE "message_templates"."id" IN (SELECT "message_templates"."id" FROM "message_templates" WHERE (1 = 1 AND position > 9) ORDER BY position)  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates Completed 302 Found in 14ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_96' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_96"], ["created_at", Fri, 16 Dec 2011 03:37:51 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_96"], ["title", "message_template_96"], ["updated_at", Fri, 16 Dec 2011 03:37:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_22@example.jp"], ["encrypted_password", "$2a$04$EnHImSjtJuKuSudPVrB9..LOUlbS2kM.5TEyX8hCbHOOs38MbjF9a"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_22"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:51 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:37:51 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:51.168971' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_templates" WHERE "message_templates"."id" = ? [["id", 9]] SQL (0.2ms) UPDATE "message_templates" SET position = (position - 1) WHERE "message_templates"."id" IN (SELECT "message_templates"."id" FROM "message_templates" WHERE (1 = 1 AND position > 9) ORDER BY position)  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates Completed 302 Found in 15ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_97' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_97"], ["created_at", Fri, 16 Dec 2011 03:37:51 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_97"], ["title", "message_template_97"], ["updated_at", Fri, 16 Dec 2011 03:37:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_20@example.jp"], ["encrypted_password", "$2a$04$7Wu7toVXmTOje9S44NTreO4Yxo6IPyK8S4aJP6WLdXF/q0GLUMuVO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_20"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:51 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:37:51 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:51.213989' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_templates" WHERE "message_templates"."id" = ? [["id", 9]] SQL (0.2ms) UPDATE "message_templates" SET position = (position - 1) WHERE "message_templates"."id" IN (SELECT "message_templates"."id" FROM "message_templates" WHERE (1 = 1 AND position > 9) ORDER BY position)  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates Completed 302 Found in 14ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_98' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_98"], ["created_at", Fri, 16 Dec 2011 03:37:51 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_98"], ["title", "message_template_98"], ["updated_at", Fri, 16 Dec 2011 03:37:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_21@example.jp"], ["encrypted_password", "$2a$04$MIwot.AKFZFV1XODPcjIiu7tGgiDL256uORquRLYnqdhkeUb948SW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_21"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:51 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:37:51 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:51.252432' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_templates" WHERE "message_templates"."id" = ? [["id", 9]] SQL (0.2ms) UPDATE "message_templates" SET position = (position - 1) WHERE "message_templates"."id" IN (SELECT "message_templates"."id" FROM "message_templates" WHERE (1 = 1 AND position > 9) ORDER BY position)  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates Completed 302 Found in 12ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_99' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_99"], ["created_at", Fri, 16 Dec 2011 03:37:51 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_99"], ["title", "message_template_99"], ["updated_at", Fri, 16 Dec 2011 03:37:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_100@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_100@example.jp"], ["encrypted_password", "$2a$04$HH14D9U5rhpqZYyWRlBgu.eG9XeRuy0uvWjIA.nf0S6nakGkWLkSq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_100"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:51 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:51 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:51.290205' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 8ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_100' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_100"], ["created_at", Fri, 16 Dec 2011 03:37:51 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_100"], ["title", "message_template_100"], ["updated_at", Fri, 16 Dec 2011 03:37:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_101@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_101@example.jp"], ["encrypted_password", "$2a$04$c0TR2dAjgBDzXe4WxL6CyuvDVGwEKEgjWC8KMZAinhULE6fX0ZP/K"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_101"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:51 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:51 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:51.322489' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 8ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_101' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_101"], ["created_at", Fri, 16 Dec 2011 03:37:51 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_101"], ["title", "message_template_101"], ["updated_at", Fri, 16 Dec 2011 03:37:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 65ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.4ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_102' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_102"], ["created_at", Fri, 16 Dec 2011 03:37:51 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_102"], ["title", "message_template_102"], ["updated_at", Fri, 16 Dec 2011 03:37:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 6ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_23@example.jp"], ["encrypted_password", "$2a$04$vQiUwEoc9LalViFXc1sPCusZV8eHjEWJCeX9CLCgp0vCkpx.FKrpK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_23"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:56 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:37:56 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:56.991264' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 21ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_24@example.jp"], ["encrypted_password", "$2a$04$ufFRfR1zRSFb7QJrKw3cgu2NxssA6UvwlqFV0gQXA3jfF136HWprS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:57 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_24"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:57 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:37:57 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:57.026764' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML Parameters: {"user_id"=>"admin_24"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 61ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_22@example.jp"], ["encrypted_password", "$2a$04$Wb178XGj1x4xbihvi2gSrubAoj1ihBUN6KCezaRCEj8KviZ.7L/LK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:57 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_22"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:57 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:37:57 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:57.104046' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 79ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_23@example.jp"], ["encrypted_password", "$2a$04$3ds0oI.dszWIDeniwExFkOepmRUUB4UGusEK7Ezw25XGsL3iyhAkG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:57 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_23"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:57 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:37:57 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:57.203052' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML Parameters: {"user_id"=>"librarian_23"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 31ms User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 88ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML Parameters: {"query"=>"you"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 29ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 83ms Processing by MessagesController#index as HTML Completed 500 Internal Server Error in 26ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Completed 500 Internal Server Error in 9ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 Completed 500 Internal Server Error in 9ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#show as HTML Parameters: {"id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 11ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 9ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_25@example.jp"], ["encrypted_password", "$2a$04$BhY0HqpVkdGF9Upp4r65cOuR2A8pj6DR/k6Hx2P6i9FllNv3cLYjG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:57 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_25"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:57 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:37:57 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:57.649497' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#new as HTML User Load (0.8ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 Completed 500 Internal Server Error in 11ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_24@example.jp"], ["encrypted_password", "$2a$04$9sHcLkInusgzj2Jf2vyaGO7uEsIOMjoFRkcSWzTSNYDvJ126RBgnW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:57 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_24"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:57 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:37:57 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:57.678729' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 Completed 500 Internal Server Error in 9ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 Completed 500 Internal Server Error in 90ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 Completed 500 Internal Server Error in 37ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML Parameters: {"parent_id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = 1 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 500 Internal Server Error in 89ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML Parameters: {"parent_id"=>"2"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 500 Internal Server Error in 10ms Processing by MessagesController#new as HTML Completed 500 Internal Server Error in 6ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_26@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_26@example.jp"], ["encrypted_password", "$2a$04$pv7dm4e6KJMfCMcdeQ298uR6gitWdQ/tITmOSc9n/DmgMMXo03Auy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:57 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_26"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:57 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:37:57 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:57.960771' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 14ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_25@example.jp"], ["encrypted_password", "$2a$04$DLzTBEnABArg.t1aiCht0udhjMYC0cKxWke9C5.DbvvGaL5aVjgCq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_25"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:58.009708' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 9ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 8ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_102@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_102@example.jp"], ["encrypted_password", "$2a$04$4jl9M1X08V6snoLmIpcm6uXBrL2Nmli8A3aAtVPFebnQ2.Y5NgEn."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_102"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:58.060212' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_103@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_103@example.jp"], ["encrypted_password", "$2a$04$dr/3upz/DfuttxxoLF7VqOkqTZZ3Tj1ChRQOrtB6W9tMTbRTzyaai"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_103"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:58.074866' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "user_102"]]  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_27@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_27@example.jp"], ["encrypted_password", "$2a$04$p3SVFqOZHt7dQwxS1xqwEey8B.5mlEPiFj5FQGZg6bAaynHcgwmtG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_27"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:58.092555' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 10ms User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_28@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_28@example.jp"], ["encrypted_password", "$2a$04$8Fy1WvSVARoSnw8dzwUM2O0QjaJIyIbdqt13mP542snvr6yQoMMIK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_28"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:58.123306' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 9ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_29@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_29@example.jp"], ["encrypted_password", "$2a$04$sExevI9Dd0G4rO1rQZ1hn.rIuwbNWbN7/IynUjWB10JkAngV/1Asa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_29"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:58.153231' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 66ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_30@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_30@example.jp"], ["encrypted_password", "$2a$04$/w48/dyryYP59MCMkbhEyehfiZH0WtmKoiVgyimkrx9DO/ptyvKtW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_30"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:58.239409' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 9ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test", "parent_id"=>"2"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 Completed 500 Internal Server Error in 14ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 10ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test", "parent_id"=>"2"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 8ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}} Completed 500 Internal Server Error in 10ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}} Completed 500 Internal Server Error in 7ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}} Completed 500 Internal Server Error in 11ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}} Completed 500 Internal Server Error in 6ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_104@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_104@example.jp"], ["encrypted_password", "$2a$04$0inT7PVozDUY1BFMheUvl.KoWy9O1nwgre7AYONRkzy95oDsrh1NK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_104"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:58.376078' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_105@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_105@example.jp"], ["encrypted_password", "$2a$04$ftzoDgdIV2KUvktfvzHFWeit8QYQC/nwyBWrn1qDXGOdQKaECRt96"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_105"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:58.389960' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_104", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Completed 500 Internal Server Error in 10ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_106@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (7.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_106@example.jp"], ["encrypted_password", "$2a$04$1rcjQCNaDxIC4YLclwgCWO6Op1aDNodmJlG6WxFTI1cnKn9GyPAfK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_106"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:58.425865' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_107@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_107@example.jp"], ["encrypted_password", "$2a$04$pVKFDF9EpODxQ9D.jiO1PeiD4VuraJcMWYzlSWCLOB1WML3zwpJEK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_107"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:58.441960' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_106", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Completed 500 Internal Server Error in 10ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_108@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_108@example.jp"], ["encrypted_password", "$2a$04$hT1G8sbV5yW1Il7/yCOdReyxwGZ1Mr5rG6DqYOJpt2bB2JMLIcnOW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_108"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:58.476403' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_109@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (72.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_109@example.jp"], ["encrypted_password", "$2a$04$cY/8BapI71nO85pzFSo1g.DCdFeRL1vMUJ3d83zs5f/HwwIYFXwGW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_109"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:58.563811' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Completed 500 Internal Server Error in 8ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_110@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_110@example.jp"], ["encrypted_password", "$2a$04$blpER/aTjGaYG7MR0oq0iOar0qQw1wA3IfHPofHsWhTmMOrOYclua"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_110"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:58.594693' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_111@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_111@example.jp"], ["encrypted_password", "$2a$04$jpNXwCVLFRFXnhUZEQSfCu3oRMn5E7WtN2RyAHb8iu8g/LrSklVZK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_111"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["user_id", 9]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:58.609842' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Completed 500 Internal Server Error in 9ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_112@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_112@example.jp"], ["encrypted_password", "$2a$04$myVpsyPFrxMYLL.fc6YTwuT1I9aKtPmmNCMX04csTNz4G34BmkyPe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_112"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:58.649751' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_113@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_113@example.jp"], ["encrypted_password", "$2a$04$vqTTzuE4GQ39V4viFltRXeUP/zNOVtoiRiumIPWpLbrIhhsMcz39S"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_113"]] SQL (2.6ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:58.665629' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_112", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 Completed 500 Internal Server Error in 8ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_114@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_114@example.jp"], ["encrypted_password", "$2a$04$wMcVY3cFisd/Gmv3tXFQquooz6MuBUXt0weqDhzZUmTakaKwt6Z.G"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_114"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:58.697582' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_115@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_115@example.jp"], ["encrypted_password", "$2a$04$wGRTrUfuQfhtKZe4j0s2CeH7SzKi/M1WgoIzYJHqJI8asFH69wwGO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_115"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:58.711812' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_114", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 Completed 500 Internal Server Error in 10ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_116@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_116@example.jp"], ["encrypted_password", "$2a$04$p/vu1Y5/7vz0GzBoeKeBAO2bZ58aMJvtJXFZ0u65kHqz2qExBvMY6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_116"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:58.744857' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_117@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_117@example.jp"], ["encrypted_password", "$2a$04$XczAXhTQzvPJ8.yRzqFBfOcbjhcYsGMTCwT4G26hmjNFrqMhjY.LS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_117"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:58.760138' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 Completed 500 Internal Server Error in 8ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_118@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_118@example.jp"], ["encrypted_password", "$2a$04$yEgBrsh.dCVh0B.TDiR4leo5WPT7HrTlWyEpwyTVZh2JDsFz1CJQ2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_118"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:58.790250' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_119@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (62.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_119@example.jp"], ["encrypted_password", "$2a$04$rsIIbkIUF.SOavgRFPe2IeJnrFkFWKIWJoa6WFz5iZ9E3D8CP7JEe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_119"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:58.863136' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 Completed 500 Internal Server Error in 8ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_120@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_120@example.jp"], ["encrypted_password", "$2a$04$tflGjvk.qh6Y3H9ggQQLOO.ZqYgXYw04XpBiG5v3wJA09zTSOqqsO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_120"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:58.894170' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_121@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_121@example.jp"], ["encrypted_password", "$2a$04$5xYeuWBq6JpRpryzBmAnCOepLVBFUTExzHqeuZPvNgTbDdVq/YUca"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_121"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:58.907124' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 9ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_122@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_122@example.jp"], ["encrypted_password", "$2a$04$Qx0W7M00emDpMbd5OaRreOnM81W8KTUvjib3D9pbbraTJ0gSPqgSy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_122"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:58.935051' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_123@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_123@example.jp"], ["encrypted_password", "$2a$04$eNU4WxfFQj3MhEryWpCgX.WCPuJ4/HShpH7QA.uxojQhl/SaC1ugG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_123"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["user_id", 9]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:58.948657' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 9ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_124@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_124@example.jp"], ["encrypted_password", "$2a$04$8PP0q8jJBSvrtMTkS2Gw7OQ0bP8gBZWCkWBzEcAFogxD7Z.DQQEJu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_124"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:58.987162' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.9ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_125@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_125@example.jp"], ["encrypted_password", "$2a$04$QwGVwbynWjs3birqLs6Q.OqHXSPo02t1eCf/kfTIu02gEmVZAmupm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_125"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:59 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:59 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:59.005864' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_124", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 9ms Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_126@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_126@example.jp"], ["encrypted_password", "$2a$04$QIEjYrwo13Ywv8WBjW9yC.JX2jTEuX.6UfVe2D.NHVJsSZgP7Ea72"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:59 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_126"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:59 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:59 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:59.040572' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_127@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_127@example.jp"], ["encrypted_password", "$2a$04$7V0wyopJ8GrWdun9cVTFSuvMp2c1gTAGA4kRKDC5vB9ImGtGlcORe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:59 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_127"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:59 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:59 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:59.053603' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_126", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 15ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_128@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (67.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_128@example.jp"], ["encrypted_password", "$2a$04$SCW.XYWxF6/UDvOZLvepgOkypUtAhYpgKoWhLGwV3IEALqjLtj3Dq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:59 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_128"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:59 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:59 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:59.159264' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_129@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_129@example.jp"], ["encrypted_password", "$2a$04$r72R1TWgwItB0dq8TM6Jnelh9PFNngt3DO2IBw.t2M9wtzYOW6A4G"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:59 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_129"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:59 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:59 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:59.172807' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 8ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_130@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_130@example.jp"], ["encrypted_password", "$2a$04$aq5Bygn//bDcMTb6nbQ4LeKqnbToZJ1yfZxlbQN6xBrpFvVZg24qm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:59 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_130"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:59 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:59 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:59.207283' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_131@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_131@example.jp"], ["encrypted_password", "$2a$04$d3vvY5tvK.Y01WAIWloKjO24geTAU0mUt4VP4gvOrxrt10LV78dU2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:59 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_131"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:59 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:59 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:59.220048' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 8ms Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_132@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_132@example.jp"], ["encrypted_password", "$2a$04$KnoqNBEzFRFBztcuwmCb5Ohpv45AWGY.A8nKKcJ4ZtcffsE3LuLMS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:59 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_132"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:59 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:59 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:59.259283' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.2ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_133@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_133@example.jp"], ["encrypted_password", "$2a$04$10AqMzlx4HaEAGLvHKFPResX6/X/nW7AbwUz4HefJOhgwj6jD3/Fa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:37:59 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_133"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:37:59 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:37:59 UTC +00:00], ["user_id", 9]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:37:59.276516' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] Completed 500 Internal Server Error in 7ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#destroy as HTML Parameters: {"id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 9ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 9ms Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 9ms Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 10ms Fixture Delete (0.4ms) DELETE FROM "message_requests" Fixture Insert (0.2ms) INSERT INTO "message_requests" ("sender_id", "receiver_id", "message_template_id", "state", "created_at", "updated_at", "id") VALUES (1, 1, 1, 'pending', '2011-12-16 03:40:08', '2011-12-16 03:40:08', 980190962) Fixture Insert (0.1ms) INSERT INTO "message_requests" ("sender_id", "receiver_id", "message_template_id", "state", "created_at", "updated_at", "id") VALUES (1, 1, 1, 'pending', '2011-12-16 03:40:08', '2011-12-16 03:40:08', 298486374) Fixture Delete (0.1ms) DELETE FROM "message_templates" Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (1, 'reservation_accepted', 'Reservation accepted', 'Reservation accepted', 1, '2011-12-16 03:40:08', '2011-12-16 03:40:08') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (2, 'item_received', 'Item received', 'Item received', 2, '2011-12-16 03:40:08', '2011-12-16 03:40:08') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (3, 'reservation_expired_for_patron', 'Reservation expired', 'Reservation expired', 3, '2011-12-16 03:40:08', '2011-12-16 03:40:08') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (4, 'reservation_expired_for_library', 'Reservation expired', 'Reservation expired', 4, '2011-12-16 03:40:08', '2011-12-16 03:40:08') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (5, 'reservation_canceled_for_patron', 'Reservation canceled', 'Reservation canceled', 5, '2011-12-16 03:40:08', '2011-12-16 03:40:08') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (6, 'reservation_canceled_for_library', 'Reservation canceled', 'Reservation canceled', 6, '2011-12-16 03:40:08', '2011-12-16 03:40:08') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (7, 'recall_item', 'Recall item', 'Recall item', 7, '2011-12-16 03:40:08', '2011-12-16 03:40:08') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (8, 'recall_overdue_item', 'Recall overdue item', 'Recall overdue item', 8, '2011-12-16 03:40:08', '2011-12-16 03:40:08') Fixture Delete (0.2ms) DELETE FROM "messages" Fixture Insert (0.2ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "read_at", "state", "lft", "rgt", "updated_at") VALUES (1, 3, 4, 'First Message', 'Abby, you get the first message', '2007-07-04 12:10:47.000000', '2011-12-13 03:40:08.000000', 'unread', 1, 2, '2011-12-16 03:40:08') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (2, 4, 3, 'RE: First Message', 'Thanks Dad! You are the coolest!', '2011-12-14 03:40:08.000000', 'unread', 3, 4, '2011-12-16 03:40:08') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (3, 3, 4, 'Second Message', 'Catie, you get the 2nd message', '2011-12-15 03:40:08.000000', 'unread', 5, 6, '2011-12-16 03:40:08') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (6, 4, 5, 'Dad!', 'He is sucha dork.', '2011-12-14 03:40:08.000000', 'unread', 7, 8, '2011-12-16 03:40:08') Fixture Delete (0.1ms) DELETE FROM "roles" Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Guest', 'Guest', 1, NULL, '2011-12-16 03:40:08', '2011-12-16 03:40:08') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('User', 'User', 2, NULL, '2011-12-16 03:40:08', '2011-12-16 03:40:08') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Librarian', 'Librarian', 3, NULL, '2011-12-16 03:40:08', '2011-12-16 03:40:08') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Administrator', 'Administrator', 4, NULL, '2011-12-16 03:40:08', '2011-12-16 03:40:08') Fixture Delete (0.1ms) DELETE FROM "user_groups" Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('(not specified)', '(not specified)', '2007-12-13 12:00:51.564542', 1, '', '2007-12-13 12:00:01.674976', 1) Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('User', 'User', '2007-12-22 18:14:56.836548', 2, '', '2007-12-22 18:14:40.173954', 2) Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('Faculty', 'Faculty', '2007-12-22 18:15:05.134351', 3, '', '2007-12-22 18:15:05.126457', 3) Fixture Delete (0.1ms) DELETE FROM "user_has_roles" Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (1, 4, '2011-12-16 03:40:08', '2011-12-16 03:40:08', 135138680) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (2, 3, '2011-12-16 03:40:08', '2011-12-16 03:40:08', 344583537) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (3, 2, '2011-12-16 03:40:08', '2011-12-16 03:40:08', 206669143) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (4, 3, '2011-12-16 03:40:08', '2011-12-16 03:40:08', 226540757) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (5, 2, '2011-12-16 03:40:08', '2011-12-16 03:40:08', 358143215) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (6, 2, '2011-12-16 03:40:08', '2011-12-16 03:40:08', 576709754) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (7, 2, '2011-12-16 03:40:08', '2011-12-16 03:40:08', 1010528733) Fixture Delete (0.2ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:16:30.163731', '$2a$10$vHohD1WflnTIqAa8zMkF9evwAgIZRw3XuR4d3bi29M.jph/MB/AJi', 2, 1, NULL, 'admin', 'tanabe@kamata.lib.teu.ac.jp', '2007-11-19 07:58:32.111941', 4) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 03:41:16.337474', '$2a$10$9O2VuTccN4gHq36ARg0QReSrb1D7WrBBhZZ759RM9moHbB0W5zCzS', 1, 2, NULL, 'librarian1', 'librarian1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:33.172441', 1) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', '$2a$10$JthS59A0BNkDOoFpCXM0V.GhhffKaoWKbzpPahYp/vTFrOyM7h/uW', 1, 3, NULL, 'user1', 'user1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:23.340575', '$2a$10$YmmTGrYQ1Ir6oc7wXnp.GuNeO1eYLoP3sv8wMSIrTdaGw2BPwRrpS', 1, 4, NULL, 'librarian2', '2008-01-18 03:24:04.222344', 1) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:44.711117', '$2a$10$i7UjJhLVrJM/J7qaTwW39OXw1NiwowUEbtNHVDV0sqMLjX9.UO9ca', 1, 5, NULL, 'user2', '2008-01-18 04:29:06.922728', 2) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 6, NULL, 'user3', 'user3@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 7, NULL, 'user4', 'user4@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_1@example.jp"], ["encrypted_password", "$2a$04$7GP/SWj9DqncoqCEogreced/bfegkLhy1Tu/NuMFvfX/LjdK8zkBi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:08 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_1"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:08 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:40:08 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:08.771067' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageRequest Load (0.2ms) SELECT "message_requests".* FROM "message_requests" WHERE (sent_at IS NULL AND state = 'pending') ORDER BY created_at DESC Completed 500 Internal Server Error in 85ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_1@example.jp"], ["encrypted_password", "$2a$04$HdxWPEwq7i5GYDqG4DE9CuP6bl3W5LteOak3qCK9VGD2jc4mQWihK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_1"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:09.008037' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageRequest Load (0.2ms) SELECT "message_requests".* FROM "message_requests" WHERE (sent_at IS NULL AND state = 'pending') ORDER BY created_at DESC Completed 500 Internal Server Error in 10ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_1@example.jp"], ["encrypted_password", "$2a$04$hDk9grLuY1wgKNQZel0SBecnZ.rb6ZENgLNsX8l5E6du5cXb3EHqO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_1"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:09.308891' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 8ms Processing by MessageRequestsController#index as HTML Completed 500 Internal Server Error in 16ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_2@example.jp"], ["encrypted_password", "$2a$04$1Bxw2zfNW.S.JD/RQr9t7uEs9X9pupZUVATX9e1iXDaQ6zcI7P4dO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_2"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:09.354781' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_2@example.jp"], ["encrypted_password", "$2a$04$LoB8.V8FFNjwqHmV6rgu3uSR18L5RA7I19etLpBVa5C0indGNdHra"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_2"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:09.369096' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_3@example.jp"], ["encrypted_password", "$2a$04$wSBgFAmrgx5k9WX2PGKTAup0bytf3LV/fAsE/G8spDsHiKIyKg55a"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_3"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:09.382515' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_1' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_1"], ["created_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_1"], ["title", "message_template_1"], ["updated_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_1' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.2ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 109ms (Views: 54.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_2@example.jp"], ["encrypted_password", "$2a$04$KIM2BjiETJUjlnhjC3uGIeCeO2ZfzWZ9yN8bXzFDcIALsWuMui1fu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_2"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:09.543272' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_4@example.jp"], ["encrypted_password", "$2a$04$XwZce6RahxfL0jWTIJ4zCeApEcsGI6Vq28CiIRfx/cht8tMvMRMNe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_4"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:09.557768' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (4.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_5@example.jp"], ["encrypted_password", "$2a$04$B7ukHggzr336l2uiwKUSYeZpMKJ1jZN/hj4Vm22NKcRSUWWli/XvS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_5"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:09.574314' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_2' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_2"], ["created_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_2"], ["title", "message_template_2"], ["updated_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_2' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 10ms (Views: 1.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_6@example.jp"], ["encrypted_password", "$2a$04$ed1WIn6d25wP/FzHj5qj6.Y8Hcd9rWGkYVXGjjgUMCNMz3tc4b47W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_6"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:09.620455' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_7@example.jp"], ["encrypted_password", "$2a$04$ryobSOnhyfb/DZB99aQ9VevwMN.gYZI1i.n45IzuWIAIb4sci4ta6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_7"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:09.635262' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_8@example.jp"], ["encrypted_password", "$2a$04$6zHh90LkNKiTR4KwU2xZve.FEjOwLjy5nPrBcFsLd37lrcOeMUitm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_8"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:09.647960' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_3' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_3"], ["created_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_3"], ["title", "message_template_3"], ["updated_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_3' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 8ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_9@example.jp"], ["encrypted_password", "$2a$04$WKTdAROjFqf8tghoYETUxujXF1v4cGMdbNwN/AnKE/D7MjuDh1G7q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_9"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:09.731966' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_10@example.jp"], ["encrypted_password", "$2a$04$dkwQuVRae6WESoULrBljj.Fr248avnG//KqemdQfwMx3RnOpZF.9e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_10"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:09.745341' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_4' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_4"], ["created_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_4"], ["title", "message_template_4"], ["updated_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_4' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_3@example.jp"], ["encrypted_password", "$2a$04$Q/bmMO1PbcN/pnxRqSoA2OKti4mnHlll.TfXkVKEHH.uMzcb0AA4W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_3"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:09.785022' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_11@example.jp"], ["encrypted_password", "$2a$04$SDFnE54DyV.UUc2.oqKnBeXXUJ.xrho30A08.PZaGFLvC3NiURPr."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_11"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:09.800195' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_12@example.jp"], ["encrypted_password", "$2a$04$Th1KkNrBDjmfpBtJS9.WGuvDKFcgLy9Gzhw1KHsNCrR8PFfx2nd.a"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_12"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:09.812982' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_5' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_5"], ["created_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_5"], ["title", "message_template_5"], ["updated_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_5' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.6ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 31ms (Views: 22.0ms | ActiveRecord: 0.6ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_3@example.jp"], ["encrypted_password", "$2a$04$XCPh0Ro/tQyuP4xsPqu0a.q2vjes2Vzi9NrRghOb06aSawVg4FM9S"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_3"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:09.880936' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (5.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_13@example.jp"], ["encrypted_password", "$2a$04$8RDYJVBJ3kzBOVH5IwUE7eughiRFn7M.8TwitjBi18W6UFnjOShUG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_13"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:09.899606' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_14@example.jp"], ["encrypted_password", "$2a$04$PyKO0nZUUyWlBFqsDSJEhuhKrDlTHKWTqwwjCfEIb25mB4jTh0qZe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_14"]] SQL (1.5ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:09.918753' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_6' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_6"], ["created_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_6"], ["title", "message_template_6"], ["updated_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_6' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 9ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (52.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_15@example.jp"], ["encrypted_password", "$2a$04$IVAfZQeMWKhVGmAoih/FPOvVxf4dZJkC7Xa4RWhaul6i13RgrVi/2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_15"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:10.007963' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_16@example.jp"], ["encrypted_password", "$2a$04$k1msfBZ.SdiE4aodkuGEqOXqRof6EuCfNbvDEnpF0kNvxqx9xrtIW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_16"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:10.021429' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_17@example.jp"], ["encrypted_password", "$2a$04$jrvYZC3GOAPMATKY5qvvpeQ9ZCXQYsDqptwju5jlpdc1NcQSzZAHq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_17"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:10.034602' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_7' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_7"], ["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_7"], ["title", "message_template_7"], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_7' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 11ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_18@example.jp"], ["encrypted_password", "$2a$04$VXRVGcQyDNjKgeCvEilimO1iX.w2sqZrjbusR3hWhZk4gBuE6ib7G"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_18"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:10.076318' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_19@example.jp"], ["encrypted_password", "$2a$04$yWuGOZ1OCslxZH23/9kmH.N.jWI.ikiSTZYQs/JrKWWironftKniO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_19"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:10.089262' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_8' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_8"], ["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_8"], ["title", "message_template_8"], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_8' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 6ms Role Load (0.3ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_20@example.jp"], ["encrypted_password", "$2a$04$x3cLoHBuHyvAg6BpoSExJueYTgtnTZc0VYFg0dO.anXTa3BrLGv7O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_20"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:10.132258' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_21@example.jp"], ["encrypted_password", "$2a$04$fW9O4GMw0I62O3xivgk.3eKm6UFAYJEDtM494eTZTqiD/Jia1EOPy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_21"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:10.150374' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_9' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_9"], ["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_9"], ["title", "message_template_9"], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_9' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_22@example.jp"], ["encrypted_password", "$2a$04$vDJ2.yQcQQl19PUVo.oxtuWu.cjIOhwqiF6af.jm5IwDinLF5jfIi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_22"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:10.177722' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_23@example.jp"], ["encrypted_password", "$2a$04$ZEVrrcTgRZyPfThz3MTcNOEkIsRc9AdpPkV59dMcTny64RVhnmrfu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_23"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:10.189849' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_10' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_10"], ["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_10"], ["title", "message_template_10"], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_4@example.jp"], ["encrypted_password", "$2a$04$DcpENlqA10j1OVUE9meAi.FFSoMTnrT7bTTvWY6bR/Uf/p2mLvDEm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_4"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:10.206580' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_10' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 10, "receiver_id" = 11, "message_template_id" = 10, "updated_at" = '2011-12-16 03:40:10.230942' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 25ms Role Load (0.3ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (53.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_24@example.jp"], ["encrypted_password", "$2a$04$.ScwDcBCz4Mt6FH5LoTEieEM/VwMUNzbX/GZpn9jbN.i/qFvu4xb2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_24"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:10.306398' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_25@example.jp"], ["encrypted_password", "$2a$04$20ACa50NBr/glUAjOuOwqeOlKFXrEVXgJKy8.nrFEKDpPBzBz9y5i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_25"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:10.321246' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_11' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_11"], ["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_11"], ["title", "message_template_11"], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_11' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_26@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_26@example.jp"], ["encrypted_password", "$2a$04$Ry8clxM1YeGNbRg3OS0Bjecn6.Unrpqj2Txe3f9oqmndeCdb7LDda"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_26"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:10.345447' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_27@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_27@example.jp"], ["encrypted_password", "$2a$04$Vd7s2M70JrkOw7Yd4TL4BekRMTcFU0R/QFI56r8cKub.tTIQm2/9m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_27"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:10.357258' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_12' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_12"], ["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_12"], ["title", "message_template_12"], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_5@example.jp"], ["encrypted_password", "$2a$04$vdJlM4aYLhKO/I1vZkahWuqDc17ry/Ig/VoKk.BR6ENV9ukdZ1zji"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_5"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:10.374443' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_12' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 10, "receiver_id" = 11, "message_template_id" = 10, "updated_at" = '2011-12-16 03:40:10.395947' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 20ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_28@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_28@example.jp"], ["encrypted_password", "$2a$04$CLEtrFoDvcvUHpqFBJXkluG5t.S4Zi/e7OkjA94ynN8hrmnhdyi/q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_28"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:10.417130' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.2ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_29@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_29@example.jp"], ["encrypted_password", "$2a$04$.JkLgaXxJY0.ab3uh5bUE.yz.X6awSsIMZwx79G1jzYXFNt8iQyhW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_29"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:10.431501' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_13' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_13"], ["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_13"], ["title", "message_template_13"], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_13' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.3ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_30@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_30@example.jp"], ["encrypted_password", "$2a$04$tfBJ5cZmoNySbeWkDapnFeR30SYRX7P3XD04DP0P/9GXyxCZ5LDSa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_30"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:10.456462' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_31@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (8.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_31@example.jp"], ["encrypted_password", "$2a$04$KplvH7j6BCLt5nTIMuLB9.lMFPy6yaKpj6yLs/EPG4mF7FT8FcKF2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_31"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:10.476611' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_14' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_14"], ["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_14"], ["title", "message_template_14"], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_6@example.jp"], ["encrypted_password", "$2a$04$omyw5m3.q/KdpN6BiOasRe3xwrBCUbvbYVtBxaQHZ8kqNkq5hpgoq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_6"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:10.504382' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_13' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 18ms (Views: 1.6ms | ActiveRecord: 1.0ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_32@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_32@example.jp"], ["encrypted_password", "$2a$04$LEc80LhiXjFMJE3HbK3ACOwlhFlHkBo8LVRU3ViClCtDWny1Mcana"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_32"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:10.599824' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.9ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_33@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_33@example.jp"], ["encrypted_password", "$2a$04$ed910/DGbgTFtX3GTPzA0uZ68WbN2Z14cc6vQBXPgLDGdT6K1DFp6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_33"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["user_id", 9]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:10.613471' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_15' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_15"], ["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_15"], ["title", "message_template_15"], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_15' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_34@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_34@example.jp"], ["encrypted_password", "$2a$04$7U/P.KZQTLH4PsjNBOLRHuaLFecTI7KNYzaS98jhQqyQSTmy27nNe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_34"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:10.641913' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_35@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_35@example.jp"], ["encrypted_password", "$2a$04$5hj4qPeYj2DAint4E.sSGOLgeKAmzUZVpX6lojoxqEbZL4fJY/zcS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_35"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:10.655558' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_16' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_16"], ["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_16"], ["title", "message_template_16"], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_4@example.jp"], ["encrypted_password", "$2a$04$XVVVhrXNWcyL/Twe9Y7G/.TTtNJsA7uDiqlYwlNPsmI/ZtDD2k.AO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_4"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:10.672612' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_16' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 10, "receiver_id" = 11, "message_template_id" = 10, "updated_at" = '2011-12-16 03:40:10.687863' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 15ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_36@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_36@example.jp"], ["encrypted_password", "$2a$04$QmlCob00T11zRKbjycL7suqNkBGPOpKvib7tNDkDL/kiEolnN.hLW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_36"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:10.705629' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_37@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_37@example.jp"], ["encrypted_password", "$2a$04$nL4wm9EmDWQFxA7pWAXE0eQsYh5H2GxVLbVkZMKYgARC1BWE0EPqy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_37"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:10.716295' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_17' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_17"], ["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_17"], ["title", "message_template_17"], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_17' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_38@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_38@example.jp"], ["encrypted_password", "$2a$04$nGm04JobXexz24l8vdI2fe6GtqPabAUo3t5zoMi2sWiKZ1ADbCWvy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_38"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:10.736920' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_39@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_39@example.jp"], ["encrypted_password", "$2a$04$YHJ4QOg7HXiN5X7V/z5areOb4aQXSZIVo0dtMhIJ6Cxz.MBp5m0rG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_39"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:10.745416' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_18' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_18"], ["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_18"], ["title", "message_template_18"], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_5@example.jp"], ["encrypted_password", "$2a$04$EcIWFH.scVQ2rmSoxRzla.xa.juAGtBuTCh3B.PnERz6cXqY.vSDm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_5"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:10.756264' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_18' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 10, "receiver_id" = 11, "message_template_id" = 10, "updated_at" = '2011-12-16 03:40:10.767620' WHERE "message_requests"."id" = 980190963  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 43ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_40@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_40@example.jp"], ["encrypted_password", "$2a$04$t/53wGLtXDAAGz4uTRrjUOnWCc3fHaeESj2zoXIVa0LT5miqxpGSq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_40"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:10.813321' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_41@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_41@example.jp"], ["encrypted_password", "$2a$04$97q0v6f8qPGAYY/CuPo4quYlU68mzrhhp/kPt3f8twq3aLlGdRUya"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_41"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:10.822181' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_19' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_19"], ["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_19"], ["title", "message_template_19"], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_19' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_42@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_42@example.jp"], ["encrypted_password", "$2a$04$iUqBr26PBmhJ4e0PdRw0cOdIKyTk6uWOytwrOGRKHXQdAz429C4q6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_42"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:10.839209' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_43@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_43@example.jp"], ["encrypted_password", "$2a$04$vCKA7xE2C31/aLh1NTf1fOx2M1K8FnS7klmRnQk61qVFkjQ/AL9Cm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_43"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:10.848564' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_20' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_20"], ["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_20"], ["title", "message_template_20"], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_6@example.jp"], ["encrypted_password", "$2a$04$DB1mLXLNkPlWxPmFpLoU0e171LeeepptnkUa3Jb84pjtBqFWFdthm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_6"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:10.859771' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_19' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 10ms (Views: 0.8ms | ActiveRecord: 0.6ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_44@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_44@example.jp"], ["encrypted_password", "$2a$04$wGn3Jyyn2RCPoxoOhM6W.ObzTR3.iU1ST..sCXEhGfMWETnmN0Q96"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_44"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:10.882656' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_45@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_45@example.jp"], ["encrypted_password", "$2a$04$xkbPyKfza6RBukWhnllc0.FWPgY46I8yJ6tBDxBK1Fholz1H9X.bC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_45"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:10.891113' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_21' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_21"], ["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_21"], ["title", "message_template_21"], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_21' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_46@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_46@example.jp"], ["encrypted_password", "$2a$04$3LIfMn7nYDNgf8DAk9Vw1O6wK8ReWH1BZn1zlqQBmtz8ecL9gOjS2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_46"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:10.906296' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_47@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_47@example.jp"], ["encrypted_password", "$2a$04$utqDMm.SWi5XzLVoEPrXnOnRysKbyMfKrqiM/MoBGysMbSoQOkKE2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_47"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:10.914158' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_22' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_22"], ["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_22"], ["title", "message_template_22"], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_48@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_48@example.jp"], ["encrypted_password", "$2a$04$dtE4v5Lw4S5ywAjvv/JuE.4gHYKaN86dxY8/NHp0ZrDOIreUM9FaW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_48"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:10.924380' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 500 Internal Server Error in 38ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_49@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_49@example.jp"], ["encrypted_password", "$2a$04$u.l8zMh10uvi8dfe2XJ2KumGOETO75mjPOIyu1p.D4eB1vF.OtDzm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_49"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:10.974291' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_50@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_50@example.jp"], ["encrypted_password", "$2a$04$xhcSFOWeOZtc5LdsnaWWYufdXmC7UeovH3A62mW1aGkIZnBohmkGy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_50"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:10.982829' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_23' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_23"], ["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_23"], ["title", "message_template_23"], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_23' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_51@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_51@example.jp"], ["encrypted_password", "$2a$04$QP8dHYF6LwOKlWRVrt0Ua.IPnRA9qY2h97LiPthpmr7zOgt5WlqA6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_51"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:10 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:10.997611' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_52@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_52@example.jp"], ["encrypted_password", "$2a$04$EfeF2OGeObjFMLxkuf.iSO4IDHGEVrlLsQ495cn0WfDjvkAp9AJKi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_52"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:11.005868' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_24' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_24"], ["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_24"], ["title", "message_template_24"], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_53@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_53@example.jp"], ["encrypted_password", "$2a$04$ghOIYO8jxT0RyiKUBGi2POwP1vpuSIxYIIAnavbw6ffrLbfLLlQvC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_53"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:11.017285' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 500 Internal Server Error in 5ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_54@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_54@example.jp"], ["encrypted_password", "$2a$04$S4W8RSI6K5yy4BBQJoqcJO95xAqM8cL2UQPFh3PKeGSS.uQ.veLF2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_54"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:11.035804' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_55@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_55@example.jp"], ["encrypted_password", "$2a$04$DY8Tq2rT2HYcK4j2BRg8eul/KEg7wI4gKi/OwnH0ld4oMOvqScTWO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_55"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:11.044013' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_25' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_25"], ["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_25"], ["title", "message_template_25"], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_25' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_56@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_56@example.jp"], ["encrypted_password", "$2a$04$AFnr1nGerFlWyTaa6LSD8eEzTBQSt4aFV7zsAiXs53TEnccYoxQ8m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_56"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:11.059365' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_57@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_57@example.jp"], ["encrypted_password", "$2a$04$.iD8D9W3f11ABAy.hVUX/uU59bX1NMfJlLM.I3ZvnIqemkuLR9sZO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_57"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:11.067931' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_26' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_26"], ["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_26"], ["title", "message_template_26"], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_58@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_58@example.jp"], ["encrypted_password", "$2a$04$JfJTwSlPKWYZhASFCLOGhOphFRkYB.dcjtmPspFlNEh5MTZdS09We"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_58"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:11.078496' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 500 Internal Server Error in 5ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_59@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_59@example.jp"], ["encrypted_password", "$2a$04$8u773bUCeTCNwWDRLaloHOg7nzYnonzDLYGKWrnYGoNzktI7xZHF."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_59"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:11.128129' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_60@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_60@example.jp"], ["encrypted_password", "$2a$04$5ZewlknFWuhp2R71rCrLAeiF9g5DwcIyytLS95t.xCXNrh2LiDlbG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_60"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:11.137085' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_27' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_27"], ["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_27"], ["title", "message_template_27"], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_27' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_61@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_61@example.jp"], ["encrypted_password", "$2a$04$TuBYinrJGOi14Bm0SgxQ6uV3oS1n/0xtSlVkjKITEORJLI3ge3Ms6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_61"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:11.151365' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_62@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_62@example.jp"], ["encrypted_password", "$2a$04$N2GNEyMPuQsOEIH9H45CpeJDo0vN.Bhtb2pT0NqX4gLpY4xaJ94U."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_62"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:11.159164' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_28' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_28"], ["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_28"], ["title", "message_template_28"], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_63@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_63@example.jp"], ["encrypted_password", "$2a$04$KGbcPX6LJkJjCd2/v/QPuuOE0RG.5DcG94IRnI66eFwzqcqDfr9aW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_63"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:11.177199' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_64@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_64@example.jp"], ["encrypted_password", "$2a$04$O92ixiAsoI.CkbTNtCRKF.3OIB.4PGR6HOBUDTsEts5VncivbiN1O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_64"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:11.185817' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_29' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_29"], ["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_29"], ["title", "message_template_29"], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_29' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.6ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_65@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_65@example.jp"], ["encrypted_password", "$2a$04$LqlRffDslfe/mgeRvrwbZu7qE/v3TaUTQjTzDHSN1oGjTFfG3AQ0u"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_65"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:11.200828' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_66@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_66@example.jp"], ["encrypted_password", "$2a$04$QhdFRTw3xduP66QUNDLR0OMgC8WcHB0dikTOUzdIyMnIk6IE61Njy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_66"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:11.208537' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_30' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_30"], ["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_30"], ["title", "message_template_30"], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_67@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_67@example.jp"], ["encrypted_password", "$2a$04$choza4SXP.qOaEz4z9gksOtDggAhTlE067J4.Z/j0utk1v1Ltpr6a"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_67"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:11.227061' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_68@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_68@example.jp"], ["encrypted_password", "$2a$04$cTzW08G5ECks3dyKQHZYsuiLE7p2.hN7I8lzpV.a3OE8BwccaDG5G"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_68"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:11.235740' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_31' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_31"], ["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_31"], ["title", "message_template_31"], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_31' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_69@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (34.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_69@example.jp"], ["encrypted_password", "$2a$04$8IJrqyve84i/1mpFy8W4LejZtDXpDlm8k80ieg8sbfTm7baynqrES"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_69"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:11.284176' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_70@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_70@example.jp"], ["encrypted_password", "$2a$04$oXZiOL48tcFQXwpZ6CJ7Pu7PiI0frhXlcg1265ELTmze7s8cGuLd6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_70"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:11.291979' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_32' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_32"], ["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_32"], ["title", "message_template_32"], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_71@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_71@example.jp"], ["encrypted_password", "$2a$04$BcjijA.JsU9Zi0vEtEmp4u9.G2a7VtdY.D7mHTshfnxwFDyAj/UDG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_71"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:11.309911' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_72@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_72@example.jp"], ["encrypted_password", "$2a$04$SYpdbJjbanLwJELL6qf/pe5vibMjP4/1yypMnEvEbG9tK1MxjxWUq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_72"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:11.318442' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_33' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_33"], ["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_33"], ["title", "message_template_33"], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_33' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_7@example.jp"], ["encrypted_password", "$2a$04$ruV2ONWrsN/4Y2W2/P0vuuwPeDJtmltJkfvc/wysewhrY5FDxLfja"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_7"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:11.333775' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 6ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_73@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_73@example.jp"], ["encrypted_password", "$2a$04$PtVG2kHdL4.2aIc1SZfhw.Xs4ssj.l988ONrbhW58FrTA80.VVBfu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_73"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:11.351575' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_74@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_74@example.jp"], ["encrypted_password", "$2a$04$U/I6cSSKDT.eOSjBhBptzOzS/d3rY5l.nMom72ztyhuiERRS0pD4q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_74"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:11.359760' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_34' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_34"], ["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_34"], ["title", "message_template_34"], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_34' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_8@example.jp"], ["encrypted_password", "$2a$04$GnMKpm5roUkRXYPeBr7LCe90M.0QbPSlYAG.C8sSNj7Von0HJJ2Dq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_8"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:11.374768' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 6ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_75@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_75@example.jp"], ["encrypted_password", "$2a$04$rFfKSfkMrpwGYDoeQHblAuiyDof3w/qEV/k1OCHon2sinjVrrik2W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_75"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:11.394024' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_76@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_76@example.jp"], ["encrypted_password", "$2a$04$UbIgGHublpj5TsfDdqp1P./y2DX1Cxtbs4RBQYV43GQ3Ie8m88UX2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_76"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:11.402535' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_35' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_35"], ["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_35"], ["title", "message_template_35"], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_35' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_7@example.jp"], ["encrypted_password", "$2a$04$3JqBpaN9gyfl6XbEIdOPCOim3SBZ4nGilZxYsCbHiG2PT3mfDwT9q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_7"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:11.451531' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 6ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_77@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_77@example.jp"], ["encrypted_password", "$2a$04$kMYys9Ia6y3NOevnH0o45O9LtLSmWfwAQGskuQ2OpcGgJEhsklTVq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_77"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:11.468806' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_78@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_78@example.jp"], ["encrypted_password", "$2a$04$y1HMbBOifyHY3g/DjVzqLuaYnPxQ/8Jm6W6SVdnrF6FVf1/ov6YV2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_78"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:11.476767' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_36' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_36"], ["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_36"], ["title", "message_template_36"], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_36' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_8@example.jp"], ["encrypted_password", "$2a$04$FZycRNX.i5wPdWReeVRZzOU50FeWlaD3.9fKFA/ve3ZN6mBbB.f/m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_8"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:11.490914' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 6ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_79@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_79@example.jp"], ["encrypted_password", "$2a$04$VIJ9V8IuB6G6DIvJCnZFWOtzkQggC2FbZMMXMfPzmUGUxCYCASeAm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_79"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:11.509347' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_80@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_80@example.jp"], ["encrypted_password", "$2a$04$ThuRM3UkBWnS/eGjFrxm9uQrawux6BYo7qh6n2uNMkduXBVmYpt/i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_80"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:11.517737' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_37' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_37"], ["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_37"], ["title", "message_template_37"], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_37' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_81@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_81@example.jp"], ["encrypted_password", "$2a$04$b/MJ2rKqVJEq7hNG7GyvseOxA.Ef4xZ03YY7zc55Hp1q161S6yNY."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_81"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:11.532419' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 500 Internal Server Error in 5ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_82@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_82@example.jp"], ["encrypted_password", "$2a$04$5OLs2WTWBvfRCqbCdafureLeIX8ci7MkfQ79Q/P6ImuX0F6rG4Ke2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_82"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:11.548535' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_83@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_83@example.jp"], ["encrypted_password", "$2a$04$dRrg3uYIL/P9O/VDZyM.M.Yi8iTzlWshRxLNg.geuuPfegDvquSKO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_83"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:11.556903' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_38' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_38"], ["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_38"], ["title", "message_template_38"], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_38' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_84@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (34.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_84@example.jp"], ["encrypted_password", "$2a$04$vjq7aXmbViNRmEEFzUg6vekp/v4YV8WLNjs3f6CvAHYExOugSu.fi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_84"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:11.606585' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 500 Internal Server Error in 5ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_85@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_85@example.jp"], ["encrypted_password", "$2a$04$W7l5fs4MYK94axMf1aT3H.wsBMOaJT439lYCXnFUzTZn4audVdeby"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_85"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:11.623395' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_86@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_86@example.jp"], ["encrypted_password", "$2a$04$6avyQaWPFHc3WmizY.ISCOeXVuOLoIbEOydB2G66VJVfl6bcF51Za"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_86"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:11.632042' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_39' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_39"], ["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_39"], ["title", "message_template_39"], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_39' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 4ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_87@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_87@example.jp"], ["encrypted_password", "$2a$04$VIboW/d5zmGZaOa7XYmJ/.vHcZ.79IL12O/ze/V3l96toB7fojPYC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_87"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:11.654178' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_88@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_88@example.jp"], ["encrypted_password", "$2a$04$yJ4UIiSDzkiBlwVQhv9TrOe4AUPIQHOnS1f7pknsuQ6hp0Cbid0Ly"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_88"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:11.663585' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_40' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_40"], ["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_40"], ["title", "message_template_40"], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_40' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 4ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_41' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_41"], ["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_41"], ["title", "message_template_41"], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_9@example.jp"], ["encrypted_password", "$2a$04$MorXleVHHl6CevzIZ/UEreIstr5ipnv2hoORmzrlud4hiOXYtvApC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_9"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:11.693973' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 6ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_42' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_42"], ["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_42"], ["title", "message_template_42"], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_9@example.jp"], ["encrypted_password", "$2a$04$zt8kQGF7F.a9PnwmNziqRuc29rLxDWGnY1da1NGFCD7u9evVZd6Um"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_9"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:11.719175' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 9ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_43' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_43"], ["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_43"], ["title", "message_template_43"], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_89@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_89@example.jp"], ["encrypted_password", "$2a$04$dkc4QyaIU.qm7g0Px/YNOuQ7C/LGuxX9D3gZEKTbEn1Ar2AL8gd9K"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_89"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:11.749240' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 7ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_44' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_44"], ["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_44"], ["title", "message_template_44"], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML Completed 500 Internal Server Error in 5ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_10@example.jp"], ["encrypted_password", "$2a$04$RZSuOGc1r4no6x8Ke5e/XOj0r/MrmMXu7Fv.ejkx3QGB84XnLSUQu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_10"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:11.841244' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_45' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_45"], ["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_45"], ["title", "message_template_45"], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 14ms (Views: 6.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_10@example.jp"], ["encrypted_password", "$2a$04$vj9Qw.Bq7NFoNu8sKMbg2u0k89a19kZLsPkdiCdgcTyRADuQVZKRO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_10"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:11.877851' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_46' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_46"], ["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_46"], ["title", "message_template_46"], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 9ms (Views: 1.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_90@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_90@example.jp"], ["encrypted_password", "$2a$04$oTE5NddzMsW3DwxWmXk62ukOK0ixcp06QRO1VMwcjpA41UlsLcW1K"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_90"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:11.911828' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_47' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_47"], ["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_47"], ["title", "message_template_47"], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 7ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_48' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_48"], ["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_48"], ["title", "message_template_48"], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 5ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_11@example.jp"], ["encrypted_password", "$2a$04$xivZM0duTr1zO9jESBK3duKqCMS5jifBZs4b/g.690/KHLTccG1fW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_11"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:11.956401' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 8ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_11@example.jp"], ["encrypted_password", "$2a$04$9GDkcyGsML5yW7g8HJaAoOlawqsuzPE742fxblrwVjvCgfE/.SYNG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_11"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:40:11 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:11.980707' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_91@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_91@example.jp"], ["encrypted_password", "$2a$04$la0sJjSzF5dK45V068.d.eNJVwt4qsnjwsFaIFGwNt0DeZ2uZS15."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_91"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:12.007555' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 8ms Processing by MessageTemplatesController#new as HTML Completed 500 Internal Server Error in 5ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_12@example.jp"], ["encrypted_password", "$2a$04$rZ/d5qA0uXlS6Doy1dGKGuC4HqChANjVIa0wIwoeNGLDH/rOD3Com"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_12"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:12.042701' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_49' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_49"], ["created_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_49"], ["title", "message_template_49"], ["updated_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 65ms (Views: 2.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_12@example.jp"], ["encrypted_password", "$2a$04$YfUHgq.t82aZK5KffIRI7ufYFmuNOcqpxKMrG/3.o20FLJM4iLiDm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_12"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:12.132694' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_50' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_50"], ["created_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_50"], ["title", "message_template_50"], ["updated_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 8ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_92@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_92@example.jp"], ["encrypted_password", "$2a$04$7/hI0gwRHvRi5KHwsg7vwuHfeIdYSGQsr.XAuEdO8Pag5hssfCeEy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_92"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:12.164142' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_51' LIMIT 1 SQL (0.8ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_51"], ["created_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_51"], ["title", "message_template_51"], ["updated_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 8ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_52' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_52"], ["created_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_52"], ["title", "message_template_52"], ["updated_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 5ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_13@example.jp"], ["encrypted_password", "$2a$04$SaXKaWCAc8xqZzUzbWiDVevJO.c1bO1gCpotTGUyzypgwHG27ATsu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_13"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:12.208763' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_53", "status"=>"message_template_53", "body"=>"message_template_53"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 10ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_14@example.jp"], ["encrypted_password", "$2a$04$CQcNafr7Y.XYFJdDjeLXm.MVeE5awnk4hwfsLvFaImICg/h16ndAm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_14"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:12.237476' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_54", "status"=>"message_template_54", "body"=>"message_template_54"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 9ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.2ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_15@example.jp"], ["encrypted_password", "$2a$04$ahyOOnJYQCoyn2dYs0cRueBPrIKgfW1IlzsU29Jed0AW4IHHS9EwK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_15"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:12.270104' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 13ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.2ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_16@example.jp"], ["encrypted_password", "$2a$04$W/qznyvbewd12d0IVJFI/uLYpgyPcpMbw55lrHKLfqufYKcFEdt7q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_16"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:12.305483' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 8ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_13@example.jp"], ["encrypted_password", "$2a$04$dgp.dWsoO1sA00v/ezidpuP58X6yosCR0Y5WbnmAOZctxa2UJZb8m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_13"]] SQL (0.7ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:12.336335' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_57", "status"=>"message_template_57", "body"=>"message_template_57"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_14@example.jp"], ["encrypted_password", "$2a$04$SOi0H5fTQFhjhIIpTGF7f.JrS5yXwP1./NInPDhm.yp3y.XZhCYTC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_14"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:12.422155' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_58", "status"=>"message_template_58", "body"=>"message_template_58"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 8ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_15@example.jp"], ["encrypted_password", "$2a$04$/.uFC8h.5xXeEw7ob9pDUuQ2cbRugP0ZmQy2pj8dD.c6CTHA3AibC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_15"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:12.451789' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_16@example.jp"], ["encrypted_password", "$2a$04$bd/dlxfFmGjatpAO/IlqMeTnJUX4lwn3tQBBznhYSEd.OrqPIs/4u"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_16"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:12.477009' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_93@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_93@example.jp"], ["encrypted_password", "$2a$04$PCpatRSQ7DTBt/S8HFrcAOM1QUQEak9IlGlR/QM6qneSBpNmS.BpO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_93"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:12.502262' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_61", "status"=>"message_template_61", "body"=>"message_template_61"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_94@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_94@example.jp"], ["encrypted_password", "$2a$04$.T6gFD08DFhGifT1m2fTfOga9WyAunCIe3MHPvEKFSmhd2BfaTtRy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_94"]] SQL (2.6ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:12.534017' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_62", "status"=>"message_template_62", "body"=>"message_template_62"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_95@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_95@example.jp"], ["encrypted_password", "$2a$04$ACpfO5T6HiD7ni1/VPDxJO5BCKekXIQ6R6vyM5jzFdT0hNcGJVBxG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_95"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:12.559832' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_96@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_96@example.jp"], ["encrypted_password", "$2a$04$SJY/P9omLnBcS78oIkiej.RsxVr75MhX9vnAamiEWqHWxwsTh1/R."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_96"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:12.585161' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 7ms Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_65", "status"=>"message_template_65", "body"=>"message_template_65"}} Completed 500 Internal Server Error in 5ms Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_66", "status"=>"message_template_66", "body"=>"message_template_66"}} Completed 500 Internal Server Error in 5ms Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Completed 500 Internal Server Error in 5ms Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Completed 500 Internal Server Error in 4ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_69' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_69"], ["created_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_69"], ["title", "message_template_69"], ["updated_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (61.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_17@example.jp"], ["encrypted_password", "$2a$04$yhhCWnZ46nNVrwWEhkNKve2psh8A/GuHC1WhxihpGyn4cj7J4q3MO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_17"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:12.707460' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_70", "status"=>"message_template_70", "body"=>"message_template_70"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_70' AND "message_templates"."id" != 9) LIMIT 1  (0.1ms) UPDATE "message_templates" SET "title" = 'message_template_70', "status" = 'message_template_70', "body" = 'message_template_70', "updated_at" = '2011-12-16 03:40:12.720134' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates/9 Completed 302 Found in 24ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_71' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_71"], ["created_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_71"], ["title", "message_template_71"], ["updated_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (1.0ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_18@example.jp"], ["encrypted_password", "$2a$04$s4ANOTuHSS7RmEt8SZX5NOAwD2io1ocEO2H1.WAk4YYLoCoKhaWaC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_18"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:12.755005' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_72", "status"=>"message_template_72", "body"=>"message_template_72"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_72' AND "message_templates"."id" != 9) LIMIT 1  (0.2ms) UPDATE "message_templates" SET "title" = 'message_template_72', "status" = 'message_template_72', "body" = 'message_template_72', "updated_at" = '2011-12-16 03:40:12.769385' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates/9 Completed 302 Found in 14ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_73' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_73"], ["created_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_73"], ["title", "message_template_73"], ["updated_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_19@example.jp"], ["encrypted_password", "$2a$04$y0IaTP0J0AlyKcN.jEPrH.39y3XwP58agCbzbXWh36ZA14lh1CpqK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_19"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:12.793561' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_74", "status"=>"message_template_74", "body"=>"message_template_74"}, "position"=>"2", "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "message_templates" SET "position" = 0, "updated_at" = '2011-12-16 03:40:12.805192' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "message_templates" SET position = (position - 1) WHERE "message_templates"."id" IN (SELECT "message_templates"."id" FROM "message_templates" WHERE (1 = 1 AND position > 9) ORDER BY position) SQL (0.2ms) UPDATE "message_templates" SET position = (position + 1) WHERE "message_templates"."id" IN (SELECT "message_templates"."id" FROM "message_templates" WHERE (1 = 1 AND position >= 2) ORDER BY position)  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "message_templates" SET "position" = 2, "updated_at" = '2011-12-16 03:40:12.807484' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates Completed 302 Found in 12ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_75' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_75"], ["created_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_75"], ["title", "message_template_75"], ["updated_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_20@example.jp"], ["encrypted_password", "$2a$04$N7BPredu3FOnGMpHzvLglOztkA4RAFxKdllYc/9ziBWuQc.7MDgoC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_20"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:12.834823' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = '' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 14ms (Views: 1.2ms | ActiveRecord: 0.0ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_77' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_77"], ["created_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_77"], ["title", "message_template_77"], ["updated_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_17@example.jp"], ["encrypted_password", "$2a$04$2oln0gBihU2vjCuNiOPNGu5Bd78ZWvBLfXWuRME57YHcNHo8CnpWm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_17"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:12.871786' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_78", "status"=>"message_template_78", "body"=>"message_template_78"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 11ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_79' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_79"], ["created_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_79"], ["title", "message_template_79"], ["updated_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (61.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_18@example.jp"], ["encrypted_password", "$2a$04$HvERHJ6f0tsqEI5s6M.PRunLoqc6ZYPEuoj..pe28YoE8sGZonqLq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_18"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:12.973792' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_80", "status"=>"message_template_80", "body"=>"message_template_80"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 8ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_81' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_81"], ["created_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_81"], ["title", "message_template_81"], ["updated_at", Fri, 16 Dec 2011 03:40:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_19@example.jp"], ["encrypted_password", "$2a$04$pkW3EVBdK28Ns/C2TzDPdO.le4ANpaGbxBeKvECvGwxsBG9ZWzzkC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_19"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:13 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:40:13 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:13.004592' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 8ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_83' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_83"], ["created_at", Fri, 16 Dec 2011 03:40:13 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_83"], ["title", "message_template_83"], ["updated_at", Fri, 16 Dec 2011 03:40:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_97@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_97@example.jp"], ["encrypted_password", "$2a$04$Ynp/FR6kMPjPYvihHTGeY.033lpPlPWzRW2Wpc.yA5ua0wTx2WE/."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_97"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:13 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:13 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:13.036304' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_84", "status"=>"message_template_84", "body"=>"message_template_84"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 8ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (1.5ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_85' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_85"], ["created_at", Fri, 16 Dec 2011 03:40:13 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_85"], ["title", "message_template_85"], ["updated_at", Fri, 16 Dec 2011 03:40:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_98@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_98@example.jp"], ["encrypted_password", "$2a$04$6vOAwSuzLZN51D0f64HGrujphFoj0JXEFHYisXxZwOfindOY.AiTS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_98"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:13 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:13 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:13.073618' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_86", "status"=>"message_template_86", "body"=>"message_template_86"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 8ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_87' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_87"], ["created_at", Fri, 16 Dec 2011 03:40:13 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_87"], ["title", "message_template_87"], ["updated_at", Fri, 16 Dec 2011 03:40:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_99@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_99@example.jp"], ["encrypted_password", "$2a$04$AoLWvM6PYT5GyJRrauvsJOgsa5sXbdkWxIpyRJ41wX5WQLF.uf9q6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_99"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:13 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:13 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:13.103645' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 8ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.6ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_89' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_89"], ["created_at", Fri, 16 Dec 2011 03:40:13 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_89"], ["title", "message_template_89"], ["updated_at", Fri, 16 Dec 2011 03:40:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_90", "status"=>"message_template_90", "body"=>"message_template_90"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 10ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_91' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_91"], ["created_at", Fri, 16 Dec 2011 03:40:13 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_91"], ["title", "message_template_91"], ["updated_at", Fri, 16 Dec 2011 03:40:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_92", "status"=>"message_template_92", "body"=>"message_template_92"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 5ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_93' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_93"], ["created_at", Fri, 16 Dec 2011 03:40:13 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_93"], ["title", "message_template_93"], ["updated_at", Fri, 16 Dec 2011 03:40:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 7ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_95' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_95"], ["created_at", Fri, 16 Dec 2011 03:40:13 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_95"], ["title", "message_template_95"], ["updated_at", Fri, 16 Dec 2011 03:40:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_21@example.jp"], ["encrypted_password", "$2a$04$XPQOnVE0WhF/EQeSjVrXmeASE6G8oLMJYCVbBzN7uqCl3f/DluT5a"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_21"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:13 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:40:13 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:13.189868' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 12ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_96' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_96"], ["created_at", Fri, 16 Dec 2011 03:40:13 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_96"], ["title", "message_template_96"], ["updated_at", Fri, 16 Dec 2011 03:40:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (62.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_22@example.jp"], ["encrypted_password", "$2a$04$bWM3HSafhNRJd6OnZH3LgOy.n.yRc9v/WwKqGXhYvk2oIFes2CMmS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_22"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:13 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:40:13 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:13.288540' WHERE "roles"."id" = 4  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 8ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_97' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_97"], ["created_at", Fri, 16 Dec 2011 03:40:13 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_97"], ["title", "message_template_97"], ["updated_at", Fri, 16 Dec 2011 03:40:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_20@example.jp"], ["encrypted_password", "$2a$04$P8OX/Pwj8TPYx/BsqCfKC.FjqL6USdf2C2WukfiLXjg0wQTTjW0HK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_20"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:13 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:40:13 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:13.325897' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 8ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_98' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_98"], ["created_at", Fri, 16 Dec 2011 03:40:13 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_98"], ["title", "message_template_98"], ["updated_at", Fri, 16 Dec 2011 03:40:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_21@example.jp"], ["encrypted_password", "$2a$04$ee4Wb64FggFGQzvDY.Bue.wQlZEPHnztN5asF0lhaMlQ1VwRz6FrK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_21"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:13 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:40:13 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:13.357124' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 9ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_99' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_99"], ["created_at", Fri, 16 Dec 2011 03:40:13 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_99"], ["title", "message_template_99"], ["updated_at", Fri, 16 Dec 2011 03:40:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_100@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_100@example.jp"], ["encrypted_password", "$2a$04$sC.0SRyVempe4W5h9eIdG.QMwiTeRhHG.RvZRTqr7EPqrnj1R/7lm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_100"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:13 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:13 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:13.391032' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 7ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_100' LIMIT 1 SQL (0.8ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_100"], ["created_at", Fri, 16 Dec 2011 03:40:13 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_100"], ["title", "message_template_100"], ["updated_at", Fri, 16 Dec 2011 03:40:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_101@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_101@example.jp"], ["encrypted_password", "$2a$04$bSiz5b5OZ9OTPDqO28l90.1gvB8qC8qYebKy7fnzOQJzWsXMv8VTG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_101"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:13 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:13 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:13.424612' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 8ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_101' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_101"], ["created_at", Fri, 16 Dec 2011 03:40:13 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_101"], ["title", "message_template_101"], ["updated_at", Fri, 16 Dec 2011 03:40:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 5ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_102' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_102"], ["created_at", Fri, 16 Dec 2011 03:40:13 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_102"], ["title", "message_template_102"], ["updated_at", Fri, 16 Dec 2011 03:40:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 7ms Role Load (0.3ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:16 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_23@example.jp"], ["encrypted_password", "$2a$04$6ZscuKDzsbQoKjvgyL8UBujWUTAuyrTYckQY2jM78P7/9pyxn.n.i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:16 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_23"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:16 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:40:16 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:16.769727' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 96ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:16 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_24@example.jp"], ["encrypted_password", "$2a$04$vyR8SyVAQGYhxJStpeuEnOfd/M.pOez6TqJZ9.RomsxI5A000GVmG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:16 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_24"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:16 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:40:16 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:16.887676' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML Parameters: {"user_id"=>"admin_24"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 85ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:16 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_22@example.jp"], ["encrypted_password", "$2a$04$byJ7uZy2b/oWRjRoDWNeCOGDuZbRh2TA09F5nicMXEMS7FKdoyEAO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:16 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_22"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:16 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:40:16 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:16.992349' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 30ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.2ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:17 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_23@example.jp"], ["encrypted_password", "$2a$04$flZY0m1suWYoSOb1Eduv6emZKW9aqAmkeHpQJK1xyQ3gjlKnZ8SQe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:17 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_23"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:17 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:40:17 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:17.043667' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML Parameters: {"user_id"=>"librarian_23"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 88ms User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 28ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML Parameters: {"query"=>"you"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 77ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 33ms Processing by MessagesController#index as HTML Completed 500 Internal Server Error in 4ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Completed 500 Internal Server Error in 9ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 500 Internal Server Error in 12ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#show as HTML Parameters: {"id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 500 Internal Server Error in 9ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 500 Internal Server Error in 10ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:17 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_25@example.jp"], ["encrypted_password", "$2a$04$FLcWlfY9qOFPIcgtipkK4.MLCunaTlMI6ncV5/N3kga400560zV5q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:17 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_25"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:17 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:40:17 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:17.453619' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 Completed 500 Internal Server Error in 11ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:17 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_24@example.jp"], ["encrypted_password", "$2a$04$8Nws/8H4uuFpMVa3IH4pG.BC3skdc9CEVWVormkewDDSmSfIank6m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:17 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_24"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:17 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:40:17 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:17.484878' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 Completed 500 Internal Server Error in 10ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 8ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 8ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML Parameters: {"parent_id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 8ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML Parameters: {"parent_id"=>"2"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 10ms Processing by MessagesController#new as HTML Completed 500 Internal Server Error in 5ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_26@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:17 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_26@example.jp"], ["encrypted_password", "$2a$04$uZlDJfA2YvyICb/VGgTeYO0VNG2YyweLEu4U82ryW0IMBWdArTxXi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:17 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_26"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:17 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:40:17 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:17.575989' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 71ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:17 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_25@example.jp"], ["encrypted_password", "$2a$04$CkSg01QfYnbrceoqV6KLq.4J4CkpAt/wQu/aI60pzuPefGEQwbFGi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:17 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_25"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:17 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:40:17 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:17.666213' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 500 Internal Server Error in 14ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 8ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_102@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:17 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_102@example.jp"], ["encrypted_password", "$2a$04$t3yPTslIrEQF2RS1HcamuerVIUdDzh652gLwfmzSn9Zw9r4LIAOYu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:17 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_102"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:17 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:17 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:17.716654' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_103@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:17 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_103@example.jp"], ["encrypted_password", "$2a$04$7k8so0d37ZSaAeL1AlLOnOsfMNRxHM8Vaiq2QvcLxqHKnjFC/dd.W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:17 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_103"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:17 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:17 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:17.729385' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "user_102"]]  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_27@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:17 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_27@example.jp"], ["encrypted_password", "$2a$04$PifOTSAKAzTCJBPjI4BVVefQAIZWppVv2WsX0eU0k.qQhlWuakoT."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:17 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_27"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:17 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:40:17 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:17.750744' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 9ms User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_28@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:17 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_28@example.jp"], ["encrypted_password", "$2a$04$2gBqDIAO9HsEeAF/z27dLuTzIpdwoSynGgoLKAQb6Re9ZpYYEMYZW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:17 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_28"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:17 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:40:17 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:17.780835' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 8ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_29@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:17 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_29@example.jp"], ["encrypted_password", "$2a$04$MrDXv2.222J0dtREsRFhl.nUD7ns2.kxNnr.08uHgAE1OPATwmkwG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:17 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_29"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:17 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:40:17 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:17.810343' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 8ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_30@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:17 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_30@example.jp"], ["encrypted_password", "$2a$04$3f6PfDR3P2n11shLGi75Tuk6LkcEKkwzFv4aiyEDEHz5xCw/2tLTG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:17 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_30"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:17 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:40:17 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:17.835892' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 9ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test", "parent_id"=>"2"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 Completed 500 Internal Server Error in 8ms User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 75ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test", "parent_id"=>"2"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 9ms User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}} Completed 500 Internal Server Error in 5ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}} Completed 500 Internal Server Error in 6ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}} Completed 500 Internal Server Error in 5ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}} Completed 500 Internal Server Error in 6ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_104@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_104@example.jp"], ["encrypted_password", "$2a$04$Js4jSVJER2UmALJpXFZ1MOSiu5ebi1xYzBoUuwUXLyqYFXBemQuh2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_104"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:18.010074' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_105@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_105@example.jp"], ["encrypted_password", "$2a$04$BOp7VCLjEYpDpB0PpScx4.H//iarTNm1bISiAkCMqe2CDF6rLXhC2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_105"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:18.023184' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_104", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Completed 500 Internal Server Error in 10ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_106@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_106@example.jp"], ["encrypted_password", "$2a$04$uaUNXfRy8GDpu2kjF.BFgu8b0vymL9vQBszbZRGoFAE/yqblAhRBK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_106"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:18.052763' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_107@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_107@example.jp"], ["encrypted_password", "$2a$04$cxZeYpHvUFe2EIPiPESGy.vkC/wRS49GXRuS0zPVHzkzTd7nrrAhW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_107"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:18.066329' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_106", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Completed 500 Internal Server Error in 10ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_108@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_108@example.jp"], ["encrypted_password", "$2a$04$9W9zZFw2h7SjZF1k4/Td1.o.RXI4lbReB5eQ.ARuPdNUJIC.x5KJi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_108"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:18.100985' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_109@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_109@example.jp"], ["encrypted_password", "$2a$04$8xfomOneTylNE/5ackca0.Ldf1SLaKkStxxEgtu3A4kbcV4K6ISLC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_109"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["user_id", 9]]  (1.4ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:18.116041' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Completed 500 Internal Server Error in 9ms Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_110@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_110@example.jp"], ["encrypted_password", "$2a$04$JYEOaEdpFm/2Rou81KdWOeh0MJy0aa2ZITR6l3eQg.nSQyiCMngN."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_110"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:18.145021' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (1.3ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_111@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (64.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_111@example.jp"], ["encrypted_password", "$2a$04$7N6nnSqQwGsZ9da4ubasYuwYAmLC/xHPk5Bx0sbuEvlbtpwbJetzi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_111"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:18.222281' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Completed 500 Internal Server Error in 12ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_112@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_112@example.jp"], ["encrypted_password", "$2a$04$U5WHqZd8yRdyxPBUzSGtjO36kf9df3QkSb6J/W4CIYNTop4ba9tsi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_112"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:18.257581' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_113@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_113@example.jp"], ["encrypted_password", "$2a$04$qN/XHJp.N6yFZrrjKXLyYei9FHyHbGwNHo4OFx8TaFUHFG/McqvAm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_113"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:18.271837' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_112", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 500 Internal Server Error in 10ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_114@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_114@example.jp"], ["encrypted_password", "$2a$04$TmjKdTxROLHSA3yEF6CNqehI89KHfZjVUZqAP1doB/tApKCNWN6wK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_114"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:18.301044' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_115@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_115@example.jp"], ["encrypted_password", "$2a$04$pVFGsBl4Thh3Td02dOTWs.btZrghUHNsIb7U7LP5TY8dMUpvN3io2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_115"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:18.314239' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_114", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 500 Internal Server Error in 9ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_116@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_116@example.jp"], ["encrypted_password", "$2a$04$kIXkfVPit5VsfAmtDvP9x.ZHkix2P8fsxAJVgO4S6IM0ywHSL7gme"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_116"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:18.345401' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (1.0ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.4ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_117@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_117@example.jp"], ["encrypted_password", "$2a$04$iMobtXRtp6g57i3YzCMNc.dWsbQcrecQsLeEJqIOqz0xOR3/0F3Qq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_117"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:18.359575' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 500 Internal Server Error in 15ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.2ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_118@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_118@example.jp"], ["encrypted_password", "$2a$04$mp0kxpx2MfLPhPJ4Ur17KOBy2MzibzhKBAghVhMknY/PKyxSk15dS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_118"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:18.402224' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_119@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_119@example.jp"], ["encrypted_password", "$2a$04$Er5rRC2XO4WWyS3A2y9E/edsRSTHcgfUBDlkJlyT9liW0Tu47yW1e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_119"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:18.416745' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (1.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 500 Internal Server Error in 18ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_120@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (72.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_120@example.jp"], ["encrypted_password", "$2a$04$3nyvdzon1.vbScPFvb39u.yoQP.MOgJ7PqNJyna5xSGlbfcDInozy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_120"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:18.526099' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_121@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_121@example.jp"], ["encrypted_password", "$2a$04$3wUtln3oDUzwoDworfYZd.TBb9ERnInn76y9wSRJ8PMlSbydHre.C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_121"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:18.539321' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 9ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_122@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_122@example.jp"], ["encrypted_password", "$2a$04$G.vIpqWSApB3qo/rSc75.ezO2/VanNFhqDxtxk2K/9Ke7qtzBuGLW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_122"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:18.570405' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_123@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_123@example.jp"], ["encrypted_password", "$2a$04$S90fB/AUFJu/HQCMVi8kwOc0rAZx4pjmPW0LyWi0lOQWsad02ncAa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_123"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:18.583995' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 11ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_124@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_124@example.jp"], ["encrypted_password", "$2a$04$83Auw7dcnpmLzbdiZqvNKeJtY/Mkt8XkYMUUdE1mB3lZhJQiQCiri"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_124"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:18.619637' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (2.0ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_125@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_125@example.jp"], ["encrypted_password", "$2a$04$1FUNq2EdWiRSWzCyXyjJYue/pRZpFOpUDTfIbUf5mxZPYCDaGT00m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_125"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:18.636491' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_124", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 10ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_126@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_126@example.jp"], ["encrypted_password", "$2a$04$UnN7xDLhTSG8a341T07cfOx8diakYxupQqYAqjt0tlDe5Nrg36.m2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_126"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:18.666174' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_127@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_127@example.jp"], ["encrypted_password", "$2a$04$K/U2sHstdzNYxhNvrsRLsOIsXM0rkl/mJ6He8N1Fw61ycfMFpnFDu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_127"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:18.681061' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_126", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 10ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_128@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_128@example.jp"], ["encrypted_password", "$2a$04$6s29YUbGo.pwIhW.QsP3NeOIbK2GdHHhB0mdW1EZP8ksU6DAy0iGC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_128"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:18.710889' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_129@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_129@example.jp"], ["encrypted_password", "$2a$04$ElBmYHA7A5uRn5lqUVdYBuMqs4Kj98x2mcrnjHUQBhbZXvUTU07oS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_129"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["user_id", 9]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:18.727335' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 76ms Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_130@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_130@example.jp"], ["encrypted_password", "$2a$04$zseSBjM2Zs.u9xdkf8VRbuGGYc9237j3HljAE4DyI7oog7.0mLPa6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_130"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:18.830945' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_131@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_131@example.jp"], ["encrypted_password", "$2a$04$z0yWsJj4Fe3UAwu9MM4Eh.R4.Wo0cRmEL3uuxRVF7xqcIftMlCt2W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_131"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:18.847005' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 8ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_132@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_132@example.jp"], ["encrypted_password", "$2a$04$JxAM3z/duxdeEOvXzVpD..6IhHQvYyXsy4AvHesug/xMj06I6Y6ee"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_132"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:18.886724' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.2ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_133@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_133@example.jp"], ["encrypted_password", "$2a$04$IBwqB84Wa08OdmTxMAOam.iHRFhTWUD1qJWd5k1hSn6rMA8VWXGgm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_133"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:40:18 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:40:18.904240' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] Completed 500 Internal Server Error in 6ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#destroy as HTML Parameters: {"id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 500 Internal Server Error in 17ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 500 Internal Server Error in 11ms Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 6ms Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 6ms Fixture Delete (0.3ms) DELETE FROM "message_requests" Fixture Insert (0.1ms) INSERT INTO "message_requests" ("sender_id", "receiver_id", "message_template_id", "state", "created_at", "updated_at", "id") VALUES (1, 1, 1, 'pending', '2011-12-16 03:41:21', '2011-12-16 03:41:21', 980190962) Fixture Insert (0.0ms) INSERT INTO "message_requests" ("sender_id", "receiver_id", "message_template_id", "state", "created_at", "updated_at", "id") VALUES (1, 1, 1, 'pending', '2011-12-16 03:41:21', '2011-12-16 03:41:21', 298486374) Fixture Delete (0.1ms) DELETE FROM "message_templates" Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (1, 'reservation_accepted', 'Reservation accepted', 'Reservation accepted', 1, '2011-12-16 03:41:21', '2011-12-16 03:41:21') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (2, 'item_received', 'Item received', 'Item received', 2, '2011-12-16 03:41:21', '2011-12-16 03:41:21') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (3, 'reservation_expired_for_patron', 'Reservation expired', 'Reservation expired', 3, '2011-12-16 03:41:21', '2011-12-16 03:41:21') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (4, 'reservation_expired_for_library', 'Reservation expired', 'Reservation expired', 4, '2011-12-16 03:41:21', '2011-12-16 03:41:21') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (5, 'reservation_canceled_for_patron', 'Reservation canceled', 'Reservation canceled', 5, '2011-12-16 03:41:21', '2011-12-16 03:41:21') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (6, 'reservation_canceled_for_library', 'Reservation canceled', 'Reservation canceled', 6, '2011-12-16 03:41:21', '2011-12-16 03:41:21') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (7, 'recall_item', 'Recall item', 'Recall item', 7, '2011-12-16 03:41:21', '2011-12-16 03:41:21') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (8, 'recall_overdue_item', 'Recall overdue item', 'Recall overdue item', 8, '2011-12-16 03:41:21', '2011-12-16 03:41:21') Fixture Delete (0.2ms) DELETE FROM "messages" Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "read_at", "state", "lft", "rgt", "updated_at") VALUES (1, 3, 4, 'First Message', 'Abby, you get the first message', '2007-07-04 12:10:47.000000', '2011-12-13 03:41:21.000000', 'unread', 1, 2, '2011-12-16 03:41:21') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (2, 4, 3, 'RE: First Message', 'Thanks Dad! You are the coolest!', '2011-12-14 03:41:21.000000', 'unread', 3, 4, '2011-12-16 03:41:21') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (3, 3, 4, 'Second Message', 'Catie, you get the 2nd message', '2011-12-15 03:41:21.000000', 'unread', 5, 6, '2011-12-16 03:41:21') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (6, 4, 5, 'Dad!', 'He is sucha dork.', '2011-12-14 03:41:21.000000', 'unread', 7, 8, '2011-12-16 03:41:21') Fixture Delete (0.1ms) DELETE FROM "roles" Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Guest', 'Guest', 1, NULL, '2011-12-16 03:41:21', '2011-12-16 03:41:21') Fixture Insert (0.0ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('User', 'User', 2, NULL, '2011-12-16 03:41:21', '2011-12-16 03:41:21') Fixture Insert (0.0ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Librarian', 'Librarian', 3, NULL, '2011-12-16 03:41:21', '2011-12-16 03:41:21') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Administrator', 'Administrator', 4, NULL, '2011-12-16 03:41:21', '2011-12-16 03:41:21') Fixture Delete (0.1ms) DELETE FROM "user_groups" Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('(not specified)', '(not specified)', '2007-12-13 12:00:51.564542', 1, '', '2007-12-13 12:00:01.674976', 1) Fixture Insert (0.0ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('User', 'User', '2007-12-22 18:14:56.836548', 2, '', '2007-12-22 18:14:40.173954', 2) Fixture Insert (0.0ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('Faculty', 'Faculty', '2007-12-22 18:15:05.134351', 3, '', '2007-12-22 18:15:05.126457', 3) Fixture Delete (0.1ms) DELETE FROM "user_has_roles" Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (1, 4, '2011-12-16 03:41:21', '2011-12-16 03:41:21', 135138680) Fixture Insert (0.0ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (2, 3, '2011-12-16 03:41:21', '2011-12-16 03:41:21', 344583537) Fixture Insert (0.0ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (3, 2, '2011-12-16 03:41:21', '2011-12-16 03:41:21', 206669143) Fixture Insert (0.0ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (4, 3, '2011-12-16 03:41:21', '2011-12-16 03:41:21', 226540757) Fixture Insert (0.0ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (5, 2, '2011-12-16 03:41:21', '2011-12-16 03:41:21', 358143215) Fixture Insert (0.0ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (6, 2, '2011-12-16 03:41:21', '2011-12-16 03:41:21', 576709754) Fixture Insert (0.0ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (7, 2, '2011-12-16 03:41:21', '2011-12-16 03:41:21', 1010528733) Fixture Delete (0.2ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:16:30.163731', '$2a$10$vHohD1WflnTIqAa8zMkF9evwAgIZRw3XuR4d3bi29M.jph/MB/AJi', 2, 1, NULL, 'admin', 'tanabe@kamata.lib.teu.ac.jp', '2007-11-19 07:58:32.111941', 4) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 03:41:16.337474', '$2a$10$9O2VuTccN4gHq36ARg0QReSrb1D7WrBBhZZ759RM9moHbB0W5zCzS', 1, 2, NULL, 'librarian1', 'librarian1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:33.172441', 1) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', '$2a$10$JthS59A0BNkDOoFpCXM0V.GhhffKaoWKbzpPahYp/vTFrOyM7h/uW', 1, 3, NULL, 'user1', 'user1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:23.340575', '$2a$10$YmmTGrYQ1Ir6oc7wXnp.GuNeO1eYLoP3sv8wMSIrTdaGw2BPwRrpS', 1, 4, NULL, 'librarian2', '2008-01-18 03:24:04.222344', 1) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:44.711117', '$2a$10$i7UjJhLVrJM/J7qaTwW39OXw1NiwowUEbtNHVDV0sqMLjX9.UO9ca', 1, 5, NULL, 'user2', '2008-01-18 04:29:06.922728', 2) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 6, NULL, 'user3', 'user3@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 7, NULL, 'user4', 'user4@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_1@example.jp"], ["encrypted_password", "$2a$04$TV5aFcDTZL9TPusPLewUCuFfQpPdd95ePdkhlQi5D/H4OcyPBqoaS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_1"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:21 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:41:21 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:21.873635' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageRequest Load (0.2ms) SELECT "message_requests".* FROM "message_requests" WHERE (sent_at IS NULL AND state = 'pending') ORDER BY created_at DESC Completed 500 Internal Server Error in 47ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_1@example.jp"], ["encrypted_password", "$2a$04$4zqdtt/q4jp8JDGxAXE9mehwLj3R6tYf3PPqIbau0RetM./RgtKUa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_1"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:21 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:41:21 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:21.940420' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageRequest Load (0.2ms) SELECT "message_requests".* FROM "message_requests" WHERE (sent_at IS NULL AND state = 'pending') ORDER BY created_at DESC Completed 500 Internal Server Error in 6ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_1@example.jp"], ["encrypted_password", "$2a$04$IRTaTGYjXTJnsykI1ukApesaR5hmk17gmmGojN2GPLvcQboxcDerq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_1"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:21 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:21 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:21.962001' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 6ms Processing by MessageRequestsController#index as HTML Completed 500 Internal Server Error in 6ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_2@example.jp"], ["encrypted_password", "$2a$04$V/Hx1Q7dZmSdTGbmv64yGezWp3226xzrWE018dvO9xFTC5KFaxKJO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_2"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:21 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:41:21 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:21.989800' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_2@example.jp"], ["encrypted_password", "$2a$04$lryWzZB.E6dJPpUUQaLHp.mT4/Ln6xrgI5my/vYJLdGiE3BaUZnzW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_2"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:21 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:21 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:21.999940' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_3@example.jp"], ["encrypted_password", "$2a$04$2uOeSDejSXTr5GM62.wgZead1NFo.InkQQFFidXrz93p7Ze7SvDjy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_3"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:22.008313' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_1' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_1"], ["created_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_1"], ["title", "message_template_1"], ["updated_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_1' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.9ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.2ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 76ms (Views: 20.9ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_2@example.jp"], ["encrypted_password", "$2a$04$DLTs.O5Ydpsv4ChVYkXyTe2WZwq.nH.A4IbDjwON/w87.ev07Xnyi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_2"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:22.135133' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_4@example.jp"], ["encrypted_password", "$2a$04$fXwhQwgJblqnH1i8vOR0UeNuWr7J1EhtlYZ6AoNQ5NslMTssZrdjq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_4"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["user_id", 9]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:22.148094' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.2ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.4ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_5@example.jp"], ["encrypted_password", "$2a$04$L3C7Z.c.Bu2nDJaErq7Iy.SfOpPiUBmK8UJVp9fjRPvy1ZyjPWlGS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_5"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:22.163533' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_2' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_2"], ["created_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_2"], ["title", "message_template_2"], ["updated_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_2' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 9ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_6@example.jp"], ["encrypted_password", "$2a$04$aoVgwDc7mDwVj.Og9y8kIulJZxj/IotBfyiG4K8blaAW3Dap5pbUa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_6"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:22.202544' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_7@example.jp"], ["encrypted_password", "$2a$04$8t04qZxqlGeA8KQxanT.3u5f.APtI1ijyqpUSkgacEbulOw7HmTv."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_7"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:22.215409' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_8@example.jp"], ["encrypted_password", "$2a$04$KJszvD7XO9GUBeDjJScR2ewGTnyoUs1h4DuIPOQX1IyOOX7gMnBCy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_8"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:22.227600' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_3' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_3"], ["created_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_3"], ["title", "message_template_3"], ["updated_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_3' AND "message_templates"."id" != 9) LIMIT 1 SQL (1.1ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 9ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_9@example.jp"], ["encrypted_password", "$2a$04$gOKB8i5ipR0kGpNHN4ei/OjyGGOWkMJBsLXKZt1ViJ4atDFp/E/LC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_9"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:22.316090' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_10@example.jp"], ["encrypted_password", "$2a$04$bpWRzOeqREseAyozcbclruykFhl9hnqgaAsXY/bNvDxGWn1/RtnJK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_10"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:22.329552' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_4' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_4"], ["created_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_4"], ["title", "message_template_4"], ["updated_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_4' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 6ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_3@example.jp"], ["encrypted_password", "$2a$04$KbzqvH67bVeAJ6wpapkV2O5eDMiBfJ.ZK8clErjpIWW9Zqpd42glu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_3"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:22.368903' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_11@example.jp"], ["encrypted_password", "$2a$04$3EEDybbu7m.uuMsndNnxoOhJAPCs3vJrkqggt9qJEugXdoXN9F5CG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_11"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:22.382210' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_12@example.jp"], ["encrypted_password", "$2a$04$.2PljYYI8U5BIcWunFxQ4.69FHJs6kiARjJNqBpHJNar1sgoAVjmu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_12"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:22.399620' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_5' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_5"], ["created_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_5"], ["title", "message_template_5"], ["updated_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_5' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 15ms (Views: 4.0ms | ActiveRecord: 0.7ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_3@example.jp"], ["encrypted_password", "$2a$04$HRFODOfRxf9e3NLrU4xB8uGomjqARbuqjX4veJvRVVX4RVQqrgHXK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_3"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:22.451606' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_13@example.jp"], ["encrypted_password", "$2a$04$.X3z2KYl1ZgfmTyq.zENG.7cj1hC2RT6O5y7Kg63sKgUqJp00IEz2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_13"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:22.468006' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_14@example.jp"], ["encrypted_password", "$2a$04$IQnqe6osA2UriY43H5wI3eyHh6v1fl0hH7GpR3SHXmPFFHq4m7IY6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_14"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:22.482351' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_6' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_6"], ["created_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_6"], ["title", "message_template_6"], ["updated_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_6' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 10ms (Views: 1.2ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_15@example.jp"], ["encrypted_password", "$2a$04$qawBFTJcPHDoDcur2xRiPumIVxalfLy0FNKVePci0LgS0gIDAH7VG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_15"]] SQL (0.4ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:22.586956' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_16@example.jp"], ["encrypted_password", "$2a$04$WM0jWLs50zZoX2kVSuz6Luhfx0AHSlPWwvLZouWABRt4GA1SfpqQu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_16"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:22.601951' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_17@example.jp"], ["encrypted_password", "$2a$04$Q/paHDvwQhPAKSMexrjsdeZmdWDdpCTo02XEPVzy3T9rCSMRtDyay"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_17"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:22.616654' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_7' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_7"], ["created_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_7"], ["title", "message_template_7"], ["updated_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_7' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 8ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_18@example.jp"], ["encrypted_password", "$2a$04$c1zj/5GHvsFx/GwpM5es1OOFcpxhnCFAIio61GFCa1GaPJyY7sdMa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_18"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:22.653800' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_19@example.jp"], ["encrypted_password", "$2a$04$sjd9M8xQys/uQ.QnDEUhHeT0wafsK8aIPAgU6Rq3IrV51nxwX8smK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_19"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:22.668836' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_8' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_8"], ["created_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_8"], ["title", "message_template_8"], ["updated_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_8' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_20@example.jp"], ["encrypted_password", "$2a$04$7VaejnnofyIRDILOTE4jfepb.Gql5dzLnS.YNOz.rYMusXiCoOYJW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_20"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:22.704078' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_21@example.jp"], ["encrypted_password", "$2a$04$r7zpV9PxTAtcHggTDwwqeeW2orkcQXl6fzYuls72IwjAVe0LZU58C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_21"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:22.717914' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_9' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_9"], ["created_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_9"], ["title", "message_template_9"], ["updated_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.5ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_9' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_22@example.jp"], ["encrypted_password", "$2a$04$tW9WWbQYE/lEL8H8HG3Cr.VLF7DX45YciB1Fyjs/rbhrw2/FPOK8a"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_22"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:22.742145' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.6ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_23@example.jp"], ["encrypted_password", "$2a$04$eUKOW2pxvw6t9.LsGeGt3e1h/bNtoay9r9np0MwyONH9hPTQ.8gjO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_23"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:22.758517' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_10' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_10"], ["created_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_10"], ["title", "message_template_10"], ["updated_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_4@example.jp"], ["encrypted_password", "$2a$04$IMyFqcs4ZzaQ6KejE/fiseB.LBnXa/BqMLd3.yLDXmSb3gxD5S5j6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_4"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:22.774190' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_10' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 10, "receiver_id" = 11, "message_template_id" = 10, "updated_at" = '2011-12-16 03:41:22.791890' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 19ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (55.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_24@example.jp"], ["encrypted_password", "$2a$04$.kNGPwSccmBhlriY4x1BuOQsXs74PvUL/uhli9/ElijoxRct8bAtC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_24"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:22.867732' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_25@example.jp"], ["encrypted_password", "$2a$04$KFIXnyndsjLqmYrwvpfTqujWA9/Q629ssUFKIrquz3CZl8bapgn9G"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_25"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:22.881710' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_11' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_11"], ["created_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_11"], ["title", "message_template_11"], ["updated_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_11' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00]]  (2.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_26@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_26@example.jp"], ["encrypted_password", "$2a$04$c6c1pgZuNxGngDawftxT2eB2hMH95I/MqPysD8/gCD0mLasqZG9vy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_26"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:22.907437' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_27@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_27@example.jp"], ["encrypted_password", "$2a$04$TOTNaMi8/QKLJkEzUIOCBOm.A4CQbl8/jXje81lfMrvmEBJsE3qca"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_27"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:22.921104' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_12' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_12"], ["created_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_12"], ["title", "message_template_12"], ["updated_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_5@example.jp"], ["encrypted_password", "$2a$04$8g41DdGsPdeiHzGKvqZqCeBFlLbS39yCcazXIzv6mIUUv3ki0/D9C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_5"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:22.937868' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_12' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 10, "receiver_id" = 11, "message_template_id" = 10, "updated_at" = '2011-12-16 03:41:22.959805' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 23ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_28@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_28@example.jp"], ["encrypted_password", "$2a$04$1fW0uDyO2i0xkfV7UVova.JeF3bsmkAX8FLkxdkFrRuy.NFPBnGU6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_28"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:22.983081' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_29@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_29@example.jp"], ["encrypted_password", "$2a$04$PfXuu3fXdCHVEAqoZUnNou2x6/5Ybr4mEh0VN0wwyulkddsGMLx2C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_29"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:22 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:22.996677' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_13' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_13"], ["created_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_13"], ["title", "message_template_13"], ["updated_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_13' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_30@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_30@example.jp"], ["encrypted_password", "$2a$04$l.QrcGP3u31ZicGpDu3UFe0xzPorVlMPz6t5BLf6qPEfM93QbqLB6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_30"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:23.019778' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_31@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_31@example.jp"], ["encrypted_password", "$2a$04$8wcvqRmkwNb4MwbVMYQTB.nrV2x6Cxf.sPgR5yr1V1eKT7suecV0S"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_31"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:23.036421' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_14' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_14"], ["created_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_14"], ["title", "message_template_14"], ["updated_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_6@example.jp"], ["encrypted_password", "$2a$04$n5q92woapmpZgo45jGk9sOUSSuZQPcHIkFYJtduf.EwbntlYxmw4m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_6"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:23.055321' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_13' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 23ms (Views: 2.6ms | ActiveRecord: 1.1ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_32@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_32@example.jp"], ["encrypted_password", "$2a$04$7c1HJTphEtLEvsAjD9F7kOK.I8x3/IbJZSOXvpvJGPniQuqUSGtAi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_32"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:23.158388' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_33@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_33@example.jp"], ["encrypted_password", "$2a$04$lr52TzkLOl1.fk/zQ0bsAOhANqxKf3vwH0UKnlchWBV.y1/lW3OjG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_33"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:23.173164' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (1.8ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_15' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_15"], ["created_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_15"], ["title", "message_template_15"], ["updated_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_15' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_34@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_34@example.jp"], ["encrypted_password", "$2a$04$yEFcaaxK1lUUnK41zQYT0OkNGuRXEB4Pt6lKHDbafwl2SQ2Kekj1i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_34"]] SQL (1.0ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:23.201625' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_35@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_35@example.jp"], ["encrypted_password", "$2a$04$g9j5aSJnlcplFf4LAkMDouG2ma/ypPM/aLn3DpY45ZoMO0gw3KYNG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_35"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:23.214228' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_16' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_16"], ["created_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_16"], ["title", "message_template_16"], ["updated_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_4@example.jp"], ["encrypted_password", "$2a$04$cmcjkf94XW9boBRoPDH99O90GYNBfkIfOfkEIuF9wO6mKVKfrk.LO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_4"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:23.231344' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.6ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_16' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 10, "receiver_id" = 11, "message_template_id" = 10, "updated_at" = '2011-12-16 03:41:23.249534' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 17ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_36@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_36@example.jp"], ["encrypted_password", "$2a$04$99K9NeOj0Oc1l6GPUGduweW1rPRk.QLb8BFI9HCxHFVwyD4DMoGcK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_36"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:23.268599' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_37@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_37@example.jp"], ["encrypted_password", "$2a$04$5d4eO6h.fyN211I1mysxfOQk1z8mcfdQ/ASGwsYV9vR5lkqMgGpMW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_37"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:23.283470' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_17' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_17"], ["created_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_17"], ["title", "message_template_17"], ["updated_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_17' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.4ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.3ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_38@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (9.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_38@example.jp"], ["encrypted_password", "$2a$04$VhKVBP3vwHQjdBvb5/dE3u5SngdZjAbcqHgyu/t0f.Eeofj9mqLeG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_38"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:23.324269' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_39@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_39@example.jp"], ["encrypted_password", "$2a$04$ADqi967.i6715e8iYa7ZwO39sB/VbivFJMJcKWCv38NWd2h2/zjM6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_39"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:23.338480' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_18' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_18"], ["created_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_18"], ["title", "message_template_18"], ["updated_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_5@example.jp"], ["encrypted_password", "$2a$04$T04xJWUxxg0p7FHCnhLpVevMvqArTlikTR02N98M4vVY3NFIG7u7."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_5"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:23.356018' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_18' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 10, "receiver_id" = 11, "message_template_id" = 10, "updated_at" = '2011-12-16 03:41:23.378854' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 76ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_40@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_40@example.jp"], ["encrypted_password", "$2a$04$BJ4AtZU.OPqq21xCmaAzS.uNzIi3WmnoJTe1sEOzQU6prfOG605ju"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_40"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:23.452850' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_41@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_41@example.jp"], ["encrypted_password", "$2a$04$oMdgddMSeE0cPoRNBQ948.zbHxakTMykcRid4rehtBK5pK/0LBZ2a"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_41"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:23.465564' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_19' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_19"], ["created_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_19"], ["title", "message_template_19"], ["updated_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_19' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_42@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_42@example.jp"], ["encrypted_password", "$2a$04$.pn4lIWVPtCV/vrL.pdOaO2Gc6l8ByXcll/1pH73x.ik7/tWVPb8a"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_42"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:23.499323' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_43@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_43@example.jp"], ["encrypted_password", "$2a$04$.fVFJryUrV0B9qX8zDzya.rF13hkZyVYP3A6AK4L.VMTUfUoe049y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_43"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:23.513984' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_20' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_20"], ["created_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_20"], ["title", "message_template_20"], ["updated_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_6@example.jp"], ["encrypted_password", "$2a$04$p0oWJnyID2UpKwnBzaehz.kIQrnfTllaDKXQvPP1qCNNLC7WQu852"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_6"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:23.531217' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_19' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 16ms (Views: 1.3ms | ActiveRecord: 1.0ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_44@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (8.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_44@example.jp"], ["encrypted_password", "$2a$04$Oplqp0uprL1YVuGCFo1QEOKF1G/uDmUQ4QPv2kZo4iEyypK5yNDu."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_44"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:23.579635' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_45@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_45@example.jp"], ["encrypted_password", "$2a$04$4CyO2pnNN.sX25QOFKQ.Y.ql2JFzv3yCqi2.Kb04WYVnKhb14hkgm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_45"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:23.594052' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_21' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_21"], ["created_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_21"], ["title", "message_template_21"], ["updated_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_21' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_46@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_46@example.jp"], ["encrypted_password", "$2a$04$0cHyuXiiOgY9VizjycDzIuVcPmSl1WQaGByXwm55vgD5MTDjZez5W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_46"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:23.621533' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_47@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_47@example.jp"], ["encrypted_password", "$2a$04$G0z7g8XGOXfiX3AkyRG4t.kzI.VumtNAv6vLX/t3bosYp0SmZneLK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_47"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:23.634145' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_22' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_22"], ["created_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_22"], ["title", "message_template_22"], ["updated_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_48@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_48@example.jp"], ["encrypted_password", "$2a$04$UNxjDQTCFH43grjg/hDKwewIA08I2I.NMBPP5YP0tUDBSyIspJh/G"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_48"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:23.653798' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 500 Internal Server Error in 67ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_49@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_49@example.jp"], ["encrypted_password", "$2a$04$OqZz3CvtHYy2evn/efKE.upLcBT8b8Tg2e33t6oOhwtx60yVs/nF."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_49"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:23.744451' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_50@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_50@example.jp"], ["encrypted_password", "$2a$04$plWuwJB0WANTJsH2xYK3/eCY1H8D4iOy3lpXJyn99PnIqlTwh3Vxe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_50"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:23.759921' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_23' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_23"], ["created_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_23"], ["title", "message_template_23"], ["updated_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_23' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.9ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.3ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_51@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_51@example.jp"], ["encrypted_password", "$2a$04$/b7qkF/M3rq8Wsc497RwSeaz05mXKVQ3z0autuZXWcKUW2Y0cfZfa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_51"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:23.786064' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_52@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_52@example.jp"], ["encrypted_password", "$2a$04$nkqQGgCWS8YASiQGKYiFK.GoKO9t8k8D09mYUARFR7RhdKyc5UFoS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_52"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:23.804791' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_24' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_24"], ["created_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_24"], ["title", "message_template_24"], ["updated_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_53@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_53@example.jp"], ["encrypted_password", "$2a$04$p5LiBoBf.X3.fxr8FqoJTOpzrQejcJSiS8SbJE1DDkvjZypCK6Bx."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_53"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:23.822684' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 500 Internal Server Error in 9ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_54@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_54@example.jp"], ["encrypted_password", "$2a$04$JGmcf3h8VsbXbv57flsH/OZzotPz8HRvTzOwIieteInN3TkMHwVDW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_54"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:23.851792' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_55@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_55@example.jp"], ["encrypted_password", "$2a$04$E7GPQ3A83ZO7ZYf/3wj/j.yVMOykpkwPcx0XIiLdaeHBff3F0sTXS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_55"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["user_id", 9]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:23.866215' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_25' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_25"], ["created_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_25"], ["title", "message_template_25"], ["updated_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_25' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_56@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_56@example.jp"], ["encrypted_password", "$2a$04$CLetg1v/BY4wE1RKHgXAqeeNCB/.IhuYFI.GPnQK4Y9yKqm9OmKxm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_56"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:23.902406' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_57@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_57@example.jp"], ["encrypted_password", "$2a$04$o13TNqI2cMv.NPMIF77qCueuvkoKBr.wRICq1KXTIp1qSXdPUif0K"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_57"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:23.922696' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_26' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_26"], ["created_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_26"], ["title", "message_template_26"], ["updated_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_58@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_58@example.jp"], ["encrypted_password", "$2a$04$cCUYnBGgWrON2ULZsVZAb.QMmNt06PDLy8Lj56r3/rL0qeBC9t/RW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_58"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:23.939873' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 500 Internal Server Error in 9ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_59@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (59.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_59@example.jp"], ["encrypted_password", "$2a$04$3LahsFR6Me9LAXmvTk6sH.JkHQxp8Z/A9J/kJtukWMOvHgaogS7nG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_59"]] SQL (0.5ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:24.030306' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_60@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_60@example.jp"], ["encrypted_password", "$2a$04$PxuCQQz97qoxMyGDQ5XRrOk8K6QIoXJeSRNQ6CUC00MV/LUQfVEfO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_60"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:24.044326' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_27' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_27"], ["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_27"], ["title", "message_template_27"], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_27' AND "message_templates"."id" != 9) LIMIT 1 SQL (1.3ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_61@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_61@example.jp"], ["encrypted_password", "$2a$04$Yebss1MdKscCoM6uawvgxeTgFzMzPD40HT/BBd9b4BK.TcSYi3FSS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_61"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:24.073275' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_62@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_62@example.jp"], ["encrypted_password", "$2a$04$8ay.uJBRhauh2Dv5StkwBeHvnWnBase0zYkwDHOHvksncaphkim0."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_62"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:24.094138' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_28' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_28"], ["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_28"], ["title", "message_template_28"], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 6ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_63@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_63@example.jp"], ["encrypted_password", "$2a$04$qgZSEfL.L2sRv.Civ5vWmOXNSB9/LFRrUvcXtxR5UfPOD0ZV9OzvO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_63"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["user_id", 8]]  (0.3ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:24.129666' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_64@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_64@example.jp"], ["encrypted_password", "$2a$04$klL1JB7E4k7LR5dYMTYfP.RCpYnO.aE8J15ZesfY.yhPZoVlU2VoC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_64"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:24.143261' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_29' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_29"], ["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_29"], ["title", "message_template_29"], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_29' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_65@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_65@example.jp"], ["encrypted_password", "$2a$04$blSkY3.5D7xcDAqHo46D4e7CrguvxmHRM/v4W27li77.g00mrTMUC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_65"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:24.166594' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_66@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_66@example.jp"], ["encrypted_password", "$2a$04$hxm2TBb5A4XwU5IT54ar7OJQCW0KPXn.q1/Uz513o.CTapIAb8qL2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_66"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:24.179489' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_30' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_30"], ["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_30"], ["title", "message_template_30"], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 6ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_67@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_67@example.jp"], ["encrypted_password", "$2a$04$6FCZGXJgpCIDWylQe.Qbb.25qO0iFQrZXMxZIC/6T8gWf7PpkDwhG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_67"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:24.209206' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_68@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_68@example.jp"], ["encrypted_password", "$2a$04$zDCejI7/0pCFAtCmAlTT2uxPvq5zWhd5wPzxz8Pz2UbLvgWe6C3X6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_68"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["user_id", 9]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:24.222938' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_31' LIMIT 1 SQL (4.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_31"], ["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_31"], ["title", "message_template_31"], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_31' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_69@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (58.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_69@example.jp"], ["encrypted_password", "$2a$04$OhTFImF.ODSO3urbeBZOsO2n1TM/k51ZHk0xDifLDezfZuQFZVcX."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_69"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:24.309913' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_70@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_70@example.jp"], ["encrypted_password", "$2a$04$9EEaEigkbc3NFjuL0VZKJuDTMGh0I5pxccXta0zIo5RrabbqQraZa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_70"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:24.324380' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_32' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_32"], ["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_32"], ["title", "message_template_32"], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 6ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_71@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_71@example.jp"], ["encrypted_password", "$2a$04$2REcSZtap2NHGRxgn3YNG.fl/jieI8um1DXma2rNmdBHu7HO5PuQ2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_71"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:24.353777' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_72@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_72@example.jp"], ["encrypted_password", "$2a$04$UcbXckdhMiFFEI3.GE9lQeI05JdW59IEeV9gvmj8BS/.Lx/DSzMIC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_72"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:24.367334' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_33' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_33"], ["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_33"], ["title", "message_template_33"], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_33' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_7@example.jp"], ["encrypted_password", "$2a$04$N0h54WtsrnCW3cG.qhqug.51IXTfw8wPqXAvBYqDCyFMrfYlrgSAG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_7"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:24.397589' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 10ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_73@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_73@example.jp"], ["encrypted_password", "$2a$04$q9B1Xb2B8L5uVLKjDUDT1O8eJLc23Juvr3yHYpdo7.2gxVFZTYlnO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_73"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:24.428534' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.4ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_74@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_74@example.jp"], ["encrypted_password", "$2a$04$iT.imrbPqVo0DpGwyoKkE.JyNGqMx4QrSCIDkjfWkUoOxPmVtqjOe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_74"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:24.443858' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_34' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_34"], ["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_34"], ["title", "message_template_34"], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_34' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_8@example.jp"], ["encrypted_password", "$2a$04$AnpZG3c7yAyp0R5pOrnSXewyQ4RXDVfu.9ivcucwubElnTplkUsYi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_8"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:24.466895' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 10ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_75@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_75@example.jp"], ["encrypted_password", "$2a$04$foWoLcoNOSiavf1gGspqU.GbtURCv5HPTfRg6z9KewO9adr339H4G"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_75"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:24.497532' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_76@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_76@example.jp"], ["encrypted_password", "$2a$04$dCN5E0tmR.XjN2bsAlkpfuu8qfeSUD6Gf30oWvqowFpjUin3MeDf2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_76"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:24.511288' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.5ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_35' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_35"], ["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_35"], ["title", "message_template_35"], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (54.4ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_35' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.9ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_7@example.jp"], ["encrypted_password", "$2a$04$zmO0CQav60FR5GRqtGRrS.SKEiZTiOcR.d5hQSxl6pbu/YmKodl0a"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_7"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:24.592219' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 9ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_77@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_77@example.jp"], ["encrypted_password", "$2a$04$DmDow2Ys.vgudhqkh2wm3.87XkaFJmHj4l..j8X5t7VYYKYg48zUa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_77"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:24.624567' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_78@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_78@example.jp"], ["encrypted_password", "$2a$04$EglHFHpRZZrTtRp6Z5HzaeOkucKPp9XD.AeIL64h2Vc8pFB/8fKzW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_78"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:24.639110' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_36' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_36"], ["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_36"], ["title", "message_template_36"], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_36' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_8@example.jp"], ["encrypted_password", "$2a$04$qeGM9jvKfbM6ds0aCO8kU.30v0k2CFS2.gu0gtAwM8rIDaFRtnsKC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_8"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:24.663553' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 12ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_79@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_79@example.jp"], ["encrypted_password", "$2a$04$mkhnVDl7oTTvJuCuZRk.Nu6YAQS8qkRDuTqFytjV5MvrriV.6do2m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_79"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:24.697431' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_80@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_80@example.jp"], ["encrypted_password", "$2a$04$fDr40ztKvAye1fzbUcRd7eRyiaiQkkSFfmDWmR8vabebhOueGHWq."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_80"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:24.710500' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_37' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_37"], ["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_37"], ["title", "message_template_37"], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_37' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_81@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_81@example.jp"], ["encrypted_password", "$2a$04$MnJFAvkpa5Hj4IDcQJdlAOut/bJVgSFWFpJyCuRpUovjfnaFonGtq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_81"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:24.743096' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 500 Internal Server Error in 8ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_82@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_82@example.jp"], ["encrypted_password", "$2a$04$4je2sJaCg15IO5XDy7ReSOHJzNafStkElYShUx4QkbqNYkPJMZe6C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_82"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:24.777699' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_83@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_83@example.jp"], ["encrypted_password", "$2a$04$jG8QtlODUmoLHDqXSF9lSu7xK19FX17klLmosxpPWcFy1I5zZbZY6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_83"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:24.790664' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_38' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_38"], ["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_38"], ["title", "message_template_38"], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_38' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_84@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (64.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_84@example.jp"], ["encrypted_password", "$2a$04$yag1vPz3FKfmRQw5yM5L2eig9Klfyf.FTk9TnaSAy3av3VB04FWSS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_84"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:24.878621' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 500 Internal Server Error in 10ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_85@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_85@example.jp"], ["encrypted_password", "$2a$04$RlIaCkuP7Gjm96BuVw0jtezkBS4zMP89MwE0aEsmjZG/ge.be027u"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_85"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:24.910821' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_86@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_86@example.jp"], ["encrypted_password", "$2a$04$WEFkACpN.Uh40zmq5N2A0eb9BUbPLtET/SoujoYwgFmhJ/y96y2FC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_86"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:24.923949' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_39' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_39"], ["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_39"], ["title", "message_template_39"], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_39' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 8ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_87@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_87@example.jp"], ["encrypted_password", "$2a$04$PWYqcX2AkAEL1JpjQ57GwuNMZsZwzIk4JGH.l19faobQbL2gtE24G"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_87"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:24.963596' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_88@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_88@example.jp"], ["encrypted_password", "$2a$04$BoF/SH0amuczRHab76s1f.D5TseViHWNbVPwyWLQADgQ5Ab3kfrwa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_88"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:24.979463' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (1.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_40' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_40"], ["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_40"], ["title", "message_template_40"], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_40' AND "message_templates"."id" != 9) LIMIT 1 SQL (2.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:41:24 UTC +00:00]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 10ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.4ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_41' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_41"], ["created_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_41"], ["title", "message_template_41"], ["updated_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_9@example.jp"], ["encrypted_password", "$2a$04$9BsnHklrp0.618EMgf3/nOHs2pX1q3huY4Tzeu2FPFZxnQ6KRsHJy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_9"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:25.041233' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 10ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_42' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_42"], ["created_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_42"], ["title", "message_template_42"], ["updated_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_9@example.jp"], ["encrypted_password", "$2a$04$7fA9BqHa1BWQLlNMVfRwR.dm4GKU/b/A9YROyfbosvAWiOL8dHhyK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_9"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:25.079702' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 8ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_43' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_43"], ["created_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_43"], ["title", "message_template_43"], ["updated_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_89@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_89@example.jp"], ["encrypted_password", "$2a$04$McpcqJ4fLJtN70iOCmTCje5Gnq9/j4XnZQcz1eFzA/s1uis2qTcY."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_89"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:25.121893' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 8ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_44' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_44"], ["created_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_44"], ["title", "message_template_44"], ["updated_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML Completed 500 Internal Server Error in 5ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_10@example.jp"], ["encrypted_password", "$2a$04$VRgW42DrgRWljXrazEdKBun6luQVJg6YJ.YXNAlFjH2dbe6xT0nem"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_10"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:25.223421' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_45' LIMIT 1 SQL (0.8ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_45"], ["created_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_45"], ["title", "message_template_45"], ["updated_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 13ms (Views: 5.6ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_10@example.jp"], ["encrypted_password", "$2a$04$.MBvBZvSoj35fWLOu/eHj.HdB0lu9L5gOAlBlABvM6giCtveiMV46"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_10"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:25.262003' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_46' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_46"], ["created_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_46"], ["title", "message_template_46"], ["updated_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_90@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_90@example.jp"], ["encrypted_password", "$2a$04$VyOyJz8WLVOXd75DhYCJE.tgi6Rmw5PE08VQH79XV06NWvLExdltW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_90"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:25.293870' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_47' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_47"], ["created_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_47"], ["title", "message_template_47"], ["updated_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 7ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_48' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_48"], ["created_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_48"], ["title", "message_template_48"], ["updated_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (1.7ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_11@example.jp"], ["encrypted_password", "$2a$04$XoxKXXZyW18eyfwUBjkWju8jD65cgXFsxcoN7yl4yDJLIKgkOiGYO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_11"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:25.340467' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 9ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_11@example.jp"], ["encrypted_password", "$2a$04$p8i3kKm3au66mwks/oqz7OyEQmgzAbAFTRJpXeNrCIrBvDGG1mLLO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_11"]] SQL (1.6ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:25.374154' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 8ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_91@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_91@example.jp"], ["encrypted_password", "$2a$04$Ieo.K.pe0U8LUG9FC/vyIONh5R7MiyAxCejfF1SwjTWTn7/ia5bWe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_91"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:25.404595' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 8ms Processing by MessageTemplatesController#new as HTML Completed 500 Internal Server Error in 5ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_12@example.jp"], ["encrypted_password", "$2a$04$i53SK620o377Q5rMNQJBm..tEELOJOyvsZeBs/hBHBGZIY.PrqJYS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_12"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:25.440496' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_49' LIMIT 1 SQL (0.8ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_49"], ["created_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_49"], ["title", "message_template_49"], ["updated_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 73ms (Views: 2.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_12@example.jp"], ["encrypted_password", "$2a$04$dM9V9k4JQ4M7EmpWfpQ4GOkiqjq3y/38LM7Xg7ML4b4GTPZMpvaZe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_12"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:25.539575' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_50' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_50"], ["created_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_50"], ["title", "message_template_50"], ["updated_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 9ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_92@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_92@example.jp"], ["encrypted_password", "$2a$04$tw1x/ABcM414xeAow0AuWOUJBg19JR2SRrXRGRL6TBmSYq6d1cCFq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_92"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:25.576853' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_51' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_51"], ["created_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_51"], ["title", "message_template_51"], ["updated_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 8ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_52' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_52"], ["created_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_52"], ["title", "message_template_52"], ["updated_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 11ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_13@example.jp"], ["encrypted_password", "$2a$04$eSCbPq3HfZwZ4PAmb4ANVOtOQNaDwuFacHI1wxypMZmd20ViCKeGm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_13"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:25.634010' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_53", "status"=>"message_template_53", "body"=>"message_template_53"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 8ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_14@example.jp"], ["encrypted_password", "$2a$04$cjCnODAja67xHJyYZ7KN5eGsfDxiiAKcoSaSOq2bf3lW4C57qZ2E."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_14"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:25.658885' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_54", "status"=>"message_template_54", "body"=>"message_template_54"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_15@example.jp"], ["encrypted_password", "$2a$04$.dMsjXEfjEGMFZyeVPzyruCYhYVJSK8HxxKkgTvUq9GSYgJTDPlIe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_15"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:25.695989' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_16@example.jp"], ["encrypted_password", "$2a$04$5pl4aVPlFMImQXO1SoBh0e3eLrjf3LBZ9hq48x.ZfxtYkjWjxoZuK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_16"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:25.722360' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_13@example.jp"], ["encrypted_password", "$2a$04$jSAizkS2TZ3G58ocoUs0FOQFj6/hNywl7pgAk5un6ryqDtFsyeRWK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_13"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:25.745755' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_57", "status"=>"message_template_57", "body"=>"message_template_57"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (55.5ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_14@example.jp"], ["encrypted_password", "$2a$04$s1hmzY3ukBi66Ow99RCw4e0BzFJWAnW2rnTdbepnhd.LZykRrMolq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_14"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:25.832547' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_58", "status"=>"message_template_58", "body"=>"message_template_58"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 8ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_15@example.jp"], ["encrypted_password", "$2a$04$sbw1XIuF1kTNSTmpjTm1Ru0LFoXK1ukSRH1FP5IFdJCar21IIx5fy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_15"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:25.862102' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 8ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_16@example.jp"], ["encrypted_password", "$2a$04$7i5bH8srnBGq5274CJgN6O8ZvrEdQUBMeT3crOBUf75js7nahefr2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_16"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:25.892790' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 9ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_93@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_93@example.jp"], ["encrypted_password", "$2a$04$kHuhkAT3fVJyW.AZoD3e0e/41Gzp8yivay2y4gh7bL4ply12Vs1Hu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_93"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:25.920777' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_61", "status"=>"message_template_61", "body"=>"message_template_61"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 8ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_94@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_94@example.jp"], ["encrypted_password", "$2a$04$8nvDFrZF021iHk/iKPD3hu2YEQetegKzQqq3iUVJ9jQR.IMrl3/A6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_94"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:25.947217' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_62", "status"=>"message_template_62", "body"=>"message_template_62"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_95@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_95@example.jp"], ["encrypted_password", "$2a$04$pbRk1Hq..UXZJLBkfprg9evfVFMG4p5dU1T6CaBz10bF3.rc/9xXa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_95"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:25 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:25.975788' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 12ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_96@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_96@example.jp"], ["encrypted_password", "$2a$04$QVFiPR2SwfDdcMgQeez25O7nWu0hK7iHIi8wniQHLYGB3tGjsqo.q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_96"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:26.011598' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 7ms Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_65", "status"=>"message_template_65", "body"=>"message_template_65"}} Completed 500 Internal Server Error in 5ms Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_66", "status"=>"message_template_66", "body"=>"message_template_66"}} Completed 500 Internal Server Error in 4ms Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Completed 500 Internal Server Error in 5ms Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Completed 500 Internal Server Error in 12ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_69' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_69"], ["created_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_69"], ["title", "message_template_69"], ["updated_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (70.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_17@example.jp"], ["encrypted_password", "$2a$04$WR0ZfFmDKlywVTEjb/iNaOgGJLQM86cd0o9YdPmAV/m/FHxRSoi0e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_17"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:26.154131' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_70", "status"=>"message_template_70", "body"=>"message_template_70"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_70' AND "message_templates"."id" != 9) LIMIT 1  (0.1ms) UPDATE "message_templates" SET "title" = 'message_template_70', "status" = 'message_template_70', "body" = 'message_template_70', "updated_at" = '2011-12-16 03:41:26.171056' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates/9 Completed 302 Found in 24ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_71' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_71"], ["created_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_71"], ["title", "message_template_71"], ["updated_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_18@example.jp"], ["encrypted_password", "$2a$04$ywloLshn0RRXu3RIXj7qXOcnDzI/EWhVDSV.wQDmKGduFbyB59THm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_18"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:26.204367' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_72", "status"=>"message_template_72", "body"=>"message_template_72"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_72' AND "message_templates"."id" != 9) LIMIT 1  (0.2ms) UPDATE "message_templates" SET "title" = 'message_template_72', "status" = 'message_template_72', "body" = 'message_template_72', "updated_at" = '2011-12-16 03:41:26.221412' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates/9 Completed 302 Found in 14ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_73' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_73"], ["created_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_73"], ["title", "message_template_73"], ["updated_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_19@example.jp"], ["encrypted_password", "$2a$04$Kdz17cSCe9R4QZxtb68MCujqevwboLEi0eoeNg/ko9zMuM/3pw/pi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_19"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:26.243991' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_74", "status"=>"message_template_74", "body"=>"message_template_74"}, "position"=>"2", "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "message_templates" SET "position" = 0, "updated_at" = '2011-12-16 03:41:26.260301' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "message_templates" SET position = (position - 1) WHERE "message_templates"."id" IN (SELECT "message_templates"."id" FROM "message_templates" WHERE (1 = 1 AND position > 9) ORDER BY position) SQL (0.3ms) UPDATE "message_templates" SET position = (position + 1) WHERE "message_templates"."id" IN (SELECT "message_templates"."id" FROM "message_templates" WHERE (1 = 1 AND position >= 2) ORDER BY position)  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "message_templates" SET "position" = 2, "updated_at" = '2011-12-16 03:41:26.263007' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates Completed 302 Found in 17ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_75' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_75"], ["created_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_75"], ["title", "message_template_75"], ["updated_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_20@example.jp"], ["encrypted_password", "$2a$04$k69vRT7tNJ2lplKstOvL2.VpfJm/ENzYsS1/7LD1WfhTD6mEeiSl2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_20"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:26.283499' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = '' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 13ms (Views: 1.1ms | ActiveRecord: 0.0ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_77' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_77"], ["created_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_77"], ["title", "message_template_77"], ["updated_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_17@example.jp"], ["encrypted_password", "$2a$04$X87i7FsP7o/csG6QoadHLOW/X5MI5gqrtjK27rpP0B2AjKz.LItty"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_17"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:26.321804' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_78", "status"=>"message_template_78", "body"=>"message_template_78"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 8ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_79' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_79"], ["created_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_79"], ["title", "message_template_79"], ["updated_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (56.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_18@example.jp"], ["encrypted_password", "$2a$04$1O.s9xxnS/I/YT/.5NWdUercW30kdWOgZDFCm21BOYw4Hp6HdAYHq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_18"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:26.409183' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_80", "status"=>"message_template_80", "body"=>"message_template_80"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 10ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_81' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_81"], ["created_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_81"], ["title", "message_template_81"], ["updated_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_19@example.jp"], ["encrypted_password", "$2a$04$ZG1BtnoF02ps45LugZ6hOOZZouZQEldASiq7m/RQoWjTEcYHoX7JG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_19"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:26.445521' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 10ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_83' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_83"], ["created_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_83"], ["title", "message_template_83"], ["updated_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_97@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_97@example.jp"], ["encrypted_password", "$2a$04$fV6gB4JRVU4rLW8sxTovt.u955DMOiVZr6JLIW0Bi4N4Kx0vdXnbi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_97"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:26.480644' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_84", "status"=>"message_template_84", "body"=>"message_template_84"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 7ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_85' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_85"], ["created_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_85"], ["title", "message_template_85"], ["updated_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_98@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_98@example.jp"], ["encrypted_password", "$2a$04$MBNw6V1JS0vuqD7niAMrRutX6ic4EjSDELeN8PRhkYrkg/7r4owWa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_98"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:26.520709' WHERE "roles"."id" = 2  (5.6ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_86", "status"=>"message_template_86", "body"=>"message_template_86"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 8ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_87' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_87"], ["created_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_87"], ["title", "message_template_87"], ["updated_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_99@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_99@example.jp"], ["encrypted_password", "$2a$04$hhUNrTyWVgWK7xK5YljOfumnOZ/h1pgH5jeIJbvKsJsli9tfPo0Se"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_99"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:26.564372' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 8ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_89' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_89"], ["created_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_89"], ["title", "message_template_89"], ["updated_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_90", "status"=>"message_template_90", "body"=>"message_template_90"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 6ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_91' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_91"], ["created_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_91"], ["title", "message_template_91"], ["updated_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_92", "status"=>"message_template_92", "body"=>"message_template_92"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 8ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_93' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_93"], ["created_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_93"], ["title", "message_template_93"], ["updated_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 6ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_95' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_95"], ["created_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_95"], ["title", "message_template_95"], ["updated_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.2ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_21@example.jp"], ["encrypted_password", "$2a$04$3qKP6uJRcgw4PzIp5zh/oOJKex5KUdyoWbxZgKZ.JDFSOVKzaPw5q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_21"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:26.649204' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 10ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_96' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_96"], ["created_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_96"], ["title", "message_template_96"], ["updated_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (67.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_22@example.jp"], ["encrypted_password", "$2a$04$olc.ez8qtin4jSC8m1vhOek1d2tGsrKmhU4bEpfuJagwfsJsLQ7AS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_22"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:26.750919' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 15ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_97' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_97"], ["created_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_97"], ["title", "message_template_97"], ["updated_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_20@example.jp"], ["encrypted_password", "$2a$04$.ctXDKvupb.00A6EWQUyE.l.hw9H9ms2U7I2My/UNTPiRSWEmkF3G"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_20"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:26.791412' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 8ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_98' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_98"], ["created_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_98"], ["title", "message_template_98"], ["updated_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.4ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_21@example.jp"], ["encrypted_password", "$2a$04$AIcIAmpauObvk7o5qBYG8.ND45XP6ORlh9mRjAjVhOlxVxqJhOorm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_21"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:26.821615' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 10ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_99' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_99"], ["created_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_99"], ["title", "message_template_99"], ["updated_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_100@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_100@example.jp"], ["encrypted_password", "$2a$04$IH6jpRz7l0EP5nd4KpfdsuPm54Ii/cx0cE3sl7UvPTCVzx2OVqMVG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_100"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00], ["user_id", 8]]  (0.6ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:26.861526' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 13ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_100' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_100"], ["created_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_100"], ["title", "message_template_100"], ["updated_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_101@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_101@example.jp"], ["encrypted_password", "$2a$04$A08njFkqfRI5iMOxIU0QiukX9eOu8W4DK0fV5y11U/0f9AFwFqTey"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_101"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:26.898347' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 7ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_101' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_101"], ["created_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_101"], ["title", "message_template_101"], ["updated_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 5ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_102' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_102"], ["created_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_102"], ["title", "message_template_102"], ["updated_at", Fri, 16 Dec 2011 03:41:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 6ms Role Load (0.3ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:29 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_23@example.jp"], ["encrypted_password", "$2a$04$bTenlQSaCwKO9VQgUjToEemQgotOe6FXkEYc9QDNbJZU08wvbSxlq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:29 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_23"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:29 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:41:29 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:29.179149' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 114ms Role Load (0.3ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.3ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:29 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_24@example.jp"], ["encrypted_password", "$2a$04$r24SUPtJWFvNugtCIULNC.n6ZVkvWfoXTXfoNgx1v13jalKxRzvRm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:29 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_24"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:29 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:41:29 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:29.313071' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML Parameters: {"user_id"=>"admin_24"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 85ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:29 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_22@example.jp"], ["encrypted_password", "$2a$04$QjEAJGfzT8RM3EEm9pdXh.RisrBaq7UyGqShmdwPOAoLr.ynh7nZS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:29 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_22"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:29 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:41:29 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:29.418537' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 37ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:29 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_23@example.jp"], ["encrypted_password", "$2a$04$zhVrBnc0aHj8mIIW4ticJu67i5HZlHnj/TqGQsvXyxWLxYctmbOX2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:29 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_23"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:29 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:41:29 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:29.475067' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML Parameters: {"user_id"=>"librarian_23"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 86ms User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 30ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML Parameters: {"query"=>"you"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 80ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 28ms Processing by MessagesController#index as HTML Completed 500 Internal Server Error in 5ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 58ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 500 Internal Server Error in 12ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#show as HTML Parameters: {"id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 3 AND "messages"."id" = ? LIMIT 1 [["id", "2"]]  (0.0ms) SAVEPOINT active_record_1  (0.3ms) UPDATE "messages" SET "read_at" = '2011-12-16 03:41:29.890253', "updated_at" = '2011-12-16 03:41:29.890650' WHERE "messages"."id" = 2 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1  (0.5ms) UPDATE "messages" SET "state" = 'read', "updated_at" = '2011-12-16 03:41:29.899261' WHERE "messages"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 62ms (Views: 35.2ms | ActiveRecord: 1.8ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 500 Internal Server Error in 9ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 9ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (64.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:29 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_25@example.jp"], ["encrypted_password", "$2a$04$Zgj9kLdP/bGT3THESRTTpuL/gYQFNEU/tbtH28Eh1nzeiRYcmkfCW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:29 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_25"]] SQL (0.4ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:30 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:41:30 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:30.045893' WHERE "roles"."id" = 4  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 Completed 500 Internal Server Error in 10ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:30 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_24@example.jp"], ["encrypted_password", "$2a$04$/BeFSAdt43eJclmOI15HXeSOkgHykii.rKcHETFYQ3FdBTLvGHwtO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:30 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_24"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:30 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:41:30 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:30.077554' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 Completed 500 Internal Server Error in 11ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 8ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 10ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML Parameters: {"parent_id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 11ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML Parameters: {"parent_id"=>"2"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 7ms Processing by MessagesController#new as HTML Completed 500 Internal Server Error in 6ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_26@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:30 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_26@example.jp"], ["encrypted_password", "$2a$04$BegoQ6HG96MrRLJkRXX.ruEBGA3dBMtYJxRnm/vukNQLNY4xzmZw2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:30 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_26"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:30 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:41:30 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:30.172060' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 8 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 10ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:30 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_25@example.jp"], ["encrypted_password", "$2a$04$uy/./5Wluqbd6h8NMmDKS.gSXqApTKvsS8VWaAZr0pMjubDguMcYC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:30 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_25"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:30 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:41:30 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:30.202541' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 500 Internal Server Error in 15ms User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 14ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_102@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:30 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_102@example.jp"], ["encrypted_password", "$2a$04$QshvpK0rMXmyVCcO/JtUI.fA0RibgxSexXxAosrUOW5Z7D4KSBPzi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:30 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_102"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:30 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:30 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:30.262662' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_103@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:30 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_103@example.jp"], ["encrypted_password", "$2a$04$wSplaJWQapJgTmFJYpQaoeE4dnj2UVA5Mf1NWPDV7GrOZOxTxlK7O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:30 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_103"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:30 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:30 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:30.277811' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "user_102"]]  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_27@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (59.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:30 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_27@example.jp"], ["encrypted_password", "$2a$04$XE2kNzvNFVIiP9xFEJxF2ufxgRbEqJhX0y2c1WEaY6lTCdsb76koq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:30 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_27"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:30 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:41:30 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:30.358561' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 Completed 500 Internal Server Error in 13ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_28@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:30 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_28@example.jp"], ["encrypted_password", "$2a$04$V9ujVcOqSLJFwTy7UF86DuDzci6flaAJtk.EajNMc0Pws4Qf4OO3u"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:30 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_28"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:30 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:41:30 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:30.403272' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 Completed 500 Internal Server Error in 9ms User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_29@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:30 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_29@example.jp"], ["encrypted_password", "$2a$04$2i9PIUOHeSS/G1pJMGL6TuPp5jNDpNdgZGIFt4SNG8EjJusBxeLZy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:30 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_29"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:30 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:41:30 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:30.433670' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 Completed 500 Internal Server Error in 11ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_30@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:30 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_30@example.jp"], ["encrypted_password", "$2a$04$H93qWJFiZaUWom4OhBRY0uiqbwxUyFOs2Reeay87FddAEvEYmC9jK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:30 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_30"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:30 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:41:30 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:30.463573' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 Completed 500 Internal Server Error in 9ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test", "parent_id"=>"2"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = 2 LIMIT 1 Completed 500 Internal Server Error in 11ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 13ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test", "parent_id"=>"2"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 13ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}} Completed 500 Internal Server Error in 7ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}} Completed 500 Internal Server Error in 7ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}} Completed 500 Internal Server Error in 6ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}} Completed 500 Internal Server Error in 7ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_104@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:30 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_104@example.jp"], ["encrypted_password", "$2a$04$ka84mD9MysxFW2il2J3vGuhCe1dsE2vuMDRUcw0HfZHJ4eNjvYK6O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:30 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_104"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:30 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:30 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:30.591693' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_105@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:30 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_105@example.jp"], ["encrypted_password", "$2a$04$LcnLGMV0D.F2xyMnK4j1He5v4L8NqUmyEih0HbK.GWoFU9JD7D7Ky"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:30 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_105"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:30 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:30 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:30.607782' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_104", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 76ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_106@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:30 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_106@example.jp"], ["encrypted_password", "$2a$04$EQm7SWkme69p8ZfQBgrpJuNQ3ZVCs.vsKi1er7swq1WAqvrxi31MK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:30 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_106"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:30 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:30 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:30.707801' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_107@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:30 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_107@example.jp"], ["encrypted_password", "$2a$04$F2Nh3pL84EIL5jy3BdNcu.MoZJQDKaiqqaBKVbHxQ/aJgZSkIcgDu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:30 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_107"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:30 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:30 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:30.721887' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_106", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (2.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 11ms Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_108@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:30 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_108@example.jp"], ["encrypted_password", "$2a$04$n9iEaSX5AKyt5Kx1M15LCufhuRbUFThtZIUhRSZa0T/7CV.TGFrLe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:30 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_108"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:30 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:30 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:30.763648' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_109@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:30 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_109@example.jp"], ["encrypted_password", "$2a$04$5o.b7rNWw9ccbLkL4lNL/.2MxgGZ9waPwoMTkPImL79WTcB./0twa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:30 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_109"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:30 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:30 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:30.777120' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 8ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_110@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:30 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_110@example.jp"], ["encrypted_password", "$2a$04$y/JF.q4GtEetmvs6ewIu7OwmnsMvetfPF1G.6LBm.figXrVSMMXPG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:30 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_110"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:30 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:30 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:30.803635' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_111@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:30 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_111@example.jp"], ["encrypted_password", "$2a$04$by9HsUYDOXH4qq/3c.Xgx.ODRVyEDJLFWO72NhP.gjgNO2kU8DvQe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:30 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_111"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:30 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:30 UTC +00:00], ["user_id", 9]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:30.817653' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 9ms Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_112@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:30 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_112@example.jp"], ["encrypted_password", "$2a$04$8U7KLfbFbxTLJ.sRL0z6duvTDDSxwmzbpko8nb20iKYnEs.mwu6Om"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:30 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_112"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:30 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:30 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:30.848338' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_113@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:30 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_113@example.jp"], ["encrypted_password", "$2a$04$QlDJik2CJvgAyOpzqEiAKeZTWuY4LA0VbmTPFZbTAR.vTO/aMmFMi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:30 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_113"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:30 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:30 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:30.861925' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_112", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 500 Internal Server Error in 12ms Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_114@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:30 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_114@example.jp"], ["encrypted_password", "$2a$04$ez7b4jL3r8Rwluodwwv45erCEE5FeQ.aOEciHpIIT/nqTJrOMSbTa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:30 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_114"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:30 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:30 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:30.898275' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_115@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (67.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:30 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_115@example.jp"], ["encrypted_password", "$2a$04$49MgRtHUm1OsYRWzwesNn.yZo8CXWXZsKUyl3i1UI.tqvozXV8E86"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:30 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_115"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:30 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:30 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:30.977248' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_114", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 500 Internal Server Error in 10ms Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_116@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_116@example.jp"], ["encrypted_password", "$2a$04$zMhllqQEIZeEuGQXhh.25e0wvvkjZjilGcvJnMrqBEmLlmtltDnuS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:31 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_116"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:31 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:31 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:31.008773' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.2ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_117@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_117@example.jp"], ["encrypted_password", "$2a$04$HXaFxLNbveo2yxj8DI/UOOE/ueVZnJasXQggmiovk9t7mVDgs8pey"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:31 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_117"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:31 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:31 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:31.023403' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 500 Internal Server Error in 10ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_118@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_118@example.jp"], ["encrypted_password", "$2a$04$IayC0T.KBr8aLi1uL57mQ..JO/oQ/dndlfS.EJ.0EpdaM4BnWOQKq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:31 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_118"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:31 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:31 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:31.050031' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_119@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_119@example.jp"], ["encrypted_password", "$2a$04$HTcxu8XGQnKIdR/RtNYzFeNycI8OSCsnFbtRKA0vKc7f/TjCvn71i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:31 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_119"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:31 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:31 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:31.058873' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 500 Internal Server Error in 7ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_120@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_120@example.jp"], ["encrypted_password", "$2a$04$8gsM7ymokp1/nx2GJgn8ye4jllFqZPzPY1FOcwh9cfmmOAM6ck.vK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:31 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_120"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:31 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:31 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:31.080078' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_121@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_121@example.jp"], ["encrypted_password", "$2a$04$y1LGcnmoAdEDxaw97LQUk.djCrO8u2rAA1miVw/Ovf4BRzjhuF62W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:31 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_121"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:31 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:31 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:31.088824' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"2"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 6ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_122@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_122@example.jp"], ["encrypted_password", "$2a$04$o94ANmDKjyNwhBlF62yGmuf.q6T2nbmJXM4aRATfRGuNQTrQEKy/u"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:31 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_122"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:31 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:31 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:31.106878' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_123@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_123@example.jp"], ["encrypted_password", "$2a$04$viBdcl319fgtI8bAE5M3peyigNMKaWSU1u2ealflrQ/LSOJIQGIGC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:31 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_123"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:31 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:31 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:31.115066' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 5ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_124@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (37.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_124@example.jp"], ["encrypted_password", "$2a$04$WEPpCrQs/CoTKAac/.Mt1edqsbSyObcOBoOKJrttmWCg.hFGrqEbe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:31 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_124"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:31 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:31 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:31.169258' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_125@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_125@example.jp"], ["encrypted_password", "$2a$04$KDClaD2AgnPecyXclSArCe6QnspO.Vq4jw8zZ69rj5q2mUokEaic6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:31 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_125"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:31 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:31 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:31.178253' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_124", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 6ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_126@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_126@example.jp"], ["encrypted_password", "$2a$04$nxuwNM/rOkMSJ7W25OEcqO4qKPYRRHBZmBBvvbZAe8SgYDziOiKjG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:31 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_126"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:31 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:31 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:31.197703' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_127@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_127@example.jp"], ["encrypted_password", "$2a$04$SQl.2EGkSbRbfopb2kBhL.cCYBVfjC5yXPj10pc5YbF35br3Vhezm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:31 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_127"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:31 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:31 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:31.206090' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_126", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 5ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_128@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_128@example.jp"], ["encrypted_password", "$2a$04$JnrD2XxLQ8DLVo50gVLnLORNoS6wKJ.BVcfCoXFsQ8FboqQAYSLEG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:31 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_128"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:31 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:31 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:31.223881' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_129@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_129@example.jp"], ["encrypted_password", "$2a$04$K4mWexROSOF5F4tqJTPMW.e0OL2Ufk.DuXPI7XZv8OentDiNV60jG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:31 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_129"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:31 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:31 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:31.232442' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 5ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_130@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_130@example.jp"], ["encrypted_password", "$2a$04$ZnJYXeVaz/40f0Deapecnu7SzpHrR0edVvuMsUSWFhWJ9kyGfVT9G"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:31 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_130"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:31 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:31 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:31.250066' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_131@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_131@example.jp"], ["encrypted_password", "$2a$04$Sh8g4RM49vOQUK3v.jjgCOrskliT3bGlMcnftfzn3fqnkWIpYADmK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:31 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_131"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:31 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:31 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:31.258139' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 5ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_132@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_132@example.jp"], ["encrypted_password", "$2a$04$Z3zMIwcrIJPij5DB/VimVun0uBRUZUJJcNbrTX2Wd47xcUqqvLoia"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:31 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_132"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:31 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:31 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:31.275906' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_133@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_133@example.jp"], ["encrypted_password", "$2a$04$BmoZhTlmtGPg10/lcugoXuDD8RzRBtaXb26UO/TIMHo8v/oGTXkW2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:41:31 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_133"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:41:31 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:41:31 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:41:31.284292' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"2"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] Completed 500 Internal Server Error in 4ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#destroy as HTML Parameters: {"id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 3 AND "messages"."id" = ? LIMIT 1 [["id", "2"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "messages" WHERE ("lft" > 3 AND "rgt" < 4) SQL (0.3ms) UPDATE "messages" SET "lft" = ("lft" - 2) WHERE "messages"."id" IN (SELECT "messages"."id" FROM "messages" WHERE ("lft" > 4) ORDER BY "lft") SQL (0.4ms) UPDATE "messages" SET "rgt" = ("rgt" - 2) WHERE "messages"."id" IN (SELECT "messages"."id" FROM "messages" WHERE ("rgt" > 4) ORDER BY "lft") SQL (0.1ms) DELETE FROM "messages" WHERE "messages"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/messages Completed 500 Internal Server Error in 22ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 500 Internal Server Error in 5ms Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 4ms Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 3ms Fixture Delete (0.3ms) DELETE FROM "message_requests" Fixture Insert (0.1ms) INSERT INTO "message_requests" ("sender_id", "receiver_id", "message_template_id", "state", "created_at", "updated_at", "id") VALUES (1, 1, 1, 'pending', '2011-12-16 03:42:37', '2011-12-16 03:42:37', 980190962) Fixture Insert (0.1ms) INSERT INTO "message_requests" ("sender_id", "receiver_id", "message_template_id", "state", "created_at", "updated_at", "id") VALUES (1, 1, 1, 'pending', '2011-12-16 03:42:37', '2011-12-16 03:42:37', 298486374) Fixture Delete (0.1ms) DELETE FROM "message_templates" Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (1, 'reservation_accepted', 'Reservation accepted', 'Reservation accepted', 1, '2011-12-16 03:42:37', '2011-12-16 03:42:37') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (2, 'item_received', 'Item received', 'Item received', 2, '2011-12-16 03:42:37', '2011-12-16 03:42:37') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (3, 'reservation_expired_for_patron', 'Reservation expired', 'Reservation expired', 3, '2011-12-16 03:42:37', '2011-12-16 03:42:37') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (4, 'reservation_expired_for_library', 'Reservation expired', 'Reservation expired', 4, '2011-12-16 03:42:37', '2011-12-16 03:42:37') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (5, 'reservation_canceled_for_patron', 'Reservation canceled', 'Reservation canceled', 5, '2011-12-16 03:42:37', '2011-12-16 03:42:37') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (6, 'reservation_canceled_for_library', 'Reservation canceled', 'Reservation canceled', 6, '2011-12-16 03:42:37', '2011-12-16 03:42:37') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (7, 'recall_item', 'Recall item', 'Recall item', 7, '2011-12-16 03:42:37', '2011-12-16 03:42:37') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (8, 'recall_overdue_item', 'Recall overdue item', 'Recall overdue item', 8, '2011-12-16 03:42:37', '2011-12-16 03:42:37') Fixture Delete (0.2ms) DELETE FROM "messages" Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "read_at", "state", "lft", "rgt", "updated_at") VALUES (1, 3, 4, 'First Message', 'Abby, you get the first message', '2007-07-04 12:10:47.000000', '2011-12-13 03:42:37.000000', 'unread', 1, 2, '2011-12-16 03:42:37') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (2, 4, 3, 'RE: First Message', 'Thanks Dad! You are the coolest!', '2011-12-14 03:42:37.000000', 'unread', 3, 4, '2011-12-16 03:42:37') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (3, 3, 4, 'Second Message', 'Catie, you get the 2nd message', '2011-12-15 03:42:37.000000', 'unread', 5, 6, '2011-12-16 03:42:37') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (6, 4, 5, 'Dad!', 'He is sucha dork.', '2011-12-14 03:42:37.000000', 'unread', 7, 8, '2011-12-16 03:42:37') Fixture Delete (0.1ms) DELETE FROM "roles" Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Guest', 'Guest', 1, NULL, '2011-12-16 03:42:37', '2011-12-16 03:42:37') Fixture Insert (0.0ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('User', 'User', 2, NULL, '2011-12-16 03:42:37', '2011-12-16 03:42:37') Fixture Insert (0.0ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Librarian', 'Librarian', 3, NULL, '2011-12-16 03:42:37', '2011-12-16 03:42:37') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Administrator', 'Administrator', 4, NULL, '2011-12-16 03:42:37', '2011-12-16 03:42:37') Fixture Delete (0.1ms) DELETE FROM "user_groups" Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('(not specified)', '(not specified)', '2007-12-13 12:00:51.564542', 1, '', '2007-12-13 12:00:01.674976', 1) Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('User', 'User', '2007-12-22 18:14:56.836548', 2, '', '2007-12-22 18:14:40.173954', 2) Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('Faculty', 'Faculty', '2007-12-22 18:15:05.134351', 3, '', '2007-12-22 18:15:05.126457', 3) Fixture Delete (0.1ms) DELETE FROM "user_has_roles" Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (1, 4, '2011-12-16 03:42:37', '2011-12-16 03:42:37', 135138680) Fixture Insert (0.0ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (2, 3, '2011-12-16 03:42:37', '2011-12-16 03:42:37', 344583537) Fixture Insert (0.0ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (3, 2, '2011-12-16 03:42:37', '2011-12-16 03:42:37', 206669143) Fixture Insert (0.0ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (4, 3, '2011-12-16 03:42:37', '2011-12-16 03:42:37', 226540757) Fixture Insert (0.0ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (5, 2, '2011-12-16 03:42:37', '2011-12-16 03:42:37', 358143215) Fixture Insert (0.0ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (6, 2, '2011-12-16 03:42:37', '2011-12-16 03:42:37', 576709754) Fixture Insert (0.0ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (7, 2, '2011-12-16 03:42:37', '2011-12-16 03:42:37', 1010528733) Fixture Delete (0.2ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:16:30.163731', '$2a$10$vHohD1WflnTIqAa8zMkF9evwAgIZRw3XuR4d3bi29M.jph/MB/AJi', 2, 1, NULL, 'admin', 'tanabe@kamata.lib.teu.ac.jp', '2007-11-19 07:58:32.111941', 4) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 03:41:16.337474', '$2a$10$9O2VuTccN4gHq36ARg0QReSrb1D7WrBBhZZ759RM9moHbB0W5zCzS', 1, 2, NULL, 'librarian1', 'librarian1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:33.172441', 1) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', '$2a$10$JthS59A0BNkDOoFpCXM0V.GhhffKaoWKbzpPahYp/vTFrOyM7h/uW', 1, 3, NULL, 'user1', 'user1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:23.340575', '$2a$10$YmmTGrYQ1Ir6oc7wXnp.GuNeO1eYLoP3sv8wMSIrTdaGw2BPwRrpS', 1, 4, NULL, 'librarian2', '2008-01-18 03:24:04.222344', 1) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:44.711117', '$2a$10$i7UjJhLVrJM/J7qaTwW39OXw1NiwowUEbtNHVDV0sqMLjX9.UO9ca', 1, 5, NULL, 'user2', '2008-01-18 04:29:06.922728', 2) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 6, NULL, 'user3', 'user3@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 7, NULL, 'user4', 'user4@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_1@example.jp"], ["encrypted_password", "$2a$04$5U2UBuLs6UB0qWPtP7HfbOo6l4XVfxF78XhNtKzDMHqZBCSJm8n8u"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_1"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:37 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:42:37 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:37.979028' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageRequest Load (0.2ms) SELECT "message_requests".* FROM "message_requests" WHERE (sent_at IS NULL AND state = 'pending') ORDER BY created_at DESC Completed 500 Internal Server Error in 53ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_1@example.jp"], ["encrypted_password", "$2a$04$kAAYCC1Hl0s7bh/OBsXuuuvmRqSPB/1au0SiSSCtn3LhdsHrNDDEC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_1"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:38.051712' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE (sent_at IS NULL AND state = 'pending') ORDER BY created_at DESC Completed 500 Internal Server Error in 5ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_1@example.jp"], ["encrypted_password", "$2a$04$V9L9Ye6qTjn.exoYJ5OB9eLj5EOG8Okvvw/nyYgFb/IwzPu1MRQ2u"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_1"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:38.070997' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 5ms Processing by MessageRequestsController#index as HTML Completed 500 Internal Server Error in 6ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_2@example.jp"], ["encrypted_password", "$2a$04$B35Acz1rGHs1Uy2sCdIQdOvuqhdxMegGtQcqBpkdfE4N3UZwwP27m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_2"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:38.096182' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_2@example.jp"], ["encrypted_password", "$2a$04$/SgAEg1qGlWrChfcN37rZet30m1TLxAB0CJzJdoVYMyPecHZaDD0G"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_2"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:38.106355' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_3@example.jp"], ["encrypted_password", "$2a$04$5MPRngVOGQ3zXkG.5LceJO/okIo0r/BJE9j7.mLMuT2TGmfo7SwHq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_3"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:38.114533' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_1' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_1"], ["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_1"], ["title", "message_template_1"], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_1' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 47ms (Views: 12.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_2@example.jp"], ["encrypted_password", "$2a$04$uGmTBUdMugGHTgYrezer7.eMVssA2leZw1CHlgKzkPQ9gexP7GOQ6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_2"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:38.192560' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_4@example.jp"], ["encrypted_password", "$2a$04$/RRpNmNr99V60X6mB.QrYOvRjyc7FouxBPS.OL3Yu2tbyM/P5KcKa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_4"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:38.201413' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_5@example.jp"], ["encrypted_password", "$2a$04$M4IvaOrMOLltHBQI5wwxv.ju91cApwL86cunJtIFz1Shal9j8G2Cq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_5"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:38.208959' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_2' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_2"], ["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_2"], ["title", "message_template_2"], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_2' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_6@example.jp"], ["encrypted_password", "$2a$04$7pecdfHS0R8UFJxh5FJKU.Jc8ZbQQiaqumm4OaxvQ5bWIzDSKbQ9S"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_6"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:38.233834' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_7@example.jp"], ["encrypted_password", "$2a$04$EsgLEp1sizZzK0VUSsmz7uX0TE2a7wkNyJgMOr1syZqYIkejyInR2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_7"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:38.242769' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_8@example.jp"], ["encrypted_password", "$2a$04$luiCmhNUHzMVXzBjLaQDZuH8Bmw2JXy4Bc.YQ4LakX0.sJoVJ0lJO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_8"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:38.251553' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_3' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_3"], ["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_3"], ["title", "message_template_3"], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_3' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 7ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_9@example.jp"], ["encrypted_password", "$2a$04$4urrdUgKkVort7yucr7x3OarCF0WzP1/.Pt5L.WM6OxFu5ykto5Lm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_9"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:38.309162' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_10@example.jp"], ["encrypted_password", "$2a$04$gzSf6Fnpfbdn2BRErskypeDjpLK0H/5WY2zdEpESNsy2ZS.I//Nra"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_10"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:38.317955' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_4' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_4"], ["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_4"], ["title", "message_template_4"], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_4' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 5ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_3@example.jp"], ["encrypted_password", "$2a$04$LXMOU/Q.v6jYbC2vnNupu.X.2KEgpgBNaMT4BnqP9qBUNVT3Kekpe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_3"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:38.341973' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_11@example.jp"], ["encrypted_password", "$2a$04$SBrdaFqqDB7o2F2xUg2KzuPoF3852C6kAhaSDK6iewtzFTUaluyfm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_11"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:38.353619' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_12@example.jp"], ["encrypted_password", "$2a$04$Y/.lM.u86IkVnkaJTNtWA.nu8beSNxXR0iaYNE2rjrIRhll.tgFba"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_12"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:38.364380' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_5' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_5"], ["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_5"], ["title", "message_template_5"], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_5' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.6ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 10ms (Views: 2.4ms | ActiveRecord: 0.6ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_3@example.jp"], ["encrypted_password", "$2a$04$zmlO5leZ5IUPpL.k1HeLjObm9Yl4mwkZuA.P.LvF5W.VHWAd7DZbO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_3"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:38.398678' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_13@example.jp"], ["encrypted_password", "$2a$04$2kmQ3On63w/Pjs6luH64E.0/O4otLTms0y1uRHc9TXksmaEZJQJvm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_13"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:38.411259' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_14@example.jp"], ["encrypted_password", "$2a$04$3Z96PxtGy3NSROoJSroUoeXgcrhuJdfygozEgslqQQNduCEMauvh."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_14"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:38.423293' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_6' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_6"], ["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_6"], ["title", "message_template_6"], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (1.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_6' AND "message_templates"."id" != 9) LIMIT 1 SQL (1.2ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 12ms (Views: 1.6ms | ActiveRecord: 0.7ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (54.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_15@example.jp"], ["encrypted_password", "$2a$04$MUMn5A1S/1AJHogR2PA/rOlgBtwU6dMa8q7Fmmpr.jw.NAUDX04Iy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_15"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:38.520873' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_16@example.jp"], ["encrypted_password", "$2a$04$03BDPA.MrKv9d76VDo6ao.0KoRKavfjrGUUqfuPT7JjP22qeufDby"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_16"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:38.538817' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_17@example.jp"], ["encrypted_password", "$2a$04$pLZhapxa6iEY8ZKfblj0cuRy6fjSA8m3swLGA43/MPzNP8thHE6sS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_17"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:38.550582' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_7' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_7"], ["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_7"], ["title", "message_template_7"], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_7' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 9ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_18@example.jp"], ["encrypted_password", "$2a$04$kRvkKmbdEAFoUcZJIW.rL.aPCmlKAlIz4rL0ou0XXmGPGz0kYuxpW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_18"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:38.589629' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_19@example.jp"], ["encrypted_password", "$2a$04$mgwM9kCiTocSI7i17tz5MeHpELSqY34I.WFZ6SfmghKPdmhr0bAB6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_19"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:38.601924' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_8' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_8"], ["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_8"], ["title", "message_template_8"], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_8' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 6ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_20@example.jp"], ["encrypted_password", "$2a$04$FV8SNE8k59CX.RKhG9.LzeW62ph5nFI7bIdgaFgiX8JkuMfVxNe/O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_20"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:38.637136' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_21@example.jp"], ["encrypted_password", "$2a$04$oRNcagPSkPbClk0V.VkEBeNWPbUglXxD2rlE6TDuu895QmXvlxV0W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_21"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:38.651421' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_9' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_9"], ["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_9"], ["title", "message_template_9"], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_9' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.8ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.3ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_22@example.jp"], ["encrypted_password", "$2a$04$oBHFebDea1o6L3fr5KYFouOvEDWGaSZ9HiajfQKZNaUx7u3miHUCC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_22"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:38.680713' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_23@example.jp"], ["encrypted_password", "$2a$04$jvWnlX8nb5ER7qbR23IL/u56HKWb3bEfhTLCuvAYrUIDJrpD86M5."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_23"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:38.693226' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_10' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_10"], ["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_10"], ["title", "message_template_10"], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.2ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_4@example.jp"], ["encrypted_password", "$2a$04$0g0ZMQaaNO8wGEizL38x4e46LJQ2R5mX742OWedBhxrRN5ibSy1IK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_4"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:38.710315' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_10' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 10, "receiver_id" = 11, "message_template_id" = 10, "updated_at" = '2011-12-16 03:42:38.728210' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 19ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (55.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_24@example.jp"], ["encrypted_password", "$2a$04$oiGULmwGwGzNYaZlQ8wyWOhqxYIFRJXfrJDeX8JKFsBL4XgK5FRnS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_24"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:38.803343' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_25@example.jp"], ["encrypted_password", "$2a$04$Qbol/KcOeERrxyIrNH6COedGkS0qgI26TxnVT16wpUWREluwhJ7a6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_25"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["user_id", 9]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:38.817128' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_11' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_11"], ["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_11"], ["title", "message_template_11"], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_11' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_26@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_26@example.jp"], ["encrypted_password", "$2a$04$0G38BahuFKLAcQ35xlTKCOa2IzMlvUUuwPYRL08zrOP.kev1zkp7e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_26"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:38.840372' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_27@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_27@example.jp"], ["encrypted_password", "$2a$04$Zp7KXtp4TNvbGoQKZZFEHehFNuN0Y.dY0t3cvGPBmbxB1596b0sEa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_27"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:38.853242' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_12' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_12"], ["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_12"], ["title", "message_template_12"], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_5@example.jp"], ["encrypted_password", "$2a$04$pYL9l9/wEWvPRpQxPj6XlefPZ0CzaEqZ94tm4bH2m480G5/NsGE16"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_5"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:38.871531' WHERE "roles"."id" = 4  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_12' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 10, "receiver_id" = 11, "message_template_id" = 10, "updated_at" = '2011-12-16 03:42:38.889583' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 16ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_28@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_28@example.jp"], ["encrypted_password", "$2a$04$/Vr2Lm8mIpS5v76I9gf2G.DM69AMqQXDZOWcJod57xK.ZWcPWNUV2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_28"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:38.911268' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_29@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_29@example.jp"], ["encrypted_password", "$2a$04$siPawgJb8ZG3/2uRVnaQDOvKbZByY3aPIWjnd2BCqjJT0iymj4KR6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_29"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:38.923559' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_13' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_13"], ["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_13"], ["title", "message_template_13"], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_13' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_30@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_30@example.jp"], ["encrypted_password", "$2a$04$KKc3h2LrajRQeb/jrnrZCOkuO6VLW0lhHQLMmG30zAyhJ5hBPOOz6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_30"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:38.949240' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_31@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_31@example.jp"], ["encrypted_password", "$2a$04$O3DFPI5vTlABRzOhTGSR8Oe73/ohFwD.g5Vq/lhOk6A9M41QFe8Yu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_31"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:38.962992' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_14' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_14"], ["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_14"], ["title", "message_template_14"], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_6@example.jp"], ["encrypted_password", "$2a$04$r2GvCuWrpTQnuZvfH6iJrOgakq0IWtUokQk3RbuLvvz5KLR/BR.XO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_6"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:42:38 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:38.983408' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_13' AND "message_templates"."id" != 9) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 18ms (Views: 1.4ms | ActiveRecord: 1.1ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_32@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_32@example.jp"], ["encrypted_password", "$2a$04$1do6oZkM85BzgxtFrVZrWuLbBbePFTeCSYrCNe1pIKnMAU6In9vmC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_32"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:39.089049' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_33@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_33@example.jp"], ["encrypted_password", "$2a$04$fr9WvMzgrVF7vRqrRK9L/OZg14H6nkC69az0xs8Ph/wl8BVjorumC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_33"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:39.104085' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_15' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_15"], ["created_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_15"], ["title", "message_template_15"], ["updated_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_15' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_34@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_34@example.jp"], ["encrypted_password", "$2a$04$IUJwIXptW2yieVaozZfnnOzH4sK4P1nYp2gkYn1abIOwu.1kGyyfS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_34"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:39.129412' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.3ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_35@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_35@example.jp"], ["encrypted_password", "$2a$04$/zeYzKMhc3/DMyhH3R2YBeX.uBqlIow6hoYHjEO2n3.klYfKfsCsi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_35"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:39.145183' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_16' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_16"], ["created_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_16"], ["title", "message_template_16"], ["updated_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_4@example.jp"], ["encrypted_password", "$2a$04$hPhM627IfH36834IrSDk7uW5QVpYSwVDfJjWohwmLJQbLQRD.kJXi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_4"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:39.163604' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_16' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 10, "receiver_id" = 11, "message_template_id" = 10, "updated_at" = '2011-12-16 03:42:39.179105' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 15ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_36@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_36@example.jp"], ["encrypted_password", "$2a$04$lVzXSv7mcMVrTkZPb2SDoONcogJOm3VtiRMIkP33KnPXFwG6yibYW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_36"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:39.197081' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.5ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_37@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_37@example.jp"], ["encrypted_password", "$2a$04$MlIRclKtryAFOGC9kcp/hePs57nXHy.lvSeYxOj8fvG4nqi3Olbzm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_37"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:39.210388' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_17' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_17"], ["created_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_17"], ["title", "message_template_17"], ["updated_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_17' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_38@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_38@example.jp"], ["encrypted_password", "$2a$04$PSDTMncKUUfYUJTw4L85..G6EnxNuaJ2mnBTeaRHH0r04fDMJpKUu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_38"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:39.234862' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_39@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_39@example.jp"], ["encrypted_password", "$2a$04$4Pkdd9wJwcRIfDhXjWns2e7jp9/e5gr1Wzk4yrwtHQtQEgaGPCvPO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_39"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:39.248271' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_18' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_18"], ["created_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_18"], ["title", "message_template_18"], ["updated_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_5@example.jp"], ["encrypted_password", "$2a$04$EeaC8z8rsuwTGHzdk6A8r.2U3u15jemR213OGoXeqCBPuuzgTBxim"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_5"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:39.265351' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_18' AND "message_templates"."id" != 10) LIMIT 1  (0.2ms) UPDATE "message_requests" SET "sender_id" = 10, "receiver_id" = 11, "message_template_id" = 10, "updated_at" = '2011-12-16 03:42:39.289508' WHERE "message_requests"."id" = 980190963  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 87ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_40@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_40@example.jp"], ["encrypted_password", "$2a$04$hiLrPByRDbKUF0DCG0b1.O75mnMo8IcZDYvB0R9KuA6Eh27Mv5Maq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_40"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:39.383501' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_41@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_41@example.jp"], ["encrypted_password", "$2a$04$f9Ho/dF.QfxJFUTi7MJM9.m8lMSu/5CnN2LNHgHtCxnBe3LS7gXCy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_41"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:39.397910' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_19' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_19"], ["created_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_19"], ["title", "message_template_19"], ["updated_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_19' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_42@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_42@example.jp"], ["encrypted_password", "$2a$04$6Q1dQiVBR58DKE2tggyeKOK31WKYlVs/9B.l6iRZEPkJjW8WRuiTq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_42"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:39.421554' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_43@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_43@example.jp"], ["encrypted_password", "$2a$04$7bkwb2R2njv2kZSn9y3X7OGFtWaKhAvIctJley0NpZc1NFUcSLnB2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_43"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:39.434318' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_20' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_20"], ["created_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_20"], ["title", "message_template_20"], ["updated_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_6@example.jp"], ["encrypted_password", "$2a$04$5DnHjDGc7u.ff8mZuC8S3.NA6A8RYDJBTnQobz18UqtADdHNxBpAy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_6"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:39.450933' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_19' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 15ms (Views: 1.3ms | ActiveRecord: 1.0ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_44@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_44@example.jp"], ["encrypted_password", "$2a$04$mEitE6VpFFG8pDZHzbkyXeE3z89HWjQ.pAj0OQJQUZE7qOHmPeH72"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_44"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:39.485241' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_45@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_45@example.jp"], ["encrypted_password", "$2a$04$JClcK5z9nwVBg9N1FIJ5GurZI.GHil1VbkrG.SGAjMRYcQ6EQeh/u"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_45"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:39.498951' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_21' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_21"], ["created_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_21"], ["title", "message_template_21"], ["updated_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_21' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_46@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_46@example.jp"], ["encrypted_password", "$2a$04$MmidvTJ.gOJ7LOracVMduug8QbGf.MJ8iYWJBPY3IAbg6a6xYpzGW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_46"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:39.523080' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.2ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_47@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_47@example.jp"], ["encrypted_password", "$2a$04$nVZxTzsREcueIq6NZuKcU.cQAwwOExcqmXUmoavT0JoXYUrUJAzla"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_47"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:39.537167' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.8ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_22' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_22"], ["created_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_22"], ["title", "message_template_22"], ["updated_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_48@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_48@example.jp"], ["encrypted_password", "$2a$04$t6l2x1mMRstSAGzWxhc4T.NsbR4l/YosjkD2SkLdfB6.10FUz5d9W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_48"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:39.559083' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 500 Internal Server Error in 64ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_49@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_49@example.jp"], ["encrypted_password", "$2a$04$q5YksAum63lzvxGvKx8C1eYU2KtrZBtg3PPGzVtnPI58vsBTcKbEu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_49"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:39.657008' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_50@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_50@example.jp"], ["encrypted_password", "$2a$04$8Tqj6jY.obVosSGyWk2p7.qin5SAyYZ3fUAdNhRPDInnaRJmfwQGO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_50"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["user_id", 9]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:39.672959' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_23' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_23"], ["created_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_23"], ["title", "message_template_23"], ["updated_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_23' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_51@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_51@example.jp"], ["encrypted_password", "$2a$04$Vo2zRXqHL6sw2MXQTsp21.1x/d61xFbKTuRAWBKdi6ACfN93EjFy2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_51"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:39.702459' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.3ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (1.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_52@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_52@example.jp"], ["encrypted_password", "$2a$04$CE95B3UgLQBV2pSOke9hi.TNiaEl1zEALiFjMjA0kvfl9tbw.7JVy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_52"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:39.716016' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_24' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_24"], ["created_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_24"], ["title", "message_template_24"], ["updated_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_53@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_53@example.jp"], ["encrypted_password", "$2a$04$tkeKdFnu13aojaajy/A9QuKBoEZ8FCqCnPC2.mxmaCIsLJV31WuaS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_53"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:39.732883' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 500 Internal Server Error in 21ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_54@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_54@example.jp"], ["encrypted_password", "$2a$04$pvnSb/noLLUdnBPfPCLrI.yQNbewjZBSMV3p8ohUsVbhWes3op2XG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_54"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:39.772328' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_55@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_55@example.jp"], ["encrypted_password", "$2a$04$UHz8SP7zjOujAxFMSB84Guk7rhXLuMRwHN8ZncuvsDTRnzPlWK7oK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_55"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:39.786184' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_25' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_25"], ["created_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_25"], ["title", "message_template_25"], ["updated_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_25' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_56@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_56@example.jp"], ["encrypted_password", "$2a$04$RN3yhKd2VYAO4DlQGOu7e.t0SDYlufF3rrFjIzq0RQsViAdk6RJ7e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_56"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:39.809427' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_57@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_57@example.jp"], ["encrypted_password", "$2a$04$0Tq65hTTArGsVbbpk0u20OAKCnAVNVVRM8OcjkHpckrCTAvJaknfu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_57"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:39.821461' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_26' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_26"], ["created_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_26"], ["title", "message_template_26"], ["updated_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_58@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_58@example.jp"], ["encrypted_password", "$2a$04$6BJlbUc6Bvdb/qWv3.Mv7O0R/aA6JgvMSOu1G8wObRyxdRvsZoadC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_58"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:39.838031' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 500 Internal Server Error in 9ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_59@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_59@example.jp"], ["encrypted_password", "$2a$04$s97PxqZBLNaKFxgfCZ6qoOREGsQCRco69GezF.mOwLPozLhJxh/Bm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_59"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:39.921195' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.9ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_60@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_60@example.jp"], ["encrypted_password", "$2a$04$3xkfjHn.5ytRxxXDgBQvKu66OqfjkltHeClNsbeU3pZBA1ANEsQve"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_60"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["user_id", 9]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:39.940723' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_27' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_27"], ["created_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_27"], ["title", "message_template_27"], ["updated_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_27' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_61@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_61@example.jp"], ["encrypted_password", "$2a$04$2hTZGA5ZCwdtlaHBiqNw7OjgoAc8sCOdfAVmN.pt7Y/rO77nFH6y2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_61"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:39.970223' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_62@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_62@example.jp"], ["encrypted_password", "$2a$04$LXfHWhjlARo80gb1WIfCF.zVD8RBJzABCKxb4ro5JmTxmRvJrONqO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_62"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:39.983311' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_28' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_28"], ["created_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_28"], ["title", "message_template_28"], ["updated_at", Fri, 16 Dec 2011 03:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.7ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_63@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_63@example.jp"], ["encrypted_password", "$2a$04$avcHjttnKnsPiiYs.3dHHOyUwgRF3HRF.mRSdkuTHiISs6AfqfnJ2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_63"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:40.015832' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_64@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_64@example.jp"], ["encrypted_password", "$2a$04$SQMN8JolLNcFhGaX6aEpQubxT6gMpCi4kHUmBZpXKtyClqmhOkBC."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_64"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:40.028882' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_29' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_29"], ["created_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_29"], ["title", "message_template_29"], ["updated_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_29' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_65@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_65@example.jp"], ["encrypted_password", "$2a$04$FB3kH0lISaOFMtBNFd4SSeVjn5ZrjulL1Klk8NSKjKLpQklagL6ZK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_65"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:40.055611' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_66@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_66@example.jp"], ["encrypted_password", "$2a$04$iJv8CuwYGLRopomDcy7Whud/MIvu.0HHVsCuH.M3pFNzpAqnqO2Ru"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_66"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:40.071210' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_30' LIMIT 1 SQL (4.0ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_30"], ["created_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_30"], ["title", "message_template_30"], ["updated_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_67@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_67@example.jp"], ["encrypted_password", "$2a$04$9sz7lTuyAFGjez.YZPQfp.B3Nym.TvvPwIxWBsR4H8KcRsfgHhQpW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_67"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:40.113964' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_68@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_68@example.jp"], ["encrypted_password", "$2a$04$nX1suMG/pgZbWAxwUFR7y.7Hhmo58vAeqGMxe0V00chrzaSnu/tJq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_68"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:40.127020' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_31' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_31"], ["created_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_31"], ["title", "message_template_31"], ["updated_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_31' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_69@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (64.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_69@example.jp"], ["encrypted_password", "$2a$04$uJWZiVa1ZMeVAnB1xL/atO5ntpkPKB78kavYdIV.uiJGu9Xhm0w.W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_69"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:40.216263' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.6ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_70@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_70@example.jp"], ["encrypted_password", "$2a$04$mNL3Qpmj9yLs7NoXaGYM0uxJHUl56fpp9keMhnCwIAtWoLZRrL2qu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_70"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:40.229029' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_32' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_32"], ["created_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_32"], ["title", "message_template_32"], ["updated_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_71@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (5.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_71@example.jp"], ["encrypted_password", "$2a$04$omeRJf7RQyfz5Y2HAc8R8eXBIBZtpAjddgN1/q.qtnk/ShCByb2p2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_71"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:40.271142' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_72@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_72@example.jp"], ["encrypted_password", "$2a$04$UiLAa58XtQJChz3xDVTziu.Tfq0j3FHFipqGoDhgsy8tnzhIAQbvO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_72"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:40.284685' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (2.7ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_33' LIMIT 1 SQL (0.8ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_33"], ["created_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_33"], ["title", "message_template_33"], ["updated_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_33' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_7@example.jp"], ["encrypted_password", "$2a$04$kxJfhIkOpgCQjV1rK0/gl.DwhhaD1L1asTcU32E1i/llXTieIauSu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_7"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:40.312848' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 11ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_73@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_73@example.jp"], ["encrypted_password", "$2a$04$hwZMYyJpMN.4VxP9mzb5w.T2s.6jldAvzNF2KMDyT.nT0t/C7vRfa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_73"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:40.344930' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_74@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_74@example.jp"], ["encrypted_password", "$2a$04$STpVRp7PAblRNP1Rfq0rZ.jnTK8bu2D5YheG/Qad4tUrlpw6.BE.2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_74"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:40.360302' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_34' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_34"], ["created_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_34"], ["title", "message_template_34"], ["updated_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_34' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_8@example.jp"], ["encrypted_password", "$2a$04$Rc4CXiM.y42cy0lKjrR4neQFgl5fBl8rjFQ2UUiEqjg45BmbdFDbO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_8"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:40.392581' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 10ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_75@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_75@example.jp"], ["encrypted_password", "$2a$04$sW9ja2VcPa9xgOWG3ZPJKukuOuNPp8C.3JeMh1bkWBptqHqfGw8fC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_75"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:40.425223' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_76@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_76@example.jp"], ["encrypted_password", "$2a$04$pr0VNBGN1DmOLgOYRnAp2OxqT6IM8M7OAwCAudca8m1u5h.7ghpuO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_76"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:40.439639' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_35' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_35"], ["created_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_35"], ["title", "message_template_35"], ["updated_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (61.9ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_35' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_7@example.jp"], ["encrypted_password", "$2a$04$r3vYaws3QOknIS50BFyWWumYbBQBiJfSDOCUoQKwjhZyvFBb2xX1W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_7"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:40.530817' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 9ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_77@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_77@example.jp"], ["encrypted_password", "$2a$04$xBO6/MlIfIaTOIiO7uN7FefczfVNzhVE3L6pQSW.DYHRKl064zh.u"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_77"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:40.559967' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_78@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_78@example.jp"], ["encrypted_password", "$2a$04$LqVTF0wigKzCR39Lp6ZPze0ba2vXgGZbdcv6TyHTHtkPU/gHcIewS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_78"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:40.575313' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_36' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_36"], ["created_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_36"], ["title", "message_template_36"], ["updated_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_36' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00]]  (1.2ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_8@example.jp"], ["encrypted_password", "$2a$04$XtdqKmjn5thHRgQIX4inhOTfI6Qd1pmhzyK5O7ig9RS2.3ogV8k5C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_8"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:40.601002' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 14ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_79@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_79@example.jp"], ["encrypted_password", "$2a$04$0vvPDRFOj3jpAAfP7pEDVOtvifQG2JZU92DHFVBohOWmg.kZcMOQy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_79"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:40.634667' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_80@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_80@example.jp"], ["encrypted_password", "$2a$04$8GYjQQVYoPWxRdqqTV.OvOndtjS.Bios6U1a57FiizsOcPs0x18Z2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_80"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:40.647504' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_37' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_37"], ["created_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_37"], ["title", "message_template_37"], ["updated_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_37' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_81@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_81@example.jp"], ["encrypted_password", "$2a$04$82iPj6yWjDVYF6eOwK4k4OQkt3JF6QOV5T73GQ22M2jArS/S.Eb0u"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_81"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:40.676300' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 500 Internal Server Error in 8ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_82@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_82@example.jp"], ["encrypted_password", "$2a$04$fKeU0a0/dupfcGdvArKglec76iGoOlL2ofcBXZdHztUcFpwJs6k9K"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_82"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:40.708981' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.4ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_83@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_83@example.jp"], ["encrypted_password", "$2a$04$GjyhqZQdQBacrgxEdgT2B.rlcmjG06J9Yrpg60jmdYkXXYut8eSXa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_83"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:40.725459' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_38' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_38"], ["created_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_38"], ["title", "message_template_38"], ["updated_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_38' AND "message_templates"."id" != 9) LIMIT 1 SQL (13.0ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_84@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (60.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_84@example.jp"], ["encrypted_password", "$2a$04$5EVJt5jpM2Iox2ICM2lJkO4IwDxIar0D0Q.uS7kvlx4mBi2M6pjim"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_84"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:40.827798' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 500 Internal Server Error in 11ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_85@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_85@example.jp"], ["encrypted_password", "$2a$04$uhoxcGCa6KettZ1baLLmS.SMWMeBOnDVZ2ldEWurbTICMQYMgPGzu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_85"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:40.860012' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_86@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_86@example.jp"], ["encrypted_password", "$2a$04$82vOlexBM9PSkjBcS0666eshGBtlA.5qGlBkhVhVuefcJVIjuLAnS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_86"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:40.876816' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_39' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_39"], ["created_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_39"], ["title", "message_template_39"], ["updated_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_39' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 6ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_87@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_87@example.jp"], ["encrypted_password", "$2a$04$L74N/hTrgtP78ft/uQlk7Ot2iSNEiA1SzlBowEkSKLrcNn3Wnn5DO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_87"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:40.914046' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_88@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_88@example.jp"], ["encrypted_password", "$2a$04$hdFyVzTlMhv9i27o7TvfgOkrxbN6Rh/gbEj1mYH50NUfk/TCZeP0e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_88"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:40.927887' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_40' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_40"], ["created_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_40"], ["title", "message_template_40"], ["updated_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_40' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 6ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_41' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_41"], ["created_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_41"], ["title", "message_template_41"], ["updated_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_9@example.jp"], ["encrypted_password", "$2a$04$YlehTNCASSJEy9fmKDXm..B/Kd/bWBhKzZjM760vKRKHr9L0HYvxW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_9"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:42:40 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:40.970155' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 20ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_42' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_42"], ["created_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_42"], ["title", "message_template_42"], ["updated_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_9@example.jp"], ["encrypted_password", "$2a$04$Ieot6661nJoUccEqDYrWfeHG2c4pqfSlmOVN/Gf3QKs6zpcaOexLm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_9"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:41.019971' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 11ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_43' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_43"], ["created_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_43"], ["title", "message_template_43"], ["updated_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_89@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_89@example.jp"], ["encrypted_password", "$2a$04$sAgO211K2sv.5atiz/u6QufNko4Q0jYZAPu/L0k3bZYTlbv0tewqW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_89"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:41.059580' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 11ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.4ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_44' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_44"], ["created_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_44"], ["title", "message_template_44"], ["updated_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML Completed 500 Internal Server Error in 78ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_10@example.jp"], ["encrypted_password", "$2a$04$KV9ilBMN.2oTYwc.6IvvMuve8GYWbEJvZGuBmMh9NPuHkvwEZxnLi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_10"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:41.185705' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_45' LIMIT 1 SQL (1.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_45"], ["created_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_45"], ["title", "message_template_45"], ["updated_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 14ms (Views: 5.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_10@example.jp"], ["encrypted_password", "$2a$04$eX0JJss7SuW3kbB7E3iIZeclTe4QLthjRnpUPI.SNQ03XHThFpKQi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_10"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:41.227465' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_46' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_46"], ["created_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_46"], ["title", "message_template_46"], ["updated_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 12ms (Views: 3.6ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_90@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_90@example.jp"], ["encrypted_password", "$2a$04$I5T2zoi8tu5bhUi/8my5tuSjB0osTeRUCYFhq6maAWDLzf4jJVq7C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_90"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:41.265095' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_47' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_47"], ["created_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_47"], ["title", "message_template_47"], ["updated_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 7ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_48' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_48"], ["created_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_48"], ["title", "message_template_48"], ["updated_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 6ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_11@example.jp"], ["encrypted_password", "$2a$04$oG2t/DRw7LkqFJQopdClgeFf.4lRQK4tBrs7Edoe2CWltnkFpktFO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_11"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:41.312511' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 8ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_11@example.jp"], ["encrypted_password", "$2a$04$VZIz5ruOH.0QgaSm9lpx5evxHJrIblipk420IpYyxrAJd32rLgh4G"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_11"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:41.338826' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_91@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_91@example.jp"], ["encrypted_password", "$2a$04$EbEE5VagF13OIU9oWqf7L.dxlB5N4E2th4BiZuho/Aa9N5gNysZgK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_91"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:41.363340' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 7ms Processing by MessageTemplatesController#new as HTML Completed 500 Internal Server Error in 3ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_12@example.jp"], ["encrypted_password", "$2a$04$oVk6TP.2pHod67H6v5Ol3.OodGIQBuW5YFMD43AwimxX/gvp3KNFq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_12"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:41.393056' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_49' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_49"], ["created_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_49"], ["title", "message_template_49"], ["updated_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 51ms (Views: 1.6ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_12@example.jp"], ["encrypted_password", "$2a$04$tnbTPQhANLMOti/gABsnkeJPL3kpdILF.MHgEZe/0.VMHWL0jrxry"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_12"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:41.462669' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_50' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_50"], ["created_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_50"], ["title", "message_template_50"], ["updated_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 5ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_92@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (13.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_92@example.jp"], ["encrypted_password", "$2a$04$kLHPSf5fIcosvYO8a5ErO.SAf6zkqrvLu6Gp/HoCpOyjyxIIw1Qp6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_92"]] SQL (6.6ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:41.503943' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_51' LIMIT 1 SQL (39.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_51"], ["created_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_51"], ["title", "message_template_51"], ["updated_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 5ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_52' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_52"], ["created_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_52"], ["title", "message_template_52"], ["updated_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 3ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_13@example.jp"], ["encrypted_password", "$2a$04$ipyGhYlpECMv4wUxv.80i.cLg6mvnWqe1MXESDgMW2IjwxGYuGf6."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_13"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:41.628796' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_53", "status"=>"message_template_53", "body"=>"message_template_53"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 5ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_14@example.jp"], ["encrypted_password", "$2a$04$YF0MCEZptOyu72.pxmPte.HTdDzQGA81qNTDsVuEaTEDOB55mqlG2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_14"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:41.721444' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_54", "status"=>"message_template_54", "body"=>"message_template_54"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 5ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_15@example.jp"], ["encrypted_password", "$2a$04$TFk/yP8lSnt4qQRiM.U3K.rWRAk5KZ3bC8e3AH4VbaYRrsGQupq5K"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_15"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:41.801410' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_16@example.jp"], ["encrypted_password", "$2a$04$uuJCv.ANSDGkUG4BiZSxLe5gF4AYSL/Z9sO4MqPzN6m0OPUJvHbIW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_16"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:41.817645' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_13@example.jp"], ["encrypted_password", "$2a$04$D1mudEmrQDMqKJdhEypjAuEy8VeuoIEXrUU68a8kYkALaetDLqpAm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_13"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:41.833933' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_57", "status"=>"message_template_57", "body"=>"message_template_57"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_14@example.jp"], ["encrypted_password", "$2a$04$44V6Ec11VQjobxAjl1e4l.GqxDLMlrhzuGKgHiFA.AD6g.eXI.SVe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_14"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:41.884871' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_58", "status"=>"message_template_58", "body"=>"message_template_58"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 5ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_15@example.jp"], ["encrypted_password", "$2a$04$87IWRaGmzY2ZNX9bshp1yOhA6.rNyOvatvIK/ivUKOg.X8MRTVtDO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_15"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:41.901800' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_16@example.jp"], ["encrypted_password", "$2a$04$YN6M21zXGfBC.0KzqXedY.nCu7.QHike.z4uUceltBOch/83eATzG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_16"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:41.917654' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 5ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_93@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_93@example.jp"], ["encrypted_password", "$2a$04$MDLlcoIu/tr9.pYANxhCBuuJkJgIQDfWeCwQxnDx4to75BepGLR8a"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_93"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:41.934316' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_61", "status"=>"message_template_61", "body"=>"message_template_61"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_94@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_94@example.jp"], ["encrypted_password", "$2a$04$S1ovqcDGWbXQK.YHIEOlGu5mqtKEiyeU373PzXDG8HbU78aXyl9Ta"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_94"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:41.949802' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_62", "status"=>"message_template_62", "body"=>"message_template_62"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_95@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_95@example.jp"], ["encrypted_password", "$2a$04$6QB3SAN4v8mHSp6unUSrRuEF3pYHOBSZfVPeKuDnywf2y.pl1K5qC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_95"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:41.966235' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_96@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_96@example.jp"], ["encrypted_password", "$2a$04$OBtkretaN7CQ7M093jftjuVKf746LOKdKMEDm9nVNFzEVwBljzWp."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_96"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:41 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:41.981348' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 4ms Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_65", "status"=>"message_template_65", "body"=>"message_template_65"}} Completed 500 Internal Server Error in 3ms Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_66", "status"=>"message_template_66", "body"=>"message_template_66"}} Completed 500 Internal Server Error in 3ms Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Completed 500 Internal Server Error in 2ms Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Completed 500 Internal Server Error in 2ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_69' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_69"], ["created_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_69"], ["title", "message_template_69"], ["updated_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (36.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_17@example.jp"], ["encrypted_password", "$2a$04$2KhyXoYaJVXjLQemsaScBOkERC6FISmSEAOh4ksBI9a/Co1.FcSUu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_17"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:42.055678' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_70", "status"=>"message_template_70", "body"=>"message_template_70"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_70' AND "message_templates"."id" != 9) LIMIT 1  (0.1ms) UPDATE "message_templates" SET "title" = 'message_template_70', "status" = 'message_template_70', "body" = 'message_template_70', "updated_at" = '2011-12-16 03:42:42.064335' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates/9 Completed 302 Found in 14ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_71' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_71"], ["created_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_71"], ["title", "message_template_71"], ["updated_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_18@example.jp"], ["encrypted_password", "$2a$04$4KVc7/uXw0NngorwFdpoG.dqErLE.OUWM0Q6R4lAe8ww2OnIOEmQa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_18"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:42.084776' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_72", "status"=>"message_template_72", "body"=>"message_template_72"}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_72' AND "message_templates"."id" != 9) LIMIT 1  (0.1ms) UPDATE "message_templates" SET "title" = 'message_template_72', "status" = 'message_template_72', "body" = 'message_template_72', "updated_at" = '2011-12-16 03:42:42.093178' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates/9 Completed 302 Found in 8ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_73' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_73"], ["created_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_73"], ["title", "message_template_73"], ["updated_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_19@example.jp"], ["encrypted_password", "$2a$04$8G6bxYCjaZ3l72Arh.sVe.BW4Nyg.QE35FTcrqOGfrCMAEnVC7Zma"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_19"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:42.108239' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_74", "status"=>"message_template_74", "body"=>"message_template_74"}, "position"=>"2", "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "message_templates" SET "position" = 0, "updated_at" = '2011-12-16 03:42:42.115393' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "message_templates" SET position = (position - 1) WHERE "message_templates"."id" IN (SELECT "message_templates"."id" FROM "message_templates" WHERE (1 = 1 AND position > 9) ORDER BY position) SQL (0.2ms) UPDATE "message_templates" SET position = (position + 1) WHERE "message_templates"."id" IN (SELECT "message_templates"."id" FROM "message_templates" WHERE (1 = 1 AND position >= 2) ORDER BY position)  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "message_templates" SET "position" = 2, "updated_at" = '2011-12-16 03:42:42.117144' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates Completed 302 Found in 8ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_75' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_75"], ["created_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_75"], ["title", "message_template_75"], ["updated_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_20@example.jp"], ["encrypted_password", "$2a$04$cEU9H3HddcG08jCljdPv6OTrMrW36nZ9RSjxDWmNA/JNvS.1/v24q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_20"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:42.130707' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = '' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 0.7ms | ActiveRecord: 0.0ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_77' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_77"], ["created_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_77"], ["title", "message_template_77"], ["updated_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_17@example.jp"], ["encrypted_password", "$2a$04$PzcTPYO41N.6H7Y7Ac4T4uNLUqOVJzVGnFDkj4AcQwT7q8ceruYha"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_17"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:42.154237' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_78", "status"=>"message_template_78", "body"=>"message_template_78"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 5ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_79' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_79"], ["created_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_79"], ["title", "message_template_79"], ["updated_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (36.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_18@example.jp"], ["encrypted_password", "$2a$04$gH7w1ZtN9uYlEcybcYDhNOu9KOVgBxBBLlB2SBSqX5p723bKCaboa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_18"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:42.211387' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_80", "status"=>"message_template_80", "body"=>"message_template_80"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 5ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_81' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_81"], ["created_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_81"], ["title", "message_template_81"], ["updated_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_19@example.jp"], ["encrypted_password", "$2a$04$ZaDKuWo4mX.e2nb/Jcw75Ork/dSQHMtfcmZ7ZJJ0IYNAXx2t7NY0W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_19"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:42.231885' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 5ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_83' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_83"], ["created_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_83"], ["title", "message_template_83"], ["updated_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_97@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_97@example.jp"], ["encrypted_password", "$2a$04$.6/2o9TP/GIsUDAluI7GO..atlsBm3vtqdrfwSWoVsKj.C0iAMNgm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_97"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:42.251360' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_84", "status"=>"message_template_84", "body"=>"message_template_84"}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 5ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_85' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_85"], ["created_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_85"], ["title", "message_template_85"], ["updated_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_98@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_98@example.jp"], ["encrypted_password", "$2a$04$XBMUf6DRWE2ufSyllHS.re167S2gOKMpY3ti.VJUgRTvBVdofM6wu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_98"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:42.271618' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_86", "status"=>"message_template_86", "body"=>"message_template_86"}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 4ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_87' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_87"], ["created_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_87"], ["title", "message_template_87"], ["updated_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_99@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_99@example.jp"], ["encrypted_password", "$2a$04$.Ru4oBndP7wJupRX/r9vmOQBn4duPRHz2iN.6Ct8Gj5R8GKvUt1wm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_99"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:42.290806' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 6ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_89' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_89"], ["created_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_89"], ["title", "message_template_89"], ["updated_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_90", "status"=>"message_template_90", "body"=>"message_template_90"}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 3ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_91' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_91"], ["created_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_91"], ["title", "message_template_91"], ["updated_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_92", "status"=>"message_template_92", "body"=>"message_template_92"}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 3ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_93' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_93"], ["created_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_93"], ["title", "message_template_93"], ["updated_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 3ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_95' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_95"], ["created_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_95"], ["title", "message_template_95"], ["updated_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_21@example.jp"], ["encrypted_password", "$2a$04$a0s1CC8oOtxPnQeMSuyqLerPkWNOBqmqsk3WPkdJUdTG3G1OAp9nm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_21"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:42.340983' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 5ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_96' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_96"], ["created_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_96"], ["title", "message_template_96"], ["updated_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (47.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_22@example.jp"], ["encrypted_password", "$2a$04$J4SEvPRU6NnCKp0P22RVJO/UytPLxthamTPMeGgPJYPbGHG0oS0lm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_22"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:42.408062' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 8ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_97' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_97"], ["created_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_97"], ["title", "message_template_97"], ["updated_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_20@example.jp"], ["encrypted_password", "$2a$04$Avg7yzZeHYuCUKJ41A52HeoV4p.j8FRmTjy1DDMMUBqO42/qT608y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_20"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:42.440590' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 8ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_98' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_98"], ["created_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_98"], ["title", "message_template_98"], ["updated_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.3ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_21@example.jp"], ["encrypted_password", "$2a$04$oP1B/FtDiZht3UAvzXzSJOTp.8MYeqF6UmXFyAufcsXVNdbhIovrq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_21"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:42.477184' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 7ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_99' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_99"], ["created_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_99"], ["title", "message_template_99"], ["updated_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_100@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_100@example.jp"], ["encrypted_password", "$2a$04$.HxjJfcF96niVlzOGu.AvOXYszFZVMZvTDG7p/LEjgwsGY3ZLb2rK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_100"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:42.507061' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 8ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_100' LIMIT 1 SQL (1.9ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_100"], ["created_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_100"], ["title", "message_template_100"], ["updated_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_101@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_101@example.jp"], ["encrypted_password", "$2a$04$tVd2hReCoGFil4FXDwBieel5h9tsw1GHdmo4F9ydSNpisZr.zTEy."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_101"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:42.540389' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 9ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_101' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_101"], ["created_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_101"], ["title", "message_template_101"], ["updated_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 6ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_102' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_102"], ["created_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_102"], ["title", "message_template_102"], ["updated_at", Fri, 16 Dec 2011 03:42:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 10ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_23@example.jp"], ["encrypted_password", "$2a$04$quftPHFeVhuxEzJwrP8DTuauWquWEZXFkh4/j1zMk2DSHg1nHulbG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_23"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:45 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:42:45 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:45.901046' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 64ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_24@example.jp"], ["encrypted_password", "$2a$04$XQ/J7T2qBslAIFTBtaYSa.NW5LZmP355i.zGsUXmD18HaPnGbhzUO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_24"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:45 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:42:45 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:45.978133' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML Parameters: {"user_id"=>"admin_24"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 51ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_22@example.jp"], ["encrypted_password", "$2a$04$lrtRHa28lbTnwPKzdGAx5.cuUfR8dru.Oz7yiohFyruG2lHL/d6/O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_22"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:46 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:42:46 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:46.041348' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 15ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_23@example.jp"], ["encrypted_password", "$2a$04$tdF1oxdXw.12JdVtHKFKkeDacuhyuQiQCOCHtkUYjB8xz4gf0wrWi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_23"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:46 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:42:46 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:46.068255' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML Parameters: {"user_id"=>"librarian_23"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 49ms User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 17ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML Parameters: {"query"=>"you"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 48ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 15ms Processing by MessagesController#index as HTML Completed 500 Internal Server Error in 2ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 14ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 500 Internal Server Error in 8ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#show as HTML Parameters: {"id"=>"2"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 3 AND "messages"."id" = ? LIMIT 1 [["id", "2"]]  (0.0ms) SAVEPOINT active_record_1  (0.3ms) UPDATE "messages" SET "read_at" = '2011-12-16 03:42:46.297515', "updated_at" = '2011-12-16 03:42:46.297814' WHERE "messages"."id" = 2 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1  (0.4ms) UPDATE "messages" SET "state" = 'read', "updated_at" = '2011-12-16 03:42:46.302757' WHERE "messages"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 20ms (Views: 3.7ms | ActiveRecord: 1.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 500 Internal Server Error in 6ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (35.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_25@example.jp"], ["encrypted_password", "$2a$04$7gQ2560uOswyh.S99t4.GeYBDGCJAbwjTPEzmB4buOTuBlnom/eFO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_25"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:46 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:42:46 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:46.369951' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 Completed 200 OK in 10ms (Views: 2.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_24@example.jp"], ["encrypted_password", "$2a$04$m9JXV0OaTVD12iVEbVLwweVz2FNTM4l/yiS.JVey.LzHE54N7rNai"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_24"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:46 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:42:46 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:46.392693' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 Completed 200 OK in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 5ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 6ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML Parameters: {"parent_id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 5ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML Parameters: {"parent_id"=>"2"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 5ms Processing by MessagesController#new as HTML Completed 500 Internal Server Error in 3ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_26@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_26@example.jp"], ["encrypted_password", "$2a$04$/z3Qxql.NBrU41z4093A5.AvEQZE0VBoV9ap6E6.G13AbodrBe0Ny"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_26"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:46 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:42:46 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:46.450050' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 8 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 6ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_25@example.jp"], ["encrypted_password", "$2a$04$VycY8NbLdE.7K6iBDo1F..93HOrFoYiskcf6Q3NzLE2rtgCSj56Ei"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_25"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:46 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:42:46 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:46.469686' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 500 Internal Server Error in 8ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 5ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_102@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_102@example.jp"], ["encrypted_password", "$2a$04$5nqjvev3wDqRoL9QchCvvOKOsWM7.mkm6Ib4fnBLzueHw5En3cuTy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_102"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:46 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:46 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:46.498477' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_103@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_103@example.jp"], ["encrypted_password", "$2a$04$NupBSAYMEvvDGNWWiKCuAuJUgjRIE5tgeXXvhdMrZ8FemIfN0HR4e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_103"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:46 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:46 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:46.506818' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "user_102"]]  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_27@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (37.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_27@example.jp"], ["encrypted_password", "$2a$04$8T.jAjZ2pAb.lS25mEhccu1OdrkiHbVc.Z7OwFW7WgVmAyXL6PPDC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_27"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:46 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:42:46 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:46.556082' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}, "user_id"=>"user1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 500 Internal Server Error in 28ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_28@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_28@example.jp"], ["encrypted_password", "$2a$04$HPQFeiWQ596KNTE9QVlUIudtO8V86VHK.tZwQM4HLWqfJjrfA3fU."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_28"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:46 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:42:46 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:46.595974' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}, "user_id"=>"user1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 500 Internal Server Error in 61ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_29@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_29@example.jp"], ["encrypted_password", "$2a$04$XPfZTAXBRsFTTvsSFncSbuLvZv3IooCiodWw.3Whagbn7hTF0tAiG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_29"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:46 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:42:46 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:46.671859' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}, "user_id"=>"user1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 500 Internal Server Error in 65ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_30@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_30@example.jp"], ["encrypted_password", "$2a$04$23vRVkEzkpEgirYzZPPqte2G4rl5gki8sYLa9UxoZGBGqk1d2YkMS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_30"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:46 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:42:46 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:46.749495' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 500 Internal Server Error in 79ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test", "parent_id"=>"2"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = 2 LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "user2"]]  (0.0ms) SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "user2"]]  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 404 Not Found in 8ms User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 7ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test", "parent_id"=>"2"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 7ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}} Completed 500 Internal Server Error in 4ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}} Completed 500 Internal Server Error in 6ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}} Completed 500 Internal Server Error in 5ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}} Completed 500 Internal Server Error in 4ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_104@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (37.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_104@example.jp"], ["encrypted_password", "$2a$04$Q6tusKPZhC1Cd3auXZ3vQOA9mFUybS3.XuDUATF9FSB7ZqR/OvPrq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_104"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:46 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:46 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:46.946567' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_105@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_105@example.jp"], ["encrypted_password", "$2a$04$Z0ulc1vB6Czx5wAMHL341eIA5L.Di7MenJ.GlAnluTRgzs1yVnYD."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_105"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:46 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:46 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:46.956634' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_104", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 8ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_106@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_106@example.jp"], ["encrypted_password", "$2a$04$Aj36FE1ZAZbcQkuHaajeOeAdlvt4PEnahC4Vm4/3js2gkAucFKNOu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_106"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:46 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:46 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:46.980210' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_107@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_107@example.jp"], ["encrypted_password", "$2a$04$/A4oX5SlxEPCONRRxkB3iOAyB6AWVY/w1Q5XdtUpwFAT/L8kjLxZe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_107"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:46 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:46 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:46.992305' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_106", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 9ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_108@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_108@example.jp"], ["encrypted_password", "$2a$04$GykCHz/Oxu0OdmxWlrtaqeqha90SZhk7VCHOC.vNUIYEvq22M4Hh6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_108"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:47.021839' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_109@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_109@example.jp"], ["encrypted_password", "$2a$04$PzQ8SEPS/3nDxdTmsiLX/OW2pM8DvuNQVvH6aKHG3UQT/v2dQ8tEy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_109"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:47.034737' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 9ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_110@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_110@example.jp"], ["encrypted_password", "$2a$04$D.q6zJX0Cb5cyIGiE8J5Wu8P/FC0jW/LvpasHJEXh0Q3GqO.Ege9G"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_110"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:47.059279' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_111@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_111@example.jp"], ["encrypted_password", "$2a$04$PGq.w23pL1MXTKqSgmRLFeNLbYf8GR1UfTEo8WC1qeCgZdKIYk3qK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_111"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:47.068993' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 7ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_112@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_112@example.jp"], ["encrypted_password", "$2a$04$VqMPt8uvHZmsx9Q2OnxET.NnEKD5VCT8ATV9OjZzdooEgjfPBe4cy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_112"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:47.089496' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_113@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_113@example.jp"], ["encrypted_password", "$2a$04$UPJ2zDCI6qlKDdv1.6K52uwpSnQ2.ndivgopH4/.nT9JHoGuqPCxW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_113"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:47.098720' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_112", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 500 Internal Server Error in 6ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_114@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_114@example.jp"], ["encrypted_password", "$2a$04$DrkStlIJHAl/IvHPIu4hn.23TOPTAMpxIOjA2VPq2edIdQ8remdh."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_114"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:47.161488' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_115@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_115@example.jp"], ["encrypted_password", "$2a$04$uLy526xxsy72Hwuo6NRvT.hBidjaAHhymb8uWdp1JeS2iwsMZREHa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_115"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:47.171143' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_114", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 500 Internal Server Error in 6ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_116@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_116@example.jp"], ["encrypted_password", "$2a$04$VUlB7revnitwEk.D4bHQa.6InMOCyL0pVactuXT8auItWyPygRvEq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_116"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:47.190918' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_117@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_117@example.jp"], ["encrypted_password", "$2a$04$5hJQMTDGNCIRiFVejc.YOO8K4Fy1zWaQRURNtBPqnUS.V1DFZSMhe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_117"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:47.200065' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 500 Internal Server Error in 5ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_118@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_118@example.jp"], ["encrypted_password", "$2a$04$kHIvC5Qxtri6.CYF6QbhQut5AEE6YdUIBCe7Ad6aEL/ZGT0bGoX7K"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_118"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:47.217970' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_119@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_119@example.jp"], ["encrypted_password", "$2a$04$yVhN4HxW.LaeBv2sjFMbU.dHiQt2JpO299QwuxiNWG5Gxf71H1zsG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_119"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:47.226059' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 500 Internal Server Error in 6ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_120@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_120@example.jp"], ["encrypted_password", "$2a$04$Cq7mLLA20wbg9rtQtlJgDuBS93ujlld.qlTxjXav0EwDcl8qjyguG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_120"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:47.244756' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_121@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_121@example.jp"], ["encrypted_password", "$2a$04$hWRC75eu0UbtrT7bjkruxuVMWpJWQBc9Ol0IsK5oHaWSVW7akTtK."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_121"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:47.253330' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"2"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 5ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_122@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_122@example.jp"], ["encrypted_password", "$2a$04$bnFGheQIoe13GyQlI.rd6u6/20MTAyzWNurFf3nMx8jp3oNgwqzz."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_122"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:47.308040' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_123@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_123@example.jp"], ["encrypted_password", "$2a$04$nuM8q13MMUqsEI3XbCXU3uNXBPAmA8Tr7hCHp4a63bm7h81.t8npy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_123"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:47.316812' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 5ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_124@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_124@example.jp"], ["encrypted_password", "$2a$04$RidyS0LYV2eJXfx338S3Fe.wchkU.SHQs6w2Y8n5U431ryfXuD3XC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_124"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:47.338381' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_125@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_125@example.jp"], ["encrypted_password", "$2a$04$MUOCIx1LIScFoWccHQPnV.Em3kOYW89VIAMvD.aN5HGq3uRg741SK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_125"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:47.346698' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_124", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 5ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_126@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_126@example.jp"], ["encrypted_password", "$2a$04$uENT63FiqWffn5i7ScpAmui/p87FCn3xIpt7Lj58iYKuKJJlmTYae"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_126"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:47.366893' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_127@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_127@example.jp"], ["encrypted_password", "$2a$04$sfVDpnheuFHP7GhHPqW39u9to/utjPDrik/6VfpGSjRmKHTpZDQlm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_127"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:47.375472' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_126", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 5ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_128@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_128@example.jp"], ["encrypted_password", "$2a$04$96/mtUBx3B6ox0jXmQroyO7g172nqRGauwZUAPI2nqRWxnSFvpksm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_128"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:47.393468' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_129@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_129@example.jp"], ["encrypted_password", "$2a$04$eh/BJXER9wL.1CjNBPRd9u4XDf/4vaGL8qTMSU/nHxlG940eswNDy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_129"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:47.402104' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 5ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_130@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_130@example.jp"], ["encrypted_password", "$2a$04$/XKI0NGzdyFZXbXNkDb3YeeypeTu4V8u1.3PWKlGpMDyWOJZDUD4K"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_130"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:47.419695' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_131@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_131@example.jp"], ["encrypted_password", "$2a$04$X4/GdsJ95e0mfMuYicvFDON4saHbrhmvp4CNqDCP2wl04QAYGdSDm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_131"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:47.428167' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 6ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_132@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (37.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_132@example.jp"], ["encrypted_password", "$2a$04$S9D28vCWJR7..VLF.2klGOLE07bnSVflwImHGAvwGzcm3xi8pP6/C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_132"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:47.483859' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_133@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_133@example.jp"], ["encrypted_password", "$2a$04$lpI3QbZqz4XpyIm7HQ5pAOXx.PhTTSSeYTatqbVgsCLQNQhZn1H9y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_133"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:42:47 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:42:47.492176' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] Completed 500 Internal Server Error in 4ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#destroy as HTML Parameters: {"id"=>"2"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 3 AND "messages"."id" = ? LIMIT 1 [["id", "2"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "messages" WHERE ("lft" > 3 AND "rgt" < 4) SQL (0.4ms) UPDATE "messages" SET "lft" = ("lft" - 2) WHERE "messages"."id" IN (SELECT "messages"."id" FROM "messages" WHERE ("lft" > 4) ORDER BY "lft") SQL (0.4ms) UPDATE "messages" SET "rgt" = ("rgt" - 2) WHERE "messages"."id" IN (SELECT "messages"."id" FROM "messages" WHERE ("rgt" > 4) ORDER BY "lft") SQL (0.1ms) DELETE FROM "messages" WHERE "messages"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/messages Completed 500 Internal Server Error in 21ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 500 Internal Server Error in 6ms Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 4ms Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 3ms Fixture Delete (0.4ms) DELETE FROM "message_requests" Fixture Insert (0.2ms) INSERT INTO "message_requests" ("sender_id", "receiver_id", "message_template_id", "state", "created_at", "updated_at", "id") VALUES (1, 1, 1, 'pending', '2011-12-16 03:44:09', '2011-12-16 03:44:09', 980190962) Fixture Insert (0.1ms) INSERT INTO "message_requests" ("sender_id", "receiver_id", "message_template_id", "state", "created_at", "updated_at", "id") VALUES (1, 1, 1, 'pending', '2011-12-16 03:44:09', '2011-12-16 03:44:09', 298486374) Fixture Delete (0.2ms) DELETE FROM "message_templates" Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (1, 'reservation_accepted', 'Reservation accepted', 'Reservation accepted', 1, '2011-12-16 03:44:09', '2011-12-16 03:44:09') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (2, 'item_received', 'Item received', 'Item received', 2, '2011-12-16 03:44:09', '2011-12-16 03:44:09') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (3, 'reservation_expired_for_patron', 'Reservation expired', 'Reservation expired', 3, '2011-12-16 03:44:09', '2011-12-16 03:44:09') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (4, 'reservation_expired_for_library', 'Reservation expired', 'Reservation expired', 4, '2011-12-16 03:44:09', '2011-12-16 03:44:09') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (5, 'reservation_canceled_for_patron', 'Reservation canceled', 'Reservation canceled', 5, '2011-12-16 03:44:09', '2011-12-16 03:44:09') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (6, 'reservation_canceled_for_library', 'Reservation canceled', 'Reservation canceled', 6, '2011-12-16 03:44:09', '2011-12-16 03:44:09') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (7, 'recall_item', 'Recall item', 'Recall item', 7, '2011-12-16 03:44:09', '2011-12-16 03:44:09') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (8, 'recall_overdue_item', 'Recall overdue item', 'Recall overdue item', 8, '2011-12-16 03:44:09', '2011-12-16 03:44:09') Fixture Delete (0.2ms) DELETE FROM "messages" Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "read_at", "state", "lft", "rgt", "updated_at") VALUES (1, 3, 4, 'First Message', 'Abby, you get the first message', '2007-07-04 12:10:47.000000', '2011-12-13 03:44:09.000000', 'unread', 1, 2, '2011-12-16 03:44:09') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (2, 4, 3, 'RE: First Message', 'Thanks Dad! You are the coolest!', '2011-12-14 03:44:09.000000', 'unread', 3, 4, '2011-12-16 03:44:09') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (3, 3, 4, 'Second Message', 'Catie, you get the 2nd message', '2011-12-15 03:44:09.000000', 'unread', 5, 6, '2011-12-16 03:44:09') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (6, 4, 5, 'Dad!', 'He is sucha dork.', '2011-12-14 03:44:09.000000', 'unread', 7, 8, '2011-12-16 03:44:09') Fixture Delete (0.1ms) DELETE FROM "roles" Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Guest', 'Guest', 1, NULL, '2011-12-16 03:44:09', '2011-12-16 03:44:09') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('User', 'User', 2, NULL, '2011-12-16 03:44:09', '2011-12-16 03:44:09') Fixture Insert (1.4ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Librarian', 'Librarian', 3, NULL, '2011-12-16 03:44:09', '2011-12-16 03:44:09') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Administrator', 'Administrator', 4, NULL, '2011-12-16 03:44:09', '2011-12-16 03:44:09') Fixture Delete (0.1ms) DELETE FROM "user_groups" Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('(not specified)', '(not specified)', '2007-12-13 12:00:51.564542', 1, '', '2007-12-13 12:00:01.674976', 1) Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('User', 'User', '2007-12-22 18:14:56.836548', 2, '', '2007-12-22 18:14:40.173954', 2) Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('Faculty', 'Faculty', '2007-12-22 18:15:05.134351', 3, '', '2007-12-22 18:15:05.126457', 3) Fixture Delete (0.1ms) DELETE FROM "user_has_roles" Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (1, 4, '2011-12-16 03:44:09', '2011-12-16 03:44:09', 135138680) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (2, 3, '2011-12-16 03:44:09', '2011-12-16 03:44:09', 344583537) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (3, 2, '2011-12-16 03:44:09', '2011-12-16 03:44:09', 206669143) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (4, 3, '2011-12-16 03:44:09', '2011-12-16 03:44:09', 226540757) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (5, 2, '2011-12-16 03:44:09', '2011-12-16 03:44:09', 358143215) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (6, 2, '2011-12-16 03:44:09', '2011-12-16 03:44:09', 576709754) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (7, 2, '2011-12-16 03:44:09', '2011-12-16 03:44:09', 1010528733) Fixture Delete (0.2ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:16:30.163731', '$2a$10$vHohD1WflnTIqAa8zMkF9evwAgIZRw3XuR4d3bi29M.jph/MB/AJi', 2, 1, NULL, 'admin', 'tanabe@kamata.lib.teu.ac.jp', '2007-11-19 07:58:32.111941', 4) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 03:41:16.337474', '$2a$10$9O2VuTccN4gHq36ARg0QReSrb1D7WrBBhZZ759RM9moHbB0W5zCzS', 1, 2, NULL, 'librarian1', 'librarian1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:33.172441', 1) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', '$2a$10$JthS59A0BNkDOoFpCXM0V.GhhffKaoWKbzpPahYp/vTFrOyM7h/uW', 1, 3, NULL, 'user1', 'user1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:23.340575', '$2a$10$YmmTGrYQ1Ir6oc7wXnp.GuNeO1eYLoP3sv8wMSIrTdaGw2BPwRrpS', 1, 4, NULL, 'librarian2', '2008-01-18 03:24:04.222344', 1) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:44.711117', '$2a$10$i7UjJhLVrJM/J7qaTwW39OXw1NiwowUEbtNHVDV0sqMLjX9.UO9ca', 1, 5, NULL, 'user2', '2008-01-18 04:29:06.922728', 2) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 6, NULL, 'user3', 'user3@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 7, NULL, 'user4', 'user4@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.2ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_1@example.jp"], ["encrypted_password", "$2a$04$9R6KAW0QO.tFV5fIw8icOuY3qwCMKDeJQ399X66So.mWgYnoUBZu6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_1"]] SQL (0.4ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:09 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:44:09 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:09.876039' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML Completed 500 Internal Server Error in 74ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_1@example.jp"], ["encrypted_password", "$2a$04$U87qV.KGHS0q6sPf8e29puO0svb8XqxPs2f3Fc6bRYxzVpvWUg09e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_1"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:09 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:44:09 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:09.986448' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML Completed 500 Internal Server Error in 62ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_1@example.jp"], ["encrypted_password", "$2a$04$VpGmB04v/ER00YtmmXOgP.sBbN1uvYJqMHFG3484zXt8Sg2liMYFO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_1"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:10.068077' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML Completed 500 Internal Server Error in 20ms Processing by MessageRequestsController#index as HTML Completed 500 Internal Server Error in 64ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_2@example.jp"], ["encrypted_password", "$2a$04$nU3PTil1IDTpDrSZRkVDQ.3lMVSgc3G5B/.Zu4ae8638PNE8TF0ke"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_2"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:10.171892' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_2@example.jp"], ["encrypted_password", "$2a$04$lZpImOT8g/64F9zmnUk3beIZ.8tAwxLmKusffY7.kk03qxH6L4GDO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_2"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:10.186356' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_3@example.jp"], ["encrypted_password", "$2a$04$.nDEBqZuHRAMR6rtFwrhReTUUU0596/OuJnCI/cIR8EbwITjL1NUS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_3"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:10.216009' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (1.8ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_1' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_1"], ["created_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_1"], ["title", "message_template_1"], ["updated_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_1' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} Completed 500 Internal Server Error in 70ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_2@example.jp"], ["encrypted_password", "$2a$04$FopfG7nUWc9EZdBOYJAj5ujazZF5zL6ccmJsPMBXzDXNgxaKwZXaS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_2"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:10.347541' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_4@example.jp"], ["encrypted_password", "$2a$04$tJqyQ5lfAkQJ0l8dhfRcYe7q1aC2AUwyI76FXCLLRhrZHreP/PoWa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_4"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:10.361647' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_5@example.jp"], ["encrypted_password", "$2a$04$ewswsaN.0tAXoeZ.9fOrNuCnAxl4Vj891ac.4uPnEmsqWS1J41Bh2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_5"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:10.376641' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_2' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_2"], ["created_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_2"], ["title", "message_template_2"], ["updated_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_2' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} Completed 500 Internal Server Error in 21ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_6@example.jp"], ["encrypted_password", "$2a$04$BPWblT9J4yjGA9oa6NcvuunkhdylaavM8kZTj7WMBnrA6zKVodmii"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_6"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:10.434818' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_7@example.jp"], ["encrypted_password", "$2a$04$9hqYP/RZZOHaZKRtHvPCweZcDt8nyqsmXfiJDuKWx9xcXPk46EzNS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_7"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:10.449379' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_8@example.jp"], ["encrypted_password", "$2a$04$fEkWasFOIcxSLdtxnGagH.5k4.EUy9LbfGO1oAQbmgdXPlJZz0Ahy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_8"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:10.525816' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_3' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_3"], ["created_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_3"], ["title", "message_template_3"], ["updated_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.4ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_3' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} Completed 500 Internal Server Error in 20ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_9@example.jp"], ["encrypted_password", "$2a$04$mRUxAP58LqT/zsUrD60xBO59bDCbh23pzaGXg/zZNlD1iQd.OygIy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_9"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:10.578938' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_10@example.jp"], ["encrypted_password", "$2a$04$5t3e.czByKqOXtCSZVrs0OONCl3vEaP8Cl4c8sI/d5tbKfV5M6uzW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_10"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:10.592729' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_4' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_4"], ["created_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_4"], ["title", "message_template_4"], ["updated_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_4' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} Completed 500 Internal Server Error in 80ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_3@example.jp"], ["encrypted_password", "$2a$04$LSGN/StUbnyIhtZHBvxXgO8vyi29GPbQV8tCbJEWK36kVh6jRf5jG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_3"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:10.704931' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_11@example.jp"], ["encrypted_password", "$2a$04$ASUMC85FZIh7Rov8..ntGOtpkjs0j3RhPDEsefogYDYT.2vdyJW0m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_11"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:10.718151' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.5ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_12@example.jp"], ["encrypted_password", "$2a$04$L16yxCabjHPd/AjwRQH1eO1SfDfTbnijdTod.IJR5XHqqrDAP0CBm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_12"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:10.731912' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_5' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_5"], ["created_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_5"], ["title", "message_template_5"], ["updated_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_5' AND "message_templates"."id" != 9) LIMIT 1 SQL (1.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} Completed 500 Internal Server Error in 42ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (54.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_3@example.jp"], ["encrypted_password", "$2a$04$DOwv12PWhWSATlV8tgrODOHKl5rN6gu/nIbdRRehj/WlMw9SzL7ou"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_3"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:10.866106' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_13@example.jp"], ["encrypted_password", "$2a$04$eAffDKqnPaTPpYnX.dPpxe7CzXf1prw1vBG.gkI7KJEGjyGdIw8sS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_13"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:10.882209' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_14@example.jp"], ["encrypted_password", "$2a$04$Kl4KT88mMd0FvOGthbATfug56iG7Ns/bLKNdWhda.ZtBnIDefOTeq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_14"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:10.895663' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_6' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_6"], ["created_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_6"], ["title", "message_template_6"], ["updated_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_6' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} Completed 500 Internal Server Error in 25ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_15@example.jp"], ["encrypted_password", "$2a$04$g1WkUmZ9p1kaHPCtvGX9TuYIMrg0D4hAr4.pWDVCyDpgwQuC/ZJ1W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_15"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:10.954929' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.3ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_16@example.jp"], ["encrypted_password", "$2a$04$SSvRDTmtgSNz5PoCno0.9O.E1AotQfc8XCv87JNW0Ef2pL2P6JXQm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_16"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["user_id", 9]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:10.969307' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_17@example.jp"], ["encrypted_password", "$2a$04$O2IA1VEawSovZxgPRBCEyuFqZOY2L4phrXKC2gtcL9uv6vWaLf/pu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_17"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:10.982562' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_7' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_7"], ["created_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_7"], ["title", "message_template_7"], ["updated_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_7' AND "message_templates"."id" != 9) LIMIT 1 SQL (8.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:44:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} Completed 500 Internal Server Error in 79ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (6.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_18@example.jp"], ["encrypted_password", "$2a$04$5hrcosBhJ2ZjPRz8cxotL.C5qgKvJIZ9ilSqxRx/nXfJ2JZ.Iu2Ji"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_18"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:11.103108' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_19@example.jp"], ["encrypted_password", "$2a$04$.n2pmkicQNzefy8mPBZ6PerpSvRs3Zn.2ruiIOdTriV8JvFvnxZQy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_19"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:11.116166' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_8' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_8"], ["created_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_8"], ["title", "message_template_8"], ["updated_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_8' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} Completed 500 Internal Server Error in 79ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_20@example.jp"], ["encrypted_password", "$2a$04$asjLRRzqzeCxlokhy7BLD.WNIpAAIFRZhPHqrAcFM660.MBNSZnZ."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_20"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:11.227658' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_21@example.jp"], ["encrypted_password", "$2a$04$sue5ie/TU7k816VzunByOO1/95UyM9SxNzck.QIU91FUVO4ObsBwS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_21"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["user_id", 9]]  (1.0ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:11.242737' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_9' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_9"], ["created_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_9"], ["title", "message_template_9"], ["updated_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_9' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_22@example.jp"], ["encrypted_password", "$2a$04$HQnzIjEyT5qPW4oZtAnUn.htHLOe1XV2NTSuN4wgkhOPGEMkSKnxa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_22"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:11.269940' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_23@example.jp"], ["encrypted_password", "$2a$04$rLXRDSjhUgALAZ.7IHJxQ.pspiJbkUlWTs6/HBSW/Ds.Ld1OiDu.K"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_23"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:11.282579' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_10' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_10"], ["created_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_10"], ["title", "message_template_10"], ["updated_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_4@example.jp"], ["encrypted_password", "$2a$04$Pn4XwLkySewE.iY.oLiIzexPEnl3fZA9ju0kA0/ttevOdN8FxkVfO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_4"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:11.299314' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} Completed 500 Internal Server Error in 84ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_24@example.jp"], ["encrypted_password", "$2a$04$lvQ1DrV6fo4IZoTePozrxuNEV5DKLzVEqWZIWyJZWgPzHA6JPssHe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_24"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:11.403511' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_25@example.jp"], ["encrypted_password", "$2a$04$9xfsa61XfvmtoV7OB.Z3FuO329gfXf4CK/E5cIxtHH9R6o0MdIwe."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_25"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:11.417575' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_11' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_11"], ["created_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_11"], ["title", "message_template_11"], ["updated_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_11' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_26@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_26@example.jp"], ["encrypted_password", "$2a$04$9cgakJ2mY.0FqvPmrVCabenanMVWb0yxwRMWZGWk1iXEnhxgoxU7a"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_26"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:11.447096' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_27@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_27@example.jp"], ["encrypted_password", "$2a$04$EvrP7GKNpgNRII7gubZCYOtC0AgHgQnbMaAE7kvoeeCaTmMpgNaIy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_27"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:11.460423' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_12' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_12"], ["created_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_12"], ["title", "message_template_12"], ["updated_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_5@example.jp"], ["encrypted_password", "$2a$04$dSy487D0TvykS3Kb7APcWOTtNBoLE/WzoLJvEKrUdseKqfRHqCfUO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_5"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:11.485508' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} Completed 500 Internal Server Error in 24ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_28@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_28@example.jp"], ["encrypted_password", "$2a$04$ROkbHfMg1t6vhcY2NiyUjevY5GSCEv7NZ6ueKu5uKrzesMtz90RUu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_28"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:11.530370' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_29@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (52.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_29@example.jp"], ["encrypted_password", "$2a$04$HQrovDBN56k/bVGH.NW9J.qzuFF2x15b8rrI/LvcKdKIIkcmLFreW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_29"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:11.594651' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_13' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_13"], ["created_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_13"], ["title", "message_template_13"], ["updated_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_13' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_30@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_30@example.jp"], ["encrypted_password", "$2a$04$3tqzZszSNoByNOoBWQ3dFuULgYIkYHtXFmsKwmmw7OY6xN4.WJfi."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_30"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:11.622445' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_31@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_31@example.jp"], ["encrypted_password", "$2a$04$tTyYbYzvkUGmRSU4adCOAucuD3QW4iX8NLQa16XxUJTYsea/hf4x6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_31"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:11.642908' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_14' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_14"], ["created_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_14"], ["title", "message_template_14"], ["updated_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_6@example.jp"], ["encrypted_password", "$2a$04$ebLRmHbaiA0y.36iYHYRue6IXfV6tfmrRHiAp5E7XylLi1GweV4n2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_6"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:11.661347' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} Completed 500 Internal Server Error in 22ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_32@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_32@example.jp"], ["encrypted_password", "$2a$04$hMmsnkKQmF5odR.Z7sWn.egZJ8Rcx/7RkH0rMSLk/QRzTwWyfOCXi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_32"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:11.702974' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_33@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_33@example.jp"], ["encrypted_password", "$2a$04$q064w4khhVBxWahZQL.c/.GF2Mx7vog42vGLU3bzkvDOhYE0ijms2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_33"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:11.715911' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_15' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_15"], ["created_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_15"], ["title", "message_template_15"], ["updated_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_15' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_34@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_34@example.jp"], ["encrypted_password", "$2a$04$RfE.mk8YYjbV2TuReUM6Reve0FZhAndQkReSLLdkCjX8Q.bxluKCO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_34"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:11.806259' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_35@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_35@example.jp"], ["encrypted_password", "$2a$04$cIWrLSQk6QHyrpmlIta1y.0HeH8cpeUB1.UZMjUjKuOmAOESd3Pw."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_35"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:11.818529' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_16' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_16"], ["created_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_16"], ["title", "message_template_16"], ["updated_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_4@example.jp"], ["encrypted_password", "$2a$04$t58eWhSEOa6Pi/XDgZXhI.4qtvpn12Ho98FX9JpaIRT64JaSRT2yW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_4"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:11.837685' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} Completed 500 Internal Server Error in 20ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_36@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_36@example.jp"], ["encrypted_password", "$2a$04$kaXGI.IfZytoxaS7q/ETtOVp2UA4hD1WPpAA2K2cT49maYprFp89."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_36"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:11.878830' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_37@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_37@example.jp"], ["encrypted_password", "$2a$04$bgngNbKb6bgYx5MvKN8bg.bfKY/BAIvE3xS.Bg35jFB.XbdXQjd76"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_37"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:11.892210' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_17' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_17"], ["created_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_17"], ["title", "message_template_17"], ["updated_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_17' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_38@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_38@example.jp"], ["encrypted_password", "$2a$04$Yfe0ZXsGo8ZxxMJnmMeu0Oo3XZeF.wtCNfw6gN/4Dr3qXM0QflZu."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_38"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:11.921940' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_39@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (58.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_39@example.jp"], ["encrypted_password", "$2a$04$YaZVnoBvMZhFet/k/T6xI.6RdqxuKI9IhonMXP2EcAcHavrUf0e4i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_39"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:11 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:11.995881' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_18' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_18"], ["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_18"], ["title", "message_template_18"], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_5@example.jp"], ["encrypted_password", "$2a$04$s3e5zv1FIsimNYqx3MNKduakx2rXVWKkfA5c1g.6F22fbMpy/dnD6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_5"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:12.013019' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} Completed 500 Internal Server Error in 21ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_40@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_40@example.jp"], ["encrypted_password", "$2a$04$r532PqZ7U8cA/eggz3.N8.CxlVvGW5GFpi93AsnZmpK3VPiC.lxy."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_40"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:12.056029' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (1.9ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_41@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_41@example.jp"], ["encrypted_password", "$2a$04$E2ew6A.6ey0aV7PhRzysJ.GGmLxhw/quHrhPLuYOtebBXaxPhx44i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_41"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:12.071461' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.2ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_19' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_19"], ["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_19"], ["title", "message_template_19"], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_19' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_42@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_42@example.jp"], ["encrypted_password", "$2a$04$tY0D.gBUYQIYeBnR860ePODlQ7oXNKoIfsXL3kZLu.mNLSL3rBzl."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_42"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:12.095874' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_43@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_43@example.jp"], ["encrypted_password", "$2a$04$3UvLtqar/bvrKy2mi1fFme76REdBW2FdRCJzW6E2Vt17m4VvYiS7O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_43"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:12.109998' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_20' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_20"], ["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_20"], ["title", "message_template_20"], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_6@example.jp"], ["encrypted_password", "$2a$04$7YDNbQKajPtuZ1Oz.VXFTOl/L3Cr1SBxp8hZT4dQ2a2x6Tgs09o52"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_6"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:12.126087' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} Completed 500 Internal Server Error in 26ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_44@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_44@example.jp"], ["encrypted_password", "$2a$04$tWx.mwubNOHH4goZmC7bfu/6pyEAzc1mPaoZlUxXwkC1JG2t2YDNW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_44"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:12.219949' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_45@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_45@example.jp"], ["encrypted_password", "$2a$04$tpzjbfGejkhySoFMtaWCl.JX6zyDSi/4jgpkvrLvP5Q1qxpboBaSq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_45"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:12.233741' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_21' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_21"], ["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_21"], ["title", "message_template_21"], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_21' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_46@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_46@example.jp"], ["encrypted_password", "$2a$04$7rqjuh70/f8c8TsHJw6vjuemOVvVkTPHF2XpKWSAoN0PLiAuYrjFa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_46"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:12.258571' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_47@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_47@example.jp"], ["encrypted_password", "$2a$04$42PECuTm.GMBlQOIfHkVMO6l3.mYHsYWJdmujzMy1p4jjZDsJOiB6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_47"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:12.273297' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_22' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_22"], ["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_22"], ["title", "message_template_22"], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_48@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_48@example.jp"], ["encrypted_password", "$2a$04$bLf9KtIdrG2cm4hbj.tMs.cKEVrGQ4M4S0CghIt8sx8F7m97Ue./S"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_48"]] SQL (0.5ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:12.289352' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} Completed 500 Internal Server Error in 72ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_49@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_49@example.jp"], ["encrypted_password", "$2a$04$bBQMKwRydnxrmBd0cx6DnuRcTwTpmfMQ3Tjj80IAKELU0EmR0igvG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_49"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:12.382510' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_50@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_50@example.jp"], ["encrypted_password", "$2a$04$WKB.n8E.vLG/S1IuDfVtX.WSqXtdWWOov.v/FZXfylG7Bd5GuwOBq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_50"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:12.395924' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_23' LIMIT 1 SQL (0.8ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_23"], ["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_23"], ["title", "message_template_23"], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_23' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_51@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_51@example.jp"], ["encrypted_password", "$2a$04$6Y5JsoBsqZ2qUxjMWBC14ui73XoVipC8OFdYcP3qeygtNY.C7Ryy2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_51"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:12.419997' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.4ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_52@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_52@example.jp"], ["encrypted_password", "$2a$04$R5ayWLgYdlDzybwd9uGbYOVsGUwB/yrxbBrT6Q9yLKBczmzLyTJgy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_52"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:12.434789' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_24' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_24"], ["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_24"], ["title", "message_template_24"], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_53@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_53@example.jp"], ["encrypted_password", "$2a$04$MOIWHFTyz7fATBRYA728iuU6frayVqn5q1wZeyaR7WKpWhyrPPAcO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_53"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:12.453719' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} Completed 500 Internal Server Error in 81ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_54@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_54@example.jp"], ["encrypted_password", "$2a$04$RnH4wDwvu1nbREmkjcfZ4ucNvNdVAVVOZKzAhdW9DzoPru/3.QRRm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_54"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:12.554843' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_55@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_55@example.jp"], ["encrypted_password", "$2a$04$KhFM50czh8uxtwODZSCajOXXfwZGvSPcRqZLPkFQAO5MunIar3nK2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_55"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:12.568212' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_25' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_25"], ["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_25"], ["title", "message_template_25"], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_25' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_56@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_56@example.jp"], ["encrypted_password", "$2a$04$v8pU8V0L.1Ziexjuun7VguBQ6NFiu4FeejK3WoXxWf2VSbcC7b9rm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_56"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:12.592017' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_57@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_57@example.jp"], ["encrypted_password", "$2a$04$HwzpQ6/K.rFNAB0XbVRH9eLZZhEGxLDVm2va9rBFpu5E.MdLGO8PS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_57"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:12.608209' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_26' LIMIT 1 SQL (2.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_26"], ["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_26"], ["title", "message_template_26"], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_58@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (6.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_58@example.jp"], ["encrypted_password", "$2a$04$NaEf0mwUNFg99jtwjdbwZuJi0UguUsTndLl4OVCV8p7RzgDG/D9Ta"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_58"]] SQL (0.8ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:12.633830' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} Completed 500 Internal Server Error in 73ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_59@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_59@example.jp"], ["encrypted_password", "$2a$04$.Lt8jK7wA.FJSphZqFlgA.kzXYbqv1OPMtMvAvRlqDcJ9n2ZasB92"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_59"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:12.729096' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_60@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_60@example.jp"], ["encrypted_password", "$2a$04$OksxVBy4ZsSrX3l7tOXpZuH0VukT38yr29R9PUphgdw22QVyV2LRK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_60"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:12.742756' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_27' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_27"], ["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_27"], ["title", "message_template_27"], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_27' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.9ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_61@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_61@example.jp"], ["encrypted_password", "$2a$04$cneYrTAWlLWSSiHogOLQcuj31fthrO1CiNYaLa20ZuUIgTYAoeb02"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_61"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:12.767490' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_62@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_62@example.jp"], ["encrypted_password", "$2a$04$LLcyHq2E6.J4aH7aSAztm.TOR3NHgHEvGrY2Sszu7mpSa/m.LNC7i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_62"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:12.778044' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_28' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_28"], ["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_28"], ["title", "message_template_28"], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} Completed 500 Internal Server Error in 12ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_63@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_63@example.jp"], ["encrypted_password", "$2a$04$UQ6NU6UXoIRLX5LtFlTV2ejcHeaMJGPbD45QQ7MdsjIZ2Y2v0FdoC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_63"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:12.837121' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_64@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_64@example.jp"], ["encrypted_password", "$2a$04$STAPE/ti09ELPhGVrzzZ7OKIzJbS9flESvCnxvYMnBvllycrxXb3."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_64"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:12.845404' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_29' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_29"], ["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_29"], ["title", "message_template_29"], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_29' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_65@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_65@example.jp"], ["encrypted_password", "$2a$04$2UK7b9gDSIxGBpjZOqHpyODPEZhzBJ.xtQQrqFQrtbNI4PLCEzeBG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_65"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:12.860403' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_66@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_66@example.jp"], ["encrypted_password", "$2a$04$9k74UCinZZiQlxZR.YlsX.pnUqK75psGY2NMWblTp3WvksycSZS8u"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_66"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:12.868390' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_30' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_30"], ["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_30"], ["title", "message_template_30"], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} Completed 500 Internal Server Error in 11ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_67@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_67@example.jp"], ["encrypted_password", "$2a$04$xp4mylp/LULnvB37oRH0OuKSg7XhsTE19c7nrapTu7rigNt2OrBbW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_67"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:12.893658' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_68@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_68@example.jp"], ["encrypted_password", "$2a$04$WwXVx1tLCdbx7fj6dCva3u/vO3iBTpWgcQoTE4CsY2X0wRpsQ8qAa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_68"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:12.902294' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_31' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_31"], ["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_31"], ["title", "message_template_31"], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_31' AND "message_templates"."id" != 9) LIMIT 1 SQL (31.0ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_69@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_69@example.jp"], ["encrypted_password", "$2a$04$ORLJbvhB1q73AMLAK5d4M.pdEvLh5YFtSG7Efj.n80TJJ8lwVHZAW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_69"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:12.947578' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_70@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_70@example.jp"], ["encrypted_password", "$2a$04$pz/T72W1l4krj82EDDoY3enVtq.HivAA0HrJXkmN8eidI3rUSkeB2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_70"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:12.955746' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_32' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_32"], ["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_32"], ["title", "message_template_32"], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} Completed 500 Internal Server Error in 11ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_71@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_71@example.jp"], ["encrypted_password", "$2a$04$7lyo7YK0kuVgcomFcq3uXObsGdrA50c22kxyiHqnT0qUExu7JQ46y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_71"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:12.980752' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_72@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_72@example.jp"], ["encrypted_password", "$2a$04$23v5b7tbXuYU6Uj26FnAg.g3DeJ9BCVFFL/qdSUz5suwGqbdAWIBS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_72"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:12.989257' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_33' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_33"], ["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_33"], ["title", "message_template_33"], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_33' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:44:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_7@example.jp"], ["encrypted_password", "$2a$04$OHOLx.oNjYJd/oVy/kxudORL7Ptpdg/9is0IBJhyzyfpd2nxs19.."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_7"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:13.003770' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} Completed 500 Internal Server Error in 43ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_73@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_73@example.jp"], ["encrypted_password", "$2a$04$61jqecSkjqaU5hZlwqzbYe852OKDjoZNWV026K23uK.DnEp2sUZna"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_73"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:13.058423' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_74@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_74@example.jp"], ["encrypted_password", "$2a$04$b86.8qTUAz68V2GNIfxpC.V3HpbUYhx10L0AYGAVzGaPWb4fxg7OG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_74"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:13.066712' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_34' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_34"], ["created_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_34"], ["title", "message_template_34"], ["updated_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_34' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_8@example.jp"], ["encrypted_password", "$2a$04$tr0hEv8T/QAAYP07bcbFQuICID3YpbnLP/hvoHjGVQ3x2uErrMpnu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_8"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:13.081533' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} Completed 500 Internal Server Error in 41ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_75@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_75@example.jp"], ["encrypted_password", "$2a$04$lY71Varc6bZlKjML3yjerei5QbjkQ3khVZi2s0eQH3AJUVxvHallu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_75"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:13.135446' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_76@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_76@example.jp"], ["encrypted_password", "$2a$04$aXFW/XP6kY3mX43EY0naWuPTuAyLh64Rkijq0SwRY0cxPNp.ctEHq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_76"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:13.143812' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_35' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_35"], ["created_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_35"], ["title", "message_template_35"], ["updated_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_35' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_7@example.jp"], ["encrypted_password", "$2a$04$hNBfOO5ae.K84CcFQUJ5wOmiYDW9PXKj/jQmQWMpYHsUcEkqxV4L6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_7"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:13.158424' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} Completed 500 Internal Server Error in 12ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_77@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_77@example.jp"], ["encrypted_password", "$2a$04$5J65drlGKDaJa2pgbPuHUOg5Wh8fpmShcbOAkhgcq75yFLEdZ4Zr."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_77"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:13.181751' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_78@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_78@example.jp"], ["encrypted_password", "$2a$04$0dvOPG0LpXh2wS93nP88nuFMRRnUNzc7Fd1Zqh8qu4gzfO8cDNtH."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_78"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:13.191008' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_36' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_36"], ["created_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_36"], ["title", "message_template_36"], ["updated_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (31.7ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_36' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.6ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_8@example.jp"], ["encrypted_password", "$2a$04$7U7wdYriEAR7U2BPJLO25.xnZL2F7.viQaxPYSrI8LPorkDDKdw8e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_8"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:13.238800' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} Completed 500 Internal Server Error in 10ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_79@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_79@example.jp"], ["encrypted_password", "$2a$04$g7bPDImL3GDvO/R1e4wKS..ThlcA0AeRQkygJjfj9JdElpdJdrrgS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_79"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:13.260633' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_80@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_80@example.jp"], ["encrypted_password", "$2a$04$2X/gMUzyQNkxy5lmWxPK3.WRVWumUmasIe4PomABpsCzd4YZgb4YK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_80"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:13.269324' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_37' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_37"], ["created_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_37"], ["title", "message_template_37"], ["updated_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_37' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.6ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_81@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_81@example.jp"], ["encrypted_password", "$2a$04$dfSWXuKaHuDWBGepkLR6ZuKWlJBzpug3v2sCSvWiDvYmmahLyGpfS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_81"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:13.283958' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} Completed 500 Internal Server Error in 41ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_82@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_82@example.jp"], ["encrypted_password", "$2a$04$f04b3ZrsHtLY.nkJZd/CReND/fBO3muYW09vu/ogXehFwL7Vpxon2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_82"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:13.338543' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_83@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_83@example.jp"], ["encrypted_password", "$2a$04$O8y5cTCp7H6y4JmiXr2Qu.GtQ7nk4.sHLhQKS2PXrDyMUHCPYOBbG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_83"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:13.346450' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_38' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_38"], ["created_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_38"], ["title", "message_template_38"], ["updated_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_38' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_84@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_84@example.jp"], ["encrypted_password", "$2a$04$nNcp4wNWjuZrsIXoOodP2OF5rvfVq/yc/ubpJg4LDm1b7BRJc9wPC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_84"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:13.361378' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} Completed 500 Internal Server Error in 12ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_85@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (31.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_85@example.jp"], ["encrypted_password", "$2a$04$RkEtdcySOPZY8bDcg/MZTOLyOLei530hpYzYvf/jNMAeD/VIHmoo."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_85"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:13.415173' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_86@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_86@example.jp"], ["encrypted_password", "$2a$04$cLjLnuFtOEkatYMmkccEGe3ezeb07EpfnzCQ47LAJDbTVgJqecTa6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_86"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:13.424521' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_39' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_39"], ["created_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_39"], ["title", "message_template_39"], ["updated_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_39' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} Completed 500 Internal Server Error in 10ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_87@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_87@example.jp"], ["encrypted_password", "$2a$04$JwEeZDfaixcpk8LJqFwMCu7PaAuhXQ/aDXnQo/lQeIPcC0eqJrfmC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_87"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:13.452916' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_88@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_88@example.jp"], ["encrypted_password", "$2a$04$IWvQR8qXcCJ4mu.ExNJole2QNYmJDAnku.gPNPxrreMbMBlp1b3mu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_88"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:13.461507' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_40' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_40"], ["created_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_40"], ["title", "message_template_40"], ["updated_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_40' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} Completed 500 Internal Server Error in 42ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_41' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_41"], ["created_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_41"], ["title", "message_template_41"], ["updated_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_9@example.jp"], ["encrypted_password", "$2a$04$kwRtYlfxX29nTuRb7XiGq.lAv5t6pDvkyOlW5Pm8mY4y0BV9T0Mu6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_9"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:13.525344' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML Completed 500 Internal Server Error in 12ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_42' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_42"], ["created_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_42"], ["title", "message_template_42"], ["updated_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_9@example.jp"], ["encrypted_password", "$2a$04$VEoQAySrleIrdxuKeUinoe.9qLKPGnT4TUI2a9Jp4DD/HMsf.jpWG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_9"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:13.551730' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML Completed 500 Internal Server Error in 41ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_43' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_43"], ["created_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_43"], ["title", "message_template_43"], ["updated_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_89@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_89@example.jp"], ["encrypted_password", "$2a$04$n6.M/LorADADvXwbiiGA4uZ1/4h2D2m88lOSaHNuJOKUdvAkLABo."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_89"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:13.608346' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML Completed 500 Internal Server Error in 11ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_44' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_44"], ["created_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_44"], ["title", "message_template_44"], ["updated_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML Completed 500 Internal Server Error in 42ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_10@example.jp"], ["encrypted_password", "$2a$04$RJWIi.iClqz2O4dwO0M93epNCOYtTZz3XpSMIcwTVwn2K4vLYKdAS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_10"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:13.678067' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.4ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_45' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_45"], ["created_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_45"], ["title", "message_template_45"], ["updated_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} Completed 500 Internal Server Error in 11ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_10@example.jp"], ["encrypted_password", "$2a$04$QAw.jp2AGZBLy4Ven7mx5.CDxCPKVm5pkL6..WJxTjts5QTADb49S"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_10"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:13.704031' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_46' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_46"], ["created_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_46"], ["title", "message_template_46"], ["updated_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} Completed 500 Internal Server Error in 12ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_90@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_90@example.jp"], ["encrypted_password", "$2a$04$8EioBau7Wu7aivB4n8JumODj1Sz5W9/R3cL5Qdag1ROddXd.nnWB6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_90"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:13.764826' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_47' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_47"], ["created_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_47"], ["title", "message_template_47"], ["updated_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} Completed 500 Internal Server Error in 67ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_48' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_48"], ["created_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_48"], ["title", "message_template_48"], ["updated_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} Completed 500 Internal Server Error in 23ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_11@example.jp"], ["encrypted_password", "$2a$04$wBjBrRqNAkbsjTUDLaW.XeUWc6HnPvewis0SWD/es5Lfy6Ej3za/y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_11"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:13.885459' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML Completed 500 Internal Server Error in 29ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_11@example.jp"], ["encrypted_password", "$2a$04$ymGTYeP.XtAAAS2EuPiUV.XPf5A3La.JkVugPj3aHGgMgsu/M9.LK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_11"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:44:13 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:13.985789' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML Completed 500 Internal Server Error in 22ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_91@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_91@example.jp"], ["encrypted_password", "$2a$04$62wn7ookjCf7sdctNQK5K.mMz6b/J9uK6lUb5/Plbyfmy.y0LIeh2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_91"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:14 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:14 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:14.031668' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML Completed 500 Internal Server Error in 79ms Processing by MessageTemplatesController#new as HTML Completed 500 Internal Server Error in 30ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_12@example.jp"], ["encrypted_password", "$2a$04$SqJdRPie0ugvW04FEGBf0ueVzDRgh9oeUSNcEeae5eHeMRq4ywrrm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_12"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:14 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:44:14 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:14.162781' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_49' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_49"], ["created_at", Fri, 16 Dec 2011 03:44:14 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_49"], ["title", "message_template_49"], ["updated_at", Fri, 16 Dec 2011 03:44:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} Completed 500 Internal Server Error in 70ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_12@example.jp"], ["encrypted_password", "$2a$04$5pWKPChUDtxjB8FqYwh8teWznF/TZ5UdbI6i1b72WcmH8IsMreMja"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_12"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:14 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:44:14 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:14.258968' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_50' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_50"], ["created_at", Fri, 16 Dec 2011 03:44:14 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_50"], ["title", "message_template_50"], ["updated_at", Fri, 16 Dec 2011 03:44:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} Completed 500 Internal Server Error in 21ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_92@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_92@example.jp"], ["encrypted_password", "$2a$04$9uR8BwQQ6cWvHmA9SpyX/erPEjEeUzEtNYxDQk7DhDs3Y.MXYdlN."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_92"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:14 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:14 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:14.306007' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_51' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_51"], ["created_at", Fri, 16 Dec 2011 03:44:14 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_51"], ["title", "message_template_51"], ["updated_at", Fri, 16 Dec 2011 03:44:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} Completed 500 Internal Server Error in 70ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_52' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_52"], ["created_at", Fri, 16 Dec 2011 03:44:14 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_52"], ["title", "message_template_52"], ["updated_at", Fri, 16 Dec 2011 03:44:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} Completed 500 Internal Server Error in 22ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_13@example.jp"], ["encrypted_password", "$2a$04$OybV4UStCmslqZNuSLyWOemf8/XM3Kbf0m34D9ql3Z9a8hq690dV."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_13"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:14 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:44:14 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:14.430232' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_53", "status"=>"message_template_53", "body"=>"message_template_53"}} Completed 500 Internal Server Error in 92ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_14@example.jp"], ["encrypted_password", "$2a$04$lRK4dLQQPts/9djaz2qxA.vIdHjES3R.gQQkebQgqha1bqCusfF4S"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_14"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:14 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:44:14 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:14.541655' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_54", "status"=>"message_template_54", "body"=>"message_template_54"}} Completed 500 Internal Server Error in 21ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_15@example.jp"], ["encrypted_password", "$2a$04$VOS5Bgw7sgYG7Td2YTBpiuTGw4MDM35ddFRImsHCHtOfeut1BZEgi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_15"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:14 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:44:14 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:14.582065' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Completed 500 Internal Server Error in 76ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_16@example.jp"], ["encrypted_password", "$2a$04$dsyOSZTCPP6vAYPIcodHMuJXQM7zQ8xeT.6AZo9uxqFSwoVFPXtsC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_16"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:14 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:44:14 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:14.677413' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Completed 500 Internal Server Error in 23ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_13@example.jp"], ["encrypted_password", "$2a$04$vJoA0gwgGxr4kuBVwBk0nOe3L7.yUHOwpCrNbzAl1No404bSBUR8C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_13"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:14 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:44:14 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:14.719146' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_57", "status"=>"message_template_57", "body"=>"message_template_57"}} Completed 500 Internal Server Error in 73ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_14@example.jp"], ["encrypted_password", "$2a$04$Op7JnndcmLim07/ox9gTjuNDk6jHmJy.47FVul4BEFlCEhidJ2QEe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_14"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:14 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:44:14 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:14.808944' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_58", "status"=>"message_template_58", "body"=>"message_template_58"}} Completed 500 Internal Server Error in 22ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_15@example.jp"], ["encrypted_password", "$2a$04$PIHgt5YiOc0eTm26HwpQ9uEHq1p0jpfou2XNXH3mSlYm8VTJAb9o6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_15"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:14 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:44:14 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:14.849938' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Completed 500 Internal Server Error in 82ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_16@example.jp"], ["encrypted_password", "$2a$04$bKwwsHmNTO/u3.4tJ0ySh.031.ewllcbr2RPXpAkPlLls8E31Zts."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_16"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:14 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:44:14 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:14.950699' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Completed 500 Internal Server Error in 23ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_93@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_93@example.jp"], ["encrypted_password", "$2a$04$YkUvKQb/qttm8TCrukGr3.tOhgCCdR7zGK67xHrePkLi2hWLbF4Ce"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_93"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:14 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:14 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:14.992473' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_61", "status"=>"message_template_61", "body"=>"message_template_61"}} Completed 500 Internal Server Error in 94ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (1.0ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_94@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_94@example.jp"], ["encrypted_password", "$2a$04$5gW/sVdHQfkl134bKEukreKqVdd/r2wzjFSiHA2415XzQMihkWbqe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:15 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_94"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:15 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:15 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:15.109111' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_62", "status"=>"message_template_62", "body"=>"message_template_62"}} Completed 500 Internal Server Error in 20ms Role Load (0.3ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_95@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_95@example.jp"], ["encrypted_password", "$2a$04$dQbWSeUxvwpxJIBHpmXR/esfla/LtmtMOqvyTg4wqCnmO7VPHO8r."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:15 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_95"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:15 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:15 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:15.146524' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Completed 500 Internal Server Error in 80ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_96@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_96@example.jp"], ["encrypted_password", "$2a$04$8syOSWelgl3SVtqseRfDTOGlBPXYCWyrXcuXWPDB8m69y2tvQRsxq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:15 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_96"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:15 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:15 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:15.247089' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Completed 500 Internal Server Error in 24ms Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_65", "status"=>"message_template_65", "body"=>"message_template_65"}} Completed 500 Internal Server Error in 71ms Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_66", "status"=>"message_template_66", "body"=>"message_template_66"}} Completed 500 Internal Server Error in 23ms Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Completed 500 Internal Server Error in 66ms Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Completed 500 Internal Server Error in 24ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_69' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_69"], ["created_at", Fri, 16 Dec 2011 03:44:15 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_69"], ["title", "message_template_69"], ["updated_at", Fri, 16 Dec 2011 03:44:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_17@example.jp"], ["encrypted_password", "$2a$04$Uoy1mRvA.1v3TfrapcY8DeMyRPB/zT2Cs8Va1bOEwoKEGYSBuqGA6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:15 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_17"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:15 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:44:15 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:15.494903' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_70", "status"=>"message_template_70", "body"=>"message_template_70"}, "id"=>"9"} Completed 500 Internal Server Error in 29ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_71' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_71"], ["created_at", Fri, 16 Dec 2011 03:44:15 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_71"], ["title", "message_template_71"], ["updated_at", Fri, 16 Dec 2011 03:44:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (54.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_18@example.jp"], ["encrypted_password", "$2a$04$QIyEp43yImdz6mqMqotm9eKnI/fm/SCTXN/zivVKRdS339zDsLcSO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:15 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_18"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:15 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:44:15 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:15.608001' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_72", "status"=>"message_template_72", "body"=>"message_template_72"}, "id"=>"9"} Completed 500 Internal Server Error in 29ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_73' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_73"], ["created_at", Fri, 16 Dec 2011 03:44:15 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_73"], ["title", "message_template_73"], ["updated_at", Fri, 16 Dec 2011 03:44:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_19@example.jp"], ["encrypted_password", "$2a$04$spgRwABvtiDiPTL9UJXb0u0iTB357XQcitg3gMA3gz1IJWrqKlU6."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:15 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_19"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:15 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:44:15 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:15.664801' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_74", "status"=>"message_template_74", "body"=>"message_template_74"}, "position"=>"2", "id"=>"9"} Completed 500 Internal Server Error in 19ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_75' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_75"], ["created_at", Fri, 16 Dec 2011 03:44:15 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_75"], ["title", "message_template_75"], ["updated_at", Fri, 16 Dec 2011 03:44:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (10.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_20@example.jp"], ["encrypted_password", "$2a$04$baMWDhyZJVu4AyD1oHJjGe3YWWILOgk7j4B1ckHRcqPw/cARSxxQS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:15 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_20"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:15 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:44:15 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:15.775715' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} Completed 500 Internal Server Error in 22ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_77' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_77"], ["created_at", Fri, 16 Dec 2011 03:44:15 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_77"], ["title", "message_template_77"], ["updated_at", Fri, 16 Dec 2011 03:44:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_17@example.jp"], ["encrypted_password", "$2a$04$kDRkQtZ8oUlPdzzhLO3kfuZi3B5LP0vmbhhYYogOeBKwss5tAQsou"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:15 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_17"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:15 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:44:15 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:15.822146' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_78", "status"=>"message_template_78", "body"=>"message_template_78"}, "id"=>"9"} Completed 500 Internal Server Error in 22ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_79' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_79"], ["created_at", Fri, 16 Dec 2011 03:44:15 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_79"], ["title", "message_template_79"], ["updated_at", Fri, 16 Dec 2011 03:44:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (56.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_18@example.jp"], ["encrypted_password", "$2a$04$cyII7vfp9m8wKeNVyPlksuk.NBg8SjEHCAzodeE1tf/Rc9qP6bVQC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:15 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_18"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:15 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:44:15 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:15.925049' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_80", "status"=>"message_template_80", "body"=>"message_template_80"}, "id"=>"9"} Completed 500 Internal Server Error in 22ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_81' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_81"], ["created_at", Fri, 16 Dec 2011 03:44:15 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_81"], ["title", "message_template_81"], ["updated_at", Fri, 16 Dec 2011 03:44:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (1.2ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_19@example.jp"], ["encrypted_password", "$2a$04$zJTFG4pvo6sSzTxr8BQDWuL3roLEXmpHS0D38YpYoJXZxGP7qZJGm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:15 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_19"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:15 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:44:15 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:15.977855' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} Completed 500 Internal Server Error in 21ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_83' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_83"], ["created_at", Fri, 16 Dec 2011 03:44:16 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_83"], ["title", "message_template_83"], ["updated_at", Fri, 16 Dec 2011 03:44:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_97@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (52.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:16 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_97@example.jp"], ["encrypted_password", "$2a$04$OIqqpAvU3AqwVXDINXuREuIXOZ1lY6MdDG17YHMJpsceR8ymfulOW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:16 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_97"]] SQL (1.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:16 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:16 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:16.083480' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_84", "status"=>"message_template_84", "body"=>"message_template_84"}, "id"=>"9"} Completed 500 Internal Server Error in 19ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_85' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_85"], ["created_at", Fri, 16 Dec 2011 03:44:16 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_85"], ["title", "message_template_85"], ["updated_at", Fri, 16 Dec 2011 03:44:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_98@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:16 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_98@example.jp"], ["encrypted_password", "$2a$04$Y7yXlKBBFwOzydguVpe2fefp5DPpOv4vTiJzWmro598MTyw4zhvGO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:16 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_98"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:16 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:16 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:16.126871' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_86", "status"=>"message_template_86", "body"=>"message_template_86"}, "id"=>"9"} Completed 500 Internal Server Error in 23ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_87' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_87"], ["created_at", Fri, 16 Dec 2011 03:44:16 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_87"], ["title", "message_template_87"], ["updated_at", Fri, 16 Dec 2011 03:44:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_99@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (53.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:16 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_99@example.jp"], ["encrypted_password", "$2a$04$XfmpdP86pV7dq1FajDlpzOzGLAaQcGITot1wOh64GBRknGkBn.MwO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:16 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_99"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:16 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:16 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:16.230091' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} Completed 500 Internal Server Error in 23ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_89' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_89"], ["created_at", Fri, 16 Dec 2011 03:44:16 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_89"], ["title", "message_template_89"], ["updated_at", Fri, 16 Dec 2011 03:44:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_90", "status"=>"message_template_90", "body"=>"message_template_90"}, "id"=>"9"} Completed 500 Internal Server Error in 24ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_91' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_91"], ["created_at", Fri, 16 Dec 2011 03:44:16 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_91"], ["title", "message_template_91"], ["updated_at", Fri, 16 Dec 2011 03:44:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_92", "status"=>"message_template_92", "body"=>"message_template_92"}, "id"=>"9"} Completed 500 Internal Server Error in 77ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_93' LIMIT 1 SQL (11.8ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_93"], ["created_at", Fri, 16 Dec 2011 03:44:16 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_93"], ["title", "message_template_93"], ["updated_at", Fri, 16 Dec 2011 03:44:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} Completed 500 Internal Server Error in 20ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_95' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_95"], ["created_at", Fri, 16 Dec 2011 03:44:16 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_95"], ["title", "message_template_95"], ["updated_at", Fri, 16 Dec 2011 03:44:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:16 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_21@example.jp"], ["encrypted_password", "$2a$04$faq9Mv6cOVXfvNx74f7p7uJIPwDseBLAV0AMSn6YWeCcW4iYxlmJ2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:16 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_21"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:16 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:44:16 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:16.441475' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} Completed 500 Internal Server Error in 84ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_96' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_96"], ["created_at", Fri, 16 Dec 2011 03:44:16 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_96"], ["title", "message_template_96"], ["updated_at", Fri, 16 Dec 2011 03:44:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:16 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_22@example.jp"], ["encrypted_password", "$2a$04$CjbLbOi5AYegZMuFuBBSHOBiFBetd/htFqZpxXr0pYWZKFeCOYpUm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:16 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_22"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:16 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:44:16 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:16.568427' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} Completed 500 Internal Server Error in 20ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_97' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_97"], ["created_at", Fri, 16 Dec 2011 03:44:16 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_97"], ["title", "message_template_97"], ["updated_at", Fri, 16 Dec 2011 03:44:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:16 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_20@example.jp"], ["encrypted_password", "$2a$04$UMq4czBJDwQIpsRJAD0zpe243q4rii10XSFb/V7M2Gq/bY6Z3TL06"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:16 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_20"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:16 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:44:16 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:16.645612' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} Completed 500 Internal Server Error in 76ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_98' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_98"], ["created_at", Fri, 16 Dec 2011 03:44:16 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_98"], ["title", "message_template_98"], ["updated_at", Fri, 16 Dec 2011 03:44:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.2ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:16 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_21@example.jp"], ["encrypted_password", "$2a$04$B8to6wxnnG.WkXhTZLE4weyMsUE0s5oyJLqKKrO6witNVlB5s2lnS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:16 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_21"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:16 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:44:16 UTC +00:00], ["user_id", 8]]  (0.5ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:16.754107' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} Completed 500 Internal Server Error in 23ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_99' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_99"], ["created_at", Fri, 16 Dec 2011 03:44:16 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_99"], ["title", "message_template_99"], ["updated_at", Fri, 16 Dec 2011 03:44:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_100@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:16 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_100@example.jp"], ["encrypted_password", "$2a$04$VdhRxnMY/Ai.XxLwsqhMnOENvOE.HbnuxtHXeWt1.UL.9dAJx0/Mi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:16 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_100"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:16 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:16 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:16.811637' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} Completed 500 Internal Server Error in 82ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_100' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_100"], ["created_at", Fri, 16 Dec 2011 03:44:16 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_100"], ["title", "message_template_100"], ["updated_at", Fri, 16 Dec 2011 03:44:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_101@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:16 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_101@example.jp"], ["encrypted_password", "$2a$04$.033q1RfJoQnbJiCUpDBxOCeAD1qy9xqZ.lTTy/wJFpl9KIkJ6Lxe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:16 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_101"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:16 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:16 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:16.917075' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} Completed 500 Internal Server Error in 22ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_101' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_101"], ["created_at", Fri, 16 Dec 2011 03:44:16 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_101"], ["title", "message_template_101"], ["updated_at", Fri, 16 Dec 2011 03:44:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} Completed 500 Internal Server Error in 69ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_102' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_102"], ["created_at", Fri, 16 Dec 2011 03:44:17 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_102"], ["title", "message_template_102"], ["updated_at", Fri, 16 Dec 2011 03:44:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} Completed 500 Internal Server Error in 25ms Role Load (0.3ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.4ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_23@example.jp"], ["encrypted_password", "$2a$04$Py7Dq3sL6Fqvjz9TUW1/uekS.EuV22/QWWFM0BnWe8jEt/lGC3Cbm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_23"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:19 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:44:19 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:19.394893' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML Completed 500 Internal Server Error in 92ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_24@example.jp"], ["encrypted_password", "$2a$04$J/w6VPt2bnngL2QrlpmQQux.lofcTrhs4jHDgda8eZ/uUYfwPCCQK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_24"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:19 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:44:19 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:19.508202' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML Parameters: {"user_id"=>"admin_24"} Completed 500 Internal Server Error in 23ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_22@example.jp"], ["encrypted_password", "$2a$04$LC2jHd49BJgrEvYPyNoQKu14xjYcRJ3GNYoSjWEsnF33q/8zd.YL6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_22"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:19 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:44:19 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:19.550070' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML Completed 500 Internal Server Error in 78ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_23@example.jp"], ["encrypted_password", "$2a$04$At43Kl7NrujVzoOkdwCSqOkEC330nrvsmFCmbxo/aqqlR77yt08xW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_23"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:19 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:44:19 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:19.648291' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML Parameters: {"user_id"=>"librarian_23"} Completed 500 Internal Server Error in 22ms User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML Completed 500 Internal Server Error in 71ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML Parameters: {"query"=>"you"} Completed 500 Internal Server Error in 20ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML Completed 500 Internal Server Error in 21ms Processing by MessagesController#index as HTML Completed 500 Internal Server Error in 70ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 79ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 23ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#show as HTML Parameters: {"id"=>"2"} Completed 500 Internal Server Error in 19ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 77ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 23ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_25@example.jp"], ["encrypted_password", "$2a$04$BbxaZlRgx18Xrjq2CbrmSuUgejQAfjfL/mVJ8on1Kd0bzxbloNT36"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_25"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:20 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:44:20 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:20.160624' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#new as HTML Completed 500 Internal Server Error in 79ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_24@example.jp"], ["encrypted_password", "$2a$04$zwhZ1BtXFu.4IziXz6aFVeoBQKuAB1s0JTBRUqM6BsInQOjGZ77xW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_24"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:20 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:44:20 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:20.266119' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#new as HTML Completed 500 Internal Server Error in 21ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML Completed 500 Internal Server Error in 84ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML Completed 500 Internal Server Error in 22ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML Parameters: {"parent_id"=>"1"} Completed 500 Internal Server Error in 82ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML Parameters: {"parent_id"=>"2"} Completed 500 Internal Server Error in 33ms Processing by MessagesController#new as HTML Completed 500 Internal Server Error in 21ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_26@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_26@example.jp"], ["encrypted_password", "$2a$04$Vozrr63qX7plgDSPiZTFwuYzavVmpnkO.HVo8bTZUdccpjMLxj.Yy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_26"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:20 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:44:20 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:20.571254' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 81ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_25@example.jp"], ["encrypted_password", "$2a$04$noDX0oNL/FfCnXgXPKUgjuplRW4zfM0g68RMJcrDIXsQvd6ZUIaWi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_25"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:20 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:44:20 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:20.670611' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 23ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 81ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_102@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_102@example.jp"], ["encrypted_password", "$2a$04$6jlN28H/s7IEbV15n5wKIOr9cngEJKv82xiEPwfT4nRVhlmkyaRYS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_102"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:20 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:20 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:20.804456' WHERE "roles"."id" = 2  (0.9ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_103@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_103@example.jp"], ["encrypted_password", "$2a$04$RiiSceD74yMz4edotAxJL.70fDE9GQDtmzNVyW8LwEeXe8EF0Hhha"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_103"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:20 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:20 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:20.819696' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "user_102"]]  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_27@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_27@example.jp"], ["encrypted_password", "$2a$04$yhLgKttu0iFJLjRlvXE/r.WLZ1xK5hwRPtgd3FrI5Q7P9oOJ7Y7ba"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_27"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:20 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:44:20 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:20.840736' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}, "user_id"=>"user1"} Completed 500 Internal Server Error in 23ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_28@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_28@example.jp"], ["encrypted_password", "$2a$04$sdjffZDcV/kQ..2QNSLwhe.n9zVxnH2foghnFhjEGDM/YELNqK50e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_28"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:20 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:44:20 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:20.887895' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}, "user_id"=>"user1"} Completed 500 Internal Server Error in 75ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_29@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_29@example.jp"], ["encrypted_password", "$2a$04$E8wUJtQVme5AlHJau/M/z.Y8ZX6GKnCH6ALfh645EJHi2wrGA7w8."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_29"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:20 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:44:20 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:20.984322' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}, "user_id"=>"user1"} Completed 500 Internal Server Error in 24ms User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.2ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_30@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_30@example.jp"], ["encrypted_password", "$2a$04$2lkXhGSKPvCRy7kkcXBxgOs5.lv.jnQkWqVIWfDoHyZKftPyEm48O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_30"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:21 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:44:21 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:21.029305' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}, "user_id"=>"user1"} Completed 500 Internal Server Error in 79ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test", "parent_id"=>"2"}} Completed 500 Internal Server Error in 22ms User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test"}} Completed 500 Internal Server Error in 74ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test", "parent_id"=>"2"}} Completed 500 Internal Server Error in 23ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}} Completed 500 Internal Server Error in 22ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}} Completed 500 Internal Server Error in 74ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}} Completed 500 Internal Server Error in 30ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}} Completed 500 Internal Server Error in 81ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_104@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_104@example.jp"], ["encrypted_password", "$2a$04$NPaHwAuIZkrY8Uy4tArdfOiT7CxomTSCQ1OaSnGZCu6OgmImqH2WG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_104"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:21 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:21 UTC +00:00], ["user_id", 8]]  (3.5ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:21.502039' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.3ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_105@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_105@example.jp"], ["encrypted_password", "$2a$04$bCcP0KqIRM2AE7sNNosmP.ZrrSEd2.H5xQaddBQnfz/STEx/Xl872"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_105"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:21 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:21 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:21.522546' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_104", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Completed 500 Internal Server Error in 21ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_106@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_106@example.jp"], ["encrypted_password", "$2a$04$8ro12Nj0dxzfRKfV5eDW4uqFNtvXBjliokenw96Ywbek62AEcccXy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_106"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:21 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:21 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:21.567591' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_107@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_107@example.jp"], ["encrypted_password", "$2a$04$lf4TRDKutvW9K1v1edHaSuHNnEY5le5VuL1ka0zGOck4UqbD/xi.S"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_107"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:21 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:21 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:21.580595' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_106", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Completed 500 Internal Server Error in 88ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_108@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_108@example.jp"], ["encrypted_password", "$2a$04$B2LFlYTE1i1u2YihFSZRousAFduDcqXu2nI0Hw.vHWBCBhKd/Uimm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_108"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:21 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:21 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:21.695768' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_109@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_109@example.jp"], ["encrypted_password", "$2a$04$y3sOeWeLCs.WqRTf0iJSa.pDJLYvsB2focdFMgWXKPMQ9dY8dZ2zO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_109"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:21 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:21 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:21.716416' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Completed 500 Internal Server Error in 26ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_110@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_110@example.jp"], ["encrypted_password", "$2a$04$ql7nqRylUcV.DuhlhXqXdOL3bpAHAYyLjKywyZ1p.9q7TP6GPty2K"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_110"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:21 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:21 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:21.785686' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_111@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_111@example.jp"], ["encrypted_password", "$2a$04$V3/0Uz3lXQugNLBWRQ10Ye6tW6iQzLOj5VjkAm5Z9JKbtuhUXf/Zu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_111"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:21 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:21 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:21.800206' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Completed 500 Internal Server Error in 100ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_112@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_112@example.jp"], ["encrypted_password", "$2a$04$Na/lDGFgpNIfV.y3PePrBuA2Y3o/35YWjWmjGMg1jggJPyZiOAiJC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_112"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:21 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:21 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:21.921568' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_113@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_113@example.jp"], ["encrypted_password", "$2a$04$H3/grZQ6Vh/ZFLXBM6/XJez/CoBvcdqIG9MWob5PM.DGLuSB0xJga"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_113"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:21 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:21 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:21.934706' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_112", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Completed 500 Internal Server Error in 20ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_114@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_114@example.jp"], ["encrypted_password", "$2a$04$d/x0ph26dB7tUqiXzZJVouvQ0BLoCBIj0sl9xnDBZhbSoER2ibaY2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_114"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:21 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:21 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:21.974690' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_115@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_115@example.jp"], ["encrypted_password", "$2a$04$BsNtljGKg0c.ANEqpRRA.uuBpOCkh0aJY7FkB.GiGYDgiMBH8GsTm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_115"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:21 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:21 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:21.990898' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_114", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Completed 500 Internal Server Error in 98ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_116@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_116@example.jp"], ["encrypted_password", "$2a$04$tht1NvD.CWzpd52JD35GBeuF48lHUjabDlcQbrWubqJjkfG/p7cBS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_116"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:22 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:22 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:22.120026' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_117@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_117@example.jp"], ["encrypted_password", "$2a$04$ezGSfic59cZk/XPMLA2uUu4dQ3aGfxl5B01QJ4SvL/AR.MV/wkbxu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_117"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:22 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:22 UTC +00:00], ["user_id", 9]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:22.133001' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Completed 500 Internal Server Error in 21ms Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_118@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_118@example.jp"], ["encrypted_password", "$2a$04$.v19OghI.mfzPIpG9SvslOvyLNr4Wg92/Jmw60fzQ3MBooKiD3dwO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_118"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:22 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:22 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:22.177561' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_119@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_119@example.jp"], ["encrypted_password", "$2a$04$dvhFt6KkGd/gWwLqosVjN.nllLnk.tdtitWzjVL7s/9UQeu7gDWZi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_119"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:22 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:22 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:22.191795' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Completed 500 Internal Server Error in 76ms Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_120@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_120@example.jp"], ["encrypted_password", "$2a$04$SQcr.JNubBazMsPI.Sd0B.FvcGVFwCR498EOVPFUrreMbFiDpx6De"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_120"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:22 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:22 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:22.293641' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_121@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_121@example.jp"], ["encrypted_password", "$2a$04$4Xnjtba6ar3cdv8RvEBpVuM63qybc6oswfXkfYKWEsfe/mU46YGc."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_121"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:22 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:22 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:22.308993' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"2"} Completed 500 Internal Server Error in 21ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_122@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_122@example.jp"], ["encrypted_password", "$2a$04$z.5InKs0F.k4SaaK0UKQ6eTRBePXVgreo8UgsZJRXCBmIBzgsvMM6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_122"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:22 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:22 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:22.348671' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.2ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_123@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_123@example.jp"], ["encrypted_password", "$2a$04$1QaH5ENeLDQjlAd37Z93k.AMHe3q2bnt08cnh2z0zL3ewX3yh/9au"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_123"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:22 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:22 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:22.362245' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"1"} Completed 500 Internal Server Error in 78ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_124@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_124@example.jp"], ["encrypted_password", "$2a$04$ReH1S4Q.4cJQWHOJtR4mweHRDJTD.BUM1lIIKBmNctTejAxuIVK8i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_124"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:22 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:22 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:22.459644' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_125@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_125@example.jp"], ["encrypted_password", "$2a$04$X9kVI8i/3eoLnusutcIpEOYfxtqHTWMMRq8pE9XqAfngn.33UXFDO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_125"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:22 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:22 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:22.475159' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_124", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Completed 500 Internal Server Error in 29ms Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_126@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_126@example.jp"], ["encrypted_password", "$2a$04$nTAeekbRcaV2HX7/TDyylebxqCehCfx4bfJOsKa9xHAW3FuQkP.mC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_126"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:22 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:22 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:22.529007' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_127@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (55.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_127@example.jp"], ["encrypted_password", "$2a$04$8AUi9MfvQbd.HqVmHJ/yEulI9jDCSmdGCKPr7HzhKq8Cv9bb1xhrC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_127"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:22 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:22 UTC +00:00], ["user_id", 9]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:22.595866' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (2.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_126", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Completed 500 Internal Server Error in 26ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_128@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_128@example.jp"], ["encrypted_password", "$2a$04$5ndQY1Xx97v08SEjFg7tN.nHKnVvJVRD8ork9B6zZHX.OC1Onu4Vy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_128"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:22 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:22 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:22.649702' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_129@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_129@example.jp"], ["encrypted_password", "$2a$04$RMY3T0PjmdLXxZ35giEfvOtsp21g3LlwO97pK0h9AR2iiX7MNnR0y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_129"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:22 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:22 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:22.664492' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Completed 500 Internal Server Error in 21ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_130@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (63.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_130@example.jp"], ["encrypted_password", "$2a$04$zDVO8BfRdZf65KV1a98jde/lQO/4S8hi5bUVHHvLOY1ySBoAw0iPq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_130"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:22 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:22 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:22.774015' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_131@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_131@example.jp"], ["encrypted_password", "$2a$04$pe9KP19vPTKHtj28oboicOgl.cQU9DOEN31f.1y6iG330XTDdcGnG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_131"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:22 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:22 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:22.787759' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Completed 500 Internal Server Error in 20ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_132@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_132@example.jp"], ["encrypted_password", "$2a$04$z1Mw9urBeHurIV81rTtlFeHw2cd4KtlDtwdg9loz2uM9G.Mq7kOL."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_132"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:22 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:22 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:22.824817' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_133@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_133@example.jp"], ["encrypted_password", "$2a$04$vqB1ZEX4weeqVDl4AjFr3e2efh94D6VxraglE1436L5m.UFmBUtua"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_133"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:22 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:22 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:22.835972' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"2"} Completed 500 Internal Server Error in 12ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#destroy as HTML Parameters: {"id"=>"2"} Completed 500 Internal Server Error in 45ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 13ms Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 46ms Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 11ms Fixture Delete (0.4ms) DELETE FROM "message_requests" Fixture Insert (0.2ms) INSERT INTO "message_requests" ("sender_id", "receiver_id", "message_template_id", "state", "created_at", "updated_at", "id") VALUES (1, 1, 1, 'pending', '2011-12-16 03:44:44', '2011-12-16 03:44:44', 980190962) Fixture Insert (0.1ms) INSERT INTO "message_requests" ("sender_id", "receiver_id", "message_template_id", "state", "created_at", "updated_at", "id") VALUES (1, 1, 1, 'pending', '2011-12-16 03:44:44', '2011-12-16 03:44:44', 298486374) Fixture Delete (0.1ms) DELETE FROM "message_templates" Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (1, 'reservation_accepted', 'Reservation accepted', 'Reservation accepted', 1, '2011-12-16 03:44:44', '2011-12-16 03:44:44') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (2, 'item_received', 'Item received', 'Item received', 2, '2011-12-16 03:44:44', '2011-12-16 03:44:44') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (3, 'reservation_expired_for_patron', 'Reservation expired', 'Reservation expired', 3, '2011-12-16 03:44:44', '2011-12-16 03:44:44') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (4, 'reservation_expired_for_library', 'Reservation expired', 'Reservation expired', 4, '2011-12-16 03:44:44', '2011-12-16 03:44:44') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (5, 'reservation_canceled_for_patron', 'Reservation canceled', 'Reservation canceled', 5, '2011-12-16 03:44:44', '2011-12-16 03:44:44') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (6, 'reservation_canceled_for_library', 'Reservation canceled', 'Reservation canceled', 6, '2011-12-16 03:44:44', '2011-12-16 03:44:44') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (7, 'recall_item', 'Recall item', 'Recall item', 7, '2011-12-16 03:44:44', '2011-12-16 03:44:44') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (8, 'recall_overdue_item', 'Recall overdue item', 'Recall overdue item', 8, '2011-12-16 03:44:44', '2011-12-16 03:44:44') Fixture Delete (0.2ms) DELETE FROM "messages" Fixture Insert (0.2ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "read_at", "state", "lft", "rgt", "updated_at") VALUES (1, 3, 4, 'First Message', 'Abby, you get the first message', '2007-07-04 12:10:47.000000', '2011-12-13 03:44:44.000000', 'unread', 1, 2, '2011-12-16 03:44:44') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (2, 4, 3, 'RE: First Message', 'Thanks Dad! You are the coolest!', '2011-12-14 03:44:44.000000', 'unread', 3, 4, '2011-12-16 03:44:44') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (3, 3, 4, 'Second Message', 'Catie, you get the 2nd message', '2011-12-15 03:44:44.000000', 'unread', 5, 6, '2011-12-16 03:44:44') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (6, 4, 5, 'Dad!', 'He is sucha dork.', '2011-12-14 03:44:44.000000', 'unread', 7, 8, '2011-12-16 03:44:44') Fixture Delete (0.1ms) DELETE FROM "roles" Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Guest', 'Guest', 1, NULL, '2011-12-16 03:44:44', '2011-12-16 03:44:44') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('User', 'User', 2, NULL, '2011-12-16 03:44:44', '2011-12-16 03:44:44') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Librarian', 'Librarian', 3, NULL, '2011-12-16 03:44:44', '2011-12-16 03:44:44') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Administrator', 'Administrator', 4, NULL, '2011-12-16 03:44:44', '2011-12-16 03:44:44') Fixture Delete (0.1ms) DELETE FROM "user_groups" Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('(not specified)', '(not specified)', '2007-12-13 12:00:51.564542', 1, '', '2007-12-13 12:00:01.674976', 1) Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('User', 'User', '2007-12-22 18:14:56.836548', 2, '', '2007-12-22 18:14:40.173954', 2) Fixture Insert (0.4ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('Faculty', 'Faculty', '2007-12-22 18:15:05.134351', 3, '', '2007-12-22 18:15:05.126457', 3) Fixture Delete (0.1ms) DELETE FROM "user_has_roles" Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (1, 4, '2011-12-16 03:44:44', '2011-12-16 03:44:44', 135138680) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (2, 3, '2011-12-16 03:44:44', '2011-12-16 03:44:44', 344583537) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (3, 2, '2011-12-16 03:44:44', '2011-12-16 03:44:44', 206669143) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (4, 3, '2011-12-16 03:44:44', '2011-12-16 03:44:44', 226540757) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (5, 2, '2011-12-16 03:44:44', '2011-12-16 03:44:44', 358143215) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (6, 2, '2011-12-16 03:44:44', '2011-12-16 03:44:44', 576709754) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (7, 2, '2011-12-16 03:44:44', '2011-12-16 03:44:44', 1010528733) Fixture Delete (0.2ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:16:30.163731', '$2a$10$vHohD1WflnTIqAa8zMkF9evwAgIZRw3XuR4d3bi29M.jph/MB/AJi', 2, 1, NULL, 'admin', 'tanabe@kamata.lib.teu.ac.jp', '2007-11-19 07:58:32.111941', 4) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 03:41:16.337474', '$2a$10$9O2VuTccN4gHq36ARg0QReSrb1D7WrBBhZZ759RM9moHbB0W5zCzS', 1, 2, NULL, 'librarian1', 'librarian1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:33.172441', 1) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', '$2a$10$JthS59A0BNkDOoFpCXM0V.GhhffKaoWKbzpPahYp/vTFrOyM7h/uW', 1, 3, NULL, 'user1', 'user1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Fixture Insert (0.2ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:23.340575', '$2a$10$YmmTGrYQ1Ir6oc7wXnp.GuNeO1eYLoP3sv8wMSIrTdaGw2BPwRrpS', 1, 4, NULL, 'librarian2', '2008-01-18 03:24:04.222344', 1) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:44.711117', '$2a$10$i7UjJhLVrJM/J7qaTwW39OXw1NiwowUEbtNHVDV0sqMLjX9.UO9ca', 1, 5, NULL, 'user2', '2008-01-18 04:29:06.922728', 2) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 6, NULL, 'user3', 'user3@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 7, NULL, 'user4', 'user4@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_1@example.jp"], ["encrypted_password", "$2a$04$XIuif66zY/Gw0dyJIpCOFOqItzp5SwzsNjm9vuTfDGjvXhuyXwfHe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_1"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:45.234549' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageRequest Load (0.3ms) SELECT "message_requests".* FROM "message_requests" WHERE (sent_at IS NULL AND state = 'pending') ORDER BY created_at DESC Completed 500 Internal Server Error in 81ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_1@example.jp"], ["encrypted_password", "$2a$04$OWnxpkWt8RQ3j8JaCK5mV.zeHOzgMglig5rso4wcYYrt8E0ksqwYi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_1"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:45.355989' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (1.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageRequest Load (0.2ms) SELECT "message_requests".* FROM "message_requests" WHERE (sent_at IS NULL AND state = 'pending') ORDER BY created_at DESC Completed 500 Internal Server Error in 11ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_1@example.jp"], ["encrypted_password", "$2a$04$t/JFvGf.iJptlV.mZKkyy.OjtXCbcDAdNhki4rG.ait6zcxm9RAwO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_1"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:45.390652' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.4ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 12ms Processing by MessageRequestsController#index as HTML Completed 500 Internal Server Error in 17ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_2@example.jp"], ["encrypted_password", "$2a$04$OWhe0ylVyipe5TvIjjaHdu5zrJSu0W6AtsXFXuKH9U1dOV6fF.Auy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_2"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:45.448554' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (2.3ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_2@example.jp"], ["encrypted_password", "$2a$04$s6X3oAI.u8mam/06YnQI4O.sb5zRQQYSYsjZ4vM9wvk15NuYPHf.a"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_2"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["user_id", 9]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:45.464472' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.4ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_3@example.jp"], ["encrypted_password", "$2a$04$apHCbGghMwgt82Kc2JGoFevpuSrYn9FOko4NF1dQlBqxbaMCt6lc2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_3"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:45.479755' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_1' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_1"], ["created_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_1"], ["title", "message_template_1"], ["updated_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (52.2ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_1' AND "message_templates"."id" != 9) LIMIT 1 SQL (4.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.2ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 44ms (Views: 35.7ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_2@example.jp"], ["encrypted_password", "$2a$04$ZTrBLmoLg1pGKaEnFWmM6OUZt4qirSTVNC3PcIGtt6KfKc4ErgQXO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_2"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:45.637912' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (1.4ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_4@example.jp"], ["encrypted_password", "$2a$04$PVOrul3etRh54mTMo67Rr.PgujPcnwFg2DI9Suhcj8kyuCSb74mOW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_4"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:45.654609' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_5@example.jp"], ["encrypted_password", "$2a$04$FyBJT1qjQRiZns22uRCwROQLxDr8hitnzr0XwUPh466NeGwL0dVty"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_5"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:45.666957' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.9ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_2' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_2"], ["created_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_2"], ["title", "message_template_2"], ["updated_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_2' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 9ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_6@example.jp"], ["encrypted_password", "$2a$04$vs3zA6N3W.6NpYPUcRI1X.bpN6ai9fmqWqzNVQbHl00yWQKbQGzHO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_6"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:45.707151' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_7@example.jp"], ["encrypted_password", "$2a$04$9V9WLbAEVf59fJGsYGMiw.2CX39WXYsYo0amMuXvw.BISSsoBBDY2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_7"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:45.719949' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (61.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_8@example.jp"], ["encrypted_password", "$2a$04$QZZpM2.Ha31BZvm8N5gX6eZtcExjjqTOY9vmUjTlC59cR0Jb6f0JS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_8"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:45.791796' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_3' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_3"], ["created_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_3"], ["title", "message_template_3"], ["updated_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_3' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 12ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_9@example.jp"], ["encrypted_password", "$2a$04$CSle7AJyG.XST0J2Teovb.KtIwaibClWYTJof/2cgpXsaoGtcvHF2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_9"]] SQL (1.5ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:45.834503' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.2ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_10@example.jp"], ["encrypted_password", "$2a$04$HqHseicE4hz47j9g64G3w..6fothWxBvn5GIo9fLNt8rhEi72EpO6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_10"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:45.848268' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_4' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_4"], ["created_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_4"], ["title", "message_template_4"], ["updated_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_4' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 10ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_3@example.jp"], ["encrypted_password", "$2a$04$0k0GWixCMBA89JqFx.OpNOALOx6aek95oBvk.gA52d/1aQWryz3K6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_3"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:45.889409' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_11@example.jp"], ["encrypted_password", "$2a$04$7sQbgbC1MjQz4ViRDNGIj.lEB6EnT1oKOupbSFGmTBQki3yyK8l6S"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_11"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:45.902771' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_12@example.jp"], ["encrypted_password", "$2a$04$nE304u/yFaS/cgzdUW2RVOyedWm1HiRNXDhbVx.jDUikbYPZQyLgu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_12"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:45.918365' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_5' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_5"], ["created_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_5"], ["title", "message_template_5"], ["updated_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_5' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 11ms (Views: 2.5ms | ActiveRecord: 0.6ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_3@example.jp"], ["encrypted_password", "$2a$04$P7dVMrC6sDdbOMy2gjoZJuRcC41rmNAXFPoIn8M5w3MLVta0LLefu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_3"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:45.959021' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_13@example.jp"], ["encrypted_password", "$2a$04$qEQ1C1hCL2yWyOWAjXDKxOV2X9z77phbdBuA3hImX2Rxp7VKgKmru"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_13"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:45.973554' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_14@example.jp"], ["encrypted_password", "$2a$04$iYBDC16tfLHYvTBBZBOlze84cuZdPzggXM/cqggNZEFL2YV87L/Di"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_14"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:45.987636' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_6' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_6"], ["created_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_6"], ["title", "message_template_6"], ["updated_at", Fri, 16 Dec 2011 03:44:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_6' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 67ms (Views: 1.3ms | ActiveRecord: 0.7ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_15@example.jp"], ["encrypted_password", "$2a$04$KJHUlkMHQJvi9xYO3n594O4L41iGhs.4tG/nXK8HAQjL3VulridQq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_15"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:46.098927' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_16@example.jp"], ["encrypted_password", "$2a$04$PB376JG0.PXqrEoPFIg/K.tin4xenhTF3xykmJ/jIqGWtokcsUMuu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_16"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:46.114803' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.5ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_17@example.jp"], ["encrypted_password", "$2a$04$gqRgfhv7hJ028kP0Md8DsumWRDDB1ktjJvq.27CY3QCfppXM/aL6m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_17"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:46.129034' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_7' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_7"], ["created_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_7"], ["title", "message_template_7"], ["updated_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_7' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 13ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_18@example.jp"], ["encrypted_password", "$2a$04$UfM.7PD3PhwP8CnCYQQPP.c0vpLoVW22RidztloS2z9W3SIFcfe2O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_18"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:46.172141' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_19@example.jp"], ["encrypted_password", "$2a$04$IGXaS5eY4PObJAd.XOftteBbnra3zMzYNW35LkHQFIv1E9lDiKH0G"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_19"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:46.185130' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_8' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_8"], ["created_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_8"], ["title", "message_template_8"], ["updated_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_8' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 10ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_20@example.jp"], ["encrypted_password", "$2a$04$W6dL7cmfg0lLa9Saw8rvzuG5sPBhPVNLVZTOgtQZrVX5OSjvGONqW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_20"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:46.223482' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_21@example.jp"], ["encrypted_password", "$2a$04$48z0zzOsZvtz8K1XhJclJ./s4Tp3fn6gKXhgt2wW5zG5zRMcBV6q2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_21"]] SQL (2.8ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:46.243610' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_9' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_9"], ["created_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_9"], ["title", "message_template_9"], ["updated_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_9' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_22@example.jp"], ["encrypted_password", "$2a$04$Vu81ybc1V2yjGZFdx.DDRehqikTzPiXcAboSv1KHvTSgGm8IarVVK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_22"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:46.275364' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_23@example.jp"], ["encrypted_password", "$2a$04$pkwMTzbzjzwmFgXxHJ5BxuvlvvVvelVzoh1AFuDe41w1dOarELSK6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_23"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:46.287256' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_10' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_10"], ["created_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_10"], ["title", "message_template_10"], ["updated_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_4@example.jp"], ["encrypted_password", "$2a$04$UjPBr8F1DiwOnEqGVBdtFO1SijcLeR3bv9pNQHHcN201WRI3dY3LO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_4"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:46.304312' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (2.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_10' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 10, "receiver_id" = 11, "message_template_id" = 10, "updated_at" = '2011-12-16 03:44:46.379582' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 77ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_24@example.jp"], ["encrypted_password", "$2a$04$w2/wNb5a6bTCSlc4oJD47OfAiZKezux44nv8kFshL8z9yz.ive1/6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_24"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:46.400560' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_25@example.jp"], ["encrypted_password", "$2a$04$5hFLx9G16iF9eJWvj6sVfORkoW3knqEk/ITGrM9nUEorif8R9V6RS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_25"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:46.414207' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_11' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_11"], ["created_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_11"], ["title", "message_template_11"], ["updated_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_11' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.9ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_26@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_26@example.jp"], ["encrypted_password", "$2a$04$kf25ZbecFWJyW7Jl2oiMeOp7EkNbnRGAzIZJ3AUycL4ojyF///EAu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_26"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:46.438455' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_27@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_27@example.jp"], ["encrypted_password", "$2a$04$Az18IzhUIfeAdvRgmhU8kuelrOnejuDynPA7/nZgEOVUK2bkg/m2e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_27"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:46.452167' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_12' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_12"], ["created_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_12"], ["title", "message_template_12"], ["updated_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_5@example.jp"], ["encrypted_password", "$2a$04$WrRBd1z7UyuY8ZbHmGde0.8vnFXAaO0H79l6DN.Sj9Tfcr7L19cPa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_5"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:46.468448' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_12' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 10, "receiver_id" = 11, "message_template_id" = 10, "updated_at" = '2011-12-16 03:44:46.487184' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 17ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_28@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (6.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_28@example.jp"], ["encrypted_password", "$2a$04$/vUmekGFIEwNphXJVTxDYuOvg3d3wrXNdFNmhkUKH2eQNX4V5n6VG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_28"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:46.509507' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_29@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_29@example.jp"], ["encrypted_password", "$2a$04$5uMOrxrjzmq5iQhKd7.WYObpxVXkr2ul3kxJvmBlO/0xjrkNEYM2q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_29"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:46.529101' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_13' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_13"], ["created_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_13"], ["title", "message_template_13"], ["updated_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_13' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_30@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_30@example.jp"], ["encrypted_password", "$2a$04$jMcIA3.LKa1K1fKLervnseUHVUIj36Z9USzCaKqapYD13Z0pBv12W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_30"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:46.559465' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_31@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_31@example.jp"], ["encrypted_password", "$2a$04$7izEiI2kuTiKgqpU3csUPugTa1.1M98luzGTKH56z0TuuOGJQ96R6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_31"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:46.571847' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_14' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_14"], ["created_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_14"], ["title", "message_template_14"], ["updated_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (52.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_6@example.jp"], ["encrypted_password", "$2a$04$pqt3eEDlAxhLufcR5pZbs.UPCWwEzVzlqwiPzr6CGJNrm0elGZ8oa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_6"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:46.639171' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_13' AND "message_templates"."id" != 9) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 16ms (Views: 1.4ms | ActiveRecord: 1.0ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_32@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_32@example.jp"], ["encrypted_password", "$2a$04$3dHNJFLGeIMcnylTs1Tz6ueO7sN31PMlFrdmQ6vxhwJyhb9EAXD7."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_32"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:46.675711' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_33@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_33@example.jp"], ["encrypted_password", "$2a$04$1zB/G4OQ9TvVr6hYegmp5eG5pDhVQtrRAdyXpOYeyDlF0aLloBGY."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_33"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:46.690726' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_15' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_15"], ["created_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_15"], ["title", "message_template_15"], ["updated_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_15' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_34@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_34@example.jp"], ["encrypted_password", "$2a$04$KG/FuWEERvpfo9eS0mh7J.Dne9.IFJ3Pn86CRwe5DMZHVVnpmhuca"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_34"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:46.714250' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_35@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (5.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_35@example.jp"], ["encrypted_password", "$2a$04$Gr6GURurucsmtjbx9FDwSuM7rlFvafZFxd3NtcTb8EknQ0tdGNwMm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_35"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:46.730502' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_16' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_16"], ["created_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_16"], ["title", "message_template_16"], ["updated_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_4@example.jp"], ["encrypted_password", "$2a$04$vi0upBRjdrkhpJOBWPrAnO8jJZR7ggdPYtLeloec2VFI4cMlYqdV."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_4"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:46.748625' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_16' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 10, "receiver_id" = 11, "message_template_id" = 10, "updated_at" = '2011-12-16 03:44:46.765649' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 17ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_36@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_36@example.jp"], ["encrypted_password", "$2a$04$7wz1VqczlfJ4Xd1ot8GtQulYA9e6KuK84RstBOsIwT5NNQtuTsG.m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_36"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:46.790319' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_37@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_37@example.jp"], ["encrypted_password", "$2a$04$XBpNagw1O49bJ4iVWGVrbe4sfhP/KJY1241FWwR4ik2kffnyupS3W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_37"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:46.805132' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_17' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_17"], ["created_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_17"], ["title", "message_template_17"], ["updated_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_17' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.9ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_38@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_38@example.jp"], ["encrypted_password", "$2a$04$9OFiUj/ryFoulPmwvDE8oOjHLJvGM3Dx8ffDprl5QMjm8r54Uyhna"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_38"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:46.831284' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.7ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_39@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_39@example.jp"], ["encrypted_password", "$2a$04$E8Q/zmjdToAC2b4joqkNoOviEndfLmucgoAv5vekS1iGJzr4DWZUm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_39"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:46.845044' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_18' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_18"], ["created_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_18"], ["title", "message_template_18"], ["updated_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (57.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_5@example.jp"], ["encrypted_password", "$2a$04$qRzKyhnhmrRCKsBpcKUwN.XYWsjzcmsowjQUT1BZoNAJgehmprylu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_5"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:46.917508' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_18' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 10, "receiver_id" = 11, "message_template_id" = 10, "updated_at" = '2011-12-16 03:44:46.940324' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 24ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_40@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_40@example.jp"], ["encrypted_password", "$2a$04$j.gTg7zXwRi5q5yr0owFS.Fm0Vj.n/HT2gkEOSrlIa94.lVIS.27i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_40"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:46.965598' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_41@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_41@example.jp"], ["encrypted_password", "$2a$04$UQruOX3V5xfLa.SbLadZDenAqH2rqT/IhkxGDfCLXjGow7Hols2ZC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_41"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:46.982412' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_19' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_19"], ["created_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_19"], ["title", "message_template_19"], ["updated_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_19' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:44:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_42@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_42@example.jp"], ["encrypted_password", "$2a$04$UV3B/ywNLmqVnYLHT9KFQuchqN63bo/6JBpK.oSvY0gdOYzGuOFWy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_42"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:47.016101' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_43@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_43@example.jp"], ["encrypted_password", "$2a$04$j9kPCM40K3a3dh7rYdVp3O.tHGdHsmxsGA/W5cHgt709vz4wcSNnG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_43"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:47.030071' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_20' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_20"], ["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_20"], ["title", "message_template_20"], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_6@example.jp"], ["encrypted_password", "$2a$04$rXPjFE4kPeQ/ldxppEuf2um/tHs8zSQmovDoS3KZNg03yHPAEdllu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_6"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:47.057433' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_19' AND "message_templates"."id" != 9) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 19ms (Views: 1.3ms | ActiveRecord: 1.1ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_44@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_44@example.jp"], ["encrypted_password", "$2a$04$yyyA4CJ.C95iQwixkSlP9OngpSS9tqcN7WaPfY.6dLVUz14dBUHD."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_44"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:47.096901' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_45@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_45@example.jp"], ["encrypted_password", "$2a$04$Iuojazxjza3D4tLoJK7Jyeux4XdRfSO79emrLQlmfJ0xzlSGlFDE6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_45"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["user_id", 9]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:47.111291' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_21' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_21"], ["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_21"], ["title", "message_template_21"], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_21' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_46@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_46@example.jp"], ["encrypted_password", "$2a$04$fXizmuOdz0OGpnFqjSAs.e4BEgxL4Zr7QATLvf37OF11ELAdKjnYS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_46"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:47.148722' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.4ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_47@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_47@example.jp"], ["encrypted_password", "$2a$04$gkd7pCKqOJ5qwSxiDBRSm.xUB4gj.OYO1McFYWEcC1MNzCcLk9z7O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_47"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:47.163950' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_22' LIMIT 1 SQL (89.1ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_22"], ["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_22"], ["title", "message_template_22"], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_48@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_48@example.jp"], ["encrypted_password", "$2a$04$qxxQfll7X0/Qu.oIq59hsOSxslh5BDEaKcCWXaG7/Psg5lppw7DvK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_48"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:47.282830' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 500 Internal Server Error in 12ms Role Load (0.3ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_49@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_49@example.jp"], ["encrypted_password", "$2a$04$6RYjffuITA/vTKwktpXYPekgzosDD0qPjvEna2He8UtibdDTUg8.2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_49"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:47.315803' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_50@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_50@example.jp"], ["encrypted_password", "$2a$04$GyBcE49NLGCIywPHSc6VU.3YsufWV1eUl7/2jJWhokFQ1FY0xcnqC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_50"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:47.328247' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_23' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_23"], ["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_23"], ["title", "message_template_23"], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_23' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_51@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_51@example.jp"], ["encrypted_password", "$2a$04$sXIZvy0wR1wPr7LgunX7be8jRk4Hl9yiKJmAKMxlG5fkHjNDjd.SS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_51"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:47.357003' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_52@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_52@example.jp"], ["encrypted_password", "$2a$04$0.kQAyn/7zqT9OlIEPA6M.jj9nYpjCqjEmtYx5IOOWN8Yn9vtzj36"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_52"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:47.371494' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_24' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_24"], ["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_24"], ["title", "message_template_24"], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_53@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_53@example.jp"], ["encrypted_password", "$2a$04$bQIfb.lCumRZSyXIUChrueabuXXOTmywSo6o8dge3brXljpHdqg8C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_53"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:47.388628' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 500 Internal Server Error in 12ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_54@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_54@example.jp"], ["encrypted_password", "$2a$04$CPNebB8HVEDfJ/gKgfz0SuplK9U5XOuzGyZsytbuyIJu/rTQomKOW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_54"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:47.419121' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_55@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_55@example.jp"], ["encrypted_password", "$2a$04$AqAik0ABH4DC39vy4waXHOn.aeoJmLou4MnmXR53NzniU7GicMoHe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_55"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:47.432937' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_25' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_25"], ["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_25"], ["title", "message_template_25"], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_25' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_56@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_56@example.jp"], ["encrypted_password", "$2a$04$U4AmryZ30a2UNozIiSceF./Z9vV0m1GaFibd4kNFfFWENlC.fXERC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_56"]] SQL (1.6ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:47.458801' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_57@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_57@example.jp"], ["encrypted_password", "$2a$04$JGunVQeCUM2t9CT8WeUCYeniNpBA0bUrbkxUbU7SKH92J7mUvEl8i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_57"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:47.474115' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_26' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_26"], ["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_26"], ["title", "message_template_26"], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_58@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_58@example.jp"], ["encrypted_password", "$2a$04$ha/iArAUIY7cuO8GvzseHeBHgU.Q6skjQusp4FHAOvQwhy95ko0CW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_58"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:47.548804' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 500 Internal Server Error in 11ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_59@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_59@example.jp"], ["encrypted_password", "$2a$04$UERNR0uOk4R9q/4QMwNixOWMi5kJkyLs8MhhxY4FFpCxKINDi1Oba"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_59"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:47.586502' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (2.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_60@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_60@example.jp"], ["encrypted_password", "$2a$04$EIfkHoqpvXE5r7xVDG8UqOPoCo6JltjYUzeK1KzfWwpvhq/l/bZaK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_60"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:47.601525' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (1.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_27' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_27"], ["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_27"], ["title", "message_template_27"], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_27' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_61@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_61@example.jp"], ["encrypted_password", "$2a$04$Ugwbcmsu2iMoiuXsQUeI5uKEXlb879ZvYS1uvKS4ubFx98UL.uaRS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_61"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:47.631755' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_62@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_62@example.jp"], ["encrypted_password", "$2a$04$j4ZZvx6Ri3KXJnREgO4mL.7d4Sn5XhGNvoZPid7n.Ig5rgJ2wUEGu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_62"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:47.647988' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_28' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_28"], ["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_28"], ["title", "message_template_28"], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 12ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_63@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_63@example.jp"], ["encrypted_password", "$2a$04$yT//UAt8gw023LGkSxhV5ugMtjQXWh/Q7Jwcl1zafHpmDED1qnNca"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_63"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:47.686948' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_64@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_64@example.jp"], ["encrypted_password", "$2a$04$GF3pPdjAGokhdmtH90TESuQEI.brrrSfb7c24bTPnoV1HtuuWhVY."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_64"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:47.699813' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_29' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_29"], ["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_29"], ["title", "message_template_29"], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_29' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_65@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_65@example.jp"], ["encrypted_password", "$2a$04$7lgte4dRTTDcqtR3DgqIzec3RCPHzdxWKrN7/2i1V5F5QxAcF1Ylq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_65"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:47.721993' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_66@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_66@example.jp"], ["encrypted_password", "$2a$04$Gv2qCphRTiFIkujAFcIo2OH4QwQkIDLzh2RtBhWFju1rUBCnSh9K6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_66"]] SQL (1.0ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:47.735804' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_30' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_30"], ["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_30"], ["title", "message_template_30"], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 8ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_67@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (53.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_67@example.jp"], ["encrypted_password", "$2a$04$AakFQ8sdwo8AfaSSh5vkOO6G/kuSK0wv07hL8QYVLT.RkMJVpA.L6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_67"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:47.826301' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_68@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_68@example.jp"], ["encrypted_password", "$2a$04$IvcwENk4c.KR4X/uGQWv9OSE25zUVAJgc5p9iSxgh2bYQ0kNflNe."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_68"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:47.839423' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_31' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_31"], ["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_31"], ["title", "message_template_31"], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_31' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.2ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_69@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_69@example.jp"], ["encrypted_password", "$2a$04$QWpWsyNFmbdFhQQmu7NoNeWCvw/KWlarvlzjerBVsbssQczMtPKJS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_69"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:47.862889' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_70@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_70@example.jp"], ["encrypted_password", "$2a$04$3LbSrcdhRa0xVBflVDVPRe/pNGo729nZoqfel7bI.poFX2sjJbfFy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_70"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:47.885250' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_32' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_32"], ["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_32"], ["title", "message_template_32"], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 8ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_71@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_71@example.jp"], ["encrypted_password", "$2a$04$Md/rnuuTlN8Rz.8NyfDRuOeq/.51D79zhhXl9WmX1.GaO3beloJSy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_71"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:47.915817' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_72@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_72@example.jp"], ["encrypted_password", "$2a$04$pXQv7Djjmi6NaqYY2e5aL.jLctNWXGLk0/qCmEvZK78UHM1mFMsZy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_72"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:47.927961' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_33' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_33"], ["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_33"], ["title", "message_template_33"], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_33' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_7@example.jp"], ["encrypted_password", "$2a$04$XAbn8cHmFxNXO6pXEpEPPuEnc5UnrZM3e8iVKDNk2x5Or7VT7/cEO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_7"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:47.949215' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 8ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_73@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_73@example.jp"], ["encrypted_password", "$2a$04$WmLg9pwxa3jALbb4FcLUre9HWufJTAPK/8J796SLdittIk8JdRAhe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_73"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:47.970482' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_74@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_74@example.jp"], ["encrypted_password", "$2a$04$h1JMkl5HYfSiN5WbKCIp4uiBl6Va5rwJSsinwGGGOatMIuwtLDfEe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_74"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:47.978856' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_34' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_34"], ["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_34"], ["title", "message_template_34"], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_34' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_8@example.jp"], ["encrypted_password", "$2a$04$g7SuouFW4Jyw69kciyjy1u1rZycKEwtX1tayDQ2C42PG/w5ILwYY2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_8"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:44:47 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:47.993537' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 41ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_75@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_75@example.jp"], ["encrypted_password", "$2a$04$UXdU7vD0l9ECUHmpoMx/xOeQrXn9GuDAQuv6..IdcnIrAeIB.stoq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_75"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:48.046626' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_76@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_76@example.jp"], ["encrypted_password", "$2a$04$InLj47VfqSTP9D.Y/5dZSOajHM.IRFqZl4ri7uuae0O0EzOoGTC.."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_76"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:48.055307' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_35' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_35"], ["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_35"], ["title", "message_template_35"], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_35' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_7@example.jp"], ["encrypted_password", "$2a$04$QJ8PPvAyYmtIb4UFUODk3el61ciDbIWvIKBJYeAeDNRaeEuu5qZy2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_7"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:48.070383' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 6ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_77@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_77@example.jp"], ["encrypted_password", "$2a$04$DymSNUambe0uTL9hhJxnBuv5KNfGWMBy5dSiREMvR7c2tA3RRJ2Zm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_77"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:48.088113' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_78@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_78@example.jp"], ["encrypted_password", "$2a$04$Cn0zh/tI71JaYfYtgpBslOShGRJMQqklhmStnhk2pXDSZOVukMhu6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_78"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:48.096611' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_36' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_36"], ["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_36"], ["title", "message_template_36"], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_36' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_8@example.jp"], ["encrypted_password", "$2a$04$8y.DLs2snLYXYJOWqVfJYusnx4o/QVIJ7gTqvpdPN4heoniDOcMAC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_8"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:48.112039' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 6ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_79@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_79@example.jp"], ["encrypted_password", "$2a$04$bEonTeUoLSZWs3uCicwYyu6ef.TdH6EHJwcOIRYkM5pf.tDo/khme"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_79"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:48.130111' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_80@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_80@example.jp"], ["encrypted_password", "$2a$04$wCVZV3eCH4aO.sImHYlf6OLaZgzKaTwDhD6crS0tH.XM/ninJswgm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_80"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:48.139134' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_37' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_37"], ["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_37"], ["title", "message_template_37"], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_37' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_81@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_81@example.jp"], ["encrypted_password", "$2a$04$HeQ59POOIuCHTvMjXPPMiuvYHd2EmYk09d7zb9kM2Pe2u.bUIpZxW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_81"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:48.153858' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 500 Internal Server Error in 41ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_82@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_82@example.jp"], ["encrypted_password", "$2a$04$.5sYSjFESD7dMBV22nBHs.J9DL3G96LhJoxhh02DhXYedZfpGrXva"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_82"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:48.207182' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_83@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_83@example.jp"], ["encrypted_password", "$2a$04$2v6JBEqvH7H5J4y8aXu3L.f5r2vXMx3.NdEvYgo63Kv/qfKjGOROu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_83"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:48.215451' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_38' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_38"], ["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_38"], ["title", "message_template_38"], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_38' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_84@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_84@example.jp"], ["encrypted_password", "$2a$04$g0NzbDjFE82hjvODC4v70emBj6ifqHFxQxJH92Jhmr8JuKNLSyc4m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_84"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:48.230350' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 500 Internal Server Error in 7ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_85@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_85@example.jp"], ["encrypted_password", "$2a$04$LSdGlnOJPX.J7g1tFxkgx.XHYLw0lGhGBH6gRef.HoJ9LvDiuX1Qq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_85"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:48.248965' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_86@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_86@example.jp"], ["encrypted_password", "$2a$04$vFms5nwJnTrnTHSWF6nVsOLUXqrypvB319ntMYJJmWBXlk3h690m."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_86"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:48.257648' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_39' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_39"], ["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_39"], ["title", "message_template_39"], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_39' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 6ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_87@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_87@example.jp"], ["encrypted_password", "$2a$04$TjoEFLJ2a6jrqqIWqcDTPeyu.urN5VKp40SeOCDv9pL.P5AKMFv0S"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_87"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:48.281749' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_88@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_88@example.jp"], ["encrypted_password", "$2a$04$h5gTnZRf1vp0StRyMx35euHVPWIo26gTKTdyrSJlSZJ5sWJ35kZya"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_88"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:48.290697' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_40' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_40"], ["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_40"], ["title", "message_template_40"], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_40' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Completed 500 Internal Server Error in 5ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_41' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_41"], ["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_41"], ["title", "message_template_41"], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_9@example.jp"], ["encrypted_password", "$2a$04$u/NSzoiFFe06O9u0giWN9uQ0SQAd7mgiNvnr9zMbQG2vl3Ao5a3Ou"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_9"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:48.316562' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 5ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_42' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_42"], ["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_42"], ["title", "message_template_42"], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_9@example.jp"], ["encrypted_password", "$2a$04$zOIeSBR0LwCC3SVrEaocHe4fJ3Mb5KDtVwoLIgNjcbyuBj689HuvS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_9"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:48.372168' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 5ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_43' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_43"], ["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_43"], ["title", "message_template_43"], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_89@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_89@example.jp"], ["encrypted_password", "$2a$04$e7WqrXCyaxEGnjlLqDkCguAgQAxPnaPtUZxzR5pLQMqnJUkKgNRHS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_89"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:48.393318' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 6ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_44' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_44"], ["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_44"], ["title", "message_template_44"], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML Completed 500 Internal Server Error in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_10@example.jp"], ["encrypted_password", "$2a$04$enI4DNCBPi0tf24EFaJrYOB4Nczeh6RbAH9UYKre5kAgNkqrF.pYa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_10"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:48.420629' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_45' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_45"], ["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_45"], ["title", "message_template_45"], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 9ms (Views: 3.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_10@example.jp"], ["encrypted_password", "$2a$04$pwx26cQcQ9Nm26YWxDAgAe5WY75Ny.limL4rEXW91PYEnT.tuGB/m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_10"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:48.444788' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_46' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_46"], ["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_46"], ["title", "message_template_46"], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 7ms (Views: 0.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_90@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_90@example.jp"], ["encrypted_password", "$2a$04$Yk6r7VER41ZG3EWwqRbn2OeJaNB5Esk7T0mdlMOx0yGYUN6TMQ6Y2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_90"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:48.468008' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_47' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_47"], ["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_47"], ["title", "message_template_47"], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 6ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_48' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_48"], ["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_48"], ["title", "message_template_48"], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 5ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_11@example.jp"], ["encrypted_password", "$2a$04$o92vKkrsBulIGBeSCVKgJ.AAybsMpTNAvoBwaOFghritQLW45ZMUW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_11"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:48.501223' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 6ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (35.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_11@example.jp"], ["encrypted_password", "$2a$04$o7XHoZ2usnCD3tDcZCFJWeLLEdSkRPh34cnK61VL0STRvJuzUj7Em"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_11"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:48.553507' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 6ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_91@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_91@example.jp"], ["encrypted_password", "$2a$04$Sf1AmZBj2x3e.l4dqUcMMeOxNhc/x.otmwxi1ti0jWef2UJEfKSxS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_91"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:48.572342' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 5ms Processing by MessageTemplatesController#new as HTML Completed 500 Internal Server Error in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_12@example.jp"], ["encrypted_password", "$2a$04$6noUpSglPZEQYjJpwyU2SOl1Bxfj2nkHjavPpTELgLB4jK49FpMKu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_12"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:48.595311' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_49' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_49"], ["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_49"], ["title", "message_template_49"], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 6ms (Views: 1.4ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_12@example.jp"], ["encrypted_password", "$2a$04$6JDaq940HVEjtb3oeKA6ueobei5WVlkI.UYly8i9SaqeovDaZG8Ae"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_12"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:48.615940' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_50' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_50"], ["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_50"], ["title", "message_template_50"], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 6ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_92@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_92@example.jp"], ["encrypted_password", "$2a$04$NLeO8ZEvtirIdTnwZwLBAOVFg2abJQN7pX5vCGEyXYB0iFNDOyDby"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_92"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:48.638095' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_51' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_51"], ["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_51"], ["title", "message_template_51"], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 6ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_52' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_52"], ["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_52"], ["title", "message_template_52"], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 5ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_13@example.jp"], ["encrypted_password", "$2a$04$xNNJRZNDYpj0z4wcyRt09OC4bWpIVuD.i5vA8wcrlEoOt9RjI5OwO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_13"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:48.670114' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_53", "status"=>"message_template_53", "body"=>"message_template_53"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 6ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (36.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_14@example.jp"], ["encrypted_password", "$2a$04$Q3z6npj2v4/Gxa2yzAicee80Om8JdkrLUKF5FTecDDPs6rMHYnJsq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_14"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:48.724125' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_54", "status"=>"message_template_54", "body"=>"message_template_54"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 6ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_15@example.jp"], ["encrypted_password", "$2a$04$WbnJsR7TwF7xrI9XMZckquyTzB83X3TCy13AQ2XJ2CxZngod1d9QW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_15"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:48.743073' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 8ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_16@example.jp"], ["encrypted_password", "$2a$04$TIYNjyUHzDbbJTpbmuJaxeqoxBs5VPKhq9jmxVVeZDJTGONw5/gYS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_16"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:48.763553' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 6ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_13@example.jp"], ["encrypted_password", "$2a$04$/20tWGUduuuQsMaWhNke1O9XCAj1nmRthlfv24b4WiNN5QloG7QZa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_13"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:48.782072' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_57", "status"=>"message_template_57", "body"=>"message_template_57"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 8ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_14@example.jp"], ["encrypted_password", "$2a$04$EfVkOSPyOOKeIe03AT0t6OuLajmDj4YvHuxxh1gFK9wqMGSN2UYUC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_14"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:48.802037' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_58", "status"=>"message_template_58", "body"=>"message_template_58"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 6ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_15@example.jp"], ["encrypted_password", "$2a$04$kWrGqX1QCSZqBuYr6LAp..X6kKtsK.3PTKpq/Zw04FU2xz2UUKzYW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_15"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:48.821132' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 6ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_16@example.jp"], ["encrypted_password", "$2a$04$YJF9IixRjZC4nNryOLj8qeJdYHB0V5.Jm.nayMLOQ3UPi7qJbi4ry"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_16"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:48.839060' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 6ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_93@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (36.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_93@example.jp"], ["encrypted_password", "$2a$04$XqoCO82dQY05vzAVTLnYw.1uztQno4U3IejkBXoI0nL0RJ0vY/o5S"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_93"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:48.892276' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_61", "status"=>"message_template_61", "body"=>"message_template_61"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 6ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_94@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_94@example.jp"], ["encrypted_password", "$2a$04$3u.lsrBBpDWZb8h25Zb8d.n3oTl8NukYkfIK6fbmhmOFxOix7jTve"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_94"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:48.910346' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_62", "status"=>"message_template_62", "body"=>"message_template_62"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 8ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_95@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_95@example.jp"], ["encrypted_password", "$2a$04$aOjjfiBAtrXO6FklhVNzm./NeeX6wwHSOezmJy8dfKvgaFg6rKoKO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_95"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:48.933347' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 9ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_96@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_96@example.jp"], ["encrypted_password", "$2a$04$PLhzZPJtE54Jl88.8Grv9eWw1IwLx8zPgpyrD8S92n2g9YAkTbCXq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_96"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:48 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:48.962479' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 11ms Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_65", "status"=>"message_template_65", "body"=>"message_template_65"}} Completed 500 Internal Server Error in 14ms Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_66", "status"=>"message_template_66", "body"=>"message_template_66"}} Completed 500 Internal Server Error in 7ms Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Completed 500 Internal Server Error in 8ms Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Completed 500 Internal Server Error in 13ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_69' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_69"], ["created_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_69"], ["title", "message_template_69"], ["updated_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_17@example.jp"], ["encrypted_password", "$2a$04$hURSPbbSFkgTF52/ed2pl.VbC6h4X5L.rZkhednTnPj3jj.7nOnHG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_17"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:49.058080' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_70", "status"=>"message_template_70", "body"=>"message_template_70"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_70' AND "message_templates"."id" != 9) LIMIT 1  (0.2ms) UPDATE "message_templates" SET "title" = 'message_template_70', "status" = 'message_template_70', "body" = 'message_template_70', "updated_at" = '2011-12-16 03:44:49.075834' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates/9 Completed 302 Found in 85ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_71' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_71"], ["created_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_71"], ["title", "message_template_71"], ["updated_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_18@example.jp"], ["encrypted_password", "$2a$04$vBy/11R.q7XrLQzw7bDfnOpGQcKPnEFMwu5rXZiER6p3MmHVM4v0C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_18"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:49.169786' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_72", "status"=>"message_template_72", "body"=>"message_template_72"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_72' AND "message_templates"."id" != 9) LIMIT 1  (0.1ms) UPDATE "message_templates" SET "title" = 'message_template_72', "status" = 'message_template_72', "body" = 'message_template_72', "updated_at" = '2011-12-16 03:44:49.184184' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates/9 Completed 302 Found in 13ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_73' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_73"], ["created_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_73"], ["title", "message_template_73"], ["updated_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_19@example.jp"], ["encrypted_password", "$2a$04$hnrCpcCBKEAMkFFLW7zTFugi52QuI34IbUHUjaE1iP1bKliewnCuS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_19"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:49.210894' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_74", "status"=>"message_template_74", "body"=>"message_template_74"}, "position"=>"2", "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "message_templates" SET "position" = 0, "updated_at" = '2011-12-16 03:44:49.224147' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "message_templates" SET position = (position - 1) WHERE "message_templates"."id" IN (SELECT "message_templates"."id" FROM "message_templates" WHERE (1 = 1 AND position > 9) ORDER BY position) SQL (0.2ms) UPDATE "message_templates" SET position = (position + 1) WHERE "message_templates"."id" IN (SELECT "message_templates"."id" FROM "message_templates" WHERE (1 = 1 AND position >= 2) ORDER BY position)  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "message_templates" SET "position" = 2, "updated_at" = '2011-12-16 03:44:49.226962' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates Completed 302 Found in 12ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_75' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_75"], ["created_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_75"], ["title", "message_template_75"], ["updated_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_20@example.jp"], ["encrypted_password", "$2a$04$Nyc43buwCyNtodjdFL0rWOIK49wRruW2fxJ.U.Z1AvyM8WPswdmLO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_20"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:49.248647' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.2ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = '' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 16ms (Views: 1.1ms | ActiveRecord: 0.0ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_77' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_77"], ["created_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_77"], ["title", "message_template_77"], ["updated_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_17@example.jp"], ["encrypted_password", "$2a$04$AH2AdgsDj.0RC04YxbhyoufA75R0asoQDaY5Jky4p2.yVTX9Gvdui"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_17"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:49.296441' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_78", "status"=>"message_template_78", "body"=>"message_template_78"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 11ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_79' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_79"], ["created_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_79"], ["title", "message_template_79"], ["updated_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_18@example.jp"], ["encrypted_password", "$2a$04$y/A9xRXPa8rOJqAab/AmQu3dugiptMx/.ZlbKrODeG4F9MR6pUstS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_18"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:49.332668' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_80", "status"=>"message_template_80", "body"=>"message_template_80"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 12ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_81' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_81"], ["created_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_81"], ["title", "message_template_81"], ["updated_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_19@example.jp"], ["encrypted_password", "$2a$04$R2SQiMmRIx/c3gMGsH9WgurbrObttHvaeTVo/J1dMIt2KpcgXKzFW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_19"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:49.371929' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 68ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_83' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_83"], ["created_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_83"], ["title", "message_template_83"], ["updated_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_97@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_97@example.jp"], ["encrypted_password", "$2a$04$1B5dhuG.9FF12qEwptSRdeSh3C174irYygafz2KKhOpc0k7W.LP6W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_97"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:49.464040' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_84", "status"=>"message_template_84", "body"=>"message_template_84"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 10ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_85' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_85"], ["created_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_85"], ["title", "message_template_85"], ["updated_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_98@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_98@example.jp"], ["encrypted_password", "$2a$04$bwWuo8atdlLGqgEoZa3G2eFCd0g9qSzTT5h/GfDWZHc9vxVVJJWGW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_98"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:49.497525' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_86", "status"=>"message_template_86", "body"=>"message_template_86"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 10ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_87' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_87"], ["created_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_87"], ["title", "message_template_87"], ["updated_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_99@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_99@example.jp"], ["encrypted_password", "$2a$04$TOHAE29E6ovjO.TJy3dD.OM7scjV.r3h3woDxxXs6XaDLeqQKouf2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_99"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:49.531366' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 10ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_89' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_89"], ["created_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_89"], ["title", "message_template_89"], ["updated_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_90", "status"=>"message_template_90", "body"=>"message_template_90"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 8ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_91' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_91"], ["created_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_91"], ["title", "message_template_91"], ["updated_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_92", "status"=>"message_template_92", "body"=>"message_template_92"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 9ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_93' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_93"], ["created_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_93"], ["title", "message_template_93"], ["updated_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 8ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_95' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_95"], ["created_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_95"], ["title", "message_template_95"], ["updated_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_21@example.jp"], ["encrypted_password", "$2a$04$9p1KC5AtHCwyGP4lwrZ./u1Wr3Jg16Caadak8E/qeowBBfXIhiIvC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_21"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:49.625246' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 10ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_96' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_96"], ["created_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_96"], ["title", "message_template_96"], ["updated_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_22@example.jp"], ["encrypted_password", "$2a$04$RZm3OoMr.IkhBnFbloPHuulqEE4ZXZkAluKsxwZDOAP3he8yqVtMC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_22"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:49.665315' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 69ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_97' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_97"], ["created_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_97"], ["title", "message_template_97"], ["updated_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_20@example.jp"], ["encrypted_password", "$2a$04$P2ck1c3SdAcem5a5h3WU8uCrGqCVNAuLDu/6QNmiBUNwGxq8GSESO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_20"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:49.768044' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 11ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_98' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_98"], ["created_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_98"], ["title", "message_template_98"], ["updated_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_21@example.jp"], ["encrypted_password", "$2a$04$Muwy/N0RXKC7GdmBgCLhJ.bmFu2meogAlpqo9ZojUo1K1CuDkyS8K"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_21"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:49.809750' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 10ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_99' LIMIT 1 SQL (1.8ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_99"], ["created_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_99"], ["title", "message_template_99"], ["updated_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_100@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (5.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_100@example.jp"], ["encrypted_password", "$2a$04$ynN05skkaj.Y2GJfDy38au6cHq1N1XIeORm8jAGaU/vfe0rLAJamW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_100"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:49.846708' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 9ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_100' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_100"], ["created_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_100"], ["title", "message_template_100"], ["updated_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_101@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_101@example.jp"], ["encrypted_password", "$2a$04$no.TeD6CNMCL4lXGm0Qm8OY8/4sSjrFYsPqZO4taCx8W3JUTcAfZq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_101"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:49.878835' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 11ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_101' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_101"], ["created_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_101"], ["title", "message_template_101"], ["updated_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 9ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_102' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_102"], ["created_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_102"], ["title", "message_template_102"], ["updated_at", Fri, 16 Dec 2011 03:44:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Completed 500 Internal Server Error in 13ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_23@example.jp"], ["encrypted_password", "$2a$04$ZbyGmMd5ggGHXkPFzoO3mOUyarCzWrMjbnQuy6VH333ipVvFuXw.W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_23"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:53 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:44:53 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:53.255986' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 69ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_24@example.jp"], ["encrypted_password", "$2a$04$IJQ5jjFHjcUsbt1wphJiXOFrec8BlPPl8o79XgJCr9/WaCyWu0YG."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_24"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:53 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:44:53 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:53.340123' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML Parameters: {"user_id"=>"admin_24"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 51ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_22@example.jp"], ["encrypted_password", "$2a$04$Z.rQ2mCyed2k8ho7MyllIu9RLN9xcYBvidyK2COCI7SBwl1JNA/wK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_22"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:53 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:44:53 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:53.406111' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 16ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_23@example.jp"], ["encrypted_password", "$2a$04$oddRRcNsfsPIobnRGxTUMuzw1yppDikJ5y7cM8ZDnSi80kpc3KpAS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_23"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:53 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:44:53 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:53.434503' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML Parameters: {"user_id"=>"librarian_23"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 49ms User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 15ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML Parameters: {"query"=>"you"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 47ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 15ms Processing by MessagesController#index as HTML Completed 500 Internal Server Error in 3ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 15ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 500 Internal Server Error in 8ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#show as HTML Parameters: {"id"=>"2"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 3 AND "messages"."id" = ? LIMIT 1 [["id", "2"]]  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "messages" SET "read_at" = '2011-12-16 03:44:53.660082', "updated_at" = '2011-12-16 03:44:53.660353' WHERE "messages"."id" = 2 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1  (0.3ms) UPDATE "messages" SET "state" = 'read', "updated_at" = '2011-12-16 03:44:53.664394' WHERE "messages"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 19ms (Views: 4.4ms | ActiveRecord: 1.1ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 500 Internal Server Error in 7ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 41ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_25@example.jp"], ["encrypted_password", "$2a$04$82rUXB1.nTko08637I8HaeHzZ/xp2.Ex1sZmrn3i43c/BtjH7ODta"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_25"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:53 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:44:53 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:53.737349' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 Completed 200 OK in 8ms (Views: 1.5ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_24@example.jp"], ["encrypted_password", "$2a$04$hVlrEDYaX1ulFSHpN./0deVOCRO4obXk3UpDmNgvjPM63LoJbFqmS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_24"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:53 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:44:53 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:53.758713' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 6ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 6ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML Parameters: {"parent_id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 7ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML Parameters: {"parent_id"=>"2"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 6ms Processing by MessagesController#new as HTML Completed 500 Internal Server Error in 5ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_26@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_26@example.jp"], ["encrypted_password", "$2a$04$z./qySyZBErVHEt50ny0jO.hMcUsPfw3kCPUwiT7mgW2AXPlqvb/."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_26"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:53 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:44:53 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:53.822597' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 8 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 7ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_25@example.jp"], ["encrypted_password", "$2a$04$d5Sl9QokBPFSvOcJl1Pop.eIgdXBgkY7llhSckUrqKsu/ABmbs8qO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_25"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:53 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:44:53 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:53.842024' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 500 Internal Server Error in 9ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 44ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_102@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_102@example.jp"], ["encrypted_password", "$2a$04$TocayCyqCMU2km0r9WQCsOb4oTzZWZH6pIYRfW3PHzP2AR3hQ9I/y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_102"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:53 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:53 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:53.910953' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_103@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_103@example.jp"], ["encrypted_password", "$2a$04$SnLbY/Cyi3upRFfwflw/8Ow0vUivhBqgKeB1bjFtnpaJrEfQGgAhu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_103"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:53 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:53 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:53.918990' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "user_102"]]  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_27@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_27@example.jp"], ["encrypted_password", "$2a$04$BiBLEyF4A.fffUktVSt0pO3UgwS3UoNd5HSuwzjrlhnxaw9atgldm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_27"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:53 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:44:53 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:53.930702' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 500 Internal Server Error in 81ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_28@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_28@example.jp"], ["encrypted_password", "$2a$04$9C.3Fk.w18ZMKqjV1MDZ3eQMYf84rr0U4AVl0OITK4FgZJAppP6h."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_28"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:54 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:44:54 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:54.026681' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 500 Internal Server Error in 98ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_29@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_29@example.jp"], ["encrypted_password", "$2a$04$QkkMtS2z8HRx2efPl/P0Ver2z44DBy.Edwah2EWqAbhwlc7JvBcKK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_29"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:54 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:44:54 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:54.144337' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 500 Internal Server Error in 47ms User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_30@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_30@example.jp"], ["encrypted_password", "$2a$04$QBy86DW.TgA7RCLsSqp5wO43vbbf/qYZ842TrMlA2gLcKtJeK.xQ2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_30"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:54 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:44:54 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:54.209915' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}, "user_id"=>"user1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 500 Internal Server Error in 100ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test", "parent_id"=>"2"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = 2 LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "user2"]]  (0.0ms) SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "user2"]]  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 500 Internal Server Error in 14ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 11ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test", "parent_id"=>"2"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 63ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}} Completed 500 Internal Server Error in 7ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}} Completed 500 Internal Server Error in 9ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}} Completed 500 Internal Server Error in 8ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}} Completed 500 Internal Server Error in 9ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.8ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_104@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_104@example.jp"], ["encrypted_password", "$2a$04$AdUVDfQUAxPF71FEOMP4Xu527SUDe/cTQkKProXIec8cjxOqBXf6q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_104"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:54 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:54 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:54.485271' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_105@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_105@example.jp"], ["encrypted_password", "$2a$04$Shi31RCtorT662/i/woed.Zr23SfYLRIOU/nQY9X7IwLIVDuUBI3y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_105"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:54 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:54 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:54.497688' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_104", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.4ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 12ms Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_106@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_106@example.jp"], ["encrypted_password", "$2a$04$NQtPIwGL6UYW2OS.aC3dYOpGHjGTq4a7YUfGwiumhLclUPMOgCkWS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_106"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:54 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:54 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:54.532666' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_107@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_107@example.jp"], ["encrypted_password", "$2a$04$64mrTzR8rbnt7KhWFWeuVOjHHacn6qUUIVWVjRyuj1NNK3j.GVjty"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_107"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:54 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:54 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:54.545129' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_106", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 11ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_108@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_108@example.jp"], ["encrypted_password", "$2a$04$9Jx7BxNbDyQOqAd7MZWkv.vzaYY8zXXAATy4foS.exoQh1lRIntnu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_108"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:54 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:54 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:54.576661' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_109@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_109@example.jp"], ["encrypted_password", "$2a$04$ZDKtCcTWhyyARlHrMCQy6.0j14phiNUT//HJmbeXVPEfEN1HTqzPa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_109"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:54 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:54 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:54.589113' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 10ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_110@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_110@example.jp"], ["encrypted_password", "$2a$04$g9allPJZRbnqkq1gnsPrK./2T29zdcqRqt9yGbvGk8X0IMzs0.fOi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_110"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:54 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:54 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:54.616701' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_111@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (65.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_111@example.jp"], ["encrypted_password", "$2a$04$m3RoiZdqv3PnCScdcLXaZeL1UG248GrEIq0AcX5o6gbGueEBiiOca"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_111"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:54 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:54 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:54.693528' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 13ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_112@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_112@example.jp"], ["encrypted_password", "$2a$04$.R4X9zMpkXKyvUR/50yGT.XhYWAamGSJ8lZ/mZePOFco/NiWwI3m2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_112"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:54 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:54 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:54.725404' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_113@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_113@example.jp"], ["encrypted_password", "$2a$04$3vIzcWHBEsKSAgqksfi/BOEDPDxGei6Orpn/a1as5C9LNUj0yYXUu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_113"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:54 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:54 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:54.739870' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_112", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 500 Internal Server Error in 11ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_114@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_114@example.jp"], ["encrypted_password", "$2a$04$A0mlRoMRo4etgHA98oo4quzSmhZHubUz8PZzIWFul0AsFtyojKLoO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_114"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:54 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:54 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:54.771910' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_115@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_115@example.jp"], ["encrypted_password", "$2a$04$/i.8BOxs.IgUxgJITn2ccu3YiBUJMiiD3Rmj0mcI2Zf4TnvegUEhW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_115"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:54 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:54 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:54.783912' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_114", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 500 Internal Server Error in 12ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_116@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_116@example.jp"], ["encrypted_password", "$2a$04$t.Dm8MFnSaJxch2CKbtcw.GCx..UiN2UMjWij5gxje.QOUeGqkM3K"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_116"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:54 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:54 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:54.816641' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_117@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_117@example.jp"], ["encrypted_password", "$2a$04$y6Qigi.3EZAakYu7YupMU..Ttgs/5S21WtIcQxwEblNyshuIYDY/K"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_117"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:54 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:54 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:54.829900' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 500 Internal Server Error in 13ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_118@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_118@example.jp"], ["encrypted_password", "$2a$04$xJ.MWt7s5UeaCc94OVzqxeKb.YI1eJR07dKcM.2zkygfrTtu4V/Ei"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_118"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:54 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:54 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:54.860692' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_119@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_119@example.jp"], ["encrypted_password", "$2a$04$px9ptK1gbgjGZ0YIk74MEONdzNLOwVXoFwedl5gONNTtncovT.yI2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_119"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:54 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:54 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:54.875783' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 500 Internal Server Error in 71ms Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_120@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_120@example.jp"], ["encrypted_password", "$2a$04$XgjIIFmPcnK2VwrgDc6lpu.VbhQLRO.9/905lfjQnKGbl7rzuaWFm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_120"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:54 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:54 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:54.973735' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_121@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_121@example.jp"], ["encrypted_password", "$2a$04$l/NsTBFaD.88mttusy7vn.4AQBLQ5zfMiKXy4djKT1bmDZzvGJiKG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_121"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:54 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:54 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:54.987443' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 11ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_122@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:55 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_122@example.jp"], ["encrypted_password", "$2a$04$Y6PvqTkQA5dixT9YmtIY2Om7gO7lm6QW97VzGv0Y.TkyEr97T2nK2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:55 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_122"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:55 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:55 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:55.020949' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_123@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:55 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_123@example.jp"], ["encrypted_password", "$2a$04$GncSCNgNaM4Aah6Y5VAR7uTmsAHkSGnQiaBp/t.HhlF7bxQLeznk6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:55 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_123"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:55 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:55 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:55.033487' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 13ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_124@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:55 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_124@example.jp"], ["encrypted_password", "$2a$04$khvUktYhxf4rElXJxOvBUOnsQFcJpwRq2C/RCdvANiSDTQws6dwe6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:55 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_124"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:55 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:55 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:55.067154' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_125@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:55 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_125@example.jp"], ["encrypted_password", "$2a$04$AmuiLWrsTxSRRRNO/Ah3mOo9PNz.7BF4bVD24yrKVMGtXhycw3kyS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:55 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_125"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:55 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:55 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:55.080728' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_124", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 12ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_126@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:55 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_126@example.jp"], ["encrypted_password", "$2a$04$BNdqr/vI2IQUWVYhDje00.EyvfUqOG2ijIoQZc.IiraHx77mB373O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:55 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_126"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:55 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:55 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:55.114960' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_127@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:55 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_127@example.jp"], ["encrypted_password", "$2a$04$6ufHydaKq.3khjyo9AYa..kZeLT25Q7YJmsWR5iifLcbNc4v5BB7m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:55 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_127"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:55 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:55 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:55.128040' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_126", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 13ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_128@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:55 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_128@example.jp"], ["encrypted_password", "$2a$04$.4/dXGWzwPcF5/FoYmf3Au5k/UG3b0XAXbQ3v/St/7JHRLDwyIpV2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:55 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_128"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:55 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:55 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:55.160723' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_129@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:55 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_129@example.jp"], ["encrypted_password", "$2a$04$x2tRSabb9W/YzACTrDCOr.0i7BV8dSMBALNXIhBo6uf3EvpBe2oL2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:55 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_129"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:55 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:55 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:55.231535' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 14ms Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_130@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:55 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_130@example.jp"], ["encrypted_password", "$2a$04$rdoQWS9LJFyyZGNiEBSpUudXRC6tE2uTR0JmK77b1mM9w0BDzAUQu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:55 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_130"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:55 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:55 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:55.264362' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_131@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:55 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_131@example.jp"], ["encrypted_password", "$2a$04$8bqemL8vEYl9cPlxPXF7huJBs3/8TKpw8Cj0nvUQmF9oka/2TnRHm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:55 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_131"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:55 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:55 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:55.277109' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 11ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_132@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:55 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_132@example.jp"], ["encrypted_password", "$2a$04$/RApkzygFCGdwO025fLkEOnshLGshINK0uPgrbn3/G.wQzKXaSvzm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:55 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_132"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:55 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:55 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:55.307936' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_133@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:55 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_133@example.jp"], ["encrypted_password", "$2a$04$1V4Xly5G4j1omFJyARfhkOD2I3.VB4g23cQ/VkL37P.YDqKckiDSu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:44:55 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_133"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:44:55 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:44:55 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:44:55.322742' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] Completed 500 Internal Server Error in 8ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#destroy as HTML Parameters: {"id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 3 AND "messages"."id" = ? LIMIT 1 [["id", "2"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "messages" WHERE ("lft" > 3 AND "rgt" < 4) SQL (0.4ms) UPDATE "messages" SET "lft" = ("lft" - 2) WHERE "messages"."id" IN (SELECT "messages"."id" FROM "messages" WHERE ("lft" > 4) ORDER BY "lft") SQL (0.5ms) UPDATE "messages" SET "rgt" = ("rgt" - 2) WHERE "messages"."id" IN (SELECT "messages"."id" FROM "messages" WHERE ("rgt" > 4) ORDER BY "lft") SQL (0.2ms) DELETE FROM "messages" WHERE "messages"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/messages Completed 500 Internal Server Error in 105ms User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 500 Internal Server Error in 12ms Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 10ms Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 9ms Fixture Delete (0.4ms) DELETE FROM "message_requests" Fixture Insert (0.2ms) INSERT INTO "message_requests" ("sender_id", "receiver_id", "message_template_id", "state", "created_at", "updated_at", "id") VALUES (1, 1, 1, 'pending', '2011-12-16 03:45:51', '2011-12-16 03:45:51', 980190962) Fixture Insert (0.1ms) INSERT INTO "message_requests" ("sender_id", "receiver_id", "message_template_id", "state", "created_at", "updated_at", "id") VALUES (1, 1, 1, 'pending', '2011-12-16 03:45:51', '2011-12-16 03:45:51', 298486374) Fixture Delete (0.1ms) DELETE FROM "message_templates" Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (1, 'reservation_accepted', 'Reservation accepted', 'Reservation accepted', 1, '2011-12-16 03:45:51', '2011-12-16 03:45:51') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (2, 'item_received', 'Item received', 'Item received', 2, '2011-12-16 03:45:51', '2011-12-16 03:45:51') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (3, 'reservation_expired_for_patron', 'Reservation expired', 'Reservation expired', 3, '2011-12-16 03:45:51', '2011-12-16 03:45:51') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (4, 'reservation_expired_for_library', 'Reservation expired', 'Reservation expired', 4, '2011-12-16 03:45:51', '2011-12-16 03:45:51') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (5, 'reservation_canceled_for_patron', 'Reservation canceled', 'Reservation canceled', 5, '2011-12-16 03:45:51', '2011-12-16 03:45:51') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (6, 'reservation_canceled_for_library', 'Reservation canceled', 'Reservation canceled', 6, '2011-12-16 03:45:51', '2011-12-16 03:45:51') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (7, 'recall_item', 'Recall item', 'Recall item', 7, '2011-12-16 03:45:51', '2011-12-16 03:45:51') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (8, 'recall_overdue_item', 'Recall overdue item', 'Recall overdue item', 8, '2011-12-16 03:45:51', '2011-12-16 03:45:51') Fixture Delete (0.2ms) DELETE FROM "messages" Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "read_at", "state", "lft", "rgt", "updated_at") VALUES (1, 3, 4, 'First Message', 'Abby, you get the first message', '2007-07-04 12:10:47.000000', '2011-12-13 03:45:51.000000', 'unread', 1, 2, '2011-12-16 03:45:52') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (2, 4, 3, 'RE: First Message', 'Thanks Dad! You are the coolest!', '2011-12-14 03:45:51.000000', 'unread', 3, 4, '2011-12-16 03:45:52') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (3, 3, 4, 'Second Message', 'Catie, you get the 2nd message', '2011-12-15 03:45:51.000000', 'unread', 5, 6, '2011-12-16 03:45:52') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (6, 4, 5, 'Dad!', 'He is sucha dork.', '2011-12-14 03:45:51.000000', 'unread', 7, 8, '2011-12-16 03:45:52') Fixture Delete (0.1ms) DELETE FROM "roles" Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Guest', 'Guest', 1, NULL, '2011-12-16 03:45:52', '2011-12-16 03:45:52') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('User', 'User', 2, NULL, '2011-12-16 03:45:52', '2011-12-16 03:45:52') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Librarian', 'Librarian', 3, NULL, '2011-12-16 03:45:52', '2011-12-16 03:45:52') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Administrator', 'Administrator', 4, NULL, '2011-12-16 03:45:52', '2011-12-16 03:45:52') Fixture Delete (0.1ms) DELETE FROM "user_groups" Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('(not specified)', '(not specified)', '2007-12-13 12:00:51.564542', 1, '', '2007-12-13 12:00:01.674976', 1) Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('User', 'User', '2007-12-22 18:14:56.836548', 2, '', '2007-12-22 18:14:40.173954', 2) Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('Faculty', 'Faculty', '2007-12-22 18:15:05.134351', 3, '', '2007-12-22 18:15:05.126457', 3) Fixture Delete (0.1ms) DELETE FROM "user_has_roles" Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (1, 4, '2011-12-16 03:45:52', '2011-12-16 03:45:52', 135138680) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (2, 3, '2011-12-16 03:45:52', '2011-12-16 03:45:52', 344583537) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (3, 2, '2011-12-16 03:45:52', '2011-12-16 03:45:52', 206669143) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (4, 3, '2011-12-16 03:45:52', '2011-12-16 03:45:52', 226540757) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (5, 2, '2011-12-16 03:45:52', '2011-12-16 03:45:52', 358143215) Fixture Insert (1.5ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (6, 2, '2011-12-16 03:45:52', '2011-12-16 03:45:52', 576709754) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (7, 2, '2011-12-16 03:45:52', '2011-12-16 03:45:52', 1010528733) Fixture Delete (0.2ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:16:30.163731', '$2a$10$vHohD1WflnTIqAa8zMkF9evwAgIZRw3XuR4d3bi29M.jph/MB/AJi', 2, 1, NULL, 'admin', 'tanabe@kamata.lib.teu.ac.jp', '2007-11-19 07:58:32.111941', 4) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 03:41:16.337474', '$2a$10$9O2VuTccN4gHq36ARg0QReSrb1D7WrBBhZZ759RM9moHbB0W5zCzS', 1, 2, NULL, 'librarian1', 'librarian1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:33.172441', 1) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', '$2a$10$JthS59A0BNkDOoFpCXM0V.GhhffKaoWKbzpPahYp/vTFrOyM7h/uW', 1, 3, NULL, 'user1', 'user1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:23.340575', '$2a$10$YmmTGrYQ1Ir6oc7wXnp.GuNeO1eYLoP3sv8wMSIrTdaGw2BPwRrpS', 1, 4, NULL, 'librarian2', '2008-01-18 03:24:04.222344', 1) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:44.711117', '$2a$10$i7UjJhLVrJM/J7qaTwW39OXw1NiwowUEbtNHVDV0sqMLjX9.UO9ca', 1, 5, NULL, 'user2', '2008-01-18 04:29:06.922728', 2) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 6, NULL, 'user3', 'user3@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 7, NULL, 'user4', 'user4@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.2ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:52 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_1@example.jp"], ["encrypted_password", "$2a$04$D.PkbzKn3Ze7JlrcdvExzuDKi17eQbuDmuCZdhIABsWcKmgyiRc7C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:52 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_1"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:52 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:45:52 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:52.542091' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageRequest Load (0.3ms) SELECT "message_requests".* FROM "message_requests" WHERE (sent_at IS NULL AND state = 'pending') ORDER BY created_at DESC Completed 500 Internal Server Error in 76ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:52 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_1@example.jp"], ["encrypted_password", "$2a$04$lUgRG.bheZDAxKQZW7Yb9O9UtDB3WCtWSvXfCmqaPQZqskhSWd7IW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:52 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_1"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:52 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:45:52 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:52.660282' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageRequest Load (0.3ms) SELECT "message_requests".* FROM "message_requests" WHERE (sent_at IS NULL AND state = 'pending') ORDER BY created_at DESC Completed 500 Internal Server Error in 14ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:52 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_1@example.jp"], ["encrypted_password", "$2a$04$sgKX/zVJgDpW7k56fr2DBe0yUZ1/RsJ9P4u6R3d76G9.1uz8OGK/."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:52 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_1"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:52 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:52 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:52.693589' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 88ms Processing by MessageRequestsController#index as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 10ms  (0.1ms) SELECT COUNT(*) FROM "message_requests" WHERE ('t'='f') Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:52 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_2@example.jp"], ["encrypted_password", "$2a$04$5rNf89C7ejFFy98X5UBtSOArhXBEBm/R8C3FO5qJTt9iCHJLyJFDe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:52 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_2"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:52 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:45:52 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:52.817499' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:52 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_2@example.jp"], ["encrypted_password", "$2a$04$IkbziUqAag/izs1Bo1B6bOeUKvtWteoWNFB8MEOCN2igLuhMP6sDC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:52 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_2"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:52 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:52 UTC +00:00], ["user_id", 9]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:52.833046' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:52 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_3@example.jp"], ["encrypted_password", "$2a$04$1JAIM8bnBQ1AXE9QjOmePOGPM1fKych/sqUZwLhZH.VXAskPHpBlO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:52 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_3"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:52 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:52 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:52.851632' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_1' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_1"], ["created_at", Fri, 16 Dec 2011 03:45:52 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_1"], ["title", "message_template_1"], ["updated_at", Fri, 16 Dec 2011 03:45:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_1' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:45:52 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:45:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.2ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 17ms (Views: 7.5ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:52 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_2@example.jp"], ["encrypted_password", "$2a$04$A0FkD9RY/j5KtqOLwUBZBe8E0qtJh0OZCVQfNHcLmnvmCRT8u.SI."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:52 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_2"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:52 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:45:52 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:52.926131' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:52 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_4@example.jp"], ["encrypted_password", "$2a$04$dhv5Xy6PlHCSvHl1VSJ3aeoAH51UVp172Ub28kn/QwdPYx1zBvTr2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:52 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_4"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:52 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:52 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:52.939911' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:52 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_5@example.jp"], ["encrypted_password", "$2a$04$2QgWjmuewalnrL0JsdvANekqxHuCfwLcaxXBZfNihosvy1dv4CxNe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:52 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_5"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:52 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:52 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:52.953493' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_2' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_2"], ["created_at", Fri, 16 Dec 2011 03:45:52 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_2"], ["title", "message_template_2"], ["updated_at", Fri, 16 Dec 2011 03:45:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_2' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:45:52 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:45:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_6@example.jp"], ["encrypted_password", "$2a$04$c3Q1m6Tbvei0EbCf.eCN8uvKy8ICRYJt67aSIisZT75ivdzUL904O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_6"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:53.044369' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (1.0ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_7@example.jp"], ["encrypted_password", "$2a$04$2TM1n/U8JzV9hAxo4Lrx8../oFRENkUx5GyUOVg4RVvIDfMz25yYm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_7"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_id", 9]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:53.060098' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_8@example.jp"], ["encrypted_password", "$2a$04$OSJMWUl0nzrexIksp29azO1J1UR03amO9HLht/fC6BJaavZ2ojmn6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_8"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:53.075949' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_3' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_3"], ["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_3"], ["title", "message_template_3"], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_3' AND "message_templates"."id" != 9) LIMIT 1 SQL (1.6ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 9ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_9@example.jp"], ["encrypted_password", "$2a$04$zwmNsY1K2lvKZx.gzLN4/OG49X.OSn/rDpIV0h3ORdvAp8LcXkBDm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_9"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:53.115824' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_10@example.jp"], ["encrypted_password", "$2a$04$vg6Sl93U36KdSSHo88GTGuOIf6MXVwCJO/buqjX2XD1ZVXJTL4X7W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_10"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:53.129823' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_4' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_4"], ["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_4"], ["title", "message_template_4"], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_4' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 8ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_3@example.jp"], ["encrypted_password", "$2a$04$vHK4icv/6K/MaxKrPgreyOXpAjOhf5ESvUHcGgA1cEW3CUPPLroWa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_3"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:53.166714' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_11@example.jp"], ["encrypted_password", "$2a$04$QyaxAvmwzab98sI5cMZSYOu1LMlVEVoQkCBElbm6pyAEC.Hhs73l6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_11"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:53.179471' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_12@example.jp"], ["encrypted_password", "$2a$04$rM7BBAEynrkU8emN9wlUGu6lljNggoXTdnJX5gsCJI9kva1X0Jepe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_12"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:53.190110' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_5' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_5"], ["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_5"], ["title", "message_template_5"], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_5' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 9ms (Views: 1.7ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_3@example.jp"], ["encrypted_password", "$2a$04$AJ2cpZTZGkq5KUk8bD1kK.MGdnlaD0Vnu9jmCt6oLo/iF5eAJrORC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_3"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:53.225662' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_13@example.jp"], ["encrypted_password", "$2a$04$QfGT3GuBE0uKQNe0YlaYb.N9iMwIwsgSAGWXr00jz8jx/DVzp5iPK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_13"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:53.239281' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (39.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_14@example.jp"], ["encrypted_password", "$2a$04$p5aJ9Ir2f4.tckwYrWbVTOMn6Y1fwhpDBdPq/b8WOQhlzNVPJkV0S"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_14"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:53.288509' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_6' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_6"], ["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_6"], ["title", "message_template_6"], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_6' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 7ms (Views: 1.0ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_15@example.jp"], ["encrypted_password", "$2a$04$w8Aj1QUFEVuHopRXWdbQw.vqiGEH9MaPuZsPnaE3VuGQgOnEaiY5q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_15"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:53.315067' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_16@example.jp"], ["encrypted_password", "$2a$04$0F3ERwQG/JQS4NphWZ3.1OB7BN40Vqq74GNkrOa8suSx91rcKdUSO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_16"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:53.325126' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_17@example.jp"], ["encrypted_password", "$2a$04$M3MH75.i3Kj2ahKz.E/qBOkFsd1rPjoDUQP6oHk9C07205bbfBrm2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_17"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:53.333096' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_7' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_7"], ["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_7"], ["title", "message_template_7"], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_7' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 6ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_18@example.jp"], ["encrypted_password", "$2a$04$jAJ6y//LH5YoU3tG0.Rx.eetNKtnPwv0CirEagIXF0lRLqt6.bpZ."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_18"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:53.358016' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_19@example.jp"], ["encrypted_password", "$2a$04$MUoWNvCIMrN8MrwmIHo5XukUzkpkvmsBIUFeI3ncsLWwun/cn6UX."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_19"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:53.366838' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_8' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_8"], ["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_8"], ["title", "message_template_8"], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_8' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_20@example.jp"], ["encrypted_password", "$2a$04$vNYF33GVC87mNLxv.LbW9u/4oww533ri6V13Q6CQNwc1bt3b7z3TK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_20"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:53.390265' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_21@example.jp"], ["encrypted_password", "$2a$04$gTzpnNmtd07BAFQ6aSN54.zn/WNFeALZCFu6P4QjomjIhoWlCctte"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_21"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:53.398867' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_9' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_9"], ["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_9"], ["title", "message_template_9"], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_9' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_22@example.jp"], ["encrypted_password", "$2a$04$eiOzXqceW7bp.lC5j1EQL.QpaQkXdIRUxjrMr5jOcruXvo9.bo1Sa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_22"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:53.413341' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_23@example.jp"], ["encrypted_password", "$2a$04$embRm9ocTu771McMw9u69u/0lc2rf/CQunQ.3knYPHIgxnBoemFQ."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_23"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:53.453817' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_10' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_10"], ["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_10"], ["title", "message_template_10"], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_4@example.jp"], ["encrypted_password", "$2a$04$8.635Wo0pzk7p7Q8wwFuNuNHy1kVyNDgL99wsYNSeyMzw87ZmojHm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_4"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:53.464659' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_10' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 10, "receiver_id" = 11, "message_template_id" = 10, "updated_at" = '2011-12-16 03:45:53.475996' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 12ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_24@example.jp"], ["encrypted_password", "$2a$04$BrSzt9BqbFKwSQAfkA8iSOpZM5R6cmWevl9h/R/egyuaWZHptigiK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_24"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:53.488597' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_25@example.jp"], ["encrypted_password", "$2a$04$vHXu4HruLBPk6QK3qdNVKeT007kklmqakXVk4omLjWJXx.UNjhOsO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_25"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:53.497763' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_11' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_11"], ["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_11"], ["title", "message_template_11"], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_11' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_26@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_26@example.jp"], ["encrypted_password", "$2a$04$TrHY8GG9BSyicIhJ3RXMYebAFcodyV6T4okMYV6dAmc5YmRYTnuzO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_26"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:53.512925' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_27@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_27@example.jp"], ["encrypted_password", "$2a$04$jO5ss8tjDKd/EB.6UoV0iOU2XJs140BYdi/brO4hnBF0Hj5c43RAG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_27"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:53.521519' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_12' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_12"], ["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_12"], ["title", "message_template_12"], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_5@example.jp"], ["encrypted_password", "$2a$04$HMKluYkl/ZAZxsoUFbb61ObRpdm1HdGMuyB/N1wUoYWWrjAI7Bxry"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_5"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:53.532127' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_12' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 10, "receiver_id" = 11, "message_template_id" = 10, "updated_at" = '2011-12-16 03:45:53.543065' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 10ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_28@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_28@example.jp"], ["encrypted_password", "$2a$04$LSSNVrfdY0LOEntS/wFuUOazbmFHXk/JtoaMk6ItjGvozdScW3EQ."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_28"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:53.554836' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_29@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_29@example.jp"], ["encrypted_password", "$2a$04$14Bj19HDMNfWr6VX3t7GqesTrqC1bxVaFjCv9A46aWMaLADpALXuu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_29"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:53.563748' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_13' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_13"], ["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_13"], ["title", "message_template_13"], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_13' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_30@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (32.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_30@example.jp"], ["encrypted_password", "$2a$04$O40TMUslENUgqKVrTnDb2uSQIhMwM4ApG.4En.iy9Kex/8Pk06EUi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_30"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:53.610756' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_31@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_31@example.jp"], ["encrypted_password", "$2a$04$fYqY9oHkdzsCot2672UUzOavo07hkQVF8qAP4nG5fQdOcOmaP5VJa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_31"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:53.618856' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_14' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_14"], ["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_14"], ["title", "message_template_14"], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_6@example.jp"], ["encrypted_password", "$2a$04$2bYwsMfl6xS9FTCxX5fSXOTQABk6m.j9hnEYPvhcsuwsRX6TXaS3u"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_6"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:53.630339' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_13' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 10ms (Views: 0.9ms | ActiveRecord: 0.7ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_32@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_32@example.jp"], ["encrypted_password", "$2a$04$JNM38IVXECZUJmxubTbg4.3hs6yEHJ.eENXVzvjln9v6DBD5mUyom"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_32"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:53.654393' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_33@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_33@example.jp"], ["encrypted_password", "$2a$04$iztjOstE/fLchTUFrvzBOe8Yn.HINTKuHvANhMfw1qtTiPzVy38SW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_33"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:53.663438' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_15' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_15"], ["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_15"], ["title", "message_template_15"], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_15' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_34@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_34@example.jp"], ["encrypted_password", "$2a$04$F9oSbY2zGSrMDkDrWUEBnux1P8jb1z3ECfD13R.Sx.9maRE4kn2dK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_34"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:53.678396' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_35@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_35@example.jp"], ["encrypted_password", "$2a$04$v/kndYSdR6EFXYIJcTFFie9WdZ9Ue0eL2al6ztaIk176ax2IkE7L2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_35"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:53.686260' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_16' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_16"], ["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_16"], ["title", "message_template_16"], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_4@example.jp"], ["encrypted_password", "$2a$04$vvWEZNghA7pG7mtF/TFxbuVf1cxV6vrDPpxY.tZDjQyoo5JWh4fU6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_4"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:53.697018' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_16' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 10, "receiver_id" = 11, "message_template_id" = 10, "updated_at" = '2011-12-16 03:45:53.707100' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 10ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_36@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_36@example.jp"], ["encrypted_password", "$2a$04$QsA/.0EmvR.vFNtw/7RBLuDDe.j9lfUXlrMMgVCoWyPz/PApBTBFC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_36"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:53.718559' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_37@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_37@example.jp"], ["encrypted_password", "$2a$04$B0/48uptFANChBX2xrRD6.p9Czm/dff9oeaoFTT5IspmUnUZ6M1hK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_37"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:53.726929' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_17' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_17"], ["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_17"], ["title", "message_template_17"], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_17' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_38@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (33.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_38@example.jp"], ["encrypted_password", "$2a$04$WGg9Dkn8WKC6rZGSyNqrBO0xDw56kE4bKTJi6AYNNBY0Wb.N4COHy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_38"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:53.774653' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_39@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_39@example.jp"], ["encrypted_password", "$2a$04$sziBEpDwngyXmiZa09mkFONdfn2A4eeYWSSnIIntipKBeJ/4rrVsK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_39"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:53.782674' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_18' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_18"], ["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_18"], ["title", "message_template_18"], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_5@example.jp"], ["encrypted_password", "$2a$04$iTvdo3tDLM91psnJgQmUKe2QgJEIUNk2FEJPbsLScDUUAnAuFgqBm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_5"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:53.793840' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_18' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 10, "receiver_id" = 11, "message_template_id" = 10, "updated_at" = '2011-12-16 03:45:53.804228' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 10ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_40@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_40@example.jp"], ["encrypted_password", "$2a$04$LBEqdI.L4.LyM5kW5SBR..J5jjHeYe.zmv1rr9opFD4KfDaLC3m9m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_40"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:53.816006' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_41@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_41@example.jp"], ["encrypted_password", "$2a$04$2z3XXCKWyIT3PSy5qGui/e0CYnVYoNlanB/HxZMzQSI9lfs0R10Pm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_41"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:53.824928' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_19' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_19"], ["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_19"], ["title", "message_template_19"], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_19' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_42@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_42@example.jp"], ["encrypted_password", "$2a$04$QS3cmeA/5JTTnRxXPakiquEj4hYmKo/pUN2T1WgIZ14aHYaT5nk.."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_42"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:53.839935' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_43@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_43@example.jp"], ["encrypted_password", "$2a$04$U.XGNNYDtJtnNraEOaZ7K.Q89E8n0VhHquy7HEf3ZQj9zkUUtZWCS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_43"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:53.847591' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_20' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_20"], ["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_20"], ["title", "message_template_20"], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_6@example.jp"], ["encrypted_password", "$2a$04$sMc0Odc6yoONYQC68whnbejUsaPdnXrht.vNxIGj7GaefWboVrtG."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_6"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:53.858616' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_19' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 10ms (Views: 0.9ms | ActiveRecord: 0.6ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_44@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_44@example.jp"], ["encrypted_password", "$2a$04$7Hmf.1eu6qM5mjNuvijKjuVhOE2vYQPvDecGAo0wRnooJFL6PdIT."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_44"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:53.881571' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_45@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_45@example.jp"], ["encrypted_password", "$2a$04$m27O7GT1ZZlAD2GvznHQs.eTa5EUNxV1RwCcntIZJWcGkvweMJBUi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_45"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:53.890707' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_21' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_21"], ["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_21"], ["title", "message_template_21"], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_21' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (32.9ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_46@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_46@example.jp"], ["encrypted_password", "$2a$04$AZGQc0UXccOXU9wv.N4OT.yhf8e0HgFK3x5FEwrNteiM5L8oAYN0u"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_46"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:53.939199' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_47@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_47@example.jp"], ["encrypted_password", "$2a$04$bqEdoEAdvwdxe6l.A07U0Obfq5MljSjcQfWUS2A/aL8V5anjph/YO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_47"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:53.947088' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_22' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_22"], ["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_22"], ["title", "message_template_22"], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_48@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_48@example.jp"], ["encrypted_password", "$2a$04$Bnn34VFQhCEO.9RV2/XmpO1yj4TRctwe4RKOn89q4aU1z/9GpG3zi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_48"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:53.958092' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 500 Internal Server Error in 5ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_49@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_49@example.jp"], ["encrypted_password", "$2a$04$kXEaSSK2G1SFOPfJJRv74ucVqBZxwn3f/5RkxvUHB9ASnJ6rWCk8q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_49"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:53.975252' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_50@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_50@example.jp"], ["encrypted_password", "$2a$04$GrsQPuwib1yui1I1xe8AmOSCTNEw1huLWSsAYieLQ1fCrZHv8RYi6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_50"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:53.983266' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_23' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_23"], ["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_23"], ["title", "message_template_23"], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_23' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_51@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_51@example.jp"], ["encrypted_password", "$2a$04$tOx5DKmixSVs6WX21/yyM.Ko17NOPA0cro6JyijOTyBc/Coi5TSj."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_51"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:53 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:53.998443' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_52@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_52@example.jp"], ["encrypted_password", "$2a$04$TVtr4SaeZmJgHzy7Ck6wK.EUiHC5eO8RT9WMxFHJruAuEVd3IPKS2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_52"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:54.006717' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_24' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_24"], ["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_24"], ["title", "message_template_24"], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_53@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_53@example.jp"], ["encrypted_password", "$2a$04$65djeYb3Gf9TH8R7dBipx.VviutdGV9mIj0PZO1rTzA2qwixKyfL6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_53"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:54.016999' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 500 Internal Server Error in 6ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_54@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_54@example.jp"], ["encrypted_password", "$2a$04$CLKvcFZQTiBBHvFv022RV.ZrYz.O1l/I7.RIUPkyKEtTwxDI/L70O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_54"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:54.035196' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_55@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_55@example.jp"], ["encrypted_password", "$2a$04$Xw3crVgTOkZpOnY3B4D9FOwIouHRygrMdAVJeHlUBzRnTlRBpBDFe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_55"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:54.043297' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_25' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_25"], ["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_25"], ["title", "message_template_25"], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_25' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_56@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (33.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_56@example.jp"], ["encrypted_password", "$2a$04$TQDCzF0TyA.61ATTZnM.iOrb/F1vsSuKAJnq8hPoGE9mB0gUTC48i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_56"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:54.092619' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_57@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_57@example.jp"], ["encrypted_password", "$2a$04$lEdMOMPjzAAIY.S.AMpzauquc0UFRqpnUwWnMl3MGu0gPCRIhuW6u"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_57"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:54.100542' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_26' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_26"], ["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_26"], ["title", "message_template_26"], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_58@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_58@example.jp"], ["encrypted_password", "$2a$04$4TcJvw0iq9pLKQBVIEv04enbTeMW6njKiSQyIrd8BL2cLDVe6Ejm6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_58"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:54.111294' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 500 Internal Server Error in 5ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_59@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_59@example.jp"], ["encrypted_password", "$2a$04$ceOGJgp6wZUhnSW2WXTOW.8/x3SacujqrLa8Cp4uZEPcg5Rzvo2z."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_59"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:54.128654' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_60@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_60@example.jp"], ["encrypted_password", "$2a$04$yYa7lWwlP0PJ1GVXpBMadO/JKeQlfmhL2ilc/R18/.GGu9ZranXei"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_60"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:54.137410' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_27' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_27"], ["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_27"], ["title", "message_template_27"], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_27' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_61@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_61@example.jp"], ["encrypted_password", "$2a$04$odWE4PBb6TdNcexbXiutiu0n5BLjeFDLUkHxuFd3EOaQNcMta9CpW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_61"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:54.151981' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_62@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_62@example.jp"], ["encrypted_password", "$2a$04$CDO8V.Ab4MhpckFutSsoDuSm2Iw.9.ZhKJnvpDCmr1q3R78FIljVe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_62"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:54.160602' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_28' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_28"], ["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_28"], ["title", "message_template_28"], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_63@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_63@example.jp"], ["encrypted_password", "$2a$04$gsel9P3Djwa10VnSGMM/y.qgcnK.VTSHvVhiDvHjsSDxvuJlK7iDy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_63"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:54.179243' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_64@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_64@example.jp"], ["encrypted_password", "$2a$04$6BsA.wZxT5/9pjFwXrNbkOjZPEvLE5JRooE2rOXU7Z4cq4KiK7EOG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_64"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:54.188477' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_29' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_29"], ["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_29"], ["title", "message_template_29"], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_29' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_65@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_65@example.jp"], ["encrypted_password", "$2a$04$TbW08aWqlmjAaBg9sauzduoEETsZ.BpCCmP0CMKZsgLmF8cdOnXFG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_65"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:54.204081' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_66@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (40.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_66@example.jp"], ["encrypted_password", "$2a$04$r7JzRiJyPVLHpjLfYy4WH.rhAIaG3B8dI.95KADXwvWZqGO/L14pu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_66"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:54.252725' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_30' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_30"], ["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_30"], ["title", "message_template_30"], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 5ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_67@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_67@example.jp"], ["encrypted_password", "$2a$04$pcbvJedoaxugdJPimoGZnel3WDIFYCeSArvQLCTEOsUiDo0YBEBG2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_67"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:54.277875' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_68@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_68@example.jp"], ["encrypted_password", "$2a$04$gOlPVDSXQUfyYVoY0PTFGehO7CiZWgIoRZRxRoW6OMEK8SRtmA6C."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_68"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:54.289850' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_31' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_31"], ["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_31"], ["title", "message_template_31"], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_31' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_69@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_69@example.jp"], ["encrypted_password", "$2a$04$uaj9kgq97Mpv9MMru.9zwekUNBlK4rBH0R2YURpIaOyt9svQ3OBam"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_69"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:54.312983' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_70@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_70@example.jp"], ["encrypted_password", "$2a$04$F3H/icMxgBLgBJHmRB35bOGixih9rLgsbkCle/91WADaY6wBwxmTW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_70"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:54.326207' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_32' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_32"], ["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_32"], ["title", "message_template_32"], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_71@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_71@example.jp"], ["encrypted_password", "$2a$04$9tQrvXU8oMFx5rUQsDUHuORYwr3lYA/wS9Pn/L1qxw9aukVzTcLRe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_71"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:54.356028' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_72@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_72@example.jp"], ["encrypted_password", "$2a$04$KjHdQuBpsCxp93zwWoSSH.xscAdutBgJfznGn5.Bnholg0Nx0Bpw6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_72"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:54.370362' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_33' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_33"], ["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_33"], ["title", "message_template_33"], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_33' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_7@example.jp"], ["encrypted_password", "$2a$04$.6.49jT65wjedwZ82PZ5l.iDpMzOtqyH6TxcTvbqkp54ns.B48TTq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_7"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:54.394166' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 9ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_73@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_73@example.jp"], ["encrypted_password", "$2a$04$3TWAUpDv13539zk6d4bPl.ygxpqCJDbu8qlNDV9bR9MCgxOFYaoQm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_73"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:54.419178' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_74@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_74@example.jp"], ["encrypted_password", "$2a$04$ZGWXaQSgKUFHN8jxn.p79ena1zr3I5XdJul2zpTprVnMgqahNPJem"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_74"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:54.432439' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_34' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_34"], ["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_34"], ["title", "message_template_34"], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_34' AND "message_templates"."id" != 9) LIMIT 1 SQL (55.2ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_8@example.jp"], ["encrypted_password", "$2a$04$yOr5pE6wywJqp.ozRxQDzOB.PUYVMnAWxN7Lg18Ff9i8I9XBp9rUO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_8"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:54.509283' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 10ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_75@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_75@example.jp"], ["encrypted_password", "$2a$04$p6XaNeNCQP8/TnQy1php0.9V5a5Hc51k.UHAF/S9US5KcgG/jUCSK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_75"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:54.539390' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_76@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_76@example.jp"], ["encrypted_password", "$2a$04$9cYMmLtOM5WmXmhmxhlav.spUkKsGnoL1SFAos6T1pBdPkMBlnokS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_76"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["user_id", 9]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:54.551174' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_35' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_35"], ["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_35"], ["title", "message_template_35"], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_35' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_7@example.jp"], ["encrypted_password", "$2a$04$mZ2dpLCcVIe.QjVK/qRm3.to8VnWBF2tOCTc.jKp6wIQEX/ZDl7AS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_7"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:54.580901' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 9ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_77@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_77@example.jp"], ["encrypted_password", "$2a$04$rqaH0BDPSFnMaHIo8OZjx.MDSpGXsZnx3ruwF.CunwtU9LGhACn6e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_77"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:54.607199' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_78@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_78@example.jp"], ["encrypted_password", "$2a$04$pGJHfQYvoNwqLgHCfOK00OPe4LgDl/FO2ISZHq95irz6d7.lFgjfS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_78"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["user_id", 9]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:54.619465' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_36' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_36"], ["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_36"], ["title", "message_template_36"], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_36' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_8@example.jp"], ["encrypted_password", "$2a$04$WklcciPRC0OlOHhg85TMy.a4RFy.wktFE1oSAAO.flryiOcIE6Mne"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_8"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:54.644868' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 10ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_79@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_79@example.jp"], ["encrypted_password", "$2a$04$rKxych/i0qI.FSfuhuLYk.Ne59EqeLc0OvlDo..dIcElKb33YGb.K"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_79"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:54.673544' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_80@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_80@example.jp"], ["encrypted_password", "$2a$04$FiWeUaT.I43cJRVf1zvZ6.YeWnDqSv3xeoNwF8SXICvU3gStsKIdm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_80"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["user_id", 9]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:54.686230' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_37' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_37"], ["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_37"], ["title", "message_template_37"], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_37' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_81@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_81@example.jp"], ["encrypted_password", "$2a$04$4jj5LUDy.cALqyyvUWsGTerhJudS1PaaWr1Jx9yeveZhm0fvnJstS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_81"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:54.763213' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 500 Internal Server Error in 9ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_82@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_82@example.jp"], ["encrypted_password", "$2a$04$ntvIjI4DPpsiKdNtrogY9.BzXQlIz.ZdCj1.en4pM3HFNqTCVzWva"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_82"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:54.789375' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_83@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_83@example.jp"], ["encrypted_password", "$2a$04$PlRyouVZMOZypXKGnZHDBeS9Fc/VWcwC6sgzlIDA1pJrwCgXrlmA2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_83"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:54.803667' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_38' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_38"], ["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_38"], ["title", "message_template_38"], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_38' AND "message_templates"."id" != 9) LIMIT 1 SQL (1.1ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_84@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_84@example.jp"], ["encrypted_password", "$2a$04$toqpehDyrM6CzPfFoOrYueNrPtKVl9PPAyeRiJxn2R58hOAGHy54C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_84"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:54.830453' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 500 Internal Server Error in 9ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_85@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (5.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_85@example.jp"], ["encrypted_password", "$2a$04$W2Llwy2FzqO5Omt03Xrn3eKIFthO89xZbHyhfDthhlSUNMwzjscRW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_85"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:54.860338' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_86@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_86@example.jp"], ["encrypted_password", "$2a$04$ww/IyxgyGbOR5MRwSC4y7uhRja8rTmOfHJMbZb.jN9x4zB2uUyoVK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_86"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:54.874103' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_39' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_39"], ["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_39"], ["title", "message_template_39"], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_39' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_87@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_87@example.jp"], ["encrypted_password", "$2a$04$XB8LhqYLdwCIGrvvsfJIx.zrhJ3.HOzY0uRgn2LLNDgErPehDh6SG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_87"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:54.910224' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_88@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_88@example.jp"], ["encrypted_password", "$2a$04$9VXzlD7WbPXhfSmEKAPrIeMx036BKiGm4e8HHwVNIAANrABrPmPm6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_88"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:54.923659' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_40' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_40"], ["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_40"], ["title", "message_template_40"], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_40' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 5ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_41' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_41"], ["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_41"], ["title", "message_template_41"], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (57.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_9@example.jp"], ["encrypted_password", "$2a$04$paQfLMnlMGzPYyOokmP6UeIInaCEimo4jHy8lF73Q0dPQFaT7CTS."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_9"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:55.021798' WHERE "roles"."id" = 4  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 14ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_42' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_42"], ["created_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_42"], ["title", "message_template_42"], ["updated_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_9@example.jp"], ["encrypted_password", "$2a$04$CZcyTEMeDaB2bW5i6gUzrOMjxg3qRzL2nPRMe1W9jOpp2xI9kMgSK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_9"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:55.067966' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 9ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_43' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_43"], ["created_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_43"], ["title", "message_template_43"], ["updated_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_89@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_89@example.jp"], ["encrypted_password", "$2a$04$Vn2nFf1ysFNscfwp4uOtiurllsl8XPJp10YviGZpmk6HRjVctSlcu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_89"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:55.098842' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 12ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_44' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_44"], ["created_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_44"], ["title", "message_template_44"], ["updated_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms  (0.1ms) SELECT COUNT(*) FROM "message_templates" WHERE ('t'='f') Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_10@example.jp"], ["encrypted_password", "$2a$04$jO3.T/pGbRcJ3HcRx9R97OBM/fXMfQGcHVF2/g1T3qgiXz/MOk32y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_10"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:55.142111' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_45' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_45"], ["created_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_45"], ["title", "message_template_45"], ["updated_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 14ms (Views: 6.3ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_10@example.jp"], ["encrypted_password", "$2a$04$rM/zQgM7iUbxS3R90PIFWO9ew/SfPezOQ82sJv.lbOCPFmhB8lTsG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_10"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:55.180205' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_46' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_46"], ["created_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_46"], ["title", "message_template_46"], ["updated_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 10ms (Views: 2.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_90@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_90@example.jp"], ["encrypted_password", "$2a$04$oGEJqB/exHlsio34dR7LFeH/85nLEH2FF6uvzxlfnOMH6h32vk.G2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_90"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:55.219810' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_47' LIMIT 1 SQL (0.8ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_47"], ["created_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_47"], ["title", "message_template_47"], ["updated_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 9ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_48' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_48"], ["created_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_48"], ["title", "message_template_48"], ["updated_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 10ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_11@example.jp"], ["encrypted_password", "$2a$04$T.iT1kvwsURib5MkscHcL.FG9Nrp2YgxVwR5DMO4QAKDNJHzxucmm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_11"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:55.275042' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 79ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_11@example.jp"], ["encrypted_password", "$2a$04$DE8eqjnPsgEq0KiG7sC3uexAaOtxZ4IjL0YpNFE/PEYkBVBAVnyhO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_11"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:55.372081' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 9ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_91@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_91@example.jp"], ["encrypted_password", "$2a$04$BHIMr5hi8hasIfG1M3.B4OUbJyInnNMm0x8iVKT5/No5MPe8XfBE2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_91"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:55.401658' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 7ms Processing by MessageTemplatesController#new as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_12@example.jp"], ["encrypted_password", "$2a$04$XRhqp5.FuH7xgh4v4CF79eigOkeI2sAHB8p.3ZKNVQJH3tMn.QWPK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_12"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:55.443059' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_49' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_49"], ["created_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_49"], ["title", "message_template_49"], ["updated_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 14ms (Views: 6.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_12@example.jp"], ["encrypted_password", "$2a$04$ziv7xAcln9hGK75bmoFDseX.XWvGSaKvfOlxRnpo1L6ieJMYROUv6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_12"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:55.485898' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_50' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_50"], ["created_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_50"], ["title", "message_template_50"], ["updated_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 11ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_92@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_92@example.jp"], ["encrypted_password", "$2a$04$CqCDda5qphJ3iHNlNsaiZ.i4TAcLdZb2EN9AcJBkzGOaICJQwHNhG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_92"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:55.524710' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_51' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_51"], ["created_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_51"], ["title", "message_template_51"], ["updated_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 9ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_52' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_52"], ["created_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_52"], ["title", "message_template_52"], ["updated_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_13@example.jp"], ["encrypted_password", "$2a$04$OcwbXx6vIAIklp8IeKhJxuRtEL9PyCMG4lDypNQ/vu5D60L2YMiwm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_13"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:55.582385' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_53", "status"=>"message_template_53", "body"=>"message_template_53"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 76ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (5.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_14@example.jp"], ["encrypted_password", "$2a$04$3GV3EdFCNUKJS9fSrA4Pre/BVKIs.Ih2En.zRP2B854u70ZXsjx06"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_14"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:55.683873' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_54", "status"=>"message_template_54", "body"=>"message_template_54"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 9ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_15@example.jp"], ["encrypted_password", "$2a$04$IFx2JJKy1CuEEQ2.bVmHNOsMzdd/GX0RTzOTh6GnJRAWCWgs087JK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_15"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:55.716004' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 8ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_16@example.jp"], ["encrypted_password", "$2a$04$c1qPDnU29TkLA28GxepT0uz/amWt/l6EBHUzxOW173SDPtKVnwknC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_16"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:55.743568' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 11ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_13@example.jp"], ["encrypted_password", "$2a$04$bCn79VtviDHSD/opBDCzee/0HNKoEuWFDQi5rGalAZrSIYKFOdxra"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_13"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:55.772489' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_57", "status"=>"message_template_57", "body"=>"message_template_57"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 10ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_14@example.jp"], ["encrypted_password", "$2a$04$6yKOVMhwvHxaK3Q5NMnYEe.VTEN9RAdqk.4/gVPoV6MbfGfwkgHAC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_14"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:55.806544' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_58", "status"=>"message_template_58", "body"=>"message_template_58"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 9ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_15@example.jp"], ["encrypted_password", "$2a$04$fJplKMJeeQZUhrXWgscJMug80znahFIexy38jIY7ZkyYfw9wE8iJ6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_15"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:55.835487' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 8ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_16@example.jp"], ["encrypted_password", "$2a$04$HycWl8cq3jzpk1vzpvrQoORZcYfqJZzHcz3RK36ONJpsjvnmTeM8K"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_16"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:55.863607' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 9ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_93@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (66.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_93@example.jp"], ["encrypted_password", "$2a$04$UBoc1h4.0BWBZ0GcK9AYFe/teCg6snYh2wf5WUwsBEL5PpctOgKm2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_93"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:55.956190' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_61", "status"=>"message_template_61", "body"=>"message_template_61"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 13ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_94@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_94@example.jp"], ["encrypted_password", "$2a$04$dbBYPQYvOBmiIXSNGknyPeq.7Lwu7iNngAdKkuzieCi8Z1vwsK6lG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_94"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:55 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:55.990154' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_62", "status"=>"message_template_62", "body"=>"message_template_62"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 8ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_95@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_95@example.jp"], ["encrypted_password", "$2a$04$L.c6pAkerJPGpjky.aKdl.nDM7NLSqR54sroGJQbe8iP.4vlO6swy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_95"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:56.018164' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 9ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_96@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_96@example.jp"], ["encrypted_password", "$2a$04$ShAY8DpPF31./a0WsVbnH.bjd.hrKW/2GVOIHX0sjYurtBWjpJdKa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_96"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:56.047969' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 9ms Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_65", "status"=>"message_template_65", "body"=>"message_template_65"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_65' LIMIT 1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_66", "status"=>"message_template_66", "body"=>"message_template_66"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 9ms MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_69' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_69"], ["created_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_69"], ["title", "message_template_69"], ["updated_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_17@example.jp"], ["encrypted_password", "$2a$04$smq3FQ5dVATnOKobn5DB/OIdJTEMuFz5KpbglJPKXGsb0rWWoiwvy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_17"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["user_id", 8]]  (1.4ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:56.135786' WHERE "roles"."id" = 4  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_70", "status"=>"message_template_70", "body"=>"message_template_70"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (1.5ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_70' AND "message_templates"."id" != 9) LIMIT 1  (0.1ms) UPDATE "message_templates" SET "title" = 'message_template_70', "status" = 'message_template_70', "body" = 'message_template_70', "updated_at" = '2011-12-16 03:45:56.151906' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates/9 Completed 302 Found in 16ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_71' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_71"], ["created_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_71"], ["title", "message_template_71"], ["updated_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.2ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (4.5ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_18@example.jp"], ["encrypted_password", "$2a$04$0Bi6mEuv66OsdIHPwrgFXePbokTXlokgciMrSX0siTJwKvJMKbZuC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_18"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:56.183641' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_72", "status"=>"message_template_72", "body"=>"message_template_72"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_72' AND "message_templates"."id" != 9) LIMIT 1  (0.1ms) UPDATE "message_templates" SET "title" = 'message_template_72', "status" = 'message_template_72', "body" = 'message_template_72', "updated_at" = '2011-12-16 03:45:56.199984' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates/9 Completed 302 Found in 12ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_73' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_73"], ["created_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_73"], ["title", "message_template_73"], ["updated_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (59.5ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_19@example.jp"], ["encrypted_password", "$2a$04$8jPwo1ePfMEX2K/OBAU8aO9AQrx8CeHZWsoMHR3HQTOBGM6OzlA3y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_19"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:56.286605' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_74", "status"=>"message_template_74", "body"=>"message_template_74"}, "position"=>"2", "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "message_templates" SET "position" = 0, "updated_at" = '2011-12-16 03:45:56.299289' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "message_templates" SET position = (position - 1) WHERE "message_templates"."id" IN (SELECT "message_templates"."id" FROM "message_templates" WHERE (1 = 1 AND position > 9) ORDER BY position) SQL (0.2ms) UPDATE "message_templates" SET position = (position + 1) WHERE "message_templates"."id" IN (SELECT "message_templates"."id" FROM "message_templates" WHERE (1 = 1 AND position >= 2) ORDER BY position)  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "message_templates" SET "position" = 2, "updated_at" = '2011-12-16 03:45:56.301663' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates Completed 302 Found in 13ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_75' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_75"], ["created_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_75"], ["title", "message_template_75"], ["updated_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_20@example.jp"], ["encrypted_password", "$2a$04$xySInGSiO79wiQfKW04N4uCy.6A0flL7cDbCO0OMUDk3dXqA7iob6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_20"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:56.324196' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = '' AND "message_templates"."id" != 9) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 13ms (Views: 1.1ms | ActiveRecord: 0.0ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_77' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_77"], ["created_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_77"], ["title", "message_template_77"], ["updated_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_17@example.jp"], ["encrypted_password", "$2a$04$oXqRrUGZZQ8gQ0abYknUMuWjBPL3q030wRjrShP3crezE2VDfuTCi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_17"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:56.370941' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_78", "status"=>"message_template_78", "body"=>"message_template_78"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 9ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_79' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_79"], ["created_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_79"], ["title", "message_template_79"], ["updated_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_18@example.jp"], ["encrypted_password", "$2a$04$OL8IR3iIs.NV3dNKZz5m1uMKGUnInOYqSocKYD7hv00VAPXEvtOBi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_18"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:56.404769' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_80", "status"=>"message_template_80", "body"=>"message_template_80"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 9ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_81' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_81"], ["created_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_81"], ["title", "message_template_81"], ["updated_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_19@example.jp"], ["encrypted_password", "$2a$04$uO3rVTBqlsNWGxrfL1PvSe3/vdbk40AFt56IVoGfoz/aaUa1vEDe."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_19"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:56.442829' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 11ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_83' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_83"], ["created_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_83"], ["title", "message_template_83"], ["updated_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_97@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_97@example.jp"], ["encrypted_password", "$2a$04$zH1rVgjlDyC1kSq3NqJSnuCYYCFZ9rpvLtjcBCpq5.8jE5bYEprIe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_97"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:56.477380' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_84", "status"=>"message_template_84", "body"=>"message_template_84"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 13ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_85' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_85"], ["created_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_85"], ["title", "message_template_85"], ["updated_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_98@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_98@example.jp"], ["encrypted_password", "$2a$04$xMX.5MkitPMrPuCnCMopTOVJh0JUZpJbUwHHXFZSPsShS/yqXJrSq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_98"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:56.517471' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_86", "status"=>"message_template_86", "body"=>"message_template_86"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 68ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_87' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_87"], ["created_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_87"], ["title", "message_template_87"], ["updated_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_99@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_99@example.jp"], ["encrypted_password", "$2a$04$gjHpxE9Hku4DiV5dUf1pmOZ9UB65tYG8PZ4bIa0n4d4A4ZFBif7oO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_99"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:56.621473' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 10ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_89' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_89"], ["created_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_89"], ["title", "message_template_89"], ["updated_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_90", "status"=>"message_template_90", "body"=>"message_template_90"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_91' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_91"], ["created_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_91"], ["title", "message_template_91"], ["updated_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_92", "status"=>"message_template_92", "body"=>"message_template_92"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 12ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_93' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_93"], ["created_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_93"], ["title", "message_template_93"], ["updated_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 10ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_95' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_95"], ["created_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_95"], ["title", "message_template_95"], ["updated_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_21@example.jp"], ["encrypted_password", "$2a$04$BXuSP/0cFAMHCXZowjC5q.ZMyOuT1CW9Bl4.zkF5C3QxVuBQ8cowW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_21"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:56.721472' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 9ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_96' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_96"], ["created_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_96"], ["title", "message_template_96"], ["updated_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_22@example.jp"], ["encrypted_password", "$2a$04$TAJ5XBB5IMCQttYTzUwggewhRQpgBeI5s3ESnYWV077rTlIYpaDlm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_22"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:56.752355' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 9ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_97' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_97"], ["created_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_97"], ["title", "message_template_97"], ["updated_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_20@example.jp"], ["encrypted_password", "$2a$04$KHa8cqYmQDK59b3ImOE45ecCE2suDyiDhjq8GswKWw2u112Q4E0YS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_20"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:56.786075' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 9ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_98' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_98"], ["created_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_98"], ["title", "message_template_98"], ["updated_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_21@example.jp"], ["encrypted_password", "$2a$04$S5iI9qnnbgOGLMTFclLvbeNfymuFzbjPTH25XSXek8cTuqcv6gEmK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_21"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:56.819457' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 77ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_99' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_99"], ["created_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_99"], ["title", "message_template_99"], ["updated_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_100@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_100@example.jp"], ["encrypted_password", "$2a$04$zoK4aeVFWiZM3r1o.PnntODZq8Qhk014LqHyMON0kwODZ52Df3QpO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_100"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:56.922899' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 13ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_100' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_100"], ["created_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_100"], ["title", "message_template_100"], ["updated_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_101@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_101@example.jp"], ["encrypted_password", "$2a$04$YERU1tNh6O1eKoU6QSfe9eiW7pLXNNHbjnPiTGOWg7lAaWu97C9ky"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_101"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:56.962180' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 8ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_101' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_101"], ["created_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_101"], ["title", "message_template_101"], ["updated_at", Fri, 16 Dec 2011 03:45:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 13ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_102' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_102"], ["created_at", Fri, 16 Dec 2011 03:45:57 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_102"], ["title", "message_template_102"], ["updated_at", Fri, 16 Dec 2011 03:45:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.3ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_23@example.jp"], ["encrypted_password", "$2a$04$LOaKuItnFjl7M6UGTlhE3exAKhMIGWPxjUbIQKAhcOZ9h5ScQ.GxC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:59 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_23"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:59 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:45:59 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:59.388725' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 107ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_24@example.jp"], ["encrypted_password", "$2a$04$ZEjajmxge0IPqSYFNxLiVOQGOBbT8GQwriDQVHzXM8X6Qc2PMF5se"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:59 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_24"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:59 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:45:59 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:59.516739' WHERE "roles"."id" = 4  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML Parameters: {"user_id"=>"admin_24"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 28ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_22@example.jp"], ["encrypted_password", "$2a$04$rF6UMJ2RDqANEEizmi1cwOZosDxyQ6ln0GgyyPhpV4kqb59nBwVo6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:59 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_22"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:59 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:45:59 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:59.566796' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.4ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 83ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_23@example.jp"], ["encrypted_password", "$2a$04$cqYJYA5g0hWIVwYiMQCM1OoQRCKMtkAk4BLvm/JsPHgcUcMgX5cni"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:45:59 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_23"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:45:59 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:45:59 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:45:59.667568' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML Parameters: {"user_id"=>"librarian_23"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 32ms User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 28ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML Parameters: {"query"=>"you"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 78ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 32ms Processing by MessagesController#index as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 5ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 82ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 500 Internal Server Error in 13ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#show as HTML Parameters: {"id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 3 AND "messages"."id" = ? LIMIT 1 [["id", "2"]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) UPDATE "messages" SET "read_at" = '2011-12-16 03:46:00.056650', "updated_at" = '2011-12-16 03:46:00.057070' WHERE "messages"."id" = 2 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1  (0.4ms) UPDATE "messages" SET "state" = 'read', "updated_at" = '2011-12-16 03:46:00.064333' WHERE "messages"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 28ms (Views: 3.3ms | ActiveRecord: 1.7ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 500 Internal Server Error in 11ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:00 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_25@example.jp"], ["encrypted_password", "$2a$04$7yREQ57SKmFEMri.7mVEl.RWcULig0onScf3q0mH1m3o7c1bzAAUi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:00 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_25"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:00 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:46:00 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:00.115131' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 Completed 200 OK in 14ms (Views: 3.1ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:00 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_24@example.jp"], ["encrypted_password", "$2a$04$4WagLYvmB4ib3Mm65LiSueKU1Ke3bADO2B0cl/DY0X.dqW5YhSaxG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:00 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_24"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:00 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:46:00 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:00.154294' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 Completed 200 OK in 73ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 12ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 8ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML Parameters: {"parent_id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 9ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML Parameters: {"parent_id"=>"2"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 11ms Processing by MessagesController#new as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.6ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_26@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:00 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_26@example.jp"], ["encrypted_password", "$2a$04$UapNZ7bHTaZcWdci1.HFEulyE4vNMwVQHN9FBHO1CAJoj3Z7taa1O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:00 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_26"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:00 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:46:00 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:00.324696' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 8 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 10ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:00 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_25@example.jp"], ["encrypted_password", "$2a$04$4e0wWZefwd/YDYshXCFEUu9hR/ZdJyNfzRmuLHWsHyn8e4K72RhBq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:00 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_25"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:00 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:46:00 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:00.353550' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 500 Internal Server Error in 14ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 15ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_102@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:00 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_102@example.jp"], ["encrypted_password", "$2a$04$98q7G9tYQ/dnoat8tDrLHOylyz1.y6rVhmu3910NhoOoUQ7iPBs/K"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:00 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_102"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:00 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:00 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:00.408741' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_103@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:00 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_103@example.jp"], ["encrypted_password", "$2a$04$4aULoLxnXF/8IBPqRWXgeuKtScakT5dV7IPNF4ve6ETxLB0Tt8sH6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:00 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_103"]] SQL (0.4ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:00 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:00 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:00.427304' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "user_102"]]  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_27@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:00 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_27@example.jp"], ["encrypted_password", "$2a$04$XZr6wmzT4T53wxOGzd3thuaFgBWxEJ5bWmrssS31dt4Du7Bvs7b5y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:00 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_27"]] SQL (1.7ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:00 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:46:00 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:00.449662' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 500 Internal Server Error in 123ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_28@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:00 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_28@example.jp"], ["encrypted_password", "$2a$04$yG39og/F5qfuiVTU35vg5.rtxEZQkQ.gHxre/VPQsGjAIMdLH.4HC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:00 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_28"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:00 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:46:00 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:00.591487' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 500 Internal Server Error in 112ms User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_29@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:00 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_29@example.jp"], ["encrypted_password", "$2a$04$Qhidg./QL5MssZnFzBsawO8XNmhfYsXIVkbhhH8K8z.dMJgkBtGke"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:00 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_29"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:00 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:46:00 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:00.729727' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 500 Internal Server Error in 114ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_30@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:00 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_30@example.jp"], ["encrypted_password", "$2a$04$XpkAA05kh9PsExUvs6DZaOcBO/ETnZ8N736R0KgliP1XqtcmUwG8G"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:00 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_30"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:00 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:46:00 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:00.863866' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 500 Internal Server Error in 104ms User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test", "parent_id"=>"2"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = 2 LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "user2"]]  (0.0ms) SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "user2"]]  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 500 Internal Server Error in 23ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 9ms User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test", "parent_id"=>"2"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 9ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms User Load (1.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 9ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_104@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_104@example.jp"], ["encrypted_password", "$2a$04$qENR2wJ5SZcPjPFibm9jEu6tjujbCegm1Eyyn7so21iTxwvrl0rHa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_104"]] SQL (1.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:01.112712' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_105@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (66.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_105@example.jp"], ["encrypted_password", "$2a$04$VCoVnpnuJIYQDYobyEXbtOygB4peDMqZuffdRfux5iQhHvO/k3Zj."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_105"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["user_id", 9]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:01.190216' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_104", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 12ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_106@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_106@example.jp"], ["encrypted_password", "$2a$04$r/ifYliP30BtKSI1ye6.0.17kP.OO3nPEtsubH7bIbqv.mXKDIECe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_106"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:01.230007' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_107@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_107@example.jp"], ["encrypted_password", "$2a$04$ntSmxCM25RVoOvi4AYvm0e8.31i1N2s1qaZ0o0szwnzdeTKLw5O5u"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_107"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:01.245410' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_106", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 13ms Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_108@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_108@example.jp"], ["encrypted_password", "$2a$04$isEUdH8rX/c1ryKV4XKcvO757xtpkft0KTsNjUngKfiJTKd.t6I8y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_108"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:01.282346' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_109@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_109@example.jp"], ["encrypted_password", "$2a$04$kyEVToWWjpAoUXPms0lFIOR6vkg0gxnbkwm28bnYsQh1n2iL/vAeC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_109"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:01.300680' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 10ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_110@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_110@example.jp"], ["encrypted_password", "$2a$04$t8gugdqFlQqM7ZWbuQXCYOwNiEE5k68Qo9kNDx9MKqvUE.w9zyG9i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_110"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:01.332159' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_111@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_111@example.jp"], ["encrypted_password", "$2a$04$9Mc/F1c2hY3s7.WfP7R/8ecogqXE/Z6AbmUtWJMuPG1HDV3YfpKMi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_111"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:01.347332' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 10ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_112@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_112@example.jp"], ["encrypted_password", "$2a$04$f9cXAm9MAc.NbVUezxusUuMLd6j8mTHaWWO6C4rBDESdGnKQFNHTq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_112"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:01.377687' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_113@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_113@example.jp"], ["encrypted_password", "$2a$04$.2uOqc/CBEdj2xnfs1OCv.MPgzgZD2Um0oYLfkPx9RE9L3gQKgilm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_113"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:01.390926' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_112", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 500 Internal Server Error in 15ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_114@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (64.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_114@example.jp"], ["encrypted_password", "$2a$04$x0ZklfhJ51WcDIo.DsYiFOKaNXHTXu.CZGQ9T.IFrxfLoBpRMTuE6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_114"]] SQL (4.7ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:01.493325' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_115@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_115@example.jp"], ["encrypted_password", "$2a$04$x4o6wq3gCnh6malIoyOhWuZSU6zarJJhslBWuhn3VIbGcRAzAu05S"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_115"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:01.506483' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_114", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 500 Internal Server Error in 12ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_116@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_116@example.jp"], ["encrypted_password", "$2a$04$kVyMP.W5YzmSsJTFI6gOyOM7FzJVFkjTfxiObD9l9zngW4S/OdWf2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_116"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:01.542913' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_117@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_117@example.jp"], ["encrypted_password", "$2a$04$7tPKPp1lfBiWA84rqJFRtuqc0fpRXmWJWTGh0CBwNiVzv2k5aX28q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_117"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:01.557859' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 500 Internal Server Error in 10ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_118@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_118@example.jp"], ["encrypted_password", "$2a$04$fWIkTQQnuLmdM3rAp1Z21evaltiWxyZ6qmluJxQTuP.VvV8FWze0O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_118"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:01.587890' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_119@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_119@example.jp"], ["encrypted_password", "$2a$04$qMk19Noi50JPPMfVa.ngBeMMd/jdFkGkyGZqFX2oBm6dzyS4Y2Wj6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_119"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:01.602132' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 500 Internal Server Error in 13ms Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_120@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_120@example.jp"], ["encrypted_password", "$2a$04$UCyr73NI13pkkJOZ43IHQuRTF0JGUE45eEo8YgQg4kBuS99lduk5G"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_120"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:01.638631' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_121@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_121@example.jp"], ["encrypted_password", "$2a$04$3robG1vjRFb/7R32PgiYO.uzO.d.2zgQxEgkq0jlqy./iV4gcfTCa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_121"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:01.652835' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 10ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_122@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_122@example.jp"], ["encrypted_password", "$2a$04$RIJ50dqJHrwUIPjtEPTazez3C9TTaCw.D7Wu66rLLUmmpuHqRTlGy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_122"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:01.684770' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_123@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_123@example.jp"], ["encrypted_password", "$2a$04$Aikfn3L3rGBoWlcfluitZeisT68ND2wKgtb7nGD0v.pKg0skGWpAm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_123"]] SQL (67.8ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:01.766224' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 9ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_124@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_124@example.jp"], ["encrypted_password", "$2a$04$OgVCxixqNMnV/E2M0ltCZe2CY/ZROQ3.cOEInYP84WltRtXeHuLke"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_124"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:01.797503' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.2ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_125@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_125@example.jp"], ["encrypted_password", "$2a$04$d81emub0iI405Zoo3vrnlOCjNDIAOeSeqtltzJkWiSWE2eWMKx7Ri"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_125"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:01.811263' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_124", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 10ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_126@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_126@example.jp"], ["encrypted_password", "$2a$04$nrmxn42WMN6GYDzu2d2MTuPxQ/tu9LQW5LeAGqkot4w5PRb4cO5wy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_126"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:01.844990' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_127@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_127@example.jp"], ["encrypted_password", "$2a$04$1sJoBZLvcrawR3Kl9lUhKe8IPp9.0omgN9M.K3nURVFXI4MjRLQrq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_127"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:01.865174' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_126", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 12ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_128@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_128@example.jp"], ["encrypted_password", "$2a$04$gkppkbKo3WPNyhU3AwPkuOkzxsMdjeTHn5G51Y1dBkCnnYspom0RS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_128"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:01.905441' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_129@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_129@example.jp"], ["encrypted_password", "$2a$04$XrU38S68oCskyT8cY1vHVus4qK/Yc.Q/VuDIMaWpwBYem6JXRCMpK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_129"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:01.920299' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 9ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_130@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_130@example.jp"], ["encrypted_password", "$2a$04$4OlUVsGSGDNbzO9Pc1doNuByXCYqNHaKoOiUBlcfXKF1XgWxyV8M."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_130"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:01.950885' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_131@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_131@example.jp"], ["encrypted_password", "$2a$04$AUEjrjsDHE17WAgdQ6GoVeXn5dqZFxbzYerO0IJV9bwIoQRd2XMfO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_131"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:01.966087' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 11ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_132@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (62.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_132@example.jp"], ["encrypted_password", "$2a$04$RCBt3b0vEPp/7uarsq0ADeEUvcs3YGib1gbzEwEqIoy66rAKz78fW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:01 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_132"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:02 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:02 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:02.063814' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_133@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_133@example.jp"], ["encrypted_password", "$2a$04$vn0ndDSj4quE0M2XBPMLcOCXXzWz.w90zNKHfnc6ENl7x7T9dyjOC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_133"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:02 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:02 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:02.077658' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#destroy as HTML Parameters: {"id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 3 AND "messages"."id" = ? LIMIT 1 [["id", "2"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "messages" WHERE ("lft" > 3 AND "rgt" < 4) SQL (0.4ms) UPDATE "messages" SET "lft" = ("lft" - 2) WHERE "messages"."id" IN (SELECT "messages"."id" FROM "messages" WHERE ("lft" > 4) ORDER BY "lft") SQL (0.5ms) UPDATE "messages" SET "rgt" = ("rgt" - 2) WHERE "messages"."id" IN (SELECT "messages"."id" FROM "messages" WHERE ("rgt" > 4) ORDER BY "lft") SQL (0.2ms) DELETE FROM "messages" WHERE "messages"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/messages Completed 500 Internal Server Error in 43ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 500 Internal Server Error in 9ms Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 8ms Fixture Delete (0.4ms) DELETE FROM "message_requests" Fixture Insert (0.2ms) INSERT INTO "message_requests" ("sender_id", "receiver_id", "message_template_id", "state", "created_at", "updated_at", "id") VALUES (1, 1, 1, 'pending', '2011-12-16 03:46:41', '2011-12-16 03:46:41', 980190962) Fixture Insert (0.1ms) INSERT INTO "message_requests" ("sender_id", "receiver_id", "message_template_id", "state", "created_at", "updated_at", "id") VALUES (1, 1, 1, 'pending', '2011-12-16 03:46:41', '2011-12-16 03:46:41', 298486374) Fixture Delete (1.3ms) DELETE FROM "message_templates" Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (1, 'reservation_accepted', 'Reservation accepted', 'Reservation accepted', 1, '2011-12-16 03:46:41', '2011-12-16 03:46:41') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (2, 'item_received', 'Item received', 'Item received', 2, '2011-12-16 03:46:41', '2011-12-16 03:46:41') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (3, 'reservation_expired_for_patron', 'Reservation expired', 'Reservation expired', 3, '2011-12-16 03:46:41', '2011-12-16 03:46:41') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (4, 'reservation_expired_for_library', 'Reservation expired', 'Reservation expired', 4, '2011-12-16 03:46:41', '2011-12-16 03:46:41') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (5, 'reservation_canceled_for_patron', 'Reservation canceled', 'Reservation canceled', 5, '2011-12-16 03:46:41', '2011-12-16 03:46:41') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (6, 'reservation_canceled_for_library', 'Reservation canceled', 'Reservation canceled', 6, '2011-12-16 03:46:41', '2011-12-16 03:46:41') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (7, 'recall_item', 'Recall item', 'Recall item', 7, '2011-12-16 03:46:41', '2011-12-16 03:46:41') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (8, 'recall_overdue_item', 'Recall overdue item', 'Recall overdue item', 8, '2011-12-16 03:46:41', '2011-12-16 03:46:41') Fixture Delete (0.2ms) DELETE FROM "messages" Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "read_at", "state", "lft", "rgt", "updated_at") VALUES (1, 3, 4, 'First Message', 'Abby, you get the first message', '2007-07-04 12:10:47.000000', '2011-12-13 03:46:41.000000', 'unread', 1, 2, '2011-12-16 03:46:41') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (2, 4, 3, 'RE: First Message', 'Thanks Dad! You are the coolest!', '2011-12-14 03:46:41.000000', 'unread', 3, 4, '2011-12-16 03:46:41') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (3, 3, 4, 'Second Message', 'Catie, you get the 2nd message', '2011-12-15 03:46:41.000000', 'unread', 5, 6, '2011-12-16 03:46:41') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (6, 4, 5, 'Dad!', 'He is sucha dork.', '2011-12-14 03:46:41.000000', 'unread', 7, 8, '2011-12-16 03:46:41') Fixture Delete (0.1ms) DELETE FROM "roles" Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Guest', 'Guest', 1, NULL, '2011-12-16 03:46:41', '2011-12-16 03:46:41') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('User', 'User', 2, NULL, '2011-12-16 03:46:41', '2011-12-16 03:46:41') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Librarian', 'Librarian', 3, NULL, '2011-12-16 03:46:41', '2011-12-16 03:46:41') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Administrator', 'Administrator', 4, NULL, '2011-12-16 03:46:41', '2011-12-16 03:46:41') Fixture Delete (0.1ms) DELETE FROM "user_groups" Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('(not specified)', '(not specified)', '2007-12-13 12:00:51.564542', 1, '', '2007-12-13 12:00:01.674976', 1) Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('User', 'User', '2007-12-22 18:14:56.836548', 2, '', '2007-12-22 18:14:40.173954', 2) Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('Faculty', 'Faculty', '2007-12-22 18:15:05.134351', 3, '', '2007-12-22 18:15:05.126457', 3) Fixture Delete (0.1ms) DELETE FROM "user_has_roles" Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (1, 4, '2011-12-16 03:46:41', '2011-12-16 03:46:41', 135138680) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (2, 3, '2011-12-16 03:46:41', '2011-12-16 03:46:41', 344583537) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (3, 2, '2011-12-16 03:46:41', '2011-12-16 03:46:41', 206669143) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (4, 3, '2011-12-16 03:46:41', '2011-12-16 03:46:41', 226540757) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (5, 2, '2011-12-16 03:46:41', '2011-12-16 03:46:41', 358143215) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (6, 2, '2011-12-16 03:46:41', '2011-12-16 03:46:41', 576709754) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (7, 2, '2011-12-16 03:46:41', '2011-12-16 03:46:41', 1010528733) Fixture Delete (0.2ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:16:30.163731', '$2a$10$vHohD1WflnTIqAa8zMkF9evwAgIZRw3XuR4d3bi29M.jph/MB/AJi', 2, 1, NULL, 'admin', 'tanabe@kamata.lib.teu.ac.jp', '2007-11-19 07:58:32.111941', 4) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 03:41:16.337474', '$2a$10$9O2VuTccN4gHq36ARg0QReSrb1D7WrBBhZZ759RM9moHbB0W5zCzS', 1, 2, NULL, 'librarian1', 'librarian1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:33.172441', 1) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', '$2a$10$JthS59A0BNkDOoFpCXM0V.GhhffKaoWKbzpPahYp/vTFrOyM7h/uW', 1, 3, NULL, 'user1', 'user1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:23.340575', '$2a$10$YmmTGrYQ1Ir6oc7wXnp.GuNeO1eYLoP3sv8wMSIrTdaGw2BPwRrpS', 1, 4, NULL, 'librarian2', '2008-01-18 03:24:04.222344', 1) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:44.711117', '$2a$10$i7UjJhLVrJM/J7qaTwW39OXw1NiwowUEbtNHVDV0sqMLjX9.UO9ca', 1, 5, NULL, 'user2', '2008-01-18 04:29:06.922728', 2) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 6, NULL, 'user3', 'user3@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 7, NULL, 'user4', 'user4@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_1@example.jp"], ["encrypted_password", "$2a$04$WTI7CBT8urFcdWMBZMZEReOTplBAIOM9XimPy.XcqDdPiptxFiqB2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_1"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:41 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:46:41 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:41.693645' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageRequest Load (0.2ms) SELECT "message_requests".* FROM "message_requests" WHERE (sent_at IS NULL AND state = 'pending') ORDER BY created_at DESC Completed 500 Internal Server Error in 75ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_1@example.jp"], ["encrypted_password", "$2a$04$F/o3G9Xd10on.zCD2viv4.0r2kTfTEZIe880PLoMuhUG43rPX9Jkq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_1"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:41 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:46:41 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:41.803055' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageRequest Load (0.3ms) SELECT "message_requests".* FROM "message_requests" WHERE (sent_at IS NULL AND state = 'pending') ORDER BY created_at DESC Completed 500 Internal Server Error in 10ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_1@example.jp"], ["encrypted_password", "$2a$04$GrHQeDu0uEimtL2XHGRMUuF9Sy4MiMA1PdzfL5/x4t7S5rEzbiAgy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_1"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:41 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:41 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:41.832510' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 33ms (Views: 23.1ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "message_requests" WHERE ('t'='f') Processing by MessageRequestsController#index as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 57ms  (0.1ms) SELECT COUNT(*) FROM "message_requests" WHERE ('t'='f') Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_2@example.jp"], ["encrypted_password", "$2a$04$QRMOVmj8EDnfyzdlgBGX7ODfEXRb8YhjPFiDOiz8Zm9dmse3kyIpa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_2"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:41 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:46:41 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:41.946165' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_2@example.jp"], ["encrypted_password", "$2a$04$Ph/TDvWwqxvOdFHA10k4xOrIT942QBTeFY7YEz2oTLVPFqNubUMIK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_2"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:41 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:41 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:41.963199' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_3@example.jp"], ["encrypted_password", "$2a$04$/Lqo/arKFFe4s5U7M4/5UeKdrNg3asCuuAfd942HrE98a2/OVt.H6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_3"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:41 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:41 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:41.977463' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_1' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_1"], ["created_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_1"], ["title", "message_template_1"], ["updated_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_1' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.2ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 11ms (Views: 2.7ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_2@example.jp"], ["encrypted_password", "$2a$04$zwmOFB9GZlB35wSFe4CGluqaMD6fU9RGHWBa1hoggY/Vyeph.DwMu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_2"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:42.050175' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_4@example.jp"], ["encrypted_password", "$2a$04$jumobnOHaeRjraaF9.dade7WM/WBkXUE95z4Tac1vC.xp4PqJmLF6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_4"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:42.063445' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_5@example.jp"], ["encrypted_password", "$2a$04$88mRjCLeQfLiN4tMae8/SO6hCVADr5PyyQ991VUWYryQDqGd7oZ4S"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_5"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:42.076734' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_2' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_2"], ["created_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_2"], ["title", "message_template_2"], ["updated_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_2' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 11ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_6@example.jp"], ["encrypted_password", "$2a$04$63i4MO8X.ViZTkKv9tLC4uI9BpIjb.FdD1fsTrUqiUWK5I2ZdYi0G"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_6"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:42.119759' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (5.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_7@example.jp"], ["encrypted_password", "$2a$04$xGIFot1MhU2ghtPyyOm8wu9PzWLhuCa/UY8hWLQ9AN79khVs.LCTS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_7"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:42.136537' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (53.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_8@example.jp"], ["encrypted_password", "$2a$04$vGPYV16lhHa2.fNhtnQN7egGl2shzbBRsIFgBE/QUHJhg4S5aMNOq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_8"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:42.202143' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_3' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_3"], ["created_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_3"], ["title", "message_template_3"], ["updated_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_3' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 2.1ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_9@example.jp"], ["encrypted_password", "$2a$04$S0cb1hW1qj/YDhRIZmOkKuOvCsKv69FGpeSbCw/wZGVsi1DuYxy6e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_9"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:42.252576' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_10@example.jp"], ["encrypted_password", "$2a$04$MPvPs3oRagvoMu8J4DyOI.DmeVY.HdSBQW6F0vmO6NLLar988cX3W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_10"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:42.268158' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_4' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_4"], ["created_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_4"], ["title", "message_template_4"], ["updated_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_4' AND "message_templates"."id" != 9) LIMIT 1 SQL (1.3ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_3@example.jp"], ["encrypted_password", "$2a$04$8aNw4fuXrIt7.nREsVRSu.6Hue8IA3Od93u4O5o5otVVUFpYFPKKm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_3"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:42.312451' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.5ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_11@example.jp"], ["encrypted_password", "$2a$04$YGGveEFk3W/l.734VKBx4.pu9JBtKGv/As.lR0QbOJnxd3kOThFGe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_11"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:42.326533' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_12@example.jp"], ["encrypted_password", "$2a$04$t0s91WipibqeKrtFFZ4kk.3lnOiFIHvAbm65vlPENVoKJv1QYRIsy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_12"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:42.341661' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_5' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_5"], ["created_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_5"], ["title", "message_template_5"], ["updated_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_5' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 14ms (Views: 4.8ms | ActiveRecord: 0.6ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_3@example.jp"], ["encrypted_password", "$2a$04$xEBtO/O2e4ILqbhIYknCieCd4MAna3uUq6ytbSsQ6Fh5oFRQkt2qq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_3"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:42.392701' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_13@example.jp"], ["encrypted_password", "$2a$04$batwjNQjsUpvVKUiDo98mer.uXMG2MyeEV5onosE39SGPimKoEZ.e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_13"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:42.410498' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_14@example.jp"], ["encrypted_password", "$2a$04$s2PbwqFWQ.fUUwBSMoSanOMgXsLK9JqCAxLc2Dz5vHwwNjFCqRMNW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_14"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:42.422991' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_6' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_6"], ["created_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_6"], ["title", "message_template_6"], ["updated_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_6' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 62ms (Views: 52.4ms | ActiveRecord: 0.6ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_15@example.jp"], ["encrypted_password", "$2a$04$12te/TZ/Mbu2Vj1tjIXjbeQE7zi5eNTOYEAWYvbjKrRWyZSE0mWZq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_15"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:42.520077' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_16@example.jp"], ["encrypted_password", "$2a$04$AXrl3sL10vF5qZD2czIp1uHpE1jAWUkI6AU6eC/WoJOgaYnE4QeW6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_16"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["user_id", 9]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:42.536917' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_17@example.jp"], ["encrypted_password", "$2a$04$LdLda5j42WAnHFXcFO2J2.s3eNOqv5/vbsd0XN3bdxwLNZeRj//hO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_17"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:42.553163' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_7' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_7"], ["created_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_7"], ["title", "message_template_7"], ["updated_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_7' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_18@example.jp"], ["encrypted_password", "$2a$04$wzuo.TiAs2Ycx/P4.zM5sOFzsbmKPG85MTS2VAUAx9dQe6KkSJxze"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_18"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:42.596775' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_19@example.jp"], ["encrypted_password", "$2a$04$hsc56Wu5Vu7IWYCUWAVL6u6mI6jXCZoqaFovtXGqqBKn2imj7hlNq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_19"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["user_id", 9]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:42.610963' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_8' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_8"], ["created_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_8"], ["title", "message_template_8"], ["updated_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_8' AND "message_templates"."id" != 9) LIMIT 1 SQL (4.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.4ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_20@example.jp"], ["encrypted_password", "$2a$04$eM7De6O5Biprp.VQQxf/l.Jpg.k.8tJcCpl1fpfk5FCjWvkQSODB."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_20"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:42.664428' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.7ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_21@example.jp"], ["encrypted_password", "$2a$04$Def2ejDvCLFGdh5AxQdoMupNsa8ogp95NNyyqVfqSkLsE0VqdGpx2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_21"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["user_id", 9]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:42.679089' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_9' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_9"], ["created_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_9"], ["title", "message_template_9"], ["updated_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_9' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_22@example.jp"], ["encrypted_password", "$2a$04$zYhnN2vqk5bUKpEuFX1o0.CMYsvdueVW52SWRz6UG7woj.jlbRkSe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_22"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:42.706939' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_23@example.jp"], ["encrypted_password", "$2a$04$UkIIcyScMvrLamvo6rODeuzLQmvQCdKg7xYIzpRGQnC8OoxhL/822"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_23"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:42.719612' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_10' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_10"], ["created_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_10"], ["title", "message_template_10"], ["updated_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_4@example.jp"], ["encrypted_password", "$2a$04$SZWcitEHLNYfjxy91ZFnmuTo5LNdh7K48po7OojJqYG.EAE.SaEUm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_4"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:42.741044' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_10' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 10, "receiver_id" = 11, "message_template_id" = 10, "updated_at" = '2011-12-16 03:46:42.831156' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 91ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_24@example.jp"], ["encrypted_password", "$2a$04$Cs.i.AqSLj7dEo7rKfef1eAcEAHrQ26mOagghM9I5VJwyWNHHhWm6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_24"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:42.851606' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_25@example.jp"], ["encrypted_password", "$2a$04$V/kAnhcNOq3.p02HprTe9OidbQgN258uO2sV/bpF6582Ic7zlcAR2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_25"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:42.864718' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_11' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_11"], ["created_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_11"], ["title", "message_template_11"], ["updated_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_11' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_26@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_26@example.jp"], ["encrypted_password", "$2a$04$QZIkS30nyTu4Cc8bVjhX9OQlf6Fbo04TwWyVcCb15ATyS7LUbrkAe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_26"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:42.897822' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_27@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_27@example.jp"], ["encrypted_password", "$2a$04$GncUhRj40Q6hyPYCu/5oCeMK4uxUnxEihUtL43BSbnJPvxqcrFdJy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_27"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:42.911780' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_12' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_12"], ["created_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_12"], ["title", "message_template_12"], ["updated_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_5@example.jp"], ["encrypted_password", "$2a$04$/cSPnNKuEHnDOycd621PuuajhfPj2y7SWt5/Hb3rYgGHLS52mTIdi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_5"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:42.929674' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_12' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 10, "receiver_id" = 11, "message_template_id" = 10, "updated_at" = '2011-12-16 03:46:42.949010' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 18ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_28@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_28@example.jp"], ["encrypted_password", "$2a$04$tj09qIVpESLn.pNEAYWkAukLCNtKUEdw.d3n9/XIzOvYxnAccfYjm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_28"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:42.968238' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_29@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_29@example.jp"], ["encrypted_password", "$2a$04$dIm0Xqh5./LEEiKCGdnsU.4qfF1o3UQ2T3oP5GiDN6LFY5QLBj.TS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_29"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:42.981074' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_13' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_13"], ["created_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_13"], ["title", "message_template_13"], ["updated_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_13' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:46:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_30@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_30@example.jp"], ["encrypted_password", "$2a$04$X7.6Mi66ltwcJu8oQnkPD.L4aQAeFuRDnw4F2EaS9qAzq70y1gYf2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_30"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:43.010978' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_31@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_31@example.jp"], ["encrypted_password", "$2a$04$Zv01shekrQiZI9gtrX0VfOptYkbg9OiGNUgaggK3uvZZu8Gatuu1K"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_31"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:43.027018' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_14' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_14"], ["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_14"], ["title", "message_template_14"], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_6@example.jp"], ["encrypted_password", "$2a$04$O8OAxWgcc2Iwp8pYW3rnv.h4THMyZLRmI9bWJMEf/FlCZfaA/k/jK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_6"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:43.044763' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_13' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 25ms (Views: 1.4ms | ActiveRecord: 1.1ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_32@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_32@example.jp"], ["encrypted_password", "$2a$04$hCSDONHzuZZhehT0UYV2VeaRNerq8kZSY5rwZdjgmjLrG24268JGO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_32"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:43.142447' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_33@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_33@example.jp"], ["encrypted_password", "$2a$04$ZH79MorW5hk8Xh9z.Nf.z.maT7/FO42hiv48F336Yf1gw9eHTKsoS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_33"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:43.156193' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_15' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_15"], ["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_15"], ["title", "message_template_15"], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_15' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_34@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_34@example.jp"], ["encrypted_password", "$2a$04$f.1YXWF0Nd7jVGmuXKnLo.R8Fvy2pwRPz05TDXTwvEstRGodjtclq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_34"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:43.181814' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_35@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_35@example.jp"], ["encrypted_password", "$2a$04$Ay2i0K1qf4hU16gM4sP6geFPre0ZQTudpe0JeoHSJfptqaoXaOkb."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_35"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:43.194410' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_16' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_16"], ["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_16"], ["title", "message_template_16"], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_4@example.jp"], ["encrypted_password", "$2a$04$1Kn6YoPCyXccbyk8RVvRMO6Z9zFb6xpSbZXkBHo3shzYthxiEhd1a"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_4"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:43.210613' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_16' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 10, "receiver_id" = 11, "message_template_id" = 10, "updated_at" = '2011-12-16 03:46:43.227334' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 19ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_36@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (7.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_36@example.jp"], ["encrypted_password", "$2a$04$SLv72DsfVbMw3zoQRv2PueF8BX16QX4TSRL5W.csZzhdh34EudXAa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_36"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:43.260178' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_37@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_37@example.jp"], ["encrypted_password", "$2a$04$qfTFLt80oFrvjE2BkwrVgOHNezpaVFxlRwwBGeE9pqCIJ/PIW.sFm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_37"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:43.273218' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_17' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_17"], ["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_17"], ["title", "message_template_17"], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_17' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.9ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_38@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_38@example.jp"], ["encrypted_password", "$2a$04$YhJ9qV66zx2LHXPJX/3DLemBuN7kGlZbWI1cGHW39HVjdrO.XS9Ba"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_38"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:43.307933' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_39@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_39@example.jp"], ["encrypted_password", "$2a$04$B.AU9xguTkwf/WpZOgY8OO32X4KW6ffPtaO6SRbxIfzU3vZkqtV7C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_39"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:43.320974' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_18' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_18"], ["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_18"], ["title", "message_template_18"], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (66.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_5@example.jp"], ["encrypted_password", "$2a$04$haoIvbJy.QtAC025ZGUpyeHX.Jn7DcMcB6l5.kBIeg7sdSsclnL9y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_5"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:43.403220' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_18' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 10, "receiver_id" = 11, "message_template_id" = 10, "updated_at" = '2011-12-16 03:46:43.421887' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 18ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_40@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_40@example.jp"], ["encrypted_password", "$2a$04$mF6WevLmp.NPEyRxpcyuV.JHpffaNLUgF.FUFmV/7A9drRKmqX8ou"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_40"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:43.441626' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_41@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_41@example.jp"], ["encrypted_password", "$2a$04$cLY/ZIaKzMSvCwtufozDqe6d0U6Zw9BkptLuvlj3toSVQOHp0MNde"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_41"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:43.452042' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_19' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_19"], ["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_19"], ["title", "message_template_19"], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_19' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.6ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_42@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_42@example.jp"], ["encrypted_password", "$2a$04$A7inV76zioDB2h/3ZGgKwOxwFwTTFiyJBpbmQeY4x809WVe.rNGeK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_42"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:43.470858' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_43@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_43@example.jp"], ["encrypted_password", "$2a$04$k4rY7Oxit4fnA84EPhgY0uyiG/Zjvyt5jQNHQDIyUZaQmuirRrWtu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_43"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:43.481610' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_20' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_20"], ["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_20"], ["title", "message_template_20"], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_6@example.jp"], ["encrypted_password", "$2a$04$QwFtHWKnsPT0dmpsrfPDg.mHUQybWHhMIRRR2UpRKzEmzv4QmeR5C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_6"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:43.492610' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_19' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 10ms (Views: 0.9ms | ActiveRecord: 0.7ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_44@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_44@example.jp"], ["encrypted_password", "$2a$04$StXfGfzeB0ftA0Fd9NczAOdjJSSVVrb6ZF8p/eTGS8D0UAjLuC.e."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_44"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:43.516735' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_45@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_45@example.jp"], ["encrypted_password", "$2a$04$I5uvtVVGz2ss6ZNUw6C5Kec24eqqkUtzz7rYKOyqxMETFnb96Er7C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_45"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:43.527179' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_21' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_21"], ["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_21"], ["title", "message_template_21"], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_21' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_46@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_46@example.jp"], ["encrypted_password", "$2a$04$CX2.f011Kmb/661SRE5kEefXpD2AstWapUPp9Q/5SobT8caWrNoly"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_46"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:43.544223' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_47@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_47@example.jp"], ["encrypted_password", "$2a$04$d.DJZYw5X2SKWnFlRUXUv.jqNepCD8tCmXny0tyeNXbIwYUqKaAH6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_47"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:43.552097' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_22' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_22"], ["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_22"], ["title", "message_template_22"], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_48@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (32.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_48@example.jp"], ["encrypted_password", "$2a$04$JFj8oEWlLLQG9ypt25V2nuw/67bpCLpt6jjWi.mHa.QNLAddPf8Wq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_48"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:43.595018' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_49@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_49@example.jp"], ["encrypted_password", "$2a$04$XZXcINQwBeyuf81iFmBShOBGGuTi5GcYe1gZVQUhlQdBc/NzV0ZNG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_49"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:43.613477' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_50@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_50@example.jp"], ["encrypted_password", "$2a$04$a1dLCo86UGaMAtJ0nAT3weMXBN4TdkSS0Wp2Tg6IuNOeKsWfQWohi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_50"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:43.622011' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_23' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_23"], ["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_23"], ["title", "message_template_23"], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_23' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_51@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_51@example.jp"], ["encrypted_password", "$2a$04$3EDpEp12a2USHtRRrbfbyeOuK9SDFCVUJglfW7nAssXhQwU1R1mFG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_51"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:43.637082' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_52@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_52@example.jp"], ["encrypted_password", "$2a$04$xkojbMCf19GSLxriT3eVnO/XNaiEodt6812vGBTSkqXgj5cpda0bC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_52"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:43.645366' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_24' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_24"], ["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_24"], ["title", "message_template_24"], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_53@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_53@example.jp"], ["encrypted_password", "$2a$04$lDUkAtKwdTZayG8EqtQgZu8BfZywP2oHNLC/4gIyg9uzw6cRuxDfa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_53"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:43.655638' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_54@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_54@example.jp"], ["encrypted_password", "$2a$04$bCM/q3HJHCdyp5L/ZN600OkqJEvqnVcbLQFkyCfxqd5b9SvfFkZvW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_54"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:43.675507' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_55@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_55@example.jp"], ["encrypted_password", "$2a$04$Z8z0zpl5FF5VNH/AxcC9BeaiX8jCOKDXq26VuyxRQ.LVtMhXg149W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_55"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:43.683526' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_25' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_25"], ["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_25"], ["title", "message_template_25"], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_25' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.6ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_56@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_56@example.jp"], ["encrypted_password", "$2a$04$paI89zyeesE5Gkm.F8w3RunysT917p3jtGefD6fPDyJ.cAon//LTy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_56"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:43.698755' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_57@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_57@example.jp"], ["encrypted_password", "$2a$04$j47YPw7MibpPp7fu0hD25uCFLGs3Z5m1VRZCi.lAzGnJdo9U6j1zG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_57"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:43.707127' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_26' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_26"], ["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_26"], ["title", "message_template_26"], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_58@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (33.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_58@example.jp"], ["encrypted_password", "$2a$04$PnaljsRRDPBAQmrWWz2MqO4Ie./.IAhrFnNb/OzBAV81m7XsmfVIa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_58"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:43.750695' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_59@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_59@example.jp"], ["encrypted_password", "$2a$04$3ijNYH2T.g1JaslS3Q9tEOCcdoOndk41Po/xbGAsgoTkdYY08udsK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_59"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:43.769587' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_60@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_60@example.jp"], ["encrypted_password", "$2a$04$cQQLz0PH9X4nwPArD0LBledhSHeWCTbn7ERZnjnCLHkeHU3C0W.Hm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_60"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:43.778436' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_27' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_27"], ["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_27"], ["title", "message_template_27"], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_27' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_61@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_61@example.jp"], ["encrypted_password", "$2a$04$I.BT29OS/X0081EcOt47xOi8tPzvg7d.nRiW.kbSanZVUiiIrw9mq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_61"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:43.792707' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_62@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_62@example.jp"], ["encrypted_password", "$2a$04$I6wNvMMm3XD4B.sDHfP4ROUnVIW1GVxgyExFwBU330lA/GoBA/q3S"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_62"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:43.800590' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_28' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_28"], ["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_28"], ["title", "message_template_28"], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_63@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_63@example.jp"], ["encrypted_password", "$2a$04$LUfLLqOS/dzFa35LDNnV9.3Y9LZJgntu3SPaj/C2IkdOC4gy3ygGa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_63"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:43.818887' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_64@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_64@example.jp"], ["encrypted_password", "$2a$04$7pbRvn9J.BxO1vAv8/i31ultFunxEmVvBVkNHpNYn6HuQVPmt5YWy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_64"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:43.827676' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_29' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_29"], ["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_29"], ["title", "message_template_29"], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_29' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_65@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_65@example.jp"], ["encrypted_password", "$2a$04$sv18lGEA.ciNvoMcbME6GuXmoQ19OcIU0pzWAKqHjsl27Z.aENS5i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_65"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:43.843005' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_66@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_66@example.jp"], ["encrypted_password", "$2a$04$iDiyBNMTYruW1/l9VBOKyObzpuNMnuFpdx8KJVEyouLp4K5CUqpMi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_66"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:43.851086' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_30' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_30"], ["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_30"], ["title", "message_template_30"], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_67@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (34.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_67@example.jp"], ["encrypted_password", "$2a$04$qxnTKNyyVWM0SYg8s4DP4erlqeqPdcUQhSRi.mvUyeizubTZFDqom"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_67"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:43.904733' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_68@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_68@example.jp"], ["encrypted_password", "$2a$04$LptffEySdLvYerlE721Qq.98nJuU7VrWtQvkyf1sYxexiR1rv09lW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_68"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:43.913355' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_31' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_31"], ["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_31"], ["title", "message_template_31"], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_31' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_69@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_69@example.jp"], ["encrypted_password", "$2a$04$47NkvvedXDUfntqVvXiNbuUsxxDgxyP0BVyDEPBZZK02HKOfhA7W2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_69"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:43.927824' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_70@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_70@example.jp"], ["encrypted_password", "$2a$04$ypgiIsA0Y4cFoVEfdEcv6e6nk8VSJe8Kyn8FbjgIhCnti4FZGbhmG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_70"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:43.935781' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_32' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_32"], ["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_32"], ["title", "message_template_32"], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_71@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_71@example.jp"], ["encrypted_password", "$2a$04$EAyVu5IHIof9f5WZqX577OfSNTfabdu4iHQdHT0rTvhwa/pkhe7Eq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_71"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:43.955187' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_72@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_72@example.jp"], ["encrypted_password", "$2a$04$cBaZy0r9F3TZs/RRYL8L1uMsqmLpMa479c1tI4xUHQ3IALfQzSRNi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_72"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:43.963582' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_33' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_33"], ["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_33"], ["title", "message_template_33"], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_33' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_7@example.jp"], ["encrypted_password", "$2a$04$TE7hY/T3sZ2ZCDIBCeyo7OZ4tGhOCGwwRAXkwFmw884cD6oUCS22G"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_7"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_id", 10]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:43.979141' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 6ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_73@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_73@example.jp"], ["encrypted_password", "$2a$04$xZvwJoJx9dTXJc/rJ5lEMuhvIJUjMzAn9wQZD7dlIXTUI2QK3pzQK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_73"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:43 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:43.997188' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_74@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_74@example.jp"], ["encrypted_password", "$2a$04$QIYoY8EOy9UGogDV2PK9bu.IITqw9xVKm2mJc47HVzsA/kcgQ6KqK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_74"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:44.007110' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_34' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_34"], ["created_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_34"], ["title", "message_template_34"], ["updated_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_34' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_8@example.jp"], ["encrypted_password", "$2a$04$kLHIqTllxONdVBad4Rogiu0SsYN2m/L0A0d5EV.cCOLMkg6oRBM7a"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_8"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:44.021547' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 5ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_75@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_75@example.jp"], ["encrypted_password", "$2a$04$EXZxhzgSu7m6tnYCZhOaAONk8seUNOus6cGBr6HcbH5qPRhp66NkW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_75"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:44.075252' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_76@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_76@example.jp"], ["encrypted_password", "$2a$04$FDwXv2iQ7Z.GdfXyIujla.DS66fg05JEHpYGvKOf1n0ClQtFe9t4."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_76"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:44.083573' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_35' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_35"], ["created_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_35"], ["title", "message_template_35"], ["updated_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_35' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_7@example.jp"], ["encrypted_password", "$2a$04$6ZVtogu.wG9fs1v1ac6YgOT18LoBhdy4awD6EYZgAXQ./w5AHHAMO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_7"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:44.098516' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 6ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_77@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_77@example.jp"], ["encrypted_password", "$2a$04$3sLF2sDrth3XKca/nCk.7.K16v2QaESFHdIKAtPLmw7FGJVjuhVta"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_77"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:44.115512' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_78@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_78@example.jp"], ["encrypted_password", "$2a$04$oJjL44NyTqpBDu012vjb0uZA7SgsdeKSlNDCNxBDW0vnF6JP/gpfO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_78"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:44.123803' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_36' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_36"], ["created_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_36"], ["title", "message_template_36"], ["updated_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_36' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_8@example.jp"], ["encrypted_password", "$2a$04$ryqEgllnIZO10AySCRbG1./hvaB/FK1IKJZIYXiUpxqng9nyHQ8Ci"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_8"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:44.139100' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 6ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_79@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_79@example.jp"], ["encrypted_password", "$2a$04$b99PUbZ.9xhaD8cfXhRwyucE5rFWsLjrhNHUKjkdpNj1Q16rgBLnK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_79"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:44.156722' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_80@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_80@example.jp"], ["encrypted_password", "$2a$04$5Ii7z0paAmeWZyotSylzuO9LJCFURqMWuBlb5ciWVYw8U0VyMbYVC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_80"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:44.165549' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_37' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_37"], ["created_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_37"], ["title", "message_template_37"], ["updated_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_37' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_81@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_81@example.jp"], ["encrypted_password", "$2a$04$OqmcPQ9TtMQLA1OxCdxWaeYyrHH/dFtBAV17WU7XWo2NSrjvSLtbi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_81"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:44.180594' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_82@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (35.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_82@example.jp"], ["encrypted_password", "$2a$04$MyDalqy99VW2UzRbQljJyuhQ1y9MgUPS7E5fOCrA0SwSeNqf6aGZ2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_82"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:44.232463' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_83@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_83@example.jp"], ["encrypted_password", "$2a$04$YJALqFaBYpEP6puuoNE8XeBbUNnBwAouMTzUP.9thVUsT4cqWk0by"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_83"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:44.241604' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_38' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_38"], ["created_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_38"], ["title", "message_template_38"], ["updated_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_38' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_84@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_84@example.jp"], ["encrypted_password", "$2a$04$YNrBenayHtdrwoVKG3xoZ.u2qDN6hGsLbvbATnvOsqOn8aZWOvdoW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_84"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:44.256354' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_85@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_85@example.jp"], ["encrypted_password", "$2a$04$AqMMgyHlqPTbAVLwFhCUM.7KLaa1ib9yk7T/VkfvC4gSwzU1wbj6C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_85"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:44.274816' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_86@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_86@example.jp"], ["encrypted_password", "$2a$04$tpZoOrYv7d0C.3uG48PPYOqxF046d/BAUexTWsc.T/zDCptnlF6Mi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_86"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:44.283067' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_39' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_39"], ["created_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_39"], ["title", "message_template_39"], ["updated_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_39' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_87@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_87@example.jp"], ["encrypted_password", "$2a$04$zzwUmS2s0bt3Oj6Ol/NPI.vDqeyEtI0LMt5ucHnEnk1SaMn06iJyi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_87"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:44.306230' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_88@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_88@example.jp"], ["encrypted_password", "$2a$04$0xqbMZIvatqO1wo/lPLwCO98hvTSwin6BKv.aft4pQZ0tGYdd3u9."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_88"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:44.314561' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_40' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_40"], ["created_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_40"], ["title", "message_template_40"], ["updated_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_40' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_41' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_41"], ["created_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_41"], ["title", "message_template_41"], ["updated_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_9@example.jp"], ["encrypted_password", "$2a$04$eurUW1sAN8MnLwvLdDnhzeqKRi9NQSfVwCCtQXWLCkRZgitR1/wMW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_9"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:44.339931' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 5ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_42' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_42"], ["created_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_42"], ["title", "message_template_42"], ["updated_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_9@example.jp"], ["encrypted_password", "$2a$04$gD1BeF0BWjtzAmkXOThpTuUW4gDqTHpDm6FpZo.dBGlzyMyTh1HPa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_9"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:44.360095' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 6ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_43' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_43"], ["created_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_43"], ["title", "message_template_43"], ["updated_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_89@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_89@example.jp"], ["encrypted_password", "$2a$04$C82X8X/vd0k1t9w2y0lXKeEikrv5r3lqjE7Hqhzb1e9o5PpEbVyJG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_89"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:44.417992' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 4.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "message_templates" WHERE ('t'='f')  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_44' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_44"], ["created_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_44"], ["title", "message_template_44"], ["updated_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 5ms  (0.1ms) SELECT COUNT(*) FROM "message_templates" WHERE ('t'='f') Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_10@example.jp"], ["encrypted_password", "$2a$04$B9c1yuBTbtbz45tsUeadOOzP7BavWUklTtUXdYaqGXXMCctZzEGpe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_10"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:44.459379' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_45' LIMIT 1 SQL (1.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_45"], ["created_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_45"], ["title", "message_template_45"], ["updated_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 9ms (Views: 2.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_10@example.jp"], ["encrypted_password", "$2a$04$8pPpaE8ndeRnTXpBgA8A7.GQ3EVZD0W6zhHyCpbx5gkRDURdgEEqm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_10"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:44.492061' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_46' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_46"], ["created_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_46"], ["title", "message_template_46"], ["updated_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 10ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_90@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_90@example.jp"], ["encrypted_password", "$2a$04$6aTz0yQab3fF7SqKgVtXbuKvn2U9I2F3SuXoKMTBtnYKrMeptp4lK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_90"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:44.528808' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_47' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_47"], ["created_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_47"], ["title", "message_template_47"], ["updated_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_48' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_48"], ["created_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_48"], ["title", "message_template_48"], ["updated_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 10ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_11@example.jp"], ["encrypted_password", "$2a$04$D9Pxn.8pcN.JSyg8FOsroeO.xR62BhcRiZBM0hEHii2IOhlSmaF7e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_11"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:44.586825' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_11@example.jp"], ["encrypted_password", "$2a$04$gLAcFNG9O56d5LsdT8a1NOMJsyoTAQ/YeKwxPTlclbZp6G8etxVQK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_11"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:44.618780' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.3ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_91@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_91@example.jp"], ["encrypted_password", "$2a$04$zU.ecu7hsWTEyFlSIPqvXeHYm76WZ8TGcYn1UgY6yVsM23aDheyAa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_91"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:44.714360' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Processing by MessageTemplatesController#new as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_12@example.jp"], ["encrypted_password", "$2a$04$Cndaip7HvCqiDUr1P6Ynmek5e0fmIpw24aoxOabJl5jzSJPJflzBi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_12"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:44.761521' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_49' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_49"], ["created_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_49"], ["title", "message_template_49"], ["updated_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 12ms (Views: 2.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_12@example.jp"], ["encrypted_password", "$2a$04$xRaTFJD0Akd5CdqGV0Fd5OLT15XazWor3hBrscCjiPPTVCJLQ8mya"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_12"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:44.800944' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_50' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_50"], ["created_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_50"], ["title", "message_template_50"], ["updated_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_92@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_92@example.jp"], ["encrypted_password", "$2a$04$QxTgxGNos.PWlSYyIm6m.uhfA./1bE3l8UBh0yKLPAwSoyeZgB/8W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_92"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:44.838731' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_51' LIMIT 1 SQL (1.0ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_51"], ["created_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_51"], ["title", "message_template_51"], ["updated_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_52' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_52"], ["created_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_52"], ["title", "message_template_52"], ["updated_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 8ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_13@example.jp"], ["encrypted_password", "$2a$04$ivh7dO5StSdB4gU29bPxs.4py0885/r2zMcr8PMrlmLAcP1V2D4xe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_13"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:44.889430' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_53", "status"=>"message_template_53", "body"=>"message_template_53"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_53' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_14@example.jp"], ["encrypted_password", "$2a$04$QfTJ8LcKrBmBLRWSjvldguOq7dhoRoyVICryDkUNaNK5XNb120VMS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_14"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:46:44 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:44.927651' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_54", "status"=>"message_template_54", "body"=>"message_template_54"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 69ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_15@example.jp"], ["encrypted_password", "$2a$04$awwQK67uawhgikqPSQPvNuFGDnbht4Sv7y6jTdXWE.GrxHveOiglO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_15"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:45.019330' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_16@example.jp"], ["encrypted_password", "$2a$04$FXAACx4/49BmxcqYGyqwnOuK1.TzXSQQJVKj.wMuOVaMiMiFMD/pa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_16"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:45.059314' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_13@example.jp"], ["encrypted_password", "$2a$04$120Jnc4hstzqconS9eRXB.FlWdne6wxHcHBws1VnO6aVETXWydkBC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_13"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:45.089981' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_57", "status"=>"message_template_57", "body"=>"message_template_57"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_57' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_14@example.jp"], ["encrypted_password", "$2a$04$rEM8f2Jg1XTeSN4jFJF0nO7OiYYVYoQslwL4h6HFVCklidKdNLGBm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_14"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:45.120587' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_58", "status"=>"message_template_58", "body"=>"message_template_58"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (1.2ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_15@example.jp"], ["encrypted_password", "$2a$04$gns0V6ppRjEpydp/tjc12.F9DbrBgtBbuu3ZEvWcylXlEgqRWTsba"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_15"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:45.149346' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_16@example.jp"], ["encrypted_password", "$2a$04$ocML/mDhhsEGqe2c5YJFIOpRV4ZEb9PrD6ZjvC.WL7DDg3Qfte9EK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_16"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:45.179274' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_93@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_93@example.jp"], ["encrypted_password", "$2a$04$2UCeeejTLi6SkD2xSo4Nv.iu6SNqQewtTU7ZYKSAAcg0MbwUWn8J."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_93"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:45.212709' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_61", "status"=>"message_template_61", "body"=>"message_template_61"}} User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.8ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_61' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_94@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_94@example.jp"], ["encrypted_password", "$2a$04$5n0jdBr3TG.8kcPURVa/DOJgfpTVDK3i4vMpRxWsfzemlGwTSIPi6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_94"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:45.299900' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_62", "status"=>"message_template_62", "body"=>"message_template_62"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_95@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_95@example.jp"], ["encrypted_password", "$2a$04$37CSfokGtvGC7e.COM4CmePOTg7D68zi31qfctvA5CbJ1mbjzBIYW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_95"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:45.325647' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_96@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_96@example.jp"], ["encrypted_password", "$2a$04$XJhyEcETKVE9x/CHM0BNku1uMhRSe/sDYXZ09rIE5DFNNIaRs4mXK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_96"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:45.357532' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_65", "status"=>"message_template_65", "body"=>"message_template_65"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_65' LIMIT 1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_66", "status"=>"message_template_66", "body"=>"message_template_66"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_69' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_69"], ["created_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_69"], ["title", "message_template_69"], ["updated_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (5.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_17@example.jp"], ["encrypted_password", "$2a$04$ZF7cvjKeTUKPkfp6SoDiheKf8XSnJwFks5Wl713K6joydUpL46Vi6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_17"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:45.442670' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_70", "status"=>"message_template_70", "body"=>"message_template_70"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_70' AND "message_templates"."id" != 9) LIMIT 1  (0.2ms) UPDATE "message_templates" SET "title" = 'message_template_70', "status" = 'message_template_70', "body" = 'message_template_70', "updated_at" = '2011-12-16 03:46:45.458017' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates/9 Completed 302 Found in 27ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_71' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_71"], ["created_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_71"], ["title", "message_template_71"], ["updated_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.3ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_18@example.jp"], ["encrypted_password", "$2a$04$gvLVXCzc7vFK9pzg7sqEf.NAw5jyqzDsKnSKlXIL15oTnIk6xtn1O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_18"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:45.497789' WHERE "roles"."id" = 4  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_72", "status"=>"message_template_72", "body"=>"message_template_72"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_72' AND "message_templates"."id" != 9) LIMIT 1  (0.2ms) UPDATE "message_templates" SET "title" = 'message_template_72', "status" = 'message_template_72', "body" = 'message_template_72', "updated_at" = '2011-12-16 03:46:45.584615' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates/9 Completed 302 Found in 14ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_73' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_73"], ["created_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_73"], ["title", "message_template_73"], ["updated_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_19@example.jp"], ["encrypted_password", "$2a$04$BgxNqNekpCnt0xcqQIJ.MeVrA1CDqicrcjWDlx5t6Yy9OBvWGT29e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_19"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:45.609981' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_74", "status"=>"message_template_74", "body"=>"message_template_74"}, "position"=>"2", "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "message_templates" SET "position" = 0, "updated_at" = '2011-12-16 03:46:45.621802' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "message_templates" SET position = (position - 1) WHERE "message_templates"."id" IN (SELECT "message_templates"."id" FROM "message_templates" WHERE (1 = 1 AND position > 9) ORDER BY position) SQL (0.2ms) UPDATE "message_templates" SET position = (position + 1) WHERE "message_templates"."id" IN (SELECT "message_templates"."id" FROM "message_templates" WHERE (1 = 1 AND position >= 2) ORDER BY position)  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "message_templates" SET "position" = 2, "updated_at" = '2011-12-16 03:46:45.624339' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates Completed 302 Found in 12ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_75' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_75"], ["created_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_75"], ["title", "message_template_75"], ["updated_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_20@example.jp"], ["encrypted_password", "$2a$04$Be6AiYfT4vEdO6hz.U6VMOo0yBH8fhmxKYTaOp9gxCKXg6.zeRk.S"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_20"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:45.649993' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = '' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 14ms (Views: 1.2ms | ActiveRecord: 0.0ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_77' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_77"], ["created_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_77"], ["title", "message_template_77"], ["updated_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_17@example.jp"], ["encrypted_password", "$2a$04$DUSFRJwOOyGMxc0yAyPwJ.HS0CMWLHYyVHSkiBjUm.ZVUnEu.0xC2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_17"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:45.695710' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_78", "status"=>"message_template_78", "body"=>"message_template_78"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 13ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_79' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_79"], ["created_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_79"], ["title", "message_template_79"], ["updated_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_18@example.jp"], ["encrypted_password", "$2a$04$8MGu6bxQUF9v2BoDLJ.zl.AK/Ee.W2xBe3zlGJdcghn97vIdwjQxa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_18"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:45.738076' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_80", "status"=>"message_template_80", "body"=>"message_template_80"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_81' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_81"], ["created_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_81"], ["title", "message_template_81"], ["updated_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_19@example.jp"], ["encrypted_password", "$2a$04$ywwF1DZocLgiGosleOZZ6eUwFnI104Exfhz8IGMWbRJEOH.jz8LwK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_19"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:45.781114' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.7ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_83' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_83"], ["created_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_83"], ["title", "message_template_83"], ["updated_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_97@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_97@example.jp"], ["encrypted_password", "$2a$04$9TGJEgVqp2gS5P9r/dVt7.7Ip5kZNdKbX/O8UauFu8AZnYoPgX47e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_97"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:45.817139' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_84", "status"=>"message_template_84", "body"=>"message_template_84"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 66ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_85' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_85"], ["created_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_85"], ["title", "message_template_85"], ["updated_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_98@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_98@example.jp"], ["encrypted_password", "$2a$04$o1XZCpS.viQ5/oKQi6aU7eUVKu5ENXqqeRVkHsDrqmVy/oW7zXXc."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_98"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:45.908921' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_86", "status"=>"message_template_86", "body"=>"message_template_86"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.9ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_87' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_87"], ["created_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_87"], ["title", "message_template_87"], ["updated_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_99@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_99@example.jp"], ["encrypted_password", "$2a$04$wzeidUAk.7JyD6OsOud51ueV6B7VuzqWgI8iEsyrSGEMTjqIGmJZe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_99"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:45.943072' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_89' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_89"], ["created_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_89"], ["title", "message_template_89"], ["updated_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_90", "status"=>"message_template_90", "body"=>"message_template_90"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 9ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_91' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_91"], ["created_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_91"], ["title", "message_template_91"], ["updated_at", Fri, 16 Dec 2011 03:46:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_92", "status"=>"message_template_92", "body"=>"message_template_92"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_93' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_93"], ["created_at", Fri, 16 Dec 2011 03:46:46 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_93"], ["title", "message_template_93"], ["updated_at", Fri, 16 Dec 2011 03:46:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_95' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_95"], ["created_at", Fri, 16 Dec 2011 03:46:46 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_95"], ["title", "message_template_95"], ["updated_at", Fri, 16 Dec 2011 03:46:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_21@example.jp"], ["encrypted_password", "$2a$04$gDCW0fef03obEyGVPPOg5e6mm0/aGgSTkvpyu8yBd2H1DNh3Jtn/e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_21"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:46 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:46:46 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:46.038443' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 14ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_96' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_96"], ["created_at", Fri, 16 Dec 2011 03:46:46 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_96"], ["title", "message_template_96"], ["updated_at", Fri, 16 Dec 2011 03:46:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_22@example.jp"], ["encrypted_password", "$2a$04$znoXrNq7tlaVLgZoVlaKN.Lof1mPet3zgaRbzmxwyseKm7zJzzbyi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_22"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:46 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:46:46 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:46.075207' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 2.6ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.4ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_97' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_97"], ["created_at", Fri, 16 Dec 2011 03:46:46 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_97"], ["title", "message_template_97"], ["updated_at", Fri, 16 Dec 2011 03:46:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_20@example.jp"], ["encrypted_password", "$2a$04$vZrrFzNefYP121mzViQKUOIucF5cwOx5388tCvIrQDjSyrRlbKD/S"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_20"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:46 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:46:46 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:46.113314' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_98' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_98"], ["created_at", Fri, 16 Dec 2011 03:46:46 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_98"], ["title", "message_template_98"], ["updated_at", Fri, 16 Dec 2011 03:46:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_21@example.jp"], ["encrypted_password", "$2a$04$LIBfkTeEtYUp3RAa4VUOIe.tZRw0m2a82S22goIHMfCU9WZRvCyCy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_21"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:46 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:46:46 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:46.214071' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.9ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_99' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_99"], ["created_at", Fri, 16 Dec 2011 03:46:46 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_99"], ["title", "message_template_99"], ["updated_at", Fri, 16 Dec 2011 03:46:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_100@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_100@example.jp"], ["encrypted_password", "$2a$04$Mw0sFy1okFmjXDlE2QQdRexlkW/bweJi3fStp2z2JZiLKIvaNgn/m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_100"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:46 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:46 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:46.256919' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_100' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_100"], ["created_at", Fri, 16 Dec 2011 03:46:46 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_100"], ["title", "message_template_100"], ["updated_at", Fri, 16 Dec 2011 03:46:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_101@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_101@example.jp"], ["encrypted_password", "$2a$04$Obl.bH2w2vkn0wUFwH23jOU1kEXak21LS2qn99sxSEO1Cxbe3j6NC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_101"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:46 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:46 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:46.294700' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_101' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_101"], ["created_at", Fri, 16 Dec 2011 03:46:46 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_101"], ["title", "message_template_101"], ["updated_at", Fri, 16 Dec 2011 03:46:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_102' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_102"], ["created_at", Fri, 16 Dec 2011 03:46:46 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_102"], ["title", "message_template_102"], ["updated_at", Fri, 16 Dec 2011 03:46:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms Role Load (0.3ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_23@example.jp"], ["encrypted_password", "$2a$04$YK2ymCyT8t04puAFQKl13.K3VRUFsx23oReHwmw99Jp5zKKJp/iaG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_23"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:49 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:46:49 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:49.694730' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 109ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_24@example.jp"], ["encrypted_password", "$2a$04$kTlNyexKbKqoIIX1SZPh9eWKOORv9ncJyv9OsV6ibC6EmQE9eNvm2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_24"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:49 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:46:49 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:49.827548' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML Parameters: {"user_id"=>"admin_24"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 33ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_22@example.jp"], ["encrypted_password", "$2a$04$A5PLX4w63nwJvISMpMRREer92DJDdhYNcrXpb9YyjnmA2epwpa/4C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_22"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:49 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:46:49 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:49.883044' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 76ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_23@example.jp"], ["encrypted_password", "$2a$04$/X/sVwQpTz/VX22fMi4ohefzxPESLUAxeVU4hEKlp4kPaAIEcBWGK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_23"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:49 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:46:49 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:49.981975' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML Parameters: {"user_id"=>"librarian_23"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 500 Internal Server Error in 85ms User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 29ms User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML Parameters: {"query"=>"you"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 84ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 500 Internal Server Error in 28ms Processing by MessagesController#index as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 92ms (Views: 9.9ms | ActiveRecord: 0.6ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 403 Forbidden in 14ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#show as HTML Parameters: {"id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 3 AND "messages"."id" = ? LIMIT 1 [["id", "2"]]  (0.0ms) SAVEPOINT active_record_1  (0.4ms) UPDATE "messages" SET "read_at" = '2011-12-16 03:46:50.386664', "updated_at" = '2011-12-16 03:46:50.387109' WHERE "messages"."id" = 2 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1  (0.5ms) UPDATE "messages" SET "state" = 'read', "updated_at" = '2011-12-16 03:46:50.394342' WHERE "messages"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 28ms (Views: 2.5ms | ActiveRecord: 1.7ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.4ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 11ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_25@example.jp"], ["encrypted_password", "$2a$04$K8BIAyvAnmRK8AYa4RzkweT512CKzsLXyBw3xiOVi605ix2NvWzuG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_25"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:50 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:46:50 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:50.454440' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.4ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 Completed 200 OK in 75ms (Views: 3.9ms | ActiveRecord: 0.8ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_24@example.jp"], ["encrypted_password", "$2a$04$qhyrINPp//jiA5TCGbiuLeDT4M/L.D1tjFvN0voltFAkeqCELL0UK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_24"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:50 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:46:50 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:50.549300' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 Completed 200 OK in 13ms (Views: 1.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML Parameters: {"parent_id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML Parameters: {"parent_id"=>"2"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 19ms (Views: 1.6ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Processing by MessagesController#new as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_26@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_26@example.jp"], ["encrypted_password", "$2a$04$wG5vRXRso2ewWxIaaHaMr.7PKO8w4hpWP8JQdJSC4dRhvk//WWJoK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_26"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:50 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:46:50 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:50.669782' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 8 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 12ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_25@example.jp"], ["encrypted_password", "$2a$04$aDXJtnGYbm4nGXM6kGAj0.aoQS38lsGxQ7adNfT1kW9muRKERAgIi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_25"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:50 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:46:50 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:50.700260' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 15ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 15ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_102@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (5.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_102@example.jp"], ["encrypted_password", "$2a$04$ubYl8HrsZ6YbApBSz5OTD.ZQuNMnbNDiGSqFxhP5OAcj0UXAEALyS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_102"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:50 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:50 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:50.762693' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.2ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_103@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (65.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_103@example.jp"], ["encrypted_password", "$2a$04$0T7MsCuo9K.xqIiSKbqIh.tLYfoVBwS1QIgvrfXKWr9g5L/56Dj.a"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_103"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:50 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:50 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:50.840231' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "user_102"]]  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_27@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_27@example.jp"], ["encrypted_password", "$2a$04$qaVQLbJ.oXPrU8/Wh1uAnuTayEIWfyf4wKsRaArEQL3QjkbT2mFLa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_27"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:50 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:46:50 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:50.861883' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 500 Internal Server Error in 57ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_28@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (56.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_28@example.jp"], ["encrypted_password", "$2a$04$8yFRuqn6OSmA525yquMWeu50SysWbGXXSAQow22YRBXL1NZ5kX4m6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_28"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:50 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:46:50 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:50.992476' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 500 Internal Server Error in 56ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (10.7ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_29@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_29@example.jp"], ["encrypted_password", "$2a$04$B8bCVmGAYhuLn9ajc6KIs.KGYerjdhVfSNKyZgHH2O7toU3kGqeoi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_29"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:51 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:46:51 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:51.084499' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 500 Internal Server Error in 103ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_30@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_30@example.jp"], ["encrypted_password", "$2a$04$jQ.CCFKVoXpRykdsNT6bNeuaY9bLQl5zSw4dRC2/5OcNeT/iC8irK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_30"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:51 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:46:51 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:51.207613' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 500 Internal Server Error in 130ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test", "parent_id"=>"2"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = 2 LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "user2"]]  (0.0ms) SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "user2"]]  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 404 Not Found in 15ms (Views: 1.2ms | ActiveRecord: 0.6ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test", "parent_id"=>"2"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 64ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 16ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_104@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_104@example.jp"], ["encrypted_password", "$2a$04$YiWSwOxdM8GQtN11A/DPj.IhUEmt1EJhCn9Tq8mrmAXs1xLd4eVvu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_104"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:51 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:51 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:51.543722' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_105@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_105@example.jp"], ["encrypted_password", "$2a$04$Ye2Hs2x6F2it.zY2n.U9neGejEthePrC.9X7rrzEJRFdT7xRp7QMG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_105"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:51 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:51 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:51.557110' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_104", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 11ms (Views: 1.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_106@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_106@example.jp"], ["encrypted_password", "$2a$04$NZ0I7Nxf5vNG6qLISMVY9O8L/58KkhpK2K9qsKo8vaR3mwYm1wn9u"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_106"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:51 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:51 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:51.589165' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_107@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_107@example.jp"], ["encrypted_password", "$2a$04$EqAVJ/XHMzTZwyt3Y4Y8ku7O8f5.MQKTpyTOi.lxZYKeBh6bdFYlK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_107"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:51 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:51 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:51.602250' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_106", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 10ms (Views: 1.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_108@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_108@example.jp"], ["encrypted_password", "$2a$04$iQIZOGfCeu85O28sIxS6QO/wG74xXyZ2nARU2MZSjthf1cnYodUpS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_108"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:51 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:51 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:51.638707' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_109@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_109@example.jp"], ["encrypted_password", "$2a$04$VFrBCqHOERMhgPu7/jIsJuNpHyqprNwPthPMdtRtksRWFYp.d4GUO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_109"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:51 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:51 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:51.651593' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 11ms (Views: 1.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_110@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_110@example.jp"], ["encrypted_password", "$2a$04$rY95tRwGowGOODvza3ihBudXNjpuhk5MK.XdI0Wtitm8FgP3n20/y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_110"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:51 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:51 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:51.683554' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_111@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (62.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_111@example.jp"], ["encrypted_password", "$2a$04$9b4K2bJ2WRsd6XFnXO9M3eL1Kv.btzOPTmq3zNv5My.uL4SVH5l/m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_111"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:51 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:51 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:51.757755' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 12ms (Views: 2.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_112@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_112@example.jp"], ["encrypted_password", "$2a$04$ifc1Q3noY8t5oWig4qiiBeVlifaU/s.yA0PimBHVVamXaOlhtJznG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_112"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:51 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:51 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:51.793444' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_113@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_113@example.jp"], ["encrypted_password", "$2a$04$t8DM41Fg5yRAhZYpgCopa.ARjPzqUHEB9QVJeZ1mB851RgSKiPj4K"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_113"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:51 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:51 UTC +00:00], ["user_id", 9]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:51.810827' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_112", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.3ms | ActiveRecord: 0.8ms | Solr: 0.0ms) Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_114@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_114@example.jp"], ["encrypted_password", "$2a$04$MAdiIY.v8le6u6/1jc1y6uu3x3fHS54QpQSaTamWGsgMA5YfeaJFS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_114"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:51 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:51 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:51.851929' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_115@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_115@example.jp"], ["encrypted_password", "$2a$04$N6BY4Lqs3QudVGldEuanSeVc5jNlbbe9ql3FPIYYhuHpxAyvPLLhm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_115"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:51 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:51 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:51.865075' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_114", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_116@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_116@example.jp"], ["encrypted_password", "$2a$04$8Mne/oVCTUBZJhGH6by/Q.ByHvwveMrzN4OmUwqr7kVDWx0w0vBSO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_116"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:51 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:51 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:51.899085' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.4ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_117@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_117@example.jp"], ["encrypted_password", "$2a$04$oASmgWQLqZ1YF79zrCgAju6jS6NuAe.Htl5WEncF/SodPzb9F1viq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_117"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:51 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:51 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:51.913253' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.2ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_118@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_118@example.jp"], ["encrypted_password", "$2a$04$hTeuGR/ambDOZgdyIxuUSuppW6XHvS4cxRHleecyeboHpPM8CKIly"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_118"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:51 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:51 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:51.944249' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_119@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_119@example.jp"], ["encrypted_password", "$2a$04$vdAp9sUlPQHCklWCEz5pheinNhETAYRdB5xrMoOsDJfl3ddD9Z2Te"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_119"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:51 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:51 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:51.958678' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 75ms (Views: 1.2ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_120@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:52 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_120@example.jp"], ["encrypted_password", "$2a$04$Umn9FVL.Ko1sJ3jzpsJH2.FIe3T7qk1inLrGo5pR9IsyF3zmj/US6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:52 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_120"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:52 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:52 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:52.057383' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_121@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:52 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_121@example.jp"], ["encrypted_password", "$2a$04$CNG.iY1ZrgqF1LaLr0RTf.9j/XnP6b2z0SS4G7VZ4aKMqjf7/K8cy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:52 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_121"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:52 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:52 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:52.070487' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_122@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:52 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_122@example.jp"], ["encrypted_password", "$2a$04$DxZMxSZ045XqgFlRh6WFBecDvFSL73MafbaLOEgvS.bttVqK.hH06"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:52 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_122"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:52 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:52 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:52.101639' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_123@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:52 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_123@example.jp"], ["encrypted_password", "$2a$04$vrQfROm3Anrs0WRkbgRvTuNc4PyFFvt/nsHaux4cU3LeyMyLjEL42"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:52 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_123"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:52 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:52 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:52.116699' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_124@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:52 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_124@example.jp"], ["encrypted_password", "$2a$04$D/vm52sGL/h.jCPofVUL/.zF/4lLC/8IEQxTiLlgdNug.y/xBOBC2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:52 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_124"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:52 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:52 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:52.148893' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_125@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:52 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_125@example.jp"], ["encrypted_password", "$2a$04$z.8vmy1kTKIDoxAwbNtmJubIh2xBC/orfS7RGRME72TrTigp2XeUy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:52 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_125"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:52 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:52 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:52.163979' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_124", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.5ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_126@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:52 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_126@example.jp"], ["encrypted_password", "$2a$04$6FmpirnxxaeqyL4Bc1u9ae/dq5Q8yJZPGgpe3NaDssIKgPW3uSSXW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:52 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_126"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:52 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:52 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:52.194651' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_127@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:52 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_127@example.jp"], ["encrypted_password", "$2a$04$F8JRBkSiOTTy1d145UGnk./Hs9At7U20QjwwdtNdioQGenyMso5g2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:52 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_127"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:52 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:52 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:52.208698' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_126", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 14ms (Views: 1.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_128@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:52 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_128@example.jp"], ["encrypted_password", "$2a$04$3WsnVSzDI2Uy6WBcABCE5OIHfefXiO1hSPxQGdyaoKtOZsx5yigLG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:52 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_128"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:52 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:52 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:52.252306' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_129@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:52 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_129@example.jp"], ["encrypted_password", "$2a$04$UapyLb4KFyWamqxcZpTm4eVzQvy6VaJgMtGAd7N0mimjSGh1mvxYi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:52 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_129"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:52 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:52 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:52.332489' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_130@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:52 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_130@example.jp"], ["encrypted_password", "$2a$04$42j5BOy2s8qsUyW0dVIS6ew7vJLwz7g/8wW9rYCaNk9dHto2XIASu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:52 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_130"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:52 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:52 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:52.361124' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_131@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:52 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_131@example.jp"], ["encrypted_password", "$2a$04$5KWvMLbsxi.eDGX/yOd/f.EcFPujDfeo3fZp/QCv/FZOnoZLT1CmK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:52 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_131"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:52 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:52 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:52.377920' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_132@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:52 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_132@example.jp"], ["encrypted_password", "$2a$04$L3JgUDzvZdV71Wmu7p2jL.Rhqn2PcojLL7ivdmPUDJeYM/TBjrLcu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:52 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_132"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:52 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:52 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:52.412141' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_133@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:52 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_133@example.jp"], ["encrypted_password", "$2a$04$vsFmgpIWFs9M3Y3aoKLYEu4mJGER0tpRH8.jrETmrkvYyPU3ogweC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:46:52 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_133"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:46:52 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:46:52 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:46:52.426031' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#destroy as HTML Parameters: {"id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 3 AND "messages"."id" = ? LIMIT 1 [["id", "2"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "messages" WHERE ("lft" > 3 AND "rgt" < 4) SQL (0.4ms) UPDATE "messages" SET "lft" = ("lft" - 2) WHERE "messages"."id" IN (SELECT "messages"."id" FROM "messages" WHERE ("lft" > 4) ORDER BY "lft") SQL (0.6ms) UPDATE "messages" SET "rgt" = ("rgt" - 2) WHERE "messages"."id" IN (SELECT "messages"."id" FROM "messages" WHERE ("rgt" > 4) ORDER BY "lft") SQL (0.2ms) DELETE FROM "messages" WHERE "messages"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/messages Completed 500 Internal Server Error in 105ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.2ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 12ms Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Fixture Delete (0.3ms) DELETE FROM "message_requests" Fixture Insert (0.1ms) INSERT INTO "message_requests" ("sender_id", "receiver_id", "message_template_id", "state", "created_at", "updated_at", "id") VALUES (1, 1, 1, 'pending', '2011-12-16 03:48:24', '2011-12-16 03:48:24', 980190962) Fixture Insert (0.1ms) INSERT INTO "message_requests" ("sender_id", "receiver_id", "message_template_id", "state", "created_at", "updated_at", "id") VALUES (1, 1, 1, 'pending', '2011-12-16 03:48:24', '2011-12-16 03:48:24', 298486374) Fixture Delete (0.1ms) DELETE FROM "message_templates" Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (1, 'reservation_accepted', 'Reservation accepted', 'Reservation accepted', 1, '2011-12-16 03:48:24', '2011-12-16 03:48:24') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (2, 'item_received', 'Item received', 'Item received', 2, '2011-12-16 03:48:24', '2011-12-16 03:48:24') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (3, 'reservation_expired_for_patron', 'Reservation expired', 'Reservation expired', 3, '2011-12-16 03:48:24', '2011-12-16 03:48:24') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (4, 'reservation_expired_for_library', 'Reservation expired', 'Reservation expired', 4, '2011-12-16 03:48:24', '2011-12-16 03:48:24') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (5, 'reservation_canceled_for_patron', 'Reservation canceled', 'Reservation canceled', 5, '2011-12-16 03:48:24', '2011-12-16 03:48:24') Fixture Insert (0.0ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (6, 'reservation_canceled_for_library', 'Reservation canceled', 'Reservation canceled', 6, '2011-12-16 03:48:24', '2011-12-16 03:48:24') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (7, 'recall_item', 'Recall item', 'Recall item', 7, '2011-12-16 03:48:24', '2011-12-16 03:48:24') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (8, 'recall_overdue_item', 'Recall overdue item', 'Recall overdue item', 8, '2011-12-16 03:48:24', '2011-12-16 03:48:24') Fixture Delete (0.2ms) DELETE FROM "messages" Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "read_at", "state", "lft", "rgt", "updated_at") VALUES (1, 3, 4, 'First Message', 'Abby, you get the first message', '2007-07-04 12:10:47.000000', '2011-12-13 03:48:24.000000', 'unread', 1, 2, '2011-12-16 03:48:24') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (2, 4, 3, 'RE: First Message', 'Thanks Dad! You are the coolest!', '2011-12-14 03:48:24.000000', 'unread', 3, 4, '2011-12-16 03:48:24') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (3, 3, 4, 'Second Message', 'Catie, you get the 2nd message', '2011-12-15 03:48:24.000000', 'unread', 5, 6, '2011-12-16 03:48:24') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (6, 4, 5, 'Dad!', 'He is sucha dork.', '2011-12-14 03:48:24.000000', 'unread', 7, 8, '2011-12-16 03:48:24') Fixture Delete (0.1ms) DELETE FROM "roles" Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Guest', 'Guest', 1, NULL, '2011-12-16 03:48:24', '2011-12-16 03:48:24') Fixture Insert (0.0ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('User', 'User', 2, NULL, '2011-12-16 03:48:24', '2011-12-16 03:48:24') Fixture Insert (0.0ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Librarian', 'Librarian', 3, NULL, '2011-12-16 03:48:24', '2011-12-16 03:48:24') Fixture Insert (0.0ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Administrator', 'Administrator', 4, NULL, '2011-12-16 03:48:24', '2011-12-16 03:48:24') Fixture Delete (0.1ms) DELETE FROM "user_groups" Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('(not specified)', '(not specified)', '2007-12-13 12:00:51.564542', 1, '', '2007-12-13 12:00:01.674976', 1) Fixture Insert (0.0ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('User', 'User', '2007-12-22 18:14:56.836548', 2, '', '2007-12-22 18:14:40.173954', 2) Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('Faculty', 'Faculty', '2007-12-22 18:15:05.134351', 3, '', '2007-12-22 18:15:05.126457', 3) Fixture Delete (0.1ms) DELETE FROM "user_has_roles" Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (1, 4, '2011-12-16 03:48:24', '2011-12-16 03:48:24', 135138680) Fixture Insert (0.0ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (2, 3, '2011-12-16 03:48:24', '2011-12-16 03:48:24', 344583537) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (3, 2, '2011-12-16 03:48:24', '2011-12-16 03:48:24', 206669143) Fixture Insert (0.0ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (4, 3, '2011-12-16 03:48:24', '2011-12-16 03:48:24', 226540757) Fixture Insert (0.0ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (5, 2, '2011-12-16 03:48:24', '2011-12-16 03:48:24', 358143215) Fixture Insert (0.0ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (6, 2, '2011-12-16 03:48:24', '2011-12-16 03:48:24', 576709754) Fixture Insert (0.0ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (7, 2, '2011-12-16 03:48:24', '2011-12-16 03:48:24', 1010528733) Fixture Delete (0.2ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:16:30.163731', '$2a$10$vHohD1WflnTIqAa8zMkF9evwAgIZRw3XuR4d3bi29M.jph/MB/AJi', 2, 1, NULL, 'admin', 'tanabe@kamata.lib.teu.ac.jp', '2007-11-19 07:58:32.111941', 4) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 03:41:16.337474', '$2a$10$9O2VuTccN4gHq36ARg0QReSrb1D7WrBBhZZ759RM9moHbB0W5zCzS', 1, 2, NULL, 'librarian1', 'librarian1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:33.172441', 1) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', '$2a$10$JthS59A0BNkDOoFpCXM0V.GhhffKaoWKbzpPahYp/vTFrOyM7h/uW', 1, 3, NULL, 'user1', 'user1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:23.340575', '$2a$10$YmmTGrYQ1Ir6oc7wXnp.GuNeO1eYLoP3sv8wMSIrTdaGw2BPwRrpS', 1, 4, NULL, 'librarian2', '2008-01-18 03:24:04.222344', 1) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:44.711117', '$2a$10$i7UjJhLVrJM/J7qaTwW39OXw1NiwowUEbtNHVDV0sqMLjX9.UO9ca', 1, 5, NULL, 'user2', '2008-01-18 04:29:06.922728', 2) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 6, NULL, 'user3', 'user3@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 7, NULL, 'user4', 'user4@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_1@example.jp"], ["encrypted_password", "$2a$04$N.BTz0Go59eIvGPRTvKEJ.CfPDfrJlPBsNOEHpbk7FD7RpCK9sdkW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_1"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:24.465313' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Rendered /Users/kosuke/enju_message/app/views/message_requests/index.html.erb within layouts/application (2.5ms) Completed 200 OK in 64ms (Views: 26.0ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_1@example.jp"], ["encrypted_password", "$2a$04$GxMfULdJhFGc5NQvDbPaA.wy2gHlUU8p8licf0nccKJCFut.VdMd2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_1"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:24.550246' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_1@example.jp"], ["encrypted_password", "$2a$04$byKczbNRiNbgbt61NbZzpe.BKejghUwyz64trRfN/Qvv3KHNcJF3G"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_1"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:24.568959' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 1.3ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "message_requests" WHERE ('t'='f') Processing by MessageRequestsController#index as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms  (0.1ms) SELECT COUNT(*) FROM "message_requests" WHERE ('t'='f') Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_2@example.jp"], ["encrypted_password", "$2a$04$alY2XvUXDqMh9Fe.46RbC.ZiP6EcsYw09VFiuHtMAHtb8vstljeQm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_2"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:24.597049' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_2@example.jp"], ["encrypted_password", "$2a$04$1YqV9AZ/qkaS1eNn205dkOJdtb2XWezq.BsU6oovoqkS1qy1pGIsW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_2"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:24.605848' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_3@example.jp"], ["encrypted_password", "$2a$04$r5pvsESCuUXLSiuBaFUB/ud4XceVZRBeRvvmdS.hZH4ZMrj1QoRWa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_3"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:24.651232' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_1' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_1"], ["created_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_1"], ["title", "message_template_1"], ["updated_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_1' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 7ms (Views: 1.5ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_2@example.jp"], ["encrypted_password", "$2a$04$7Nu5U/C6He6/p48b4svViuIgicy6/WiDqBCcB9bQuDuLhF249/3Wi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_2"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:24.688760' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_4@example.jp"], ["encrypted_password", "$2a$04$TrYYIIeqHzBDcJoZMN2Ka..skXI391Va3qztW7BgfOJRt5.raRJ2q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_4"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:24.698154' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_5@example.jp"], ["encrypted_password", "$2a$04$NW.r06DrEvMtlGYux887t.XxGsFl07V58KMbtUqR3auFWJwylcqxm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_5"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:24.706890' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_2' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_2"], ["created_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_2"], ["title", "message_template_2"], ["updated_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_2' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_6@example.jp"], ["encrypted_password", "$2a$04$7MPCcG3X.L2Wh1jvoL0Gl.wtoXpy9EAZMFsXyfn4rrJEQhDVhL1sG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_6"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:24.732098' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_7@example.jp"], ["encrypted_password", "$2a$04$Ms9zN0mbortwX0x8/MRgPOF5X6i758rnad7Pa5v8cXWq1f3Rsqb2e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_7"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:24.741485' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_8@example.jp"], ["encrypted_password", "$2a$04$hpLVkua3dx.7FE9Yys0IT.Rg2RwgUXa8DcbR.gSW5XAPB6H2XheaO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_8"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:24.749505' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_3' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_3"], ["created_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_3"], ["title", "message_template_3"], ["updated_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_3' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_9@example.jp"], ["encrypted_password", "$2a$04$usKweML9l7551PbTyUIk/ekfrHuosFpD3pjFQaa.nrrudJNrBJ75y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_9"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:24.806827' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_10@example.jp"], ["encrypted_password", "$2a$04$kQEzAbjRJ2EmHdu/Xzt0l.eaynZJuzgRM06T3wy4llLIyZ/1Lm6h2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_10"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:24.815219' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_4' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_4"], ["created_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_4"], ["title", "message_template_4"], ["updated_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_4' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_3@example.jp"], ["encrypted_password", "$2a$04$07BWnD.3cYwPrJtQzQfm4uzxdkZ2LS6bUTqz3lkdHQjw2jiLOLKKW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_3"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:24.837651' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_11@example.jp"], ["encrypted_password", "$2a$04$cP50Ys0dscBHvrsNVSws6uNqxBqxVWZuTPaCAMh4rABDtob8sNQx2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_11"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:24.846398' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_12@example.jp"], ["encrypted_password", "$2a$04$f57EXjZ36DBM6HHvdgyNAOY.oVv06EuCeynF/bddAHRa7fDbv13eK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_12"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:24.853844' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_5' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_5"], ["created_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_5"], ["title", "message_template_5"], ["updated_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_5' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 7ms (Views: 1.7ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_3@example.jp"], ["encrypted_password", "$2a$04$Wb5vk8he06l3Bv1nq0e7Be3dCCr/JMjdZDZtsTYACRNuXPpUg.lhe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_3"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:24.880152' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_13@example.jp"], ["encrypted_password", "$2a$04$9lnBxFcT8s85UEzt6c.jz.8jcNT6VgfeqJRhQYpHqo2Toz/y/mNdu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_13"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:24.888165' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_14@example.jp"], ["encrypted_password", "$2a$04$y1oJr45FC9RaEgbjmefPheTpELTIVX7tzt3mY7WVGQHkUWOQTq7VK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_14"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:24.896451' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_6' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_6"], ["created_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_6"], ["title", "message_template_6"], ["updated_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_6' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 7ms (Views: 0.9ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (43.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_15@example.jp"], ["encrypted_password", "$2a$04$frtROBCtaSYX3FFgxrRVFe1HkMDLqXoGwySScQ3DxK52f7NURQNsa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_15"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:24.966396' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_16@example.jp"], ["encrypted_password", "$2a$04$edS2OfhYcEMHG0UeilJMOeaPfjcoJQx4UwTqfLmzAboY9AwZXDtcW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_16"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["user_id", 9]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:24.979261' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_17@example.jp"], ["encrypted_password", "$2a$04$ry5kk6P4HaNM8yKYH6wuLuMzmwN8pj2vwdgWU.GJrEuvNiVuJQIPq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_17"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:24.990900' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_7' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_7"], ["created_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_7"], ["title", "message_template_7"], ["updated_at", Fri, 16 Dec 2011 03:48:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_7' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_18@example.jp"], ["encrypted_password", "$2a$04$xOtSPfRKnepIbdr.R2PCNez9bEVV2gB66zIWAsj2AFTanDPrHlDVK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_18"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:25.030535' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_19@example.jp"], ["encrypted_password", "$2a$04$4L2GFa9N6tr48zFzWUNHJODN.APelZo527CNvIPUEixH0fjQT7lSu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_19"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:25.045909' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_8' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_8"], ["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_8"], ["title", "message_template_8"], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_8' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_20@example.jp"], ["encrypted_password", "$2a$04$IqAE9KcI1LKarsgJMjkJP./PDnTh7cvZOBsHK7OIiAL0e4HvQ0x.W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_20"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:25.085023' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.4ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_21@example.jp"], ["encrypted_password", "$2a$04$3dLmssV9CZZIZ3GHGMdXvuTdhMP4bSFCIeENC5hXkTL8auQiBYFIW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_21"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:25.101212' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_9' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_9"], ["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_9"], ["title", "message_template_9"], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_9' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_22@example.jp"], ["encrypted_password", "$2a$04$jkws8O7XXCUYnO/HPZk7quccKujR3eWWvJkE5QCCTc6YaUyE.Ksni"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_22"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:25.125359' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_23@example.jp"], ["encrypted_password", "$2a$04$LSt/rApMeT3533KnbuQ37OPhQXdzz5aJx/cQ60AuTA4ujZbmuhiDm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_23"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:25.138462' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_10' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_10"], ["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_10"], ["title", "message_template_10"], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_4@example.jp"], ["encrypted_password", "$2a$04$Wd.o2LlNChlKkF9yyjoUReM26mZGqs6dug3vNg55CLDnzQtSI6Gtu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_4"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:25.155091' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_10' AND "message_templates"."id" != 10) LIMIT 1  (0.2ms) UPDATE "message_requests" SET "sender_id" = 10, "receiver_id" = 11, "message_template_id" = 10, "updated_at" = '2011-12-16 03:48:25.173313' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 74ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_24@example.jp"], ["encrypted_password", "$2a$04$7oC/.2c0UddhN2wcPEDx2ucvvuLpYRtEQhY8tj0eyI8jLXYP9qY7a"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_24"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:25.249813' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_25@example.jp"], ["encrypted_password", "$2a$04$k2T1BVAdfs5X6Q5W2E9SNeeYhRyQlYlTxnLpy2fZjkctZSZMd1ue."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_25"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:25.266089' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_11' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_11"], ["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_11"], ["title", "message_template_11"], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_11' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_26@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_26@example.jp"], ["encrypted_password", "$2a$04$yqDRRikYk0AwR0.rwNCdj.sOh3zoiSJgNppLNpaMagS.o1GDYqKTa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_26"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:25.295987' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_27@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_27@example.jp"], ["encrypted_password", "$2a$04$E8YqcC6HNoVTQqSllAGlbeshdoR2f0A6NXdyruyDQToHDE1L8.y2O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_27"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:25.310405' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_12' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_12"], ["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_12"], ["title", "message_template_12"], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_5@example.jp"], ["encrypted_password", "$2a$04$Y3wJwRQ0PwEUTdMCVEPise4qMy10n0i3a6RV8.grejyFVuawRmW8e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_5"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:25.326124' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_12' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 10, "receiver_id" = 11, "message_template_id" = 10, "updated_at" = '2011-12-16 03:48:25.344916' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 18ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_28@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_28@example.jp"], ["encrypted_password", "$2a$04$cofICDKmIIGy56AViNz.SOGqu7TaI.DP.3wM2zINayU/i/nmMM5KO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_28"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:25.367774' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.3ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_29@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_29@example.jp"], ["encrypted_password", "$2a$04$TmcdewZQ8nr4UUqEXeeNiuGR7tnybDZkZfQTS05uQYBZrrGPyJ6.m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_29"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:25.383268' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_13' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_13"], ["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_13"], ["title", "message_template_13"], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_13' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_30@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_30@example.jp"], ["encrypted_password", "$2a$04$BxYO1KTrjWpTtil6CiHSZ.4BjMQ7ErpdqAASH6qOonPzUpX8z8w/i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_30"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:25.408947' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_31@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_31@example.jp"], ["encrypted_password", "$2a$04$T/xwOyivJV.7ojsWrEmkFe//e8beitfwxXPNI0oP8hOLpknrXzYVq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_31"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:25.421115' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_14' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_14"], ["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_14"], ["title", "message_template_14"], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_6@example.jp"], ["encrypted_password", "$2a$04$JU80pBnN0FyqfoN0S/xVpuVlpw0CaH/mFo.tpZLrsl5EqEYgwNvfC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_6"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:25.438689' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_13' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 70ms (Views: 1.3ms | ActiveRecord: 1.5ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_32@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_32@example.jp"], ["encrypted_password", "$2a$04$knPK7Ew9fP3J1pzLKz7HE.kif/8ASspCa4rZcidUGhUgDu1of2kpK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_32"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["user_id", 8]]  (0.9ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:25.530129' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_33@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_33@example.jp"], ["encrypted_password", "$2a$04$5cSLtBnMmwYXks2dmL9tBuE6PLGZJ1d/D/nCMSYigWd/VnW6dFBJm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_33"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:25.545128' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_15' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_15"], ["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_15"], ["title", "message_template_15"], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_15' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_34@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_34@example.jp"], ["encrypted_password", "$2a$04$rlMrBEO7VMhpuy4CKkuJheWkWYmj6xo2VJ3XoQlf6amfaxV.ZkVsS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_34"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:25.575443' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.2ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_35@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_35@example.jp"], ["encrypted_password", "$2a$04$8z8I3UrVfuQuq3FrjwVA8uOUBphAtosmlLokKGe1vdd0f9t/.z4DO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_35"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:25.588685' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_16' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_16"], ["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_16"], ["title", "message_template_16"], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_4@example.jp"], ["encrypted_password", "$2a$04$tnl9UWtyDKBXUVdZmTeiHOCHw.DV1.nB1K4Y6NalfubAwPUM7PPeG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_4"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:25.606065' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_16' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 10, "receiver_id" = 11, "message_template_id" = 10, "updated_at" = '2011-12-16 03:48:25.623114' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 17ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_36@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_36@example.jp"], ["encrypted_password", "$2a$04$xxR6mf.WHfOnCPcAqDCT8OTf5nyE7BqaYpZ6rVdFK/DuRmvTZtutS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_36"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:25.643086' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_37@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_37@example.jp"], ["encrypted_password", "$2a$04$8XkllFKIeRkiTH1KhOq1ze36oBGRZktSaU5Kx0jicHy52sck4.s2O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_37"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:25.657647' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_17' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_17"], ["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_17"], ["title", "message_template_17"], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_17' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_38@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_38@example.jp"], ["encrypted_password", "$2a$04$kJf6KrebaM4WHBdJ5tvrg.Xe6ZFgRA6PgV5WmmTdk6jTOvYWy08Fu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_38"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:25.684580' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_39@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_39@example.jp"], ["encrypted_password", "$2a$04$1xExBlwpwwNKvWkcc0MQBuqjpun2A/wpxxEoV1.SGARzm02krIgUm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_39"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:25.697910' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_18' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_18"], ["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_18"], ["title", "message_template_18"], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_5@example.jp"], ["encrypted_password", "$2a$04$JWR2Fu2TO5NNqU8aSgyXO.ZCjwl0ylSejvkGa9H8id5ZI7z706l42"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_5"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:25.715550' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_18' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 10, "receiver_id" = 11, "message_template_id" = 10, "updated_at" = '2011-12-16 03:48:25.789450' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 74ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_40@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_40@example.jp"], ["encrypted_password", "$2a$04$V91xMGmMXpNuE033MTsQUu0OUMIY9zibpVFyEx.aSb1lToa86sFj."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_40"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:25.811544' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_41@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_41@example.jp"], ["encrypted_password", "$2a$04$4955HumLrgdKvym0i5IW3eftmz0u3rbvxOAUu3ZlR8ZHDYS1n1hu."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_41"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:25.825600' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_19' LIMIT 1 SQL (1.9ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_19"], ["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_19"], ["title", "message_template_19"], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_19' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_42@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_42@example.jp"], ["encrypted_password", "$2a$04$HbLmr8S29KBnnd21Q5Ow5elTOUSo6iG5Jp9u1aj.wd6z14K4rMPFy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_42"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:25.852895' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_43@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_43@example.jp"], ["encrypted_password", "$2a$04$kx5DD10jC9HaAVmmlYzDQOblBCi/UlNoZZIVdXvuqgVlVJtmyGLKu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_43"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:25.866495' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_20' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_20"], ["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_20"], ["title", "message_template_20"], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_6@example.jp"], ["encrypted_password", "$2a$04$QhRV5RKW8FBlQ0la1DTTyeDaFrKmvrKYyxe3Cu2qlT1GyFdilorjq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_6"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:25.885598' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_19' AND "message_templates"."id" != 9) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 17ms (Views: 1.3ms | ActiveRecord: 1.2ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_44@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_44@example.jp"], ["encrypted_password", "$2a$04$OoSc00k7xEdRHXRMHuwCWu.krzvcxVWgVlnHc037ePXlrDa.19ma2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_44"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:25.926429' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_45@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_45@example.jp"], ["encrypted_password", "$2a$04$C8tZuEqgzWxmQxcjuuEIwen4zslCFqr7QsGkDHvfYegF3cNiO6wem"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_45"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:25.941870' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_21' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_21"], ["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_21"], ["title", "message_template_21"], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_21' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_46@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_46@example.jp"], ["encrypted_password", "$2a$04$F6yJA8/lNRLQ0MWsMZnYR.fYbWpO4wFJ2QyKf1HWyzEf0UzjFKyEy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_46"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:25.965626' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_47@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_47@example.jp"], ["encrypted_password", "$2a$04$6slxTh7YSbEzVsDgbH4cbOfLIr9I6wP7kW24jXR0ljjgs3WTZawvi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_47"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:25.980393' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_22' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_22"], ["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_22"], ["title", "message_template_22"], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_48@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_48@example.jp"], ["encrypted_password", "$2a$04$AiDNOVvPx8nxXRoU1RXOtuEswALKJmxE5iWVAfy4IYPnD67TSXxla"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_48"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:25 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:25.998532' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 2.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_49@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_49@example.jp"], ["encrypted_password", "$2a$04$vxEh3rhYH1rguir0b502/.QR2dseyUgBi5PMqxmCoVXuY7RPGYvEy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_49"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:26.096429' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_50@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_50@example.jp"], ["encrypted_password", "$2a$04$oG26gQCVwB/BEgkpAP480u9rgp1DoAXA4dMUeHc3TLsmY5k1wmw3."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_50"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["user_id", 9]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:26.110750' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_23' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_23"], ["created_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_23"], ["title", "message_template_23"], ["updated_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_23' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_51@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_51@example.jp"], ["encrypted_password", "$2a$04$Va.6FDSFsihoch7oE62rS.KyWDoXrGiLWekxOMvbVNwsVnBoIYKvu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_51"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:26.141881' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_52@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_52@example.jp"], ["encrypted_password", "$2a$04$I8pzxhF2FgsqcEzdhm5Iuu1g9uyS9P743Bd3qpifeOCAkdOKmMyoK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_52"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:26.155047' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_24' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_24"], ["created_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_24"], ["title", "message_template_24"], ["updated_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_53@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_53@example.jp"], ["encrypted_password", "$2a$04$Wm4bn5F8M1diLqUUCJcsv.BA0pSLNLEGmQOzrC3x7.GfWHjMBa3Vi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_53"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:26.178415' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_54@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_54@example.jp"], ["encrypted_password", "$2a$04$gj3mImAvaA1HnTceQIbfHeX6NY6UBZ28Bj2cniEPhcqn4TE/np.sa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_54"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:26.210886' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_55@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_55@example.jp"], ["encrypted_password", "$2a$04$GBXQXxL6bTl3/iJd.77EEevl./AkSE8AeTIjy3XnBMrYDFZ91wEZi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_55"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:26.225899' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_25' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_25"], ["created_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_25"], ["title", "message_template_25"], ["updated_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_25' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_56@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_56@example.jp"], ["encrypted_password", "$2a$04$Ivdbx2ZUXhzspjLMJIVrxe9tAstwnbYAUD4aPx9jXWDZUmuWkBsra"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_56"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:26.263981' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_57@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_57@example.jp"], ["encrypted_password", "$2a$04$.YG7t6o4Y4NGDWdea5jAHe.6GO2p92AoFz80aZLuN/pQTMDZUn80u"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_57"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:26.278165' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_26' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_26"], ["created_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_26"], ["title", "message_template_26"], ["updated_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_58@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_58@example.jp"], ["encrypted_password", "$2a$04$HqUbNlPj.J25m.RmdfuNc.I4cB/Wa5Hg3GK3jrTyHqh9c8PtihiLW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_58"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:26.295410' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 66ms (Views: 1.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_59@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_59@example.jp"], ["encrypted_password", "$2a$04$GxGIX1tKLE3THWOIxE7TPexCtszb1zzLb6qDBVAkf55m5di65Qeqa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_59"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:26.382490' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_60@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_60@example.jp"], ["encrypted_password", "$2a$04$qRCyv/F7KXhu3vutNjK9OuroIIaAuNKVIe8KOnMqIEYbxVaQ.iEym"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_60"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:26.396307' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_27' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_27"], ["created_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_27"], ["title", "message_template_27"], ["updated_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_27' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_61@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_61@example.jp"], ["encrypted_password", "$2a$04$YkKcKbxXl2x8ImjwHhmOtepiolktSOIZ3NFZxmU2C2K8H8SfjfXzm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_61"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:26.420621' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_62@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_62@example.jp"], ["encrypted_password", "$2a$04$TEWq8bkVOrCb7jfavjOQk.xIhF21te9K.gZPwml.bw4p3D.BLRle."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_62"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:26.433014' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_28' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_28"], ["created_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_28"], ["title", "message_template_28"], ["updated_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.4ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_63@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_63@example.jp"], ["encrypted_password", "$2a$04$7meE.0aTopVqRK.lA9cMB.LXc8l3R7KwpUoTSLu0vFCglADYtf.nG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_63"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:26.465089' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_64@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_64@example.jp"], ["encrypted_password", "$2a$04$l2ASeS.52iPpYG4TfaRUYutQFagkDuT8UCxL5qkzN7JgfP064cy9C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_64"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:26.481123' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_29' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_29"], ["created_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_29"], ["title", "message_template_29"], ["updated_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (2.9ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_29' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_65@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_65@example.jp"], ["encrypted_password", "$2a$04$k3zPd5uH9mjM0oHlS3LRseP1MGXGhDmiBq7boEueVhTR95oQ3cS3K"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_65"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:26.510644' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_66@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_66@example.jp"], ["encrypted_password", "$2a$04$cuusXK39LtqA18oHaAffk.IZjz7ji3wRpaOsrNd2koFjsUAOjFklC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_66"]] SQL (0.4ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:26.525373' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_30' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_30"], ["created_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_30"], ["title", "message_template_30"], ["updated_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 11ms Role Load (0.3ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_67@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_67@example.jp"], ["encrypted_password", "$2a$04$rfXi6VKZftHhv8pP9LfQM.XV39iiB5h02EAtvC.1PB2ptbe5rFseu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_67"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:26.565372' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (1.2ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_68@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (55.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_68@example.jp"], ["encrypted_password", "$2a$04$kljnARVifPBBzdj./RNdi.RSggnQfpMyQwBf5pmeZzAQwKXOxBgTu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_68"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:26.642576' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_31' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_31"], ["created_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_31"], ["title", "message_template_31"], ["updated_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_31' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.5ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_69@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_69@example.jp"], ["encrypted_password", "$2a$04$rwlK.hvQWO/aZjQCz3qPJ.MUhzsiShTxxveDDENmXBtoe3EGrffdi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_69"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:26.669948' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_70@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_70@example.jp"], ["encrypted_password", "$2a$04$JPvVqqtHx5oOORzroMM4EeIYpDhISLkaCJaKjsHVVE377ZjsTrOp6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_70"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:26.682462' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_32' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_32"], ["created_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_32"], ["title", "message_template_32"], ["updated_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 8ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_71@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_71@example.jp"], ["encrypted_password", "$2a$04$Cq9cYI/0iJ0uxDv.ykSCSeIoXPr8C5K1qdzLP8B4atZwNEQyU1FjS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_71"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:26.718314' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_72@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_72@example.jp"], ["encrypted_password", "$2a$04$KjUrz4N16XORZG9ym5iYaO8KvdHvmLwl5j7XGwB6uz7RqIdSVi4la"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_72"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:26.732380' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.4ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_33' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_33"], ["created_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_33"], ["title", "message_template_33"], ["updated_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_33' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_7@example.jp"], ["encrypted_password", "$2a$04$U.HJ7NcyuuEZzmVKwkLET.tv6SZi9wAqeoPkpAAR5cA9IHA7nKKMe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_7"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:26.757862' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 13ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_73@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_73@example.jp"], ["encrypted_password", "$2a$04$3k3so4lGy67n55//af/baOP8BiB5WjxCQ5owo5sHP2q9/jRUIh/MG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_73"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:26.789527' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_74@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_74@example.jp"], ["encrypted_password", "$2a$04$WmBT6QijGewL3RG0yr/tyeFuwDEeifEb7h/qV9rkcXfeuo5MhvAjK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_74"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["user_id", 9]]  (0.8ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:26.803594' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.4ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_34' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_34"], ["created_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_34"], ["title", "message_template_34"], ["updated_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_34' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_8@example.jp"], ["encrypted_password", "$2a$04$aeWB7EWvDWg.PZMdslWw8eIGytqCX.uVK1D41PqMqDnOLjaiALZ4q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_8"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:26.832287' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 19ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_75@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (55.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_75@example.jp"], ["encrypted_password", "$2a$04$idWsAcmb5QdE2HTukca1I.HMImNZAP1.yIrkda1FEsEP3aHfPdK4m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_75"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:26.934212' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_76@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_76@example.jp"], ["encrypted_password", "$2a$04$ChWo2Ju2qdmIISTFeU12teWkpNWqF7G.u/hQHBw2JAdM/ZRQZIk7K"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_76"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:26.948207' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_35' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_35"], ["created_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_35"], ["title", "message_template_35"], ["updated_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_35' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_7@example.jp"], ["encrypted_password", "$2a$04$ttVesIVLSIlQfmsx98826OtISB8mNN2ZXxKU5QeGhI4Iu11xxki5a"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_7"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:48:26 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:26.975620' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 9ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_77@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_77@example.jp"], ["encrypted_password", "$2a$04$GYEgJF0rHuSjybH51f1s3Op/hoy2RRrjJFb2C7c7OFT.mV0I9iw9."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_77"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:27.008568' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_78@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_78@example.jp"], ["encrypted_password", "$2a$04$sH.7lu0sDQnkxFbcu.W9MuvkmUzlVA/RtGfREvReeZK0A87GA6ATm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_78"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["user_id", 9]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:27.024979' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_36' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_36"], ["created_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_36"], ["title", "message_template_36"], ["updated_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_36' AND "message_templates"."id" != 9) LIMIT 1 SQL (1.9ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_8@example.jp"], ["encrypted_password", "$2a$04$AenSa50BlNAoPicRrJcwZO5eeehLG/cjFgdp43hU9Xpptfnirt8By"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_8"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:27.052168' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 12ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_79@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_79@example.jp"], ["encrypted_password", "$2a$04$wxqoOzTo0rsftfDBofNY3OR2VqcXoQP5k4f.MJc85hN/iQwG3DjSG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_79"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:27.085003' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_80@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_80@example.jp"], ["encrypted_password", "$2a$04$/huSqGZ27pAxVzSAgc8fF.XihvtCE11esBl9Nu5REwb.2W.SsmXnG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_80"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:27.102504' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_37' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_37"], ["created_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_37"], ["title", "message_template_37"], ["updated_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_37' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_81@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_81@example.jp"], ["encrypted_password", "$2a$04$SEA0dAZaPc0f4BnA87McVeqFy4p5hhcLt6oRX/sKWxll6QQ1ULvv."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_81"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:27.127633' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 14ms (Views: 1.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_82@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_82@example.jp"], ["encrypted_password", "$2a$04$bhBfrgnUrCBdQcBqnUBs7uItbJl.hys2ek3aFGJMnL823E8Bd8v3O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_82"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:27.159832' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_83@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (58.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_83@example.jp"], ["encrypted_password", "$2a$04$n8Da4HJmXtO9YQoOyuvLa.mvaAL1rL/m2na8N5Iu3PXIqh1970lkW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_83"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:27.229639' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_38' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_38"], ["created_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_38"], ["title", "message_template_38"], ["updated_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_38' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_84@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_84@example.jp"], ["encrypted_password", "$2a$04$78AjnCJUYw1LmzwnBxqQau1BRMN7zYHAnjwCyZvzEss/n7A8Wjc3K"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_84"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:27.256267' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 2.1ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_85@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_85@example.jp"], ["encrypted_password", "$2a$04$EQ89qRukTEghsfC14m4tCecOwWOCnwZex0oFmi5UMfV2aT2C3.CEG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_85"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:27.287541' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_86@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_86@example.jp"], ["encrypted_password", "$2a$04$ALmsW0xepkWvM23wV6jIQupLF1PVlGQ.udaDLiMqJNeI5v.o3STx."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_86"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:27.301778' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_39' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_39"], ["created_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_39"], ["title", "message_template_39"], ["updated_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_39' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.9ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_87@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_87@example.jp"], ["encrypted_password", "$2a$04$EuKmbgQbGQRFa0uF0oVL.OPXZ4AF.dsMazU2OkmhSMxZoZUFCwIEq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_87"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:27.340045' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_88@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_88@example.jp"], ["encrypted_password", "$2a$04$mQTK3nnmYeRtf8/sk2xMpuQkTf/NJFJXfpW92EyhWcpQ6JMj2dC6."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_88"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:27.352883' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_40' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_40"], ["created_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_40"], ["title", "message_template_40"], ["updated_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_40' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_41' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_41"], ["created_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_41"], ["title", "message_template_41"], ["updated_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_9@example.jp"], ["encrypted_password", "$2a$04$UfdNr1QT3CgAeY4UojdqeeSKjvkNFQy3i/SX/FO832ktaJPacZ/ea"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_9"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:27.401855' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 25ms (Views: 13.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position LIMIT 10 OFFSET 0  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_42' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_42"], ["created_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_42"], ["title", "message_template_42"], ["updated_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_9@example.jp"], ["encrypted_password", "$2a$04$BXOwWvtDlWD/zBDS4c55ae2gNi21IuPM4vhc1WgczEYllD/uo8PUm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_9"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:27.454276' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 71ms (Views: 1.5ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position LIMIT 10 OFFSET 0  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_43' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_43"], ["created_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_43"], ["title", "message_template_43"], ["updated_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_89@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_89@example.jp"], ["encrypted_password", "$2a$04$DOP54bl0QmXpXOv7VW1TNu7SuL4q33rCYfwFfJmU/lfkLLqaAaFHO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_89"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:27.554215' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.2ms) SELECT COUNT(*) FROM "message_templates" WHERE ('t'='f')  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_44' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_44"], ["created_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_44"], ["title", "message_template_44"], ["updated_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms  (0.1ms) SELECT COUNT(*) FROM "message_templates" WHERE ('t'='f') Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_10@example.jp"], ["encrypted_password", "$2a$04$rdL7hZecVo4d3vr.EASM0O/a9sDu1XUqxRcCTiHv0BJIpnl3rBDtC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_10"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:27.606012' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_45' LIMIT 1 SQL (0.8ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_45"], ["created_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_45"], ["title", "message_template_45"], ["updated_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 12ms (Views: 4.1ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_10@example.jp"], ["encrypted_password", "$2a$04$gnQf5fohGYB66hLz0Cq7eO1XJPe9FYQ/xqDUBj96zVQBirydrFgcW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_10"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:27.645645' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_46' LIMIT 1 SQL (0.9ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_46"], ["created_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_46"], ["title", "message_template_46"], ["updated_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 10ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_90@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_90@example.jp"], ["encrypted_password", "$2a$04$IcOjr4KRqBprB95o2thue.7yxooWsokJiYpmf6CTuuBvuhFgwUsDq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_90"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:27.685546' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_47' LIMIT 1 SQL (0.9ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_47"], ["created_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_47"], ["title", "message_template_47"], ["updated_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_48' LIMIT 1 SQL (3.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_48"], ["created_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_48"], ["title", "message_template_48"], ["updated_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (10.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_11@example.jp"], ["encrypted_password", "$2a$04$yc048eOWJvGzafiaNKtsv.NZ/NoOhNLUp6EBc8yp3mKBl2TUqbiw."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_11"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:27.758028' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_11@example.jp"], ["encrypted_password", "$2a$04$MGZC6v.LTQkvLz0CNwN47emFtDFBNBbHH5V9OcsYMNIiY934vAlcu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_11"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:27.797902' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 76ms (Views: 1.5ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_91@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_91@example.jp"], ["encrypted_password", "$2a$04$LHSX8aQg7dC6zjshTm0OKODrpcQxhvAvUkCIBe/RjEx9UwQ8Brj/C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_91"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:27.899868' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Processing by MessageTemplatesController#new as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_12@example.jp"], ["encrypted_password", "$2a$04$iHAJXIPuAPQqzABgGAvv3OZKK0oeEP/LMNsSBPE/DxNngU9JgPw62"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_12"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:27.949166' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_49' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_49"], ["created_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_49"], ["title", "message_template_49"], ["updated_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 12ms (Views: 2.9ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_12@example.jp"], ["encrypted_password", "$2a$04$d0syPTW2jkfXvbbN2Q7D/ecARpudaiyOW4nEdZxt/yrlbcxy.Xd.q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_12"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:27.989708' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_50' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_50"], ["created_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_50"], ["title", "message_template_50"], ["updated_at", Fri, 16 Dec 2011 03:48:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_92@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_92@example.jp"], ["encrypted_password", "$2a$04$0RJdDOVeRuLQSYGKGIRWvuvHtiefp3/nXVOGAOK7/bWlIy50jxloO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_92"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:28.029054' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_51' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_51"], ["created_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_51"], ["title", "message_template_51"], ["updated_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_52' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_52"], ["created_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_52"], ["title", "message_template_52"], ["updated_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 8ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_13@example.jp"], ["encrypted_password", "$2a$04$NmewtnEwCcEtVjwlTygOUubDFC7.Ose7SznrQsJQbfGOi7N1jgzjS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_13"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:28.083092' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_53", "status"=>"message_template_53", "body"=>"message_template_53"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_53' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_14@example.jp"], ["encrypted_password", "$2a$04$FuJQrVRvyZBm7Rql4QpCpOPkUhguJDS2CqvWg75lNaTlAvOl.PiSS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_14"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:28.117046' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_54", "status"=>"message_template_54", "body"=>"message_template_54"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 2.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_15@example.jp"], ["encrypted_password", "$2a$04$CNAlanq70rJ2Nev37RsljewzB/iAgqB9C1UgfKjMQg//KMKzLOdjq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_15"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:28.204484' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_16@example.jp"], ["encrypted_password", "$2a$04$C0UfubtG2sl7AXK.0Jsfi.nrch52m10sWYufykH7btsSg.gUAVFd."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_16"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:28.241091' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_13@example.jp"], ["encrypted_password", "$2a$04$aHI3NGX35rHzLP5Izm.kA.vj7seowUUkNuW2qf0xEXun4ue55Tgxy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_13"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:28.273287' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_57", "status"=>"message_template_57", "body"=>"message_template_57"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_57' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_14@example.jp"], ["encrypted_password", "$2a$04$rnR0ouDOC/gb/ZuRnxLELeFX6Ua9wjYW9GPdSgm2TATOOvkTT68c2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_14"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:28.305871' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_58", "status"=>"message_template_58", "body"=>"message_template_58"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.3ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_15@example.jp"], ["encrypted_password", "$2a$04$VMbMupeiJdds2dxjepybBO4/F4EpVRlqt5s3g4LjfT4vMhFQOwbZe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_15"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:28.336987' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (7.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_16@example.jp"], ["encrypted_password", "$2a$04$kEacyfMIjcVH2/1W8LRHVO3O45yp0MRHfzc2NG0Y0thKeITtaOITi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_16"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:28.374370' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_93@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_93@example.jp"], ["encrypted_password", "$2a$04$jrz0JwvMYRqxqS/vIgRD6OC0.CIG84r9HK95YgOybhCltKeNqVAr."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_93"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:28.401633' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_61", "status"=>"message_template_61", "body"=>"message_template_61"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_61' LIMIT 1 Role Load (0.3ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_94@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_94@example.jp"], ["encrypted_password", "$2a$04$iAzWk2uhtxLcD7moVEZFIez2sn3bHjbHtjeAq6BiTAAkijvw8AL/O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_94"]] SQL (0.4ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:28.507923' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_62", "status"=>"message_template_62", "body"=>"message_template_62"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_95@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_95@example.jp"], ["encrypted_password", "$2a$04$gqATY1zlJR/3meTMvTtJw.n9eG1bU75jsYg.rUztFmps5IIgMOwMu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_95"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:28.543300' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_96@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_96@example.jp"], ["encrypted_password", "$2a$04$jpACSZcAzNoRx3wNrzNA1.z/kPJQtA1Wt.dDnueKTpG0CQUiGt.6m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_96"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:28.574128' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_65", "status"=>"message_template_65", "body"=>"message_template_65"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms MessageTemplate Load (0.4ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_65' LIMIT 1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_66", "status"=>"message_template_66", "body"=>"message_template_66"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 9ms MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_69' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_69"], ["created_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_69"], ["title", "message_template_69"], ["updated_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_17@example.jp"], ["encrypted_password", "$2a$04$JvOFgD6.lNhh5oRP/SNeu.LOwq1MkkBUChYOd8mXwrXF8cZ3gLjA2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_17"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:28.670772' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_70", "status"=>"message_template_70", "body"=>"message_template_70"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_70' AND "message_templates"."id" != 9) LIMIT 1  (0.2ms) UPDATE "message_templates" SET "title" = 'message_template_70', "status" = 'message_template_70', "body" = 'message_template_70', "updated_at" = '2011-12-16 03:48:28.684804' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates/9 Completed 302 Found in 22ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_71' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_71"], ["created_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_71"], ["title", "message_template_71"], ["updated_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (20.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_18@example.jp"], ["encrypted_password", "$2a$04$oLde0XEJ7k1Yl.yShfIcX.Z9mWQn79Ag3Gl4XG0V6rSYVO0MEIb9S"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_18"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:28.734967' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_72", "status"=>"message_template_72", "body"=>"message_template_72"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_72' AND "message_templates"."id" != 9) LIMIT 1  (0.2ms) UPDATE "message_templates" SET "title" = 'message_template_72', "status" = 'message_template_72', "body" = 'message_template_72', "updated_at" = '2011-12-16 03:48:28.815215' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates/9 Completed 302 Found in 79ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_73' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_73"], ["created_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_73"], ["title", "message_template_73"], ["updated_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_19@example.jp"], ["encrypted_password", "$2a$04$T89vVdZnG0VuBmk/f5i2EO57OYvg7iZ0CbsP/CiXRQD1xXNh6IUPy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_19"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:28.841552' WHERE "roles"."id" = 4  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_74", "status"=>"message_template_74", "body"=>"message_template_74"}, "position"=>"2", "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "message_templates" SET "position" = 0, "updated_at" = '2011-12-16 03:48:28.857818' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "message_templates" SET position = (position - 1) WHERE "message_templates"."id" IN (SELECT "message_templates"."id" FROM "message_templates" WHERE (1 = 1 AND position > 9) ORDER BY position) SQL (0.2ms) UPDATE "message_templates" SET position = (position + 1) WHERE "message_templates"."id" IN (SELECT "message_templates"."id" FROM "message_templates" WHERE (1 = 1 AND position >= 2) ORDER BY position)  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "message_templates" SET "position" = 2, "updated_at" = '2011-12-16 03:48:28.861074' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates Completed 302 Found in 17ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_75' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_75"], ["created_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_75"], ["title", "message_template_75"], ["updated_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_20@example.jp"], ["encrypted_password", "$2a$04$Ni/GhcJOkOeGRNP42O4KV.1xsmDQdKSciLSzPJbm4nf27sdtAh/3u"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_20"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:28.884849' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = '' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 12ms (Views: 1.1ms | ActiveRecord: 0.0ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_77' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_77"], ["created_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_77"], ["title", "message_template_77"], ["updated_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.2ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_17@example.jp"], ["encrypted_password", "$2a$04$Hi1ZWPd9wFvd1a0Z/vjdv.aSCTWCnypJDOvBSilvWfzE.HTrrcjza"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_17"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:28.927214' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_78", "status"=>"message_template_78", "body"=>"message_template_78"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 13ms (Views: 1.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_79' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_79"], ["created_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_79"], ["title", "message_template_79"], ["updated_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_18@example.jp"], ["encrypted_password", "$2a$04$nyrdp7rZGFHioeznShFl3eX/LVXCWtcSIFDc8seWjcBm8BowF7Cjm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_18"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:28.961607' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_80", "status"=>"message_template_80", "body"=>"message_template_80"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_81' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_81"], ["created_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_81"], ["title", "message_template_81"], ["updated_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_19@example.jp"], ["encrypted_password", "$2a$04$aMDcbV4D1263lqvnLg9Q7Ox1l0zTqSqAmFCc5J9dAe.buSdER6tHe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_19"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:48:28 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:28.989567' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_83' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_83"], ["created_at", Fri, 16 Dec 2011 03:48:29 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_83"], ["title", "message_template_83"], ["updated_at", Fri, 16 Dec 2011 03:48:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_97@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:29 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_97@example.jp"], ["encrypted_password", "$2a$04$YhDoWry/DAuXnfhhHxfcOe1ZfrF8LwA.GHI44ZPN3tdcyiP9jYy0C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:29 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_97"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:29 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:29 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:29.013149' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_84", "status"=>"message_template_84", "body"=>"message_template_84"}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_85' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_85"], ["created_at", Fri, 16 Dec 2011 03:48:29 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_85"], ["title", "message_template_85"], ["updated_at", Fri, 16 Dec 2011 03:48:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_98@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (40.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:29 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_98@example.jp"], ["encrypted_password", "$2a$04$CLk6t9SNayfco1XGGx4FruGM.4hEq4LlErEYpnHcoHyhjFV2CZ6w2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:29 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_98"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:29 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:29 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:29.077274' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_86", "status"=>"message_template_86", "body"=>"message_template_86"}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_87' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_87"], ["created_at", Fri, 16 Dec 2011 03:48:29 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_87"], ["title", "message_template_87"], ["updated_at", Fri, 16 Dec 2011 03:48:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_99@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:29 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_99@example.jp"], ["encrypted_password", "$2a$04$/Y.4kJrA/bvPewXvNF4Om.XnEeOWa2Aqyd5ecQcyU/JxxNENqV6xe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:29 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_99"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:29 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:29 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:29.098436' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_89' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_89"], ["created_at", Fri, 16 Dec 2011 03:48:29 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_89"], ["title", "message_template_89"], ["updated_at", Fri, 16 Dec 2011 03:48:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_90", "status"=>"message_template_90", "body"=>"message_template_90"}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_91' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_91"], ["created_at", Fri, 16 Dec 2011 03:48:29 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_91"], ["title", "message_template_91"], ["updated_at", Fri, 16 Dec 2011 03:48:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_92", "status"=>"message_template_92", "body"=>"message_template_92"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_93' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_93"], ["created_at", Fri, 16 Dec 2011 03:48:29 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_93"], ["title", "message_template_93"], ["updated_at", Fri, 16 Dec 2011 03:48:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_95' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_95"], ["created_at", Fri, 16 Dec 2011 03:48:29 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_95"], ["title", "message_template_95"], ["updated_at", Fri, 16 Dec 2011 03:48:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:29 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_21@example.jp"], ["encrypted_password", "$2a$04$99agIaGgsdjAROsQkJ7PP.ubyCw3BJuMj0zTu63hYEFqaVX3SxQ12"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:29 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_21"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:29 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:48:29 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:29.151543' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 1.0ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_96' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_96"], ["created_at", Fri, 16 Dec 2011 03:48:29 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_96"], ["title", "message_template_96"], ["updated_at", Fri, 16 Dec 2011 03:48:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:29 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_22@example.jp"], ["encrypted_password", "$2a$04$o83b19pNZ/NmQBriF5W7Ken01amZwQeTf14kNJn0pqSXxzO6BIF5y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:29 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_22"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:29 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:48:29 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:29.174462' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_97' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_97"], ["created_at", Fri, 16 Dec 2011 03:48:29 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_97"], ["title", "message_template_97"], ["updated_at", Fri, 16 Dec 2011 03:48:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:29 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_20@example.jp"], ["encrypted_password", "$2a$04$mb3msmiQYr4Q3F54jhPOLu0n1F4yn0KgoSWmfMPKhk7tgOPNk8KDm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:29 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_20"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:29 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:48:29 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:29.215782' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 1.0ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_98' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_98"], ["created_at", Fri, 16 Dec 2011 03:48:29 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_98"], ["title", "message_template_98"], ["updated_at", Fri, 16 Dec 2011 03:48:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:29 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_21@example.jp"], ["encrypted_password", "$2a$04$bhP2jJ.6A/aIk5Q/slf2y.Bfkq5o7hWzhGLJkav/ej4yQFx6K.RlG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:29 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_21"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:29 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:48:29 UTC +00:00], ["user_id", 8]]  (72.6ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:29.352805' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 1.0ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_99' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_99"], ["created_at", Fri, 16 Dec 2011 03:48:29 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_99"], ["title", "message_template_99"], ["updated_at", Fri, 16 Dec 2011 03:48:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_100@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:29 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_100@example.jp"], ["encrypted_password", "$2a$04$MmVhTXuliUt/MRVeof6Ui.m28PVsyQMOgGP8XLKj1Py8s.BXgmTpm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:29 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_100"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:29 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:29 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:29.491846' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_100' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_100"], ["created_at", Fri, 16 Dec 2011 03:48:29 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_100"], ["title", "message_template_100"], ["updated_at", Fri, 16 Dec 2011 03:48:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_101@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:29 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_101@example.jp"], ["encrypted_password", "$2a$04$ZUPb5zOME00jD1H74Mw8QOjyZm4WnQevruVRd03wWtTxFmsCC7E8S"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:29 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_101"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:29 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:29 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:29.758559' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_101' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_101"], ["created_at", Fri, 16 Dec 2011 03:48:29 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_101"], ["title", "message_template_101"], ["updated_at", Fri, 16 Dec 2011 03:48:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_102' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_102"], ["created_at", Fri, 16 Dec 2011 03:48:29 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_102"], ["title", "message_template_102"], ["updated_at", Fri, 16 Dec 2011 03:48:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms Role Load (0.3ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.2ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:33 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_23@example.jp"], ["encrypted_password", "$2a$04$vesgV7FCDg93dmScpPLauOB94XiDhIPnF5qXfT/BW1qfkdAwVs5XG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:33 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_23"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:33 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:48:33 UTC +00:00], ["user_id", 8]]  (10.0ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:33.035954' WHERE "roles"."id" = 4  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 SOLR Request (46.5ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A8&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (5.4ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A8&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 137ms (Views: 23.4ms | ActiveRecord: 0.4ms | Solr: 51.8ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:33 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_24@example.jp"], ["encrypted_password", "$2a$04$hL3LBT3KkKmu9F5x92YFqOVEgdarZxfwAzNgNwZKpcgK3y/XRwivG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:33 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_24"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:33 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:48:33 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:33.209974' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML Parameters: {"user_id"=>"admin_24"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'admin_24' LIMIT 1 SOLR Request (6.7ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A8&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (10.1ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A8&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 28ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 16.8ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:33 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_22@example.jp"], ["encrypted_password", "$2a$04$2txd78CXyH8pRV7yaVsQIenrZlUOfYUVlAjYkVjIqMK4i7Z40Vxx6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:33 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_22"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:33 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:48:33 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:33.324244' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 SOLR Request (8.2ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A8&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (6.6ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A8&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 25ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 14.8ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:33 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_23@example.jp"], ["encrypted_password", "$2a$04$njwSEao5G4B9414FzzU14ui9xTQQbNkF/Sap6QFBk0fkUF6z2jZrS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:33 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_23"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:33 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:48:33 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:33.367104' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML Parameters: {"user_id"=>"librarian_23"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'librarian_23' LIMIT 1 SOLR Request (4.2ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A8&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (4.4ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A8&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 20ms (Views: 1.4ms | ActiveRecord: 0.5ms | Solr: 8.6ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 SOLR Request (4.1ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (11.2ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 25ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 15.3ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML Parameters: {"query"=>"you"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 SOLR Request (22.8ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&q=you&fl=%2A+score&qf=body_text+subject_text&defType=dismax&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (6.5ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&q=you&fl=%2A+score&qf=body_text+subject_text&defType=dismax&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 39ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 29.3ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 SOLR Request (7.2ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (4.3ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 22ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 11.4ms) Processing by MessagesController#index as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 5ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 109ms (Views: 1.8ms | ActiveRecord: 0.6ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 403 Forbidden in 15ms (Views: 1.5ms | ActiveRecord: 0.6ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#show as HTML Parameters: {"id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 3 AND "messages"."id" = ? LIMIT 1 [["id", "2"]]  (0.0ms) SAVEPOINT active_record_1  (2.5ms) UPDATE "messages" SET "read_at" = '2011-12-16 03:48:33.688573', "updated_at" = '2011-12-16 03:48:33.688947' WHERE "messages"."id" = 2 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1  (0.5ms) UPDATE "messages" SET "state" = 'read', "updated_at" = '2011-12-16 03:48:33.698566' WHERE "messages"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 37ms (Views: 2.5ms | ActiveRecord: 3.8ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 9ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:33 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_25@example.jp"], ["encrypted_password", "$2a$04$mNFh9QvO/8p3fxh0iNB/9OFcGkNmyUz6Zwalbms45WlxPcpCDUHdK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:33 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_25"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:33 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:48:33 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:33.761264' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 Completed 200 OK in 15ms (Views: 3.3ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (61.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:33 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_24@example.jp"], ["encrypted_password", "$2a$04$.ZkMAzgiR3i.lc0f0dwWN.IPVaz8vw3Rp1.I2X/nxYoQLz/higCKW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:33 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_24"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:33 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:48:33 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:33.857552' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 Completed 200 OK in 13ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 13ms (Views: 2.1ms | ActiveRecord: 0.4ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML Parameters: {"parent_id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML Parameters: {"parent_id"=>"2"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Processing by MessagesController#new as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_26@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:33 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_26@example.jp"], ["encrypted_password", "$2a$04$q.S3el0q2WyUzXvdlgMIOubK5k.ljhRkQpz7XbZOjDYfOSUiCmyoK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:33 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_26"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:33 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:48:33 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:33.969488' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 8 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 8ms (Views: 0.9ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:33 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_25@example.jp"], ["encrypted_password", "$2a$04$HhoQt/ve7w3x/OPbcTqDoeCu/w0AZPXcpcrWzJGHv6waorp8SRWOC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:33 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_25"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:33 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:48:33 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:33.990941' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 0.9ms | ActiveRecord: 0.4ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_102@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_102@example.jp"], ["encrypted_password", "$2a$04$IH4LfeFl7ZQvBTHBaHAvx.K/Kmw7nvCCDQNPe7NbS8CC5yDWfDX4u"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_102"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:34.027375' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_103@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_103@example.jp"], ["encrypted_password", "$2a$04$9fjvFWFH4TRjTT63nEZWlOPJJ1fjwMJz/hvRBhaCPppZ/bRqhGynS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_103"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:34.036022' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "user_102"]]  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_27@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_27@example.jp"], ["encrypted_password", "$2a$04$hLSfCyqpQ5YaG9oEKEBAkupSK09OWvF/HdnvgRBgJdFkCv4Db1sxO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_27"]] SQL (36.4ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:34.085005' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 500 Internal Server Error in 29ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_28@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_28@example.jp"], ["encrypted_password", "$2a$04$DoekfKFu/W.8NzXOCb/Xa.YKs6aTYHwYYsFMIj57dvNButLHqnznq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_28"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:34.126337' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}, "user_id"=>"user1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 500 Internal Server Error in 61ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_29@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_29@example.jp"], ["encrypted_password", "$2a$04$8hWkT10O4dffMkvvVpyQgOz0pk1RQqUK9p9xUoCGDlvQfpuIm/CPq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_29"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:34.199712' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}, "user_id"=>"user1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 500 Internal Server Error in 62ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_30@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_30@example.jp"], ["encrypted_password", "$2a$04$3JcYiklwI6HPmQnTE1qteeHjnX9YYw1fxUTcM3Tu3b0FdT.xsyY0G"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_30"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:34.274765' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}, "user_id"=>"user1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 500 Internal Server Error in 59ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test", "parent_id"=>"2"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = 2 LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "user2"]]  (0.0ms) SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "user2"]]  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 404 Not Found in 8ms (Views: 0.8ms | ActiveRecord: 0.4ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test", "parent_id"=>"2"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_104@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_104@example.jp"], ["encrypted_password", "$2a$04$RJFcoYsxwy0BzSbNeCHt8O2qqOfi34exxYqzv2DgTlBG8GFrta4MO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_104"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:34.441409' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_105@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_105@example.jp"], ["encrypted_password", "$2a$04$BOpFJsC2RfpZmqniOARdv.fC7zsHs9SvXpEc8BseSujseDYyj3smG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_105"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:34.449775' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_104", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 7ms (Views: 0.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_106@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_106@example.jp"], ["encrypted_password", "$2a$04$1qHQ7rbm5mABJu2ofqOmmOIIVTLrdkBMOs2bV0VH6btwV/OgN9jAC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_106"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:34.469402' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_107@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_107@example.jp"], ["encrypted_password", "$2a$04$hOPFdchoeqQWJ8T1J6HCCOqn.T5kmIJjCxS8XUF52Tbsddg2nM7DG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_107"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:34.478539' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_106", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_108@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_108@example.jp"], ["encrypted_password", "$2a$04$b368ZhtpRCOpi1TXPJj8xOelcpWPStoIajUMLZh4hrSvBsLE.FKI2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_108"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:34.498539' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_109@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_109@example.jp"], ["encrypted_password", "$2a$04$JhLeBsb3cQkxSAazpuACOO7J79H55qAkvAWPiPiUPfyOrT/LJAgYG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_109"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:34.508885' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_110@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_110@example.jp"], ["encrypted_password", "$2a$04$q1APVPJKQ1lAAN66mH2tUOTGq4Tzu/.ZnJKhfsz2QKqWsUOpg/Hzm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_110"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:34.527918' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_111@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_111@example.jp"], ["encrypted_password", "$2a$04$DVfnBLimshqnjopJka3XNOXoCxzfPDDgBZX5UcYdcmsWvf2x5gWhy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_111"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:34.536800' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 42ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_112@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_112@example.jp"], ["encrypted_password", "$2a$04$J6G1gUz6x5CtNilBIOWaqOof3a8KHYFiLBTXSto6N2.6phXyMphem"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_112"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:34.592378' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_113@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_113@example.jp"], ["encrypted_password", "$2a$04$1nWezrDqENFj/Kbu12XALOtvlZDuwxmrd5ehlVMCVXwu61bg.LRIO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_113"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:34.600673' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_112", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.8ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_114@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_114@example.jp"], ["encrypted_password", "$2a$04$x5obiuIO.ZDsIJtm6CHoJODQNjP4c9bJi.5AwRVFPKi4DsLhVKN9S"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_114"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:34.620175' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_115@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_115@example.jp"], ["encrypted_password", "$2a$04$Wjyyxk/RWiukI8Y0yBgdN.4T6tXuTeegpINU/bro5oqGts1ByQrgq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_115"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:34.629174' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_114", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_116@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_116@example.jp"], ["encrypted_password", "$2a$04$aGjsYhDm9OpUxtkYLkRNCOexD/GiEPsaYlgUl6uGGjoepcF7BX5.6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_116"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:34.649505' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_117@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_117@example.jp"], ["encrypted_password", "$2a$04$DZE6GpIzPZF1rrI/VNA7Ieb1y1pn3cNlsxn2SP84JIbtRNhT6UY5q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_117"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:34.658130' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_118@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_118@example.jp"], ["encrypted_password", "$2a$04$2vrJEJpG1xrUt3abU3QigOLCPr/EBzzaezRIyHM1kHy5rnzT8OsOG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_118"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:34.678780' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_119@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_119@example.jp"], ["encrypted_password", "$2a$04$XRlNWjZk2ophrH8meL/MSexSEhoPWIipz7TksFBb2RExtd9jZUCGG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_119"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:34.687347' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_120@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (37.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_120@example.jp"], ["encrypted_password", "$2a$04$H31bhpo52wqez7bCVMa/5uMAQrAYnsll4WPgFzD4MJGOvs2Oji59q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_120"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:34.743330' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_121@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_121@example.jp"], ["encrypted_password", "$2a$04$DMeyC7BdPwQPH530jhOcGe0RA3g4Pt5/5HszeoMs2hQ231DpzkJoa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_121"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:34.751737' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_122@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_122@example.jp"], ["encrypted_password", "$2a$04$FMxPBphAWnPPl75oqVw10.1YeIM2v8t9ru1NQKDqHhbgLPi.mOhnm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_122"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:34.770874' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_123@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_123@example.jp"], ["encrypted_password", "$2a$04$IFQQku8vGU2eLGovf4xxAeAO1Wgwp8VtceX.2MpqNgGSpEBK1yNoW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_123"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:34.779722' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_124@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_124@example.jp"], ["encrypted_password", "$2a$04$yWOxy/hNfabW197WG6NOoO1nImMyY64Dpg.nTUIVh22YM/HiGoyGG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_124"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:34.798139' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_125@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_125@example.jp"], ["encrypted_password", "$2a$04$vIuVVFQBz5bJ0cnqKh0ykeppQETu9XjG7KjF.1XtZyeOp2tBvuTJW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_125"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:34.807826' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_124", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_126@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_126@example.jp"], ["encrypted_password", "$2a$04$0uKKOzLf71A6EzlrgJbCFeRbSpQKmKAIu3BUNXkv3jMOdjyZlIwxq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_126"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:34.826572' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_127@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_127@example.jp"], ["encrypted_password", "$2a$04$N9aGoAWtgkTmPv1N06HIkeLUsnM9BsuztFIE0ELd5J9OmiXO.ZChy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_127"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["user_id", 9]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:34.835822' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_126", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_128@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_128@example.jp"], ["encrypted_password", "$2a$04$S8QzgWLd0rxFObm.jK7lSeSDPfDjYcsJv9qgRuZu.WrfPII4VhFeO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_128"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:34.857916' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_129@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_129@example.jp"], ["encrypted_password", "$2a$04$keSQsA/Rxb8P8544LoRTYOZQgnWteOWHn3c5FjacEFcny/RFdi7CC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_129"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:34.866160' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 43ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_130@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_130@example.jp"], ["encrypted_password", "$2a$04$5QGaRRBRs6hnBx.8C4lkpO.EliSgS9SKFF3VcTYSo54zaSinIbeIa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_130"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:34.921339' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_131@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_131@example.jp"], ["encrypted_password", "$2a$04$56CItqTVua77lFi5x1JFC.t58QfZs/MZmslJQ26dFmIqVhAyovoW."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_131"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:34.929692' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_132@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_132@example.jp"], ["encrypted_password", "$2a$04$HmULxKY.2tvMsHJGC4p0b.HbuvpNLNe8rxKOa./vJyyPlSTEyDODy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_132"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:34.950855' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_133@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_133@example.jp"], ["encrypted_password", "$2a$04$tLs9uDv3AmidSVmm7Sj8Z.6mFZpH.8je2chjVRzjg4xXbPL7.ZjX."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_133"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:48:34 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:48:34.962053' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#destroy as HTML Parameters: {"id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 3 AND "messages"."id" = ? LIMIT 1 [["id", "2"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "messages" WHERE ("lft" > 3 AND "rgt" < 4) SQL (0.4ms) UPDATE "messages" SET "lft" = ("lft" - 2) WHERE "messages"."id" IN (SELECT "messages"."id" FROM "messages" WHERE ("lft" > 4) ORDER BY "lft") SQL (0.4ms) UPDATE "messages" SET "rgt" = ("rgt" - 2) WHERE "messages"."id" IN (SELECT "messages"."id" FROM "messages" WHERE ("rgt" > 4) ORDER BY "lft") SQL (0.1ms) DELETE FROM "messages" WHERE "messages"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/messages Completed 500 Internal Server Error in 102ms User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 403 Forbidden in 14ms (Views: 1.2ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 10ms Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Fixture Delete (0.3ms) DELETE FROM "message_requests" Fixture Insert (0.1ms) INSERT INTO "message_requests" ("sender_id", "receiver_id", "message_template_id", "state", "created_at", "updated_at", "id") VALUES (1, 1, 1, 'pending', '2011-12-16 03:51:08', '2011-12-16 03:51:08', 980190962) Fixture Insert (0.1ms) INSERT INTO "message_requests" ("sender_id", "receiver_id", "message_template_id", "state", "created_at", "updated_at", "id") VALUES (1, 1, 1, 'pending', '2011-12-16 03:51:08', '2011-12-16 03:51:08', 298486374) Fixture Delete (0.1ms) DELETE FROM "message_templates" Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (1, 'reservation_accepted', 'Reservation accepted', 'Reservation accepted', 1, '2011-12-16 03:51:08', '2011-12-16 03:51:08') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (2, 'item_received', 'Item received', 'Item received', 2, '2011-12-16 03:51:08', '2011-12-16 03:51:08') Fixture Insert (0.0ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (3, 'reservation_expired_for_patron', 'Reservation expired', 'Reservation expired', 3, '2011-12-16 03:51:08', '2011-12-16 03:51:08') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (4, 'reservation_expired_for_library', 'Reservation expired', 'Reservation expired', 4, '2011-12-16 03:51:08', '2011-12-16 03:51:08') Fixture Insert (0.0ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (5, 'reservation_canceled_for_patron', 'Reservation canceled', 'Reservation canceled', 5, '2011-12-16 03:51:08', '2011-12-16 03:51:08') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (6, 'reservation_canceled_for_library', 'Reservation canceled', 'Reservation canceled', 6, '2011-12-16 03:51:08', '2011-12-16 03:51:08') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (7, 'recall_item', 'Recall item', 'Recall item', 7, '2011-12-16 03:51:08', '2011-12-16 03:51:08') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (8, 'recall_overdue_item', 'Recall overdue item', 'Recall overdue item', 8, '2011-12-16 03:51:08', '2011-12-16 03:51:08') Fixture Delete (0.2ms) DELETE FROM "messages" Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "read_at", "state", "lft", "rgt", "updated_at") VALUES (1, 3, 4, 'First Message', 'Abby, you get the first message', '2007-07-04 12:10:47.000000', '2011-12-13 03:51:08.000000', 'unread', 1, 2, '2011-12-16 03:51:08') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (2, 4, 3, 'RE: First Message', 'Thanks Dad! You are the coolest!', '2011-12-14 03:51:08.000000', 'unread', 3, 4, '2011-12-16 03:51:08') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (3, 3, 4, 'Second Message', 'Catie, you get the 2nd message', '2011-12-15 03:51:08.000000', 'unread', 5, 6, '2011-12-16 03:51:08') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (6, 4, 5, 'Dad!', 'He is sucha dork.', '2011-12-14 03:51:08.000000', 'unread', 7, 8, '2011-12-16 03:51:08') Fixture Delete (0.1ms) DELETE FROM "roles" Fixture Insert (0.0ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Guest', 'Guest', 1, NULL, '2011-12-16 03:51:08', '2011-12-16 03:51:08') Fixture Insert (0.0ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('User', 'User', 2, NULL, '2011-12-16 03:51:08', '2011-12-16 03:51:08') Fixture Insert (0.0ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Librarian', 'Librarian', 3, NULL, '2011-12-16 03:51:08', '2011-12-16 03:51:08') Fixture Insert (0.0ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Administrator', 'Administrator', 4, NULL, '2011-12-16 03:51:08', '2011-12-16 03:51:08') Fixture Delete (0.1ms) DELETE FROM "user_groups" Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('(not specified)', '(not specified)', '2007-12-13 12:00:51.564542', 1, '', '2007-12-13 12:00:01.674976', 1) Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('User', 'User', '2007-12-22 18:14:56.836548', 2, '', '2007-12-22 18:14:40.173954', 2) Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('Faculty', 'Faculty', '2007-12-22 18:15:05.134351', 3, '', '2007-12-22 18:15:05.126457', 3) Fixture Delete (0.1ms) DELETE FROM "user_has_roles" Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (1, 4, '2011-12-16 03:51:09', '2011-12-16 03:51:09', 135138680) Fixture Insert (0.0ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (2, 3, '2011-12-16 03:51:09', '2011-12-16 03:51:09', 344583537) Fixture Insert (0.0ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (3, 2, '2011-12-16 03:51:09', '2011-12-16 03:51:09', 206669143) Fixture Insert (0.0ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (4, 3, '2011-12-16 03:51:09', '2011-12-16 03:51:09', 226540757) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (5, 2, '2011-12-16 03:51:09', '2011-12-16 03:51:09', 358143215) Fixture Insert (0.0ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (6, 2, '2011-12-16 03:51:09', '2011-12-16 03:51:09', 576709754) Fixture Insert (0.0ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (7, 2, '2011-12-16 03:51:09', '2011-12-16 03:51:09', 1010528733) Fixture Delete (0.2ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:16:30.163731', '$2a$10$vHohD1WflnTIqAa8zMkF9evwAgIZRw3XuR4d3bi29M.jph/MB/AJi', 2, 1, NULL, 'admin', 'tanabe@kamata.lib.teu.ac.jp', '2007-11-19 07:58:32.111941', 4) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 03:41:16.337474', '$2a$10$9O2VuTccN4gHq36ARg0QReSrb1D7WrBBhZZ759RM9moHbB0W5zCzS', 1, 2, NULL, 'librarian1', 'librarian1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:33.172441', 1) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', '$2a$10$JthS59A0BNkDOoFpCXM0V.GhhffKaoWKbzpPahYp/vTFrOyM7h/uW', 1, 3, NULL, 'user1', 'user1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:23.340575', '$2a$10$YmmTGrYQ1Ir6oc7wXnp.GuNeO1eYLoP3sv8wMSIrTdaGw2BPwRrpS', 1, 4, NULL, 'librarian2', '2008-01-18 03:24:04.222344', 1) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:44.711117', '$2a$10$i7UjJhLVrJM/J7qaTwW39OXw1NiwowUEbtNHVDV0sqMLjX9.UO9ca', 1, 5, NULL, 'user2', '2008-01-18 04:29:06.922728', 2) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 6, NULL, 'user3', 'user3@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 7, NULL, 'user4', 'user4@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_1@example.jp"], ["encrypted_password", "$2a$04$evGzCW667fhpru.s1BVm6e2u9vLmXmRR9kJyR/Orf.t8uLuAR1ryW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_1"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:09.388511' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Rendered /Users/kosuke/enju_message/app/views/message_requests/index.html.erb within layouts/application (2.2ms) Completed 200 OK in 49ms (Views: 12.8ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_1@example.jp"], ["encrypted_password", "$2a$04$8rMmPQ2J5mltKhj1TrCpGuWsTBIWHcOFMqSVALU104Xsz7sY2z26."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_1"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:09.457522' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_1@example.jp"], ["encrypted_password", "$2a$04$urcqA3ho.dtafvL.Pc61/eyMDea7GuxNw4J8X6To2AqWLxXU0Q4Xa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_1"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:09.475581' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 1.2ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "message_requests" WHERE ('t'='f') Processing by MessageRequestsController#index as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms  (0.1ms) SELECT COUNT(*) FROM "message_requests" WHERE ('t'='f') Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_2@example.jp"], ["encrypted_password", "$2a$04$AOs7kxifKusLf17cpoFZD.hvz/csRWc4VvGeh5xlYkmGAD3PNxvDG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_2"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:09.502722' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (29.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_2@example.jp"], ["encrypted_password", "$2a$04$M006387xFWBm.KxLNIb1CuEuO1T6nB2IcSpeaRuDNwne9XuVr9ACe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_2"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:09.539717' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_3@example.jp"], ["encrypted_password", "$2a$04$F37Y9zEcM1KZdlK2J7YBXutLUMaHtK2q0Eybk7SuEZ3bzHc7jB0Ii"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_3"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:09.557482' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_1' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_1"], ["created_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_1"], ["title", "message_template_1"], ["updated_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_1' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 7ms (Views: 1.5ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_2@example.jp"], ["encrypted_password", "$2a$04$95Dh21M7FBT6TLQ5RLPZdOhGO4HMFXovyeex1.duRoyPallGYP3BC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_2"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:09.594317' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_4@example.jp"], ["encrypted_password", "$2a$04$dVsnH4qjIXk0RiNGk8k20eunpU2oHtZNyHbm.ayx6SE977/pMXqYC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_4"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:09.602902' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_5@example.jp"], ["encrypted_password", "$2a$04$3H6o5j2vbzcHTuoMmpp./u5faEqjtQbnu5FFyxiSvZfk7XwZWdtpa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_5"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:09.610558' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_2' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_2"], ["created_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_2"], ["title", "message_template_2"], ["updated_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_2' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_6@example.jp"], ["encrypted_password", "$2a$04$z0DGDaxzFWKIFTnLVjKo8.kmOJIj45TItxQ/2pjm4LtgpcHP0ghP6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_6"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:09.635321' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_7@example.jp"], ["encrypted_password", "$2a$04$9rfpmLh0kIRTZYL36NqLDe4kgB7KVCbIhQHl./z9Id88NHHwFPTMO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_7"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:09.643661' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (31.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_8@example.jp"], ["encrypted_password", "$2a$04$QjjPzfFqqf0Zt032o8OFOuWwXMSrQQNRn4rpLWtkWNhtrhNBSto4G"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_8"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:09.682227' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_3' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_3"], ["created_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_3"], ["title", "message_template_3"], ["updated_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_3' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_9@example.jp"], ["encrypted_password", "$2a$04$vZDol5iViKz2Rf4iBVNy4eruCQsDCYW5bjDaJYwUQjqZlJa9pcXvK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_9"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:09.706546' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_10@example.jp"], ["encrypted_password", "$2a$04$9yXmi2DQ831kwG56fujAMuZgbbjpBildDAzlYdcVNkAe6fxLXohQm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_10"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:09.715023' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_4' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_4"], ["created_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_4"], ["title", "message_template_4"], ["updated_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_4' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_3@example.jp"], ["encrypted_password", "$2a$04$yyyNOarpTgmS3FFNGTvX7.QIWftCa.1B7Wre/VlDPprEFbNahvK4O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_3"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:09.737974' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_11@example.jp"], ["encrypted_password", "$2a$04$esCQkikg2var7kzVB.4/4.fJp9FOuuZ9CkwYKKYkZRG4fvakvtz.y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_11"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:09.747660' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_12@example.jp"], ["encrypted_password", "$2a$04$vT8v4VTrPD8qfFJ1nJXwdeCXGAysBoEMDmgRi5H93DfcGfvzPW7l."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_12"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:09.756717' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_5' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_5"], ["created_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_5"], ["title", "message_template_5"], ["updated_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_5' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 13ms (Views: 2.6ms | ActiveRecord: 0.7ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_3@example.jp"], ["encrypted_password", "$2a$04$fd/04udmq1fK/5mRhrYf1etjcd0nC/Z2manyilB3YU0/uyC5/e/sW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_3"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:09.797535' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_13@example.jp"], ["encrypted_password", "$2a$04$.mv8lLwrnZ9eKNA/pekRmu.nLn.XLuB.mA/ewtW7vMuPIoWvY8.6i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_13"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:09.810505' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_14@example.jp"], ["encrypted_password", "$2a$04$pEvnWVbJsdKsS1X44G8kM.1DbAGryJWdOaoMr936B6K2GLBkr1/YW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_14"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:09.822984' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (1.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_6' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_6"], ["created_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_6"], ["title", "message_template_6"], ["updated_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_6' AND "message_templates"."id" != 9) LIMIT 1 SQL (1.0ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 10ms (Views: 1.4ms | ActiveRecord: 0.7ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_15@example.jp"], ["encrypted_password", "$2a$04$ZGcDuQeqYl8sYZre9umE2eZBMiEPTlYH9hHi4ZS/u7OjZWlWzzTri"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_15"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:09.919800' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_16@example.jp"], ["encrypted_password", "$2a$04$0NjnFRQP5RoACTFzgGGLp.G1U46L/nOCQe6fRVN.idKu3VPUb4DFy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_16"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:09.933937' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_17@example.jp"], ["encrypted_password", "$2a$04$qytE09CkH0PiobaTlcvFDO3QET64xuQhbrArTPoEvuRBUBzr42K0O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_17"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:09.947826' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_7' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_7"], ["created_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_7"], ["title", "message_template_7"], ["updated_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_7' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_18@example.jp"], ["encrypted_password", "$2a$04$TBH1UhzR/4Jcbc8JMLXzMuZ1KErgloRO3kr.rzZAve0ScsO8jJxbq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_18"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:09 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:09.989421' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (2.7ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_19@example.jp"], ["encrypted_password", "$2a$04$IBOo5tAhmAmvkHRpk.E0FOk/yVl2eIfS9Rbwfff2z0kuavGC3IcKe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_19"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:10.005608' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.9ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_8' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_8"], ["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_8"], ["title", "message_template_8"], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_8' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_20@example.jp"], ["encrypted_password", "$2a$04$L.41xnZ06K96UWejbHSKpeOgJ2tXe4QeQsq9KjmUZK7Z80FlwIZuC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_20"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:10.045311' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_21@example.jp"], ["encrypted_password", "$2a$04$Bp/Bgo/YPUrPKzLtuO4gFePKMr2mcqfHyShKauOkIyboAxEPFgYv2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_21"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["user_id", 9]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:10.058426' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_9' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_9"], ["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_9"], ["title", "message_template_9"], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_9' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_22@example.jp"], ["encrypted_password", "$2a$04$ToqAV8.0UfDB53uTfDiC6e/ABAi8Nqt5fJby1H327DJnWrkaUf7l2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_22"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:10.083860' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_23@example.jp"], ["encrypted_password", "$2a$04$R7yuLOalmHGzDvuYPT/KA.JmKTtudnAY6ySoMMAo.TlhB4R4wlOOO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_23"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:10.097323' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_10' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_10"], ["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_10"], ["title", "message_template_10"], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_4@example.jp"], ["encrypted_password", "$2a$04$nP2puvay1ZDcyqtBAOrV5uI8OnZNW1fwAxuKyrJfexHq3L/vPcJQW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_4"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:10.113507' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_10' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 10, "receiver_id" = 11, "message_template_id" = 10, "updated_at" = '2011-12-16 03:51:10.180570' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 68ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_24@example.jp"], ["encrypted_password", "$2a$04$LsXvy8AQtnW9Yr2VkAr2jOS6gmpBz7AuWnOV0o19EqidAAw8/yBve"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_24"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:10.200982' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_25@example.jp"], ["encrypted_password", "$2a$04$xUgCnmxWW5vkzV2tbHkAbeJPhDFqoVyAnHhZeS2u6S3tBs9UKhvBa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_25"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:10.215563' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_11' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_11"], ["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_11"], ["title", "message_template_11"], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_11' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_26@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_26@example.jp"], ["encrypted_password", "$2a$04$3A1tBaMkmpUERRWIGg87XucpXOQOdgPQbCOD94eplXn3Yi6.I6lFC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_26"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:10.244390' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_27@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_27@example.jp"], ["encrypted_password", "$2a$04$W8upucBRQwEXjh5Iz1fITepFZKUD8KZYETSuBAfxAzKe6fxh6DvC2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_27"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:10.259688' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_12' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_12"], ["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_12"], ["title", "message_template_12"], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_5@example.jp"], ["encrypted_password", "$2a$04$6ZxaEzl4/.rppEjoI5/bJONNxDWCNo5t5JA0ZyK6ZcTyC0SPuZJgi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_5"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:10.277745' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_12' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 10, "receiver_id" = 11, "message_template_id" = 10, "updated_at" = '2011-12-16 03:51:10.299841' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 18ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_28@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_28@example.jp"], ["encrypted_password", "$2a$04$wW7aWemv581RC.LqGNWhVeANksnYMHniLfZV76hp5MuOLxno51/hC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_28"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:10.319074' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_29@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_29@example.jp"], ["encrypted_password", "$2a$04$I0CcwMMhU5AtwmiF5ayi2./wH5brr86/oULVNkGo2iKEMHEAYBUXW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_29"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:10.333069' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_13' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_13"], ["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_13"], ["title", "message_template_13"], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_13' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.9ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_30@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_30@example.jp"], ["encrypted_password", "$2a$04$vvGSrmfA5VDmGv/kXbqJLed5QhobZkaP2J1HRlUMpbafSHejEvjea"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_30"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:10.360223' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_31@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_31@example.jp"], ["encrypted_password", "$2a$04$Be67SHEhkYjQkLbLHah0BeWByL2dMLcfWwDxvYzsj83fGj4IzcSfG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_31"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:10.374010' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_14' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_14"], ["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_14"], ["title", "message_template_14"], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_6@example.jp"], ["encrypted_password", "$2a$04$GhBedVGZAtjr.vqo7o2JtebqdYxuqVATB6O.2re605ZnmAeLXccj6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_6"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:10.391358' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_13' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 66ms (Views: 1.3ms | ActiveRecord: 1.0ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_32@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_32@example.jp"], ["encrypted_password", "$2a$04$Ob95FPQfL8HzTV2crFu4GOepRKMHnXx67USiWekq/UO/FS1FAdksu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_32"]] SQL (0.9ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:10.478704' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_33@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_33@example.jp"], ["encrypted_password", "$2a$04$oi2Rj/Nb9mi8ALg.ea0JhuF2CmKQgAlAQdT4CTYhjqtUxaIAzdFoO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_33"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:10.492241' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_15' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_15"], ["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_15"], ["title", "message_template_15"], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_15' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_34@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_34@example.jp"], ["encrypted_password", "$2a$04$zb6NV5lzUk7jO97FCBUYi.RVxXlz80pWbiUGo5FLURdR3ztjjOPM."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_34"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:10.516479' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_35@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_35@example.jp"], ["encrypted_password", "$2a$04$TSP8pxkZTF4c/mxtOnsCUuibRHvrIKOWRqhZZMNPkI45l4z2iqZRu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_35"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:10.530651' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_16' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_16"], ["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_16"], ["title", "message_template_16"], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_4@example.jp"], ["encrypted_password", "$2a$04$S99bpbQPcC8u7Klgb/v8seNHXu/WMpirFID/waXdmBt.YibDVF/8a"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_4"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:10.547235' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_16' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 10, "receiver_id" = 11, "message_template_id" = 10, "updated_at" = '2011-12-16 03:51:10.563719' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 16ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_36@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_36@example.jp"], ["encrypted_password", "$2a$04$xxDOgwk0WuIrKMu//eosueNCn8.fDhvVTNsOOqLckcrD322ujeF9W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_36"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:10.581389' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_37@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_37@example.jp"], ["encrypted_password", "$2a$04$5p/wCNe9IA89bHxFOSntxea7d6paqsdR5m88jPsgT0./revIGk4HG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_37"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:10.595719' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_17' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_17"], ["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_17"], ["title", "message_template_17"], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_17' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_38@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_38@example.jp"], ["encrypted_password", "$2a$04$8srLgHXLe1TMjMZs1t9TU.R1XB9lDaLjjFez8YoovOyGQQ.BGAsXu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_38"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:10.620766' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_39@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_39@example.jp"], ["encrypted_password", "$2a$04$alcB4pM63zhgBatlNWmEYeMWGuOzHfjyCFCpJIFPLifIoEnTYlvx."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_39"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:10.635518' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_18' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_18"], ["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_18"], ["title", "message_template_18"], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_5@example.jp"], ["encrypted_password", "$2a$04$U9Qqt3psOF53l8NTglUEQOeodFmVEVq787jRgt7nLq2tdFNpQbFu2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_5"]] SQL (58.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:10.711168' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_18' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 10, "receiver_id" = 11, "message_template_id" = 10, "updated_at" = '2011-12-16 03:51:10.729820' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 18ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_40@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_40@example.jp"], ["encrypted_password", "$2a$04$tITVDCTeIPyM4.v67wYhPOQiJXUZARydfM4NU4T4BBXxnKEnKIPB6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_40"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:10.761097' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_41@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_41@example.jp"], ["encrypted_password", "$2a$04$XpQBv8pbK6PYmwqMZXPs1eySAUlUtI1KrsPrvYCbvAQpM5XH6g/1u"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_41"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["user_id", 9]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:10.776117' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_19' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_19"], ["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_19"], ["title", "message_template_19"], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_19' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_42@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_42@example.jp"], ["encrypted_password", "$2a$04$C./8fviZ2WytjUDkslSu1.dKGIj0thPJ5kZlBxErAFk3PWLEiC8CW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_42"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:10.804759' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_43@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_43@example.jp"], ["encrypted_password", "$2a$04$dyzLbSplp7tV7VKYsR4QZumOEqyPCk7nm09vyQQ6wSNKEXz.3tiGK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_43"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:10.817206' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_20' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_20"], ["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_20"], ["title", "message_template_20"], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_6@example.jp"], ["encrypted_password", "$2a$04$LwqEVEB4swcfrcT9zrH0qOger91eb/LpKRcbru.fJ/1rZ30qbX0uC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_6"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:10.833402' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_19' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 18ms (Views: 1.3ms | ActiveRecord: 1.1ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_44@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_44@example.jp"], ["encrypted_password", "$2a$04$b759KEN3sMQrQdDP9bSOvuNxQq/b5eVrRM9SviD4RlrYQv0q7z57S"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_44"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:10.875002' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_45@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_45@example.jp"], ["encrypted_password", "$2a$04$2fpTCJmY2lif1Ps7fr436O0KYcQMy5Mty2wGwLgTYRmQbMK545NeO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_45"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:10.889568' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_21' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_21"], ["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_21"], ["title", "message_template_21"], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_21' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_46@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_46@example.jp"], ["encrypted_password", "$2a$04$Ldab0z2uPS8vrygrX/VJ.uOt/a1QTNxzI/bj4mcic6IL0A/XQlGcO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_46"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["user_id", 10]]  (0.9ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:10.916170' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_47@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_47@example.jp"], ["encrypted_password", "$2a$04$dMNvFtx2sHBGW0CM9zzqIuNURPZ4EHYrvnLXoDv.jWG50y.gLz2G2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_47"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:10.929808' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_22' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_22"], ["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_22"], ["title", "message_template_22"], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_48@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (53.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_48@example.jp"], ["encrypted_password", "$2a$04$sEzLXnk0ipS6O9grhblDl.L9tU92CjKxikZ.JFZSQHGucMuIJIRO."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_48"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:10 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:10.998860' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_49@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (5.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_49@example.jp"], ["encrypted_password", "$2a$04$Qr913OpK6z1YvsPo1WA2fe0C2G8EQ0uZOqdxRaKeob3Q9TyH5KVhm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_49"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:11.032894' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_50@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_50@example.jp"], ["encrypted_password", "$2a$04$0vT1D6W/Os0K5QpaUqB1Ju0yJBBpboNW4PybQ8Yc0HZPufujJWyzu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_50"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:11.054315' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_23' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_23"], ["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_23"], ["title", "message_template_23"], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_23' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_51@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_51@example.jp"], ["encrypted_password", "$2a$04$Oe2kEcgxnvZU/M51HxEWF.2hWkYFVn3Y8rT14bDBo5YLhLUs5Tp8."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_51"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:11.081124' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_52@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_52@example.jp"], ["encrypted_password", "$2a$04$ljq3fBBiXU1QN8fFJRKbF.LzX4m3XJIjPmLFvIbU6owIKcUgCHxPS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_52"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:11.096702' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_24' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_24"], ["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_24"], ["title", "message_template_24"], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_53@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_53@example.jp"], ["encrypted_password", "$2a$04$usGJ7XTydp4VlQK/d9dZ2.vXMCJPsrVUS0OWa4EtTy8i.txSSlYDu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_53"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:11.113830' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_54@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_54@example.jp"], ["encrypted_password", "$2a$04$Y69UTjBuEiCpJY7Z4KfETu9m0HIO.ThE4GPisKpgHuolQMO/Ji9yu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_54"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:11.148553' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_55@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_55@example.jp"], ["encrypted_password", "$2a$04$sFWHr3LNcehoc84Sgye8me1TEaNRMiTHTsj4wBhnA3l/V3AOZcufK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_55"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:11.162740' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.2ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_25' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_25"], ["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_25"], ["title", "message_template_25"], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_25' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_56@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_56@example.jp"], ["encrypted_password", "$2a$04$GGWqxxugbuXKTA3xvoUY6OvzeZ.2Rc2Qxh01xIMyCsVE9kt8rKBFu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_56"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:11.187245' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_57@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_57@example.jp"], ["encrypted_password", "$2a$04$CU1ofJaY7sqquBQ9IwD8LuCshxiVzfzZ8X02mlX3qWjlFi2G7mLD."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_57"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:11.199455' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_26' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_26"], ["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_26"], ["title", "message_template_26"], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_58@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (61.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_58@example.jp"], ["encrypted_password", "$2a$04$q1H414zkjuv5gmvkweLw4uYbSnlHrMpvwb4x3bVrtAzV6s4/4hTXa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_58"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:11.276364' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_59@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_59@example.jp"], ["encrypted_password", "$2a$04$f3zi49PCWPPwE0WQufqEyOCpIu8bWdhoz.B7GjStSK4bVQzzt/24O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_59"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:11.305990' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_60@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_60@example.jp"], ["encrypted_password", "$2a$04$PD6wiJy//dubQ2M3wnm0A.SarykOjvz5ensHjJEC1PM4nT3PewhhW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_60"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:11.320260' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_27' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_27"], ["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_27"], ["title", "message_template_27"], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_27' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_61@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_61@example.jp"], ["encrypted_password", "$2a$04$R2s1xMgZIhtwPhI8g2nw3O3M1E1JI8HwH2D26Okz2tm9VlBQ3xosm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_61"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:11.347270' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_62@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_62@example.jp"], ["encrypted_password", "$2a$04$ePyNJemI1nnRtlAM3sbR7u1znI4QN5wYvHY4sBJrBv0G8udJqKyw6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_62"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:11.360025' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_28' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_28"], ["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_28"], ["title", "message_template_28"], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_63@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_63@example.jp"], ["encrypted_password", "$2a$04$oXs5X6LHecyjbO2cw64y9OW2093xSHH8NrE/2Vpo9wsMNuY4xlxXW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_63"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:11.394366' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_64@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_64@example.jp"], ["encrypted_password", "$2a$04$aw020uAPiXbYfrQhYv75jeqFepGTFk.g1UobLsxqKeRRDyjM5WJYS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_64"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:11.412167' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.6ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_29' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_29"], ["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_29"], ["title", "message_template_29"], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_29' AND "message_templates"."id" != 9) LIMIT 1 SQL (1.2ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_65@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_65@example.jp"], ["encrypted_password", "$2a$04$4/vGrJMW1Es82pBKNyl.LOJ5sgNylqoGqNCPMDnqgcvTs74Rrpq.O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_65"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:11.447804' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_66@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_66@example.jp"], ["encrypted_password", "$2a$04$T/bfc6ugIBu5eDRcmjEx9.09oZDqmx/4fbwFIPGLJOVy8eQIjvZam"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_66"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:11.469330' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_30' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_30"], ["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_30"], ["title", "message_template_30"], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.2ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_67@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_67@example.jp"], ["encrypted_password", "$2a$04$6Z34V8cqD1cbR859Ltf90.MJ67GK6RDhPsOrhPb0bB3CZ.b.wU3fq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_67"]] SQL (59.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:11.563343' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_68@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_68@example.jp"], ["encrypted_password", "$2a$04$Qs7KpmlMT/KHs9V/0j1C/.K4cPtQcDEM9cgJq4gAw8UsRwKfJBXWW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_68"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["user_id", 9]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:11.576778' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.4ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_31' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_31"], ["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_31"], ["title", "message_template_31"], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_31' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_69@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_69@example.jp"], ["encrypted_password", "$2a$04$beeFYsQZNsqN8en.naGOFehfuo4U/os16XgxLWTcnd7BXaUNvWqxG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_69"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:11.601711' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_70@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_70@example.jp"], ["encrypted_password", "$2a$04$WqYAXJ/.Kt31x.8nwAhUtOxizVA5MpZL23RMvGf0h1Wr2j8.niDuK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_70"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:11.614669' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_32' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_32"], ["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_32"], ["title", "message_template_32"], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_71@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_71@example.jp"], ["encrypted_password", "$2a$04$9fj4Cju4U5aKKIEDO765geyRT/EgD2QHBd/AraNlnTklJ.akID3ta"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_71"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:11.645023' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_72@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_72@example.jp"], ["encrypted_password", "$2a$04$8cEQfBuQ4O5UWtG.LB2mYuwV7w8N13Q0qD1S1fhGw6U7fAK29wnpS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_72"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:11.658093' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_33' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_33"], ["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_33"], ["title", "message_template_33"], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_33' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_7@example.jp"], ["encrypted_password", "$2a$04$9jEzn9KONZN23Vk.NMEs1O2lsC/ZTM7rGuSanvh5X5ll/tjKlkIha"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_7"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:11.681224' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 10ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_73@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_73@example.jp"], ["encrypted_password", "$2a$04$11U5HGKf2KCFHguRGCAazefGvIGsdVMiUI98NNa/RaoKprbK3p9QO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_73"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:11.710196' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_74@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_74@example.jp"], ["encrypted_password", "$2a$04$l9Dtu6IyIod.iI4fugt4KeqkpgSQseoDxI4tTf6XICbUURaayWTSu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_74"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:11.723302' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_34' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_34"], ["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_34"], ["title", "message_template_34"], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_34' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_8@example.jp"], ["encrypted_password", "$2a$04$z.JXkQbDpMRkFEJpFwr/..At49DhHi2hP62k6txKyFUM/GpiUETT6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_8"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:11.748479' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 13ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_75@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_75@example.jp"], ["encrypted_password", "$2a$04$smJkrc6AJ4w3OIV1gmcchujngHR3P/cvSb.hTk7btylWj60ehf4Be"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_75"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:11.840781' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_76@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_76@example.jp"], ["encrypted_password", "$2a$04$ECtGrCRyzfdY5XeLqaxr9.S8a5f0y8eCLZ1RF13tw72GlU.DkQ/lu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_76"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:11.854673' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_35' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_35"], ["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_35"], ["title", "message_template_35"], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_35' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_7@example.jp"], ["encrypted_password", "$2a$04$Ei5/OWw2nDe1zwalcDS0KOqCY12w7Np5mxaG7jJtYKBmhbx0Lr7tS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_7"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:11.878967' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 11ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_77@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_77@example.jp"], ["encrypted_password", "$2a$04$oYYlyUgxiqznzPpF5TnEIebeGf2TfQcbZOIGeIxidMNPHraTgzaOq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_77"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:11.913083' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_78@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_78@example.jp"], ["encrypted_password", "$2a$04$vZ66i9e74qmHBmjvKGART.00HOkb25geczMlVGQ.nW3tg/djKqyAa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_78"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:11.926379' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_36' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_36"], ["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_36"], ["title", "message_template_36"], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_36' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_8@example.jp"], ["encrypted_password", "$2a$04$gWAoqTF638ST.6RvkPhNh.3CUBOEGRSuL0BYb5W2W99qgDdlf3yd."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_8"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:11.949544' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 9ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_79@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (5.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_79@example.jp"], ["encrypted_password", "$2a$04$PXhCrq48BS7gi598IzcHKeJx/Zsv3RUJ6zRl1aHwNh3/nr6R9/JQm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_79"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:11.980663' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_80@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_80@example.jp"], ["encrypted_password", "$2a$04$cyh59w92MWZVNPNCBaWdrul3d76YKgKqLGiEIEG9k7gwuxC6X03jy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_80"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:11.995649' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_37' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_37"], ["created_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_37"], ["title", "message_template_37"], ["updated_at", Fri, 16 Dec 2011 03:51:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_37' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_81@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_81@example.jp"], ["encrypted_password", "$2a$04$DTiMj9CstkFQytF/zLXhf.1NyfEt5Fz0/GdvF5SuVOLBQ6/qBAoai"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_81"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:12.020918' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_82@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (56.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_82@example.jp"], ["encrypted_password", "$2a$04$LXT0UG3yH1nwniGF4Elg1.1Y579s8mDKRSRbfPQXF89bWKAIexfrq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_82"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:12.107827' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_83@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_83@example.jp"], ["encrypted_password", "$2a$04$XuhmFdXhmcFCm2nGh/QKN.7xdnGiQZLcn4r/ywG4QbXOoB5q28vkS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_83"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:12.123006' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_38' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_38"], ["created_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_38"], ["title", "message_template_38"], ["updated_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_38' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_84@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_84@example.jp"], ["encrypted_password", "$2a$04$u/JUrRkmRS/2Wjy14KBmv..B8XTzE.R6YLdZvTKjQ5/3T.4vl/fXi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_84"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:12.151417' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_85@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_85@example.jp"], ["encrypted_password", "$2a$04$D5momyjVy5ybGpM/VZ97kuWVr8aG4FwBumXDbDkI2VDDHt318drte"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_85"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:12.181431' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_86@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_86@example.jp"], ["encrypted_password", "$2a$04$ho.0j.yQQOTj43RrVCDNxeY5Fzjb3ZMntnNHUlatitBe.URhbW1RO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_86"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["user_id", 9]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:12.195085' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_39' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_39"], ["created_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_39"], ["title", "message_template_39"], ["updated_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_39' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_87@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_87@example.jp"], ["encrypted_password", "$2a$04$QXoqHmo.SCTn7fr5VD0cmeYg2kqCLtYTbCnccJEtkChGzAMj91ygC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_87"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:12.235716' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_88@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_88@example.jp"], ["encrypted_password", "$2a$04$MqhjuhQYw60wAjqkJkm6kubD2vqfjyo6bfKHxYiyPamMQLrZakNHq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_88"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:12.251016' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_40' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_40"], ["created_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_40"], ["title", "message_template_40"], ["updated_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (1.3ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_40' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 8ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_41' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_41"], ["created_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_41"], ["title", "message_template_41"], ["updated_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_9@example.jp"], ["encrypted_password", "$2a$04$hf.0EvyoSsu0H5l0Xn7xmOxq2Y.HVHSMXZmxn9zjqCeH0LzTf6y2q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_9"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:12.295717' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 14ms (Views: 5.7ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position LIMIT 10 OFFSET 0  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_42' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_42"], ["created_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_42"], ["title", "message_template_42"], ["updated_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (72.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_9@example.jp"], ["encrypted_password", "$2a$04$8ofq/Fnn38jhCzIku68XjeC/ytrerMbTIgmwpup/0pz/11wjTk74q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_9"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:12.410188' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 10ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position LIMIT 10 OFFSET 0  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_43' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_43"], ["created_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_43"], ["title", "message_template_43"], ["updated_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_89@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_89@example.jp"], ["encrypted_password", "$2a$04$L.BiDbiUQyf19mvudpG5ZOm7wjib/.6gmKszTeIfAfPBSBW40fU.a"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_89"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:12.446407' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.8ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "message_templates" WHERE ('t'='f')  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_44' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_44"], ["created_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_44"], ["title", "message_template_44"], ["updated_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms  (0.1ms) SELECT COUNT(*) FROM "message_templates" WHERE ('t'='f') Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_10@example.jp"], ["encrypted_password", "$2a$04$txkq9SwZ0hDkuCHgINeA9Oa9Wn1NBr9wzIQHx//MQwvR3NtbC5yZW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_10"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:12.507011' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_45' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_45"], ["created_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_45"], ["title", "message_template_45"], ["updated_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 12ms (Views: 4.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_10@example.jp"], ["encrypted_password", "$2a$04$G7bPyE9gsB081rZWPa8.degfm2Jmo5JwhX9K2Zb/laN19mtXlqOEe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_10"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:12.544955' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_46' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_46"], ["created_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_46"], ["title", "message_template_46"], ["updated_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 10ms (Views: 2.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_90@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_90@example.jp"], ["encrypted_password", "$2a$04$ACcvWszb1WETtxp4mINzmeC/E84pHkyPFFIOj.IZ7ggwmZs84hZR."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_90"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:12.578821' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_47' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_47"], ["created_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_47"], ["title", "message_template_47"], ["updated_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.5ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_48' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_48"], ["created_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_48"], ["title", "message_template_48"], ["updated_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_11@example.jp"], ["encrypted_password", "$2a$04$FiSrtBu0RR8o3MGG26Y0se8W3fEJ3y8/C35wLNuZjlkO7A5KIJjG."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_11"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:12.632752' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.6ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_11@example.jp"], ["encrypted_password", "$2a$04$q3l6GgTkjxvxE4g1oshQ0Otq0Vc2DX54AIG7Rvpr.v4VMTU68uNqm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_11"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:12.685316' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.7ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.2ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_91@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_91@example.jp"], ["encrypted_password", "$2a$04$JmQhoBJ23NS4eDjvICYSVO21vD4FTkaonyHU2hPeDrK8F0RRGYSWm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_91"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:12.781913' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Processing by MessageTemplatesController#new as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 5ms MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_12@example.jp"], ["encrypted_password", "$2a$04$zWgIjL0SiOMHbnw0YtNPgO9NVNJNwUdICP9fEPpVSvFPtOeZD2vKO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_12"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:12.829378' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_49' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_49"], ["created_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_49"], ["title", "message_template_49"], ["updated_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 13ms (Views: 4.8ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_12@example.jp"], ["encrypted_password", "$2a$04$MxdWD1/YlQASZgj9pBimx.r4n8bB/MquxMTApll82pk0NPPOOk2Ui"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_12"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:12.867147' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_50' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_50"], ["created_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_50"], ["title", "message_template_50"], ["updated_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.7ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 13ms (Views: 1.4ms | ActiveRecord: 1.0ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_92@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_92@example.jp"], ["encrypted_password", "$2a$04$p3jt2.hrhEuEbgXyz6r/henM.U4cQoDpQw.Vcs1ebhThUh07teRjS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_92"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:12.904044' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_51' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_51"], ["created_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_51"], ["title", "message_template_51"], ["updated_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_52' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_52"], ["created_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_52"], ["title", "message_template_52"], ["updated_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_13@example.jp"], ["encrypted_password", "$2a$04$gvuSOqVaeSgFZ96zIXDPh.YrPrEu6bWdHRGfQtfVBbP98q0z5/1OW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_13"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:12.960295' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_53", "status"=>"message_template_53", "body"=>"message_template_53"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_53' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_14@example.jp"], ["encrypted_password", "$2a$04$1XtXFr19G3vu3DGU2FPXAevARqj5GMqlENnd2AylfHlySjDUh0UDi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_14"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:51:12 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:12.994765' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_54", "status"=>"message_template_54", "body"=>"message_template_54"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_15@example.jp"], ["encrypted_password", "$2a$04$BIYmATJB0j/.Q5tOY6xcqux.KSL/7MyH9moIXOrCdg5Ie2o4eYpa2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_15"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:13.092463' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_16@example.jp"], ["encrypted_password", "$2a$04$VxjqMMs1aZqanpf1UGz8jucefD6oSnmcjABGT2W3CBoxZ3A.bF80W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_16"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:13.129245' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_13@example.jp"], ["encrypted_password", "$2a$04$gwXsz9HRjoDJbzyCR8iK.ejTch5gXNxrYGTbZPrimY74G8ZxzLDwm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_13"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:13.159909' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_57", "status"=>"message_template_57", "body"=>"message_template_57"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_57' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_14@example.jp"], ["encrypted_password", "$2a$04$Y53/fRW3f0D0maN8Bm6r4e4uLZR1GVs4hep4J3YBA92bBi6Q9nB5O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_14"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:13.195205' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_58", "status"=>"message_template_58", "body"=>"message_template_58"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 8ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_15@example.jp"], ["encrypted_password", "$2a$04$SIfXOc.jlLfss/uqwCBnheg8SElBGW8We6n2xUZyWdF4NRANY3u1C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_15"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:13.221296' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_16@example.jp"], ["encrypted_password", "$2a$04$kqYqFJOC6wjlI4IWYaEhRu3q0gStO5QOyBBSLrV2iCBchfY3eYP0a"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_16"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:13.251117' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_93@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_93@example.jp"], ["encrypted_password", "$2a$04$/QPlWHsegJ2A44OCp3bCreh6BSCTkMxM/6deAHifQIuKF/dAAKxNG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_93"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:13.283381' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_61", "status"=>"message_template_61", "body"=>"message_template_61"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 8ms (Views: 1.5ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_61' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_94@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_94@example.jp"], ["encrypted_password", "$2a$04$TuMPJHcFP6HTkKmm6BScre4hxyxzzbLPqsRlBENdR1pSc7CerI/c."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_94"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:13.374145' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_62", "status"=>"message_template_62", "body"=>"message_template_62"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 14ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_95@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_95@example.jp"], ["encrypted_password", "$2a$04$2dvYBa7rr7I11t5bazD99.ptz7cd7UwvUXFSIOFc5J0/M4sL16Vna"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_95"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:13.409618' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_96@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_96@example.jp"], ["encrypted_password", "$2a$04$f/ykijWu8sbD4OBMpWmUke3WW0yv59QK0SBdVnNCrwcukVA8tfbo."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_96"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:13.443885' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_65", "status"=>"message_template_65", "body"=>"message_template_65"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_65' LIMIT 1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_66", "status"=>"message_template_66", "body"=>"message_template_66"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 8ms Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 8ms MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_69' LIMIT 1 SQL (0.8ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_69"], ["created_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_69"], ["title", "message_template_69"], ["updated_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_17@example.jp"], ["encrypted_password", "$2a$04$j5lvCoEa/RHqgxA/6gdDeOfrqladZSVIo8XDcHJ4f5iol2qgLWssi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_17"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:13.530345' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_70", "status"=>"message_template_70", "body"=>"message_template_70"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_70' AND "message_templates"."id" != 9) LIMIT 1  (0.2ms) UPDATE "message_templates" SET "title" = 'message_template_70', "status" = 'message_template_70', "body" = 'message_template_70', "updated_at" = '2011-12-16 03:51:13.544026' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates/9 Completed 302 Found in 22ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_71' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_71"], ["created_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_71"], ["title", "message_template_71"], ["updated_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_18@example.jp"], ["encrypted_password", "$2a$04$8aeOSXp8g9DXdTSSF/vNJOi0DboMUOiSjcOPMNJz4FmA6XaUt8Qcq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_18"]] SQL (0.4ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:13.638304' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_72", "status"=>"message_template_72", "body"=>"message_template_72"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_72' AND "message_templates"."id" != 9) LIMIT 1  (0.1ms) UPDATE "message_templates" SET "title" = 'message_template_72', "status" = 'message_template_72', "body" = 'message_template_72', "updated_at" = '2011-12-16 03:51:13.652556' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates/9 Completed 302 Found in 13ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_73' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_73"], ["created_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_73"], ["title", "message_template_73"], ["updated_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_19@example.jp"], ["encrypted_password", "$2a$04$v3ecpqlahmFiAXCaBMbr1uNeogm5HKePUcnTdO44X93tb6tqM2/wC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_19"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:13.676221' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_74", "status"=>"message_template_74", "body"=>"message_template_74"}, "position"=>"2", "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "message_templates" SET "position" = 0, "updated_at" = '2011-12-16 03:51:13.688610' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "message_templates" SET position = (position - 1) WHERE "message_templates"."id" IN (SELECT "message_templates"."id" FROM "message_templates" WHERE (1 = 1 AND position > 9) ORDER BY position) SQL (0.2ms) UPDATE "message_templates" SET position = (position + 1) WHERE "message_templates"."id" IN (SELECT "message_templates"."id" FROM "message_templates" WHERE (1 = 1 AND position >= 2) ORDER BY position)  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "message_templates" SET "position" = 2, "updated_at" = '2011-12-16 03:51:13.690965' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates Completed 302 Found in 12ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_75' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_75"], ["created_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_75"], ["title", "message_template_75"], ["updated_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_20@example.jp"], ["encrypted_password", "$2a$04$VGoKf31hTOmipPHe7x4TQOuqW/2L0dcnopviqGeqLK.WHNgfJtD7O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_20"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:13.709548' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = '' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 11ms (Views: 0.7ms | ActiveRecord: 0.0ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_77' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_77"], ["created_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_77"], ["title", "message_template_77"], ["updated_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_17@example.jp"], ["encrypted_password", "$2a$04$0r/qNSsVEba/QGSrRDnMUO91jiInuJ3DiC7A7qZ15.zNLKHMTdruG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_17"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:13.736571' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_78", "status"=>"message_template_78", "body"=>"message_template_78"}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_79' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_79"], ["created_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_79"], ["title", "message_template_79"], ["updated_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_18@example.jp"], ["encrypted_password", "$2a$04$/gP2opirYbv3TuJTKKQ0IOBNtqkf2iWLFlA19Bj.g7UW1je.iN8V6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_18"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:13.757420' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_80", "status"=>"message_template_80", "body"=>"message_template_80"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_81' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_81"], ["created_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_81"], ["title", "message_template_81"], ["updated_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_19@example.jp"], ["encrypted_password", "$2a$04$K0WfygBB4U1WooKp4O8oHOHIthPE/LnEvAJXjTr2Z4mLfAISsymTa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_19"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:13.779035' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_83' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_83"], ["created_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_83"], ["title", "message_template_83"], ["updated_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_97@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_97@example.jp"], ["encrypted_password", "$2a$04$JFkS89Raf60VGEombxDA2emw.8YNpPI6y0s03mrwolnY/mKxl6fHW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_97"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:13.799568' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_84", "status"=>"message_template_84", "body"=>"message_template_84"}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 41ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_85' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_85"], ["created_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_85"], ["title", "message_template_85"], ["updated_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_98@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_98@example.jp"], ["encrypted_password", "$2a$04$lCqDqKdkENxjE8lln.Q3HO1WnynLTZwhrWjEDWx4Z7OUyTCmbPGyu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_98"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:13.854415' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_86", "status"=>"message_template_86", "body"=>"message_template_86"}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_87' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_87"], ["created_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_87"], ["title", "message_template_87"], ["updated_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_99@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_99@example.jp"], ["encrypted_password", "$2a$04$WqTYdeW4ytfUcAr5728vnujfWtl4DPBNis7elSqwMavGTxsMYkKzu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_99"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:13.874582' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_89' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_89"], ["created_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_89"], ["title", "message_template_89"], ["updated_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_90", "status"=>"message_template_90", "body"=>"message_template_90"}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_91' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_91"], ["created_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_91"], ["title", "message_template_91"], ["updated_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_92", "status"=>"message_template_92", "body"=>"message_template_92"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_93' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_93"], ["created_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_93"], ["title", "message_template_93"], ["updated_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_95' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_95"], ["created_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_95"], ["title", "message_template_95"], ["updated_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_21@example.jp"], ["encrypted_password", "$2a$04$jlJVnUgFeBC5ryWV1n3LfusrJSxcEdStmTfvo2bqIIwc7VTZ/d3NK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_21"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:13.924971' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_96' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_96"], ["created_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_96"], ["title", "message_template_96"], ["updated_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_22@example.jp"], ["encrypted_password", "$2a$04$oXxiVmCQlg.Cwx2fElR51.eCdOhFDLTQtAtDYBAWdIEs3OA8GUOH."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_22"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:13.944743' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_97' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_97"], ["created_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_97"], ["title", "message_template_97"], ["updated_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_20@example.jp"], ["encrypted_password", "$2a$04$/Y.dEqMHyys3RaVBpP1N9eexC4NERGbcsYg4KR/zLTGLkaNeXFVJ6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_20"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:13.966449' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_98' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_98"], ["created_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_98"], ["title", "message_template_98"], ["updated_at", Fri, 16 Dec 2011 03:51:13 UTC +00:00]]  (34.5ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_21@example.jp"], ["encrypted_password", "$2a$04$8yBlh9c6f7apbh/cTfILrO5fz4IMrDRR5.PvBT1Fhg4vQJIx3A5yW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_21"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:14 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:51:14 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:14.021240' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 1.0ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_99' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_99"], ["created_at", Fri, 16 Dec 2011 03:51:14 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_99"], ["title", "message_template_99"], ["updated_at", Fri, 16 Dec 2011 03:51:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_100@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_100@example.jp"], ["encrypted_password", "$2a$04$LGV/VrSAdf76weDan7qO1Ol6tckodkTx70okRkR91IGUEydbN60fe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_100"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:14 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:14 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:14.041244' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_100' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_100"], ["created_at", Fri, 16 Dec 2011 03:51:14 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_100"], ["title", "message_template_100"], ["updated_at", Fri, 16 Dec 2011 03:51:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_101@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_101@example.jp"], ["encrypted_password", "$2a$04$aJXSudzwC.WDfSH0CQCJgewsqLa68LsuHQjyjuXoIjK9/Ai7a0Zfa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_101"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:14 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:14 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:14.061153' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_101' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_101"], ["created_at", Fri, 16 Dec 2011 03:51:14 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_101"], ["title", "message_template_101"], ["updated_at", Fri, 16 Dec 2011 03:51:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_102' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_102"], ["created_at", Fri, 16 Dec 2011 03:51:14 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_102"], ["title", "message_template_102"], ["updated_at", Fri, 16 Dec 2011 03:51:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 3ms Role Load (0.3ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:16 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_23@example.jp"], ["encrypted_password", "$2a$04$bqv.DQUZsZClnwwFNmZn/OLxc6KQvT81TRfe2AoGAJuHW8vvWgB.S"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:16 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_23"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:16 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:51:16 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:16.265633' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 SOLR Request (48.7ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A8&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (19.2ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A8&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 98ms (Views: 7.9ms | ActiveRecord: 0.3ms | Solr: 67.9ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (67.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:16 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_24@example.jp"], ["encrypted_password", "$2a$04$Jf2fFjsydfazf4/wD9v3GOXy/t6qI9D4lMSIt1TM3KrfpwwpXt9S2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:16 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_24"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:16 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:51:16 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:16.470073' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML Parameters: {"user_id"=>"admin_24"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'admin_24' LIMIT 1 SOLR Request (7.3ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A8&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (9.0ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A8&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 27ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 16.3ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:16 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_22@example.jp"], ["encrypted_password", "$2a$04$b/I1/vSjcOoalShwpZSyEulT1mLbCa0LUbx/4/ci8QTvyW/cimozO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:16 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_22"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:16 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:51:16 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:16.523445' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 SOLR Request (4.6ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A8&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (4.4ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A8&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 20ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 9.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:16 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_23@example.jp"], ["encrypted_password", "$2a$04$8ZrG4p7fdchehmiTW4ljqOTj78ZqqhTBnG21HESmvTXnIUqWsAdNO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:16 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_23"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:16 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:51:16 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:16.564566' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML Parameters: {"user_id"=>"librarian_23"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'librarian_23' LIMIT 1 SOLR Request (8.5ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A8&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (10.0ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A8&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 28ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 18.5ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 SOLR Request (9.0ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (4.0ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 23ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 12.9ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML Parameters: {"query"=>"you"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 SOLR Request (25.6ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&q=you&fl=%2A+score&qf=body_text+subject_text&defType=dismax&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (4.7ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&q=you&fl=%2A+score&qf=body_text+subject_text&defType=dismax&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 40ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 30.3ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 SOLR Request (7.2ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (12.2ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 29ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 19.5ms) Processing by MessagesController#index as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 5ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 99ms (Views: 3.8ms | ActiveRecord: 0.7ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 403 Forbidden in 14ms (Views: 1.2ms | ActiveRecord: 0.5ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#show as HTML Parameters: {"id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 3 AND "messages"."id" = ? LIMIT 1 [["id", "2"]]  (0.0ms) SAVEPOINT active_record_1  (0.3ms) UPDATE "messages" SET "read_at" = '2011-12-16 03:51:16.877860', "updated_at" = '2011-12-16 03:51:16.878300' WHERE "messages"."id" = 2 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1  (0.5ms) UPDATE "messages" SET "state" = 'read', "updated_at" = '2011-12-16 03:51:16.886758' WHERE "messages"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 34ms (Views: 5.7ms | ActiveRecord: 1.8ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 403 Forbidden in 14ms (Views: 1.3ms | ActiveRecord: 0.6ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:16 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_25@example.jp"], ["encrypted_password", "$2a$04$n/BF0nTiTr98WlurbPBKMu470goyiBPmNRawMjC7ZnfsqcpxrOxUC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:16 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_25"]] SQL (1.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:16 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:51:16 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:16.946017' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 Completed 200 OK in 66ms (Views: 55.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:17 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_24@example.jp"], ["encrypted_password", "$2a$04$hyGYj9wtATDCpmeMm/VPweGBq0DOOZgJMmXtsbaxeUZQu9ZxEJ7UW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:17 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_24"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:17 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:51:17 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:17.036816' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 Completed 200 OK in 11ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (1.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.3ms | ActiveRecord: 1.4ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.7ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML Parameters: {"parent_id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML Parameters: {"parent_id"=>"2"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Processing by MessagesController#new as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_26@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:17 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_26@example.jp"], ["encrypted_password", "$2a$04$.N.qJdgAQrd1I/gpFGxm0eoSmTB.g5bhITJDXvvi/2eYvFSg1H38K"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:17 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_26"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:17 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:51:17 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:17.152175' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 8 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 11ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:17 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_25@example.jp"], ["encrypted_password", "$2a$04$iK.H2K8NIdOCsVdBewKPeOJZbe5nbadm6Rd.oQWwER5XRwuxi0hDq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:17 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_25"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:17 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:51:17 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:17.181471' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 14ms (Views: 1.4ms | ActiveRecord: 0.5ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_102@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:17 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_102@example.jp"], ["encrypted_password", "$2a$04$XU8UA07dUojdJjJ/NUJKVumkGmu1psZg8S5cP7KL6yjgJW3g2Jmoe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:17 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_102"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:17 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:17 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:17.233805' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_103@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:17 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_103@example.jp"], ["encrypted_password", "$2a$04$Pl4NFHtq041UxIk9qAftZeR01LLZzVlh4Wl1e6hkVflMEPgQo/Dv2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:17 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_103"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:17 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:17 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:17.248449' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "user_102"]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_27@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:17 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_27@example.jp"], ["encrypted_password", "$2a$04$SKVJpEYgXhO.uJU.AnPYLuKaI/PsttFsqt2P7rQWrxPGwnMzmjDqe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:17 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_27"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:17 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:51:17 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:17.330051' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 13ms (Views: 1.2ms | ActiveRecord: 0.5ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_28@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:17 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_28@example.jp"], ["encrypted_password", "$2a$04$vsCSgnxMDGsYQkNcuDbFWOet1hReIa7nNtC/2HqJsjMyyt34w5692"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:17 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_28"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:17 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:51:17 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:17.364037' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (2.2ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 15ms (Views: 1.2ms | ActiveRecord: 2.7ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_29@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:17 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_29@example.jp"], ["encrypted_password", "$2a$04$3vY9eT3f0EbOlyOWK/LmEuq1wGdBMmA1xfL1NW0e5pq.O/373aZuC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:17 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_29"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:17 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:51:17 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:17.403146' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 13ms (Views: 1.2ms | ActiveRecord: 0.5ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_30@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:17 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_30@example.jp"], ["encrypted_password", "$2a$04$zH1ou1Egt11OIx8AD.pMcuHW6rcYlXmqxVG4RrgvBkrXHHE377Ajy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:17 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_30"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:17 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:51:17 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:17.437156' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 12ms (Views: 1.2ms | ActiveRecord: 0.5ms | Solr: 0.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test", "parent_id"=>"2"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "user2"]]  (0.1ms) SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "user2"]]  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 404 Not Found in 13ms (Views: 1.2ms | ActiveRecord: 0.6ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 13ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test", "parent_id"=>"2"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 9ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 64ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_104@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:17 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_104@example.jp"], ["encrypted_password", "$2a$04$WpPSo35fFSNTfSTwOkcAaOusLtkGjTQeKRph0weMzzl.enFIAK0Ca"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:17 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_104"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:17 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:17 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:17.645904' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_105@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:17 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_105@example.jp"], ["encrypted_password", "$2a$04$rI4ymRboTV85ZS1tByWAEudfYo4SDMFQZT9NJ/ZsHubvjkd6b0yUi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:17 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_105"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:17 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:17 UTC +00:00], ["user_id", 9]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:17.658742' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_104", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 13ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.5ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_106@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:17 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_106@example.jp"], ["encrypted_password", "$2a$04$AXatVQM0HB7KJoVRl7jcTeA/BDJI3Ie.6Amzw.v2ME.DYY13ZoAeG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:17 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_106"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:17 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:17 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:17.695392' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_107@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:17 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_107@example.jp"], ["encrypted_password", "$2a$04$DznzkWm77L/g7GTKdiOdRe4S5w7M.NKfqAa3HKjUUn7CM54AeV1Fe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:17 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_107"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:17 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:17 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:17.708627' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_106", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 10ms (Views: 1.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_108@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:17 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_108@example.jp"], ["encrypted_password", "$2a$04$J8GHZrs26UsPxsPX0Rc06euqNn1bhefF/GICa3cnxksIU1fxbSUS6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:17 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_108"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:17 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:17 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:17.748054' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.3ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_109@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:17 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_109@example.jp"], ["encrypted_password", "$2a$04$jzQ/Bf3fAlQYTI95K1MgAe0jGAiGFOyrW7HaT.yDnFF8/GQy0BGw."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:17 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_109"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:17 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:17 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:17.761278' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 10ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_110@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:17 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_110@example.jp"], ["encrypted_password", "$2a$04$vVnUt1hAvdyytkVAUiCyM.TQvvmv08Oja40ieohmmn7IzsbUdielm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:17 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_110"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:17 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:17 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:17.792152' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_111@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:17 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_111@example.jp"], ["encrypted_password", "$2a$04$OJR8SkKhLSzl69qoNB3mKOHzVUHzEgrzw8jwIQEsN/nLJztt1mHvm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:17 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_111"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:17 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:17 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:17.805145' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 10ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_112@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (58.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:17 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_112@example.jp"], ["encrypted_password", "$2a$04$J7nlAj7JQH8imYulnpbVjuYVmVGMV28ucdDy1hu.m6QiD.KSR3oQG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:17 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_112"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:17 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:17 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:17.892425' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_113@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:17 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_113@example.jp"], ["encrypted_password", "$2a$04$zjLpzg9o1JePF4PqY0nLa.3zI/7tF96E1/x2QaJidhAQ9Vwxi3Y6i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:17 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_113"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:17 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:17 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:17.906489' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_112", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.2ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_114@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:17 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_114@example.jp"], ["encrypted_password", "$2a$04$/PNeD8uXmNMbPeTnT8U1P.63jMtE6IZfHA/WyYVS1ZxPeazFFnvqa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:17 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_114"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:17 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:17 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:17.939792' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.3ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_115@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:17 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_115@example.jp"], ["encrypted_password", "$2a$04$xDPBUkQ6VbYq58uh6mAGpu4iTD0m/2jow83rHXN9iBK3OpYi2aPka"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:17 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_115"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:17 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:17 UTC +00:00], ["user_id", 9]]  (0.5ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:17.953284' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_114", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 14ms (Views: 1.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_116@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:17 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_116@example.jp"], ["encrypted_password", "$2a$04$4CE06am7u6/ewxR98clC6uB0uClHpa4ZdhfaX.SKAwH305Y//OsdC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:17 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_116"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:17 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:17 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:17.991156' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (2.9ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_117@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_117@example.jp"], ["encrypted_password", "$2a$04$cFGRrPsC0A6YCTt2ZhOWMOi6QmcJqPWvvnR.RVDWMzrux336j8Atu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_117"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:18 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:18 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:18.007759' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.1ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.2ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_118@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_118@example.jp"], ["encrypted_password", "$2a$04$sz8rqUz4OUBTe0oj7vEKwO5jOlMe13iv80o5HQNMYCneRDmr9pKTK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_118"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:18 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:18 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:18.040907' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_119@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_119@example.jp"], ["encrypted_password", "$2a$04$QIePqCEQHeGX8xAzpn.52.uUkhfrCnr65hpgEd0lbug6/WumIohFa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_119"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:18 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:18 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:18.053462' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_120@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_120@example.jp"], ["encrypted_password", "$2a$04$EqJCGiPq5z4mKCl0f6s1.Oqfe3eBCj6IG73kZNkqjywfzwyQtkSlu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_120"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:18 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:18 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:18.086359' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_121@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (73.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_121@example.jp"], ["encrypted_password", "$2a$04$PbQXHSOAjK/GecnBOPO/5OyECbJrWJWmVWuGTyUqFcPl/HmbEPyWu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_121"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:18 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:18 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:18.172173' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_122@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_122@example.jp"], ["encrypted_password", "$2a$04$9eKbAGVcpe.DKjNgbOz/IeRPesluH/sJT0GNV/3h7ik14a.ud0glC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_122"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:18 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:18 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:18.204342' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_123@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_123@example.jp"], ["encrypted_password", "$2a$04$QLqo8wSMBYIkb4KBYtfpYuiOhpEFXim9Evkk4HKI1xyND0gBXTfDy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_123"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:18 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:18 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:18.219411' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (3.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_124@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_124@example.jp"], ["encrypted_password", "$2a$04$G/UYo.S2HTU5kJ9sKni1zex/0bZr98zeMSetKuPgIyQgVU9YYk7I2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_124"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:18 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:18 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:18.251921' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_125@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_125@example.jp"], ["encrypted_password", "$2a$04$EsRsiSBB4WlnTxni7IMU7e0EzzGsPD/adFN6u.XOInluXmTKuSDqu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_125"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:18 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:18 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:18.268203' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_124", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_126@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_126@example.jp"], ["encrypted_password", "$2a$04$ypAzu8NHPHEcEANM.vHtnupqjDvuO6AkwsfIGltYe1zv.xb12xsKS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_126"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:18 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:18 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:18.302194' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_127@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_127@example.jp"], ["encrypted_password", "$2a$04$LEOWSKkWZSKJk9GMHlQqxeAXaO4AFFoW1yZFXGNCLNi6fq7ZYqS62"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_127"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:18 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:18 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:18.315470' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_126", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (2.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_128@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_128@example.jp"], ["encrypted_password", "$2a$04$uX9knvJLatxAqq48dhCshe7RzL3Mu5UzuFDBbJq1E18bMDzAim5oq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_128"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:18 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:18 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:18.352689' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_129@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_129@example.jp"], ["encrypted_password", "$2a$04$pU3c.nZkl43kV.WOfiCzbuoMMqAb.nFXL9f/TDfXmhob22AgwLRve"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_129"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:18 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:18 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:18.371448' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 2.1ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_130@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_130@example.jp"], ["encrypted_password", "$2a$04$Qa9UYmmku.rGg2sAq/3O4ubJ3oUubcrB0XdY9vavrtuPahHqxqKZ."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_130"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:18 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:18 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:18.460749' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_131@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_131@example.jp"], ["encrypted_password", "$2a$04$q7uv86uLoMQE/alDvQeh5u9dtGsgxzgaLlDyt2dhNZGz1H0.AJ/ry"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_131"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:18 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:18 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:18.474267' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_132@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_132@example.jp"], ["encrypted_password", "$2a$04$UFrvMVY1Z3K8w4zTiNkoQuul0dz25RlpV0GFfBtnyKCkGaOspASEq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_132"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:18 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:18 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:18.505151' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_133@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_133@example.jp"], ["encrypted_password", "$2a$04$lEOUwwFp7RebegP5PDbR/OO1EUaoMsiCv0O4HvJba84cZr6bcJ44C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:51:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_133"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:51:18 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:51:18 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:51:18.518605' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 8ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#destroy as HTML Parameters: {"id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 3 AND "messages"."id" = ? LIMIT 1 [["id", "2"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "messages" WHERE ("lft" > 3 AND "rgt" < 4) SQL (0.5ms) UPDATE "messages" SET "lft" = ("lft" - 2) WHERE "messages"."id" IN (SELECT "messages"."id" FROM "messages" WHERE ("lft" > 4) ORDER BY "lft") SQL (0.7ms) UPDATE "messages" SET "rgt" = ("rgt" - 2) WHERE "messages"."id" IN (SELECT "messages"."id" FROM "messages" WHERE ("rgt" > 4) ORDER BY "lft") SQL (0.2ms) DELETE FROM "messages" WHERE "messages"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/messages Completed 302 Found in 14ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Fixture Delete (0.3ms) DELETE FROM "message_requests" Fixture Insert (0.2ms) INSERT INTO "message_requests" ("sender_id", "receiver_id", "message_template_id", "state", "created_at", "updated_at", "id") VALUES (1, 1, 1, 'pending', '2011-12-16 03:53:20', '2011-12-16 03:53:20', 980190962) Fixture Insert (0.0ms) INSERT INTO "message_requests" ("sender_id", "receiver_id", "message_template_id", "state", "created_at", "updated_at", "id") VALUES (1, 1, 1, 'pending', '2011-12-16 03:53:20', '2011-12-16 03:53:20', 298486374) Fixture Delete (0.1ms) DELETE FROM "message_templates" Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (1, 'reservation_accepted', 'Reservation accepted', 'Reservation accepted', 1, '2011-12-16 03:53:20', '2011-12-16 03:53:20') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (2, 'item_received', 'Item received', 'Item received', 2, '2011-12-16 03:53:20', '2011-12-16 03:53:20') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (3, 'reservation_expired_for_patron', 'Reservation expired', 'Reservation expired', 3, '2011-12-16 03:53:20', '2011-12-16 03:53:20') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (4, 'reservation_expired_for_library', 'Reservation expired', 'Reservation expired', 4, '2011-12-16 03:53:20', '2011-12-16 03:53:20') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (5, 'reservation_canceled_for_patron', 'Reservation canceled', 'Reservation canceled', 5, '2011-12-16 03:53:20', '2011-12-16 03:53:20') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (6, 'reservation_canceled_for_library', 'Reservation canceled', 'Reservation canceled', 6, '2011-12-16 03:53:20', '2011-12-16 03:53:20') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (7, 'recall_item', 'Recall item', 'Recall item', 7, '2011-12-16 03:53:20', '2011-12-16 03:53:20') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (8, 'recall_overdue_item', 'Recall overdue item', 'Recall overdue item', 8, '2011-12-16 03:53:20', '2011-12-16 03:53:20') Fixture Delete (0.2ms) DELETE FROM "messages" Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "read_at", "state", "lft", "rgt", "updated_at") VALUES (1, 3, 4, 'First Message', 'Abby, you get the first message', '2007-07-04 12:10:47.000000', '2011-12-13 03:53:20.000000', 'unread', 1, 2, '2011-12-16 03:53:20') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (2, 4, 3, 'RE: First Message', 'Thanks Dad! You are the coolest!', '2011-12-14 03:53:20.000000', 'unread', 3, 4, '2011-12-16 03:53:20') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (3, 3, 4, 'Second Message', 'Catie, you get the 2nd message', '2011-12-15 03:53:20.000000', 'unread', 5, 6, '2011-12-16 03:53:20') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (6, 4, 5, 'Dad!', 'He is sucha dork.', '2011-12-14 03:53:20.000000', 'unread', 7, 8, '2011-12-16 03:53:20') Fixture Delete (0.1ms) DELETE FROM "roles" Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Guest', 'Guest', 1, NULL, '2011-12-16 03:53:20', '2011-12-16 03:53:20') Fixture Insert (0.0ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('User', 'User', 2, NULL, '2011-12-16 03:53:20', '2011-12-16 03:53:20') Fixture Insert (0.0ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Librarian', 'Librarian', 3, NULL, '2011-12-16 03:53:20', '2011-12-16 03:53:20') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Administrator', 'Administrator', 4, NULL, '2011-12-16 03:53:20', '2011-12-16 03:53:20') Fixture Delete (0.1ms) DELETE FROM "user_groups" Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('(not specified)', '(not specified)', '2007-12-13 12:00:51.564542', 1, '', '2007-12-13 12:00:01.674976', 1) Fixture Insert (0.0ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('User', 'User', '2007-12-22 18:14:56.836548', 2, '', '2007-12-22 18:14:40.173954', 2) Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('Faculty', 'Faculty', '2007-12-22 18:15:05.134351', 3, '', '2007-12-22 18:15:05.126457', 3) Fixture Delete (0.1ms) DELETE FROM "user_has_roles" Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (1, 4, '2011-12-16 03:53:20', '2011-12-16 03:53:20', 135138680) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (2, 3, '2011-12-16 03:53:20', '2011-12-16 03:53:20', 344583537) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (3, 2, '2011-12-16 03:53:20', '2011-12-16 03:53:20', 206669143) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (4, 3, '2011-12-16 03:53:20', '2011-12-16 03:53:20', 226540757) Fixture Insert (0.0ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (5, 2, '2011-12-16 03:53:20', '2011-12-16 03:53:20', 358143215) Fixture Insert (0.0ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (6, 2, '2011-12-16 03:53:20', '2011-12-16 03:53:20', 576709754) Fixture Insert (0.0ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (7, 2, '2011-12-16 03:53:20', '2011-12-16 03:53:20', 1010528733) Fixture Delete (0.2ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:16:30.163731', '$2a$10$vHohD1WflnTIqAa8zMkF9evwAgIZRw3XuR4d3bi29M.jph/MB/AJi', 2, 1, NULL, 'admin', 'tanabe@kamata.lib.teu.ac.jp', '2007-11-19 07:58:32.111941', 4) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 03:41:16.337474', '$2a$10$9O2VuTccN4gHq36ARg0QReSrb1D7WrBBhZZ759RM9moHbB0W5zCzS', 1, 2, NULL, 'librarian1', 'librarian1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:33.172441', 1) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', '$2a$10$JthS59A0BNkDOoFpCXM0V.GhhffKaoWKbzpPahYp/vTFrOyM7h/uW', 1, 3, NULL, 'user1', 'user1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:23.340575', '$2a$10$YmmTGrYQ1Ir6oc7wXnp.GuNeO1eYLoP3sv8wMSIrTdaGw2BPwRrpS', 1, 4, NULL, 'librarian2', '2008-01-18 03:24:04.222344', 1) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:44.711117', '$2a$10$i7UjJhLVrJM/J7qaTwW39OXw1NiwowUEbtNHVDV0sqMLjX9.UO9ca', 1, 5, NULL, 'user2', '2008-01-18 04:29:06.922728', 2) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 6, NULL, 'user3', 'user3@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 7, NULL, 'user4', 'user4@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_1@example.jp"], ["encrypted_password", "$2a$04$OjCyWrxRW1.jpQFrl.sm6uauSpWr8GW0PJiI.c0ZlJv041atd3c4i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_1"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:21.071575' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Rendered /Users/kosuke/enju_message/app/views/message_requests/index.html.erb within layouts/application (2.3ms) Completed 200 OK in 53ms (Views: 13.8ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_1@example.jp"], ["encrypted_password", "$2a$04$NjT.AZ9TvCY5xGaTAeopFeld4FNyGhDyiPJjdz2re9I9vs0myrZqS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_1"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:21.144940' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_1@example.jp"], ["encrypted_password", "$2a$04$7MHIPW.vSB1RkROY7mDgl.7zA210ihVgMjGanxQQOazgSCUOwpHpm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_1"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:21.164882' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 1.3ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "message_requests" WHERE ('t'='f') Processing by MessageRequestsController#index as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 8ms  (0.1ms) SELECT COUNT(*) FROM "message_requests" WHERE ('t'='f') Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_2@example.jp"], ["encrypted_password", "$2a$04$vzr87xEaBqcLQHVR/Yl66.6VyAEVf0j1Fh9ARi4ER3JnvcIBg8nX6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_2"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:21.194914' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (30.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_2@example.jp"], ["encrypted_password", "$2a$04$x18Alk9qCo6YteQCqj8Kt.QtWA1WiQwsWCdkDPEa8MSghzgQebp1K"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_2"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:21.233533' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_3@example.jp"], ["encrypted_password", "$2a$04$9wLbfH1BxAOtScpW3e2f3ez1WnwRKCEp1k0LaEwT4WSZy51mLKPZy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_3"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:21.249466' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_1' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_1"], ["created_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_1"], ["title", "message_template_1"], ["updated_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_1' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 7ms (Views: 1.6ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_2@example.jp"], ["encrypted_password", "$2a$04$iF1eFiqLlmUJ2vH.DX0kQuT4GL1pWqwpQKKCJ2.8AnNA1xwyfEtMS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_2"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:21.287216' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_4@example.jp"], ["encrypted_password", "$2a$04$fZiApyr8Q.kGPv6r69NsEuGMCwaZAvcswn1iybzNge1871sFN704u"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_4"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:21.299022' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_5@example.jp"], ["encrypted_password", "$2a$04$w2D5wHFuBZun2sC2Vu2je..f6hjpghV.EKto9ctRNdmbhQG1WMaV."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_5"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:21.307730' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_2' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_2"], ["created_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_2"], ["title", "message_template_2"], ["updated_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_2' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.6ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_6@example.jp"], ["encrypted_password", "$2a$04$5ilAtoup.tAKilQ/N2dMlON7pl7Q0YLCxoDzzSpm8qyw5jupV7psu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_6"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:21.342368' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_7@example.jp"], ["encrypted_password", "$2a$04$7NYFWmpoJzLr1JRhUgtC4ekzz03G.IDCLIj.gog44dVOvZP4TwVNO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_7"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["user_id", 9]]  (0.3ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:21.355303' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (50.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_8@example.jp"], ["encrypted_password", "$2a$04$O/RNN1lMajOUNl3PqNqmqe7pspxUbhjSuE4vnHqfL/Nrz0l4a7JKu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_8"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:21.419153' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_3' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_3"], ["created_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_3"], ["title", "message_template_3"], ["updated_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_3' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_9@example.jp"], ["encrypted_password", "$2a$04$FAJxBURaPzBya0XgAr04h.mMzD6iII9fz/jZH0wGdkBlINrgi98tG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_9"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:21.458373' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_10@example.jp"], ["encrypted_password", "$2a$04$iKnBmKnnsruj6WbVedbCru53B3pho16anZ8OfGRp2abU6hbMoiBGa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_10"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:21.473910' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_4' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_4"], ["created_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_4"], ["title", "message_template_4"], ["updated_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_4' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 8ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_3@example.jp"], ["encrypted_password", "$2a$04$nxLzhqiI1eXWkSsbgQv4FuzB7Tkd.hetDHI8quOUA5YR3yQgChCyO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_3"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:21.509764' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_11@example.jp"], ["encrypted_password", "$2a$04$SjBsN8qIu3Hj2vN8JsRrc.uyb7UgtnWuKTa/mKrgkI1/xbBlIMGKq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_11"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:21.523792' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_12@example.jp"], ["encrypted_password", "$2a$04$1EaGH5ADaeAcZw1DhkZ8.e0n/MCHMDrSsQ4GHlz6A5Bm8yp4IuxQ6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_12"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:21.539427' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_5' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_5"], ["created_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_5"], ["title", "message_template_5"], ["updated_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_5' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 13ms (Views: 3.1ms | ActiveRecord: 0.7ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_3@example.jp"], ["encrypted_password", "$2a$04$JiqRUUE.JLVPQtLBxvdtAuObESJ9mMOqZu5zZm5iskPIfbIQ1aDtG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_3"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:21.583742' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_13@example.jp"], ["encrypted_password", "$2a$04$59C9WIflcmAlu8LgEo2xn.A6O4BQB0EZzLryxZLrD3lFmrs30eiNC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_13"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:21.596835' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_14@example.jp"], ["encrypted_password", "$2a$04$iUJ4x/ZD1R3qs7NkBfpA8ODqWDSiyTqxetc7BPX9jVnmAL6Mc64pa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_14"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:21.608845' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (1.9ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_6' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_6"], ["created_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_6"], ["title", "message_template_6"], ["updated_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_6' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 10ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_15@example.jp"], ["encrypted_password", "$2a$04$KONj0GdxVl6jVNuIsmnf9uOmYJkdScgEmVIe/0dlYCIRNuzU7R046"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_15"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:21.714009' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_16@example.jp"], ["encrypted_password", "$2a$04$fUM9CuAFI/cRxQnrhV72/u0ZCA/71UEA41IpgCZH3djUhWS1lR52S"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_16"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:21.727314' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_17@example.jp"], ["encrypted_password", "$2a$04$yno6EwmL7FH1ybTwMbKKkeddIzOXuoVXyP4YQKZC0BbwgW1mBJ.QO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_17"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:21.739174' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_7' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_7"], ["created_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_7"], ["title", "message_template_7"], ["updated_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_7' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_18@example.jp"], ["encrypted_password", "$2a$04$LpVeQyoX4oWjqAB92/oleeNpomGwM1fK0v0xwZEGrPhEeGEsViHbW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_18"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:21.785895' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_19@example.jp"], ["encrypted_password", "$2a$04$egfc38nFIKOHrvK1t1Je1OZ93T3rWSeSyAFREr9RHmMmVDc7H.DiO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_19"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:21.799684' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_8' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_8"], ["created_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_8"], ["title", "message_template_8"], ["updated_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_8' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 8ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_20@example.jp"], ["encrypted_password", "$2a$04$RSD0t5BcpUHqNVZmlVv6su1d4ZE/qBluwo.kvv8MoL36.76JWzW46"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_20"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:21.838118' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_21@example.jp"], ["encrypted_password", "$2a$04$JnHLdUq5SavkwRF0qE2/mOkxILrE6pEH/zeBIL4BrNQ9fATSYRONK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_21"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:21.851269' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_9' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_9"], ["created_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_9"], ["title", "message_template_9"], ["updated_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_9' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_22@example.jp"], ["encrypted_password", "$2a$04$GLYRJzGT.MOhHeGwEhKO1.v7yLY44dc78.FxyiVjNnaSUTsQdscJy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_22"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:21.876906' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_23@example.jp"], ["encrypted_password", "$2a$04$KQ5.h7BTgEsr0VZEIpJ4CuYiGjbr4N9OX77vrrW2GxpIL7DfQAiA."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_23"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:21.889514' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_10' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_10"], ["created_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_10"], ["title", "message_template_10"], ["updated_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_4@example.jp"], ["encrypted_password", "$2a$04$Ex7QaeoPa9r0YhHC3t4lqORw/M/TbtUebzziXeTHquZo9r961VZ.m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_4"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:21.907414' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_10' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 10, "receiver_id" = 11, "message_template_id" = 10, "updated_at" = '2011-12-16 03:53:21.977010' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 71ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_24@example.jp"], ["encrypted_password", "$2a$04$e4MbWFrZsUpqpRIy/OpxKu4NFvNDKpZWbXqY6hcKFbmDt4Jq02jO6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_24"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:21 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:21.996476' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_25@example.jp"], ["encrypted_password", "$2a$04$b5CAC2ndotdtiS/YQGsIO.lM3cm.2Lo4Jts71ZWvAtQF3bq9CO46."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_25"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:22.010386' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_11' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_11"], ["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_11"], ["title", "message_template_11"], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_11' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.2ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_26@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_26@example.jp"], ["encrypted_password", "$2a$04$B6c6r/Q8RyIFoEsp4HQUjekRQvGu/D2ixPJr2zTUtj.zetYrT6hqy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_26"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:22.042474' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_27@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_27@example.jp"], ["encrypted_password", "$2a$04$kb.1wMzIiLwNIfe6qQ2nle7no1J3zzNzn.DrmXB9lMjqYiaEyBVje"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_27"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:22.056712' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_12' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_12"], ["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_12"], ["title", "message_template_12"], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_5@example.jp"], ["encrypted_password", "$2a$04$vKmFGJTNzufhB87RtXRPouZutouEo/nSJ8mxaq0PZcnCZ0ATQ2dta"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_5"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:22.073960' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_12' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 10, "receiver_id" = 11, "message_template_id" = 10, "updated_at" = '2011-12-16 03:53:22.099301' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 24ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_28@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_28@example.jp"], ["encrypted_password", "$2a$04$pWyz96PhYlm38p00.bXv0uAHGV1ksHwv8ShYROS5I01qXkPXMZ35K"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_28"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:22.119604' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (2.3ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_29@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_29@example.jp"], ["encrypted_password", "$2a$04$q5OY1g6y/dS/ogGy90RrZ.xmRL.2IF79NAL6SB0SUsFYa9GAfiFjG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_29"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:22.135264' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_13' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_13"], ["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_13"], ["title", "message_template_13"], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_13' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_30@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_30@example.jp"], ["encrypted_password", "$2a$04$NibVSOIeeUEsVCNvy3sNl.tHJUKhvMnz/VUaybvKZmGKaSgMxYWEe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_30"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:22.160155' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_31@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_31@example.jp"], ["encrypted_password", "$2a$04$lrNL1UMr0oYFtEL.YSg8YetsUbJS2aDJvrmZktj0nQsrtnVgWFXSW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_31"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:22.174865' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_14' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_14"], ["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_14"], ["title", "message_template_14"], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_6@example.jp"], ["encrypted_password", "$2a$04$hIw0vXizN2E2GqmYPheJgeOHe999YGbJFGd4GLFpISV9j71ciDQ2q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_6"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:22.191948' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_13' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 74ms (Views: 1.8ms | ActiveRecord: 1.1ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_32@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_32@example.jp"], ["encrypted_password", "$2a$04$NMaxzJ.sbiqlekZmC6ZY7eB2B5NeRcSicRYfORc/u8k2MS6MHraHi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_32"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:22.285512' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_33@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_33@example.jp"], ["encrypted_password", "$2a$04$jVXFUWb33/d43HHRKs9MKe2j0oV20D6PoJ1gmZWaOmzYI4PDIijie"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_33"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:22.299652' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_15' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_15"], ["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_15"], ["title", "message_template_15"], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_15' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_34@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_34@example.jp"], ["encrypted_password", "$2a$04$21e3Blc/IckFMVVhTO6vBuIzdBUtLtzkVTlcLZSU7lyh4QR172UHO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_34"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:22.330673' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_35@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_35@example.jp"], ["encrypted_password", "$2a$04$lYVhySIYWF9fkVRjBJc6Y.tP1nAFR..FyZOxJdJ/r5Z4oA9xHQkuG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_35"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:22.343026' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_16' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_16"], ["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_16"], ["title", "message_template_16"], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_4@example.jp"], ["encrypted_password", "$2a$04$RAanmExhtIFomb0zsrwEmePwQQBbX28oysXCMwNO4RwZkIf2nYyPC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_4"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:22.360680' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_16' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 10, "receiver_id" = 11, "message_template_id" = 10, "updated_at" = '2011-12-16 03:53:22.376718' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 16ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_36@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_36@example.jp"], ["encrypted_password", "$2a$04$XqlfNW07o2QMLh7avN/PR.XsIYA2KVVwa/3sW/ypHq5lEEXgSvxHG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_36"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:22.396269' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_37@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_37@example.jp"], ["encrypted_password", "$2a$04$9yOvigNCdhx45GwDou0aCO5LD5A4r5XelsR1Udb0VW/xUBkhqi1iO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_37"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:22.410484' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.2ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_17' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_17"], ["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_17"], ["title", "message_template_17"], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_17' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_38@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_38@example.jp"], ["encrypted_password", "$2a$04$HGc9lLim0znFGapM6Pknxun6sQ41USvv0Ahe05ALXzhnZguP47M1u"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_38"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:22.442857' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_39@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_39@example.jp"], ["encrypted_password", "$2a$04$CeElru4fUYwWl/oTrGNgv.SbKC5XgFuHo5jSbm2JPByRMxCNuAouS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_39"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:22.466359' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_18' LIMIT 1 SQL (2.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_18"], ["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_18"], ["title", "message_template_18"], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_5@example.jp"], ["encrypted_password", "$2a$04$FJ3L0xRasNRViOXSz/iaFeEsGpm9x.pmIHhZ1aI8BJ6aTD5mONSUC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_5"]] SQL (0.4ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:22.543839' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_18' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 10, "receiver_id" = 11, "message_template_id" = 10, "updated_at" = '2011-12-16 03:53:22.562329' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 18ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_40@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_40@example.jp"], ["encrypted_password", "$2a$04$Vpu4vpA/83ITeirhsyxQwO6TyeCZRvQux3tR7ivxcScfTwB3fS2bW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_40"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:22.583709' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_41@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_41@example.jp"], ["encrypted_password", "$2a$04$CsuPPQeQ/Q18VPHCg7ccYugFKpDiEBDtVEZqamlXvUi24JZQEs.c."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_41"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:22.596437' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_19' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_19"], ["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_19"], ["title", "message_template_19"], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_19' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_42@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_42@example.jp"], ["encrypted_password", "$2a$04$mKoWSXHbsA4Jnpo0yDT6Fuo21OALryqo.9UMZ7omnKMKV3pyf0Ise"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_42"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:22.619610' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_43@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_43@example.jp"], ["encrypted_password", "$2a$04$3f0m/5gzMxQn2eO66HeXOeY98corE16T4J5M5rvoe98wXVt/O8meG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_43"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["user_id", 11]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:22.633598' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_20' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_20"], ["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_20"], ["title", "message_template_20"], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (2.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_6@example.jp"], ["encrypted_password", "$2a$04$3qH/1Y27xQof..9USSc3wO5V1T1txQ0BiMSbr3.8E1BaTtHsxowrq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_6"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:22.654092' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_19' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 19ms (Views: 1.2ms | ActiveRecord: 1.0ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_44@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (5.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_44@example.jp"], ["encrypted_password", "$2a$04$21MK5YE6C0JtMJiuGpJAieK18G1DiCQxYP71U5cLx.8.cj43n71eO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_44"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:22.697181' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_45@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_45@example.jp"], ["encrypted_password", "$2a$04$x95H.QGzAandz/WBmvVBkeN6QCHiHUJo5/9PWtPjHxp6gQHG1kkNK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_45"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:22.709646' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_21' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_21"], ["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_21"], ["title", "message_template_21"], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_21' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.9ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_46@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_46@example.jp"], ["encrypted_password", "$2a$04$RyxgDma7M4ZsWOpOWoz05uETlhqSeYU12hiPVoWrU28tXbOFHCtlW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_46"]] SQL (0.4ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:22.736709' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_47@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_47@example.jp"], ["encrypted_password", "$2a$04$R3w.9rdorVm1.7tJuDRdKuqqjwyS5OsKLgMJ7Aq5QPFapvX0W4zii"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_47"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:22.751100' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_22' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_22"], ["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_22"], ["title", "message_template_22"], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_48@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (57.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_48@example.jp"], ["encrypted_password", "$2a$04$ljMOcCYXDEBYPfpL64PK0O8kGX9xNXBEUvp87uiX2Mti3GFqlZww2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_48"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["user_id", 12]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:22.828413' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_49@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_49@example.jp"], ["encrypted_password", "$2a$04$OHPuykIvnH96dm1g/KJ/l.t7DrEAQhf15GxxIRbEjCjXWSuQ6gGIW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_49"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:22.858979' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_50@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_50@example.jp"], ["encrypted_password", "$2a$04$fPzTJqIkNasfX1ucGOzxheRWXyvkyT4OxXcPwPn/Z40SSXjdZ5PIu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_50"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:22.873153' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_23' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_23"], ["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_23"], ["title", "message_template_23"], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_23' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.2ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_51@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (6.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_51@example.jp"], ["encrypted_password", "$2a$04$XjlUAnv/kH1rcZXisgDzj.rpzfgBLDdeW7.xMFcaZsjwy12oDEXh."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_51"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:22.910996' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_52@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_52@example.jp"], ["encrypted_password", "$2a$04$fCcVKTof6ak.AS0B400bhuGg.8gHjlKCxtWOdrZOpaHvHCyJcdRdu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_52"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["user_id", 11]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:22.928583' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_24' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_24"], ["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_24"], ["title", "message_template_24"], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_53@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_53@example.jp"], ["encrypted_password", "$2a$04$//YTgm/VQFtlaSlaaaxI5.ow7/dlGXIDNLiloQjtZfQMcEFS3KW2m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_53"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:22.945401' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_54@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_54@example.jp"], ["encrypted_password", "$2a$04$/MFDqoZwmJtvHlfvaYgEwuzdFN2AALfpKn1bcORAu4/IKrDEMxL3C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_54"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:22.978728' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_55@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_55@example.jp"], ["encrypted_password", "$2a$04$3tGDelU2P6QorNiqzTBPuO4x9d2Z15BkYsFKRspMqPXjvTEmkjk5i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_55"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:22.994135' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_25' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_25"], ["created_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_25"], ["title", "message_template_25"], ["updated_at", Fri, 16 Dec 2011 03:53:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_25' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_56@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_56@example.jp"], ["encrypted_password", "$2a$04$l2atHheXzcxHmGXz89aLvernxZ5FARDiTSz5S1X2PHYbnOPkqoQWy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_56"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["user_id", 10]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:23.027838' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_57@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_57@example.jp"], ["encrypted_password", "$2a$04$NN1BgJFaSvDQ16pUvFqHP.4fU2CSx4Uzjfo/uq6I.x9WPqdDKWH9."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_57"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:23.042355' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_26' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_26"], ["created_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_26"], ["title", "message_template_26"], ["updated_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_58@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (55.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_58@example.jp"], ["encrypted_password", "$2a$04$QbzeP3GW/MOLudwnhUE1rOpXw67Bs/c5EmhblbMrsKWg5hHKe1Usy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_58"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:23.112604' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 2.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_59@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_59@example.jp"], ["encrypted_password", "$2a$04$g8AHawkFvRLWg6ebmIrJnee4DQoGJbryOwKAGA51.7s9GFaUdH33a"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_59"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:23.151873' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.9ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_60@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_60@example.jp"], ["encrypted_password", "$2a$04$2UjLY5Z7NpqoABrAX6ev.e4SeK3s1EKWYqPWt/5inOOWYQAOwoLpe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_60"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:23.171295' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (1.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_27' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_27"], ["created_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_27"], ["title", "message_template_27"], ["updated_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_27' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_61@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_61@example.jp"], ["encrypted_password", "$2a$04$Z0sKKLvS5LX9G5Ae46YC2.8WeHnwiRvQwIr.apzfap99nRVc106Iu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_61"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:23.196282' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_62@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_62@example.jp"], ["encrypted_password", "$2a$04$TX23b9dAjbfKaoz4BmNcl.l3llYADXohsyrkz9AFIvip3A5lDF0Ie"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_62"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:23.209617' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_28' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_28"], ["created_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_28"], ["title", "message_template_28"], ["updated_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 13ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_63@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_63@example.jp"], ["encrypted_password", "$2a$04$ZTKvHdOE8wVlcOqMzbHHF.IzunkiBYvjn0OLFryKKV/GFkYyx4c9O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_63"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:23.250451' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_64@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_64@example.jp"], ["encrypted_password", "$2a$04$vQPqtWj7D9Y6.it.6O7HQOwfpTvZ9e2gIleJVTS.BnHIBM5e.t/SG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_64"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:23.274087' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (5.6ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_29' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_29"], ["created_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_29"], ["title", "message_template_29"], ["updated_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_29' AND "message_templates"."id" != 9) LIMIT 1 SQL (5.0ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_65@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_65@example.jp"], ["encrypted_password", "$2a$04$cFTPVgMMLnyojdSgOUAApeHuysmfsc6cZgRaclX3W9I0G3Q1/mvby"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_65"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:23.307960' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_66@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_66@example.jp"], ["encrypted_password", "$2a$04$VXwTPmQmzd/PyLIUOZ2fY.5d5hDZPX/ovxmJUznzGWCzHqwSbhDL."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_66"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:23.320653' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_30' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_30"], ["created_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_30"], ["title", "message_template_30"], ["updated_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_67@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_67@example.jp"], ["encrypted_password", "$2a$04$rMaQOcQdpGnvGgAFSzuSxu32MsB/No9935lJvDt.EkkL/5e6rdaKC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_67"]] SQL (58.0ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:23.412241' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_68@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_68@example.jp"], ["encrypted_password", "$2a$04$FYc20Bvue9Ywdkeim3Edsed99owuykYW55LXPwZcraCMaMLS3SFNG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_68"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:23.425455' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_31' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_31"], ["created_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_31"], ["title", "message_template_31"], ["updated_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_31' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_69@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_69@example.jp"], ["encrypted_password", "$2a$04$HwzLD0D6Kib7UeWaM8XBLenGaTYXB1VKbt/RPyFTNn8W8Qw5UmDY2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_69"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:23.453274' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_70@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_70@example.jp"], ["encrypted_password", "$2a$04$YddnUDy5vuXnGvMDNxgGz.JP3irGyKXVvbBn/OlicXgNO0Vlm7mx6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_70"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:23.466651' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_32' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_32"], ["created_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_32"], ["title", "message_template_32"], ["updated_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_71@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_71@example.jp"], ["encrypted_password", "$2a$04$NeWADqxNhtvjOEN5MsIdpeTPK7dPSzR.w6vhNi4OFalhU3XGJFTiW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_71"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:23.507317' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_72@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_72@example.jp"], ["encrypted_password", "$2a$04$Q/vyDdUhmFHc2/UOSGxrp.3RB7NqVcCMFw1sZr/FynIz6LXEECcwW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_72"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["user_id", 9]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:23.521555' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_33' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_33"], ["created_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_33"], ["title", "message_template_33"], ["updated_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_33' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.9ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.7ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_7@example.jp"], ["encrypted_password", "$2a$04$w75xPcMdFw5Rd7.XgWsIeugPNnNJHjva2kARJIBJxJQW5V9Lxo/ae"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_7"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:23.549624' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 11ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_73@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_73@example.jp"], ["encrypted_password", "$2a$04$MjYL9Rc/H1elSdTEKUHJ7eR47xYRTmbF/J7EJH9T9QTPk0am3ETFK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_73"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:23.578795' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_74@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_74@example.jp"], ["encrypted_password", "$2a$04$SBPoyv24TXOwz2MouR37J.A9.fGyOeKR78.DXNJONH9wBhM7gAbVK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_74"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["user_id", 9]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:23.594953' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_34' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_34"], ["created_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_34"], ["title", "message_template_34"], ["updated_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_34' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_8@example.jp"], ["encrypted_password", "$2a$04$xEFvS337Pwf/rHxMhtOzy.MxCjI.nPTDAQWKFngksMc.feIzTRyPm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_8"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:23.620805' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 10ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_75@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_75@example.jp"], ["encrypted_password", "$2a$04$AZc.SkH7zBJA1KrVD/hKbuEPGZvxkypMD7RzYyXxBHh89cdcriWuW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_75"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:23.717105' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_76@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_76@example.jp"], ["encrypted_password", "$2a$04$44LxXMLOvGh8WKao1eBzt.NCyitoVqx6AjfAMYdSEoMSCEj2YtO26"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_76"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["user_id", 9]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:23.731814' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_35' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_35"], ["created_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_35"], ["title", "message_template_35"], ["updated_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_35' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_7@example.jp"], ["encrypted_password", "$2a$04$AMi9RG7nfLDF6VXpuaI6KeLgS8FF04hUZK.bUFwQ1ABgZ9R0jXP7K"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_7"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:23.754802' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 11ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_77@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_77@example.jp"], ["encrypted_password", "$2a$04$ZPR8XeFhH.QcbDRPZu4CmOICvHuaaCTmnd7nX8Qz8yhsbKLVnLM8G"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_77"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:23.784877' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (1.6ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_78@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_78@example.jp"], ["encrypted_password", "$2a$04$ZU.aTeB8n/0Ei6fl8XdtEOl0f7CaMpE0llV4KylH8sSGeV0FeVC22"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_78"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["user_id", 9]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:23.800348' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (1.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_36' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_36"], ["created_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_36"], ["title", "message_template_36"], ["updated_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_36' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_8@example.jp"], ["encrypted_password", "$2a$04$R.wIUhQU0KVHEvw.882jw.TbWw7Ar.lkefQtee7a0nsKlaqnEfK6C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_8"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:23.826881' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 10ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_79@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_79@example.jp"], ["encrypted_password", "$2a$04$fj.M2677KeEUE6kLliBRpekgwCcPIIAsX0ntnns4gZcRBEj.rF.zi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_79"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:23.858381' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_80@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_80@example.jp"], ["encrypted_password", "$2a$04$1eQMTlA5vxMfSfvtGz4PoOwB8RPylStfKK1XoF9QbT8GrR4ASy9Gi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_80"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:23.872196' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_37' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_37"], ["created_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_37"], ["title", "message_template_37"], ["updated_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_37' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_81@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_81@example.jp"], ["encrypted_password", "$2a$04$vq4F404C5B2WVeEnhpUTnOYrKIWWGOCH7pAUPnDLRm6aFKYNNFtki"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_81"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:23.899628' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.1ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_82@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (64.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_82@example.jp"], ["encrypted_password", "$2a$04$P4kjS73ztjUs1CJ8gKdfY.ycjAHFjWieOFCfNOue54iYJB1oJUg6e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_82"]] SQL (1.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:23 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:23.990674' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_83@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_83@example.jp"], ["encrypted_password", "$2a$04$YRgG/iHBdpPn1HARzwDybeJGaMwC5RVZ/9g357usjwQ0S2dGO3xOC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_83"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:24.010628' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_38' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_38"], ["created_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_38"], ["title", "message_template_38"], ["updated_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_38' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_84@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_84@example.jp"], ["encrypted_password", "$2a$04$jlteJFUdzQqgctd9mo6rN.O2iPkunMa.RW.2c3xxJlAeBwNnh4DIS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_84"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:24.032732' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_85@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_85@example.jp"], ["encrypted_password", "$2a$04$gfV42fPtu/G5qe20YrKjMOgb7O/f/Vw0D8eOu/5/duYrN2cuU9wLG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_85"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:24.061933' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_86@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_86@example.jp"], ["encrypted_password", "$2a$04$aZGrwnfPTvt231TAqUeE2u/a4eHHZpPba4tkcBCCeUX4CuXkSKDiu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_86"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:24.074589' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_39' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_39"], ["created_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_39"], ["title", "message_template_39"], ["updated_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_39' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_87@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_87@example.jp"], ["encrypted_password", "$2a$04$wOl7ftO7eBoShuj0BL5pHO46odwGzwMXyFqqISzHoqGjbXzhMeg5K"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_87"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:24.113293' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_88@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_88@example.jp"], ["encrypted_password", "$2a$04$rnxy4FOtEhKsCbil1qPqfeuDQjpaxrMBQmwGLLcvflQMoGsKLCQkC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_88"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:24.126963' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_40' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_40"], ["created_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_40"], ["title", "message_template_40"], ["updated_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_40' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 8ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_41' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_41"], ["created_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_41"], ["title", "message_template_41"], ["updated_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_9@example.jp"], ["encrypted_password", "$2a$04$41d0MCerLHaL82oKFRIc..qEl5bLpC28Q64sI5W0eBAdzlUjPl.XO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_9"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:24.177526' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 21ms (Views: 8.8ms | ActiveRecord: 0.4ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position LIMIT 10 OFFSET 0  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_42' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_42"], ["created_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_42"], ["title", "message_template_42"], ["updated_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_9@example.jp"], ["encrypted_password", "$2a$04$1pUWyV5Kv2nU7oxNFU/JP.hQzoNxEFY/CGs/zOXMU33rE3/iiLl4K"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_9"]] SQL (0.4ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:24.290616' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 7ms (Views: 1.0ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position LIMIT 10 OFFSET 0  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_43' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_43"], ["created_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_43"], ["title", "message_template_43"], ["updated_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_89@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_89@example.jp"], ["encrypted_password", "$2a$04$IVJz7hXSaydSWxBkVjCvKeJ7Tw7OexfOKFaKOo4iGINoI90eZjoJG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_89"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:24.320527' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "message_templates" WHERE ('t'='f')  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_44' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_44"], ["created_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_44"], ["title", "message_template_44"], ["updated_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms  (0.1ms) SELECT COUNT(*) FROM "message_templates" WHERE ('t'='f') Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_10@example.jp"], ["encrypted_password", "$2a$04$bn9SQVHvvzRO4aqdaMTX2eGxNCwmDg1xoywLlPB7ADMF2/hvZPe/2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_10"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:24.351814' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_45' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_45"], ["created_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_45"], ["title", "message_template_45"], ["updated_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 8ms (Views: 1.7ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_10@example.jp"], ["encrypted_password", "$2a$04$LP9gDon3mYokt2f6jlSMyOVzDlFFpiCDls4Y/Na7cXEZ.xaMjIZc6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_10"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:24.377223' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_46' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_46"], ["created_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_46"], ["title", "message_template_46"], ["updated_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_90@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_90@example.jp"], ["encrypted_password", "$2a$04$oKJlJWEkRV4RlRmx5TURT.o7J.0wzTPHD7enW3tTSe7HpuA3.RZ3C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_90"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:24.399592' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_47' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_47"], ["created_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_47"], ["title", "message_template_47"], ["updated_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_48' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_48"], ["created_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_48"], ["title", "message_template_48"], ["updated_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_11@example.jp"], ["encrypted_password", "$2a$04$5YNK7UXxZwLAhfrWyoffuOvWnZz4ib2f3kXa1ys1D6RStRWUhyQZ."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_11"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:24.430276' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_11@example.jp"], ["encrypted_password", "$2a$04$tgL63Abnt.gGK5pkSywmMO8qd1gdvdvIG96VRmU8eLPXPy3qhFwnO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_11"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:24.450613' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_91@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_91@example.jp"], ["encrypted_password", "$2a$04$uJljzS0KNOkPwBI7N9aCfuRnp4yZnJbx67PPipqaQw6SSR16Kbfia"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_91"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:24.506468' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Processing by MessageTemplatesController#new as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_12@example.jp"], ["encrypted_password", "$2a$04$PyGjfyLtf2xdLHxSnIYiJ.TQOFP95lfT/ZN.T7YyBHVD6aghz.Ff2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_12"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:24.538526' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_49' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_49"], ["created_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_49"], ["title", "message_template_49"], ["updated_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 7ms (Views: 1.8ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_12@example.jp"], ["encrypted_password", "$2a$04$6.qeVa4lVvXzaFUzu8apPe4gzC/K1bSdUgmJONj6Q.UErFQU8Pt9K"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_12"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:24.560645' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_50' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_50"], ["created_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_50"], ["title", "message_template_50"], ["updated_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_92@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_92@example.jp"], ["encrypted_password", "$2a$04$jW4.zYVgCUvJoBa7NhuBteexWH/vW8K7YJ4tMFsiwi8LZNM7KN6my"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_92"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:24.581752' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_51' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_51"], ["created_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_51"], ["title", "message_template_51"], ["updated_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_52' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_52"], ["created_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_52"], ["title", "message_template_52"], ["updated_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_13@example.jp"], ["encrypted_password", "$2a$04$S.myIfJT6JhEuq94sCPHTeTvNvspY334R42jFJAUmF/NWBgyOwddq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_13"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:24.613061' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_53", "status"=>"message_template_53", "body"=>"message_template_53"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_53' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_14@example.jp"], ["encrypted_password", "$2a$04$i.smKfpVWHaFUx694XOonO27Z68o3ZL5UI561lZv8wSiy3yexCq46"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_14"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:24.633601' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_54", "status"=>"message_template_54", "body"=>"message_template_54"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_15@example.jp"], ["encrypted_password", "$2a$04$oX04SkOMLwMmQtGVw2UVpObL342CIEg4B8fyaQs2Z22iOwFLqsE22"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_15"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:24.688362' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_16@example.jp"], ["encrypted_password", "$2a$04$assmGy5EQgKUxGScQDPbLOa3mtwzpH.9g.73ZU0pZOZtDAoNzCD42"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_16"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:24.708266' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_13@example.jp"], ["encrypted_password", "$2a$04$.FLcOXPJHvXKgqERuLqY3u/eSP.T1NIB8jMWmmnjd8XYsYMxfY5eC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_13"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:24.725450' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_57", "status"=>"message_template_57", "body"=>"message_template_57"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_57' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_14@example.jp"], ["encrypted_password", "$2a$04$47tngRnrFHZx8BccxSfLD.WQclMOUSPtzmA7Dk4rPZoU.De5Eic1q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_14"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:24.743372' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_58", "status"=>"message_template_58", "body"=>"message_template_58"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_15@example.jp"], ["encrypted_password", "$2a$04$/Rrtkr1qClwWuyvZmJihtehkxZzJhYjNL2xV6hD7DlLlG0Hlz6kxe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_15"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:24.761424' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_16@example.jp"], ["encrypted_password", "$2a$04$DatsVj631AhvjdJ01jSpoOjRlto3H/25WTeI8u9FBVUbwu3zrd2/O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_16"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:24.781020' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_93@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_93@example.jp"], ["encrypted_password", "$2a$04$5fFntTC81IRGEkcX1gFioOkRWecpnd4RF43aF/sAAqmL2OtsM4M.W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_93"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:24.798551' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_61", "status"=>"message_template_61", "body"=>"message_template_61"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_61' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_94@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_94@example.jp"], ["encrypted_password", "$2a$04$OZ6FiGvRX5lLVDzxg4GvaePYMrVbelTExFcGDF0OH6YsTf4C5AOKK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_94"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:24.853124' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_62", "status"=>"message_template_62", "body"=>"message_template_62"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_95@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_95@example.jp"], ["encrypted_password", "$2a$04$5VJ11a2MIpoC52MzSwTip.Y/7E1/7Gla85sXcA5ZZxvAfTv6FWbbO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_95"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:24.872890' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_96@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_96@example.jp"], ["encrypted_password", "$2a$04$MbJekZI4i8K9mWuknILtHuqUB2kmErzkTdTk3MSOLcifftHY0yIre"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_96"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:24.892951' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_65", "status"=>"message_template_65", "body"=>"message_template_65"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 3ms MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_65' LIMIT 1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_66", "status"=>"message_template_66", "body"=>"message_template_66"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 3ms MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_69' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_69"], ["created_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_69"], ["title", "message_template_69"], ["updated_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_17@example.jp"], ["encrypted_password", "$2a$04$lPbhI7Z/G37XS81VEGlsxO73MDKY.EhzVz1TlGIt7nJWvCEAi2CYG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_17"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:24.942283' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_70", "status"=>"message_template_70", "body"=>"message_template_70"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_70' AND "message_templates"."id" != 9) LIMIT 1  (0.1ms) UPDATE "message_templates" SET "title" = 'message_template_70', "status" = 'message_template_70', "body" = 'message_template_70', "updated_at" = '2011-12-16 03:53:24.951540' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates/9 Completed 302 Found in 15ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_71' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_71"], ["created_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_71"], ["title", "message_template_71"], ["updated_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (35.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_18@example.jp"], ["encrypted_password", "$2a$04$hZNBFneBqB2cWVc8p4M//.Q6fTI1KvlQhfzqJXM0sCLTftF/1xh7i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_18"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:25.007585' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_72", "status"=>"message_template_72", "body"=>"message_template_72"}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_72' AND "message_templates"."id" != 9) LIMIT 1  (0.1ms) UPDATE "message_templates" SET "title" = 'message_template_72', "status" = 'message_template_72', "body" = 'message_template_72', "updated_at" = '2011-12-16 03:53:25.016106' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates/9 Completed 302 Found in 8ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_73' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_73"], ["created_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_73"], ["title", "message_template_73"], ["updated_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_19@example.jp"], ["encrypted_password", "$2a$04$p.WIlPuzEzR6WnKG4Y0QxeowRc9k9Knm/OPhykO8yrbdVhRyOKz2C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_19"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:25.032126' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_74", "status"=>"message_template_74", "body"=>"message_template_74"}, "position"=>"2", "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "message_templates" SET "position" = 0, "updated_at" = '2011-12-16 03:53:25.039778' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "message_templates" SET position = (position - 1) WHERE "message_templates"."id" IN (SELECT "message_templates"."id" FROM "message_templates" WHERE (1 = 1 AND position > 9) ORDER BY position) SQL (0.2ms) UPDATE "message_templates" SET position = (position + 1) WHERE "message_templates"."id" IN (SELECT "message_templates"."id" FROM "message_templates" WHERE (1 = 1 AND position >= 2) ORDER BY position)  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "message_templates" SET "position" = 2, "updated_at" = '2011-12-16 03:53:25.041693' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates Completed 302 Found in 8ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_75' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_75"], ["created_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_75"], ["title", "message_template_75"], ["updated_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_20@example.jp"], ["encrypted_password", "$2a$04$OZovn.ileN3wF.rSz8qsz.ZP6ZJQAUV7hNiQIX471KCtaMjhkvIrK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_20"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:25.056142' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = '' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 0.7ms | ActiveRecord: 0.0ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_77' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_77"], ["created_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_77"], ["title", "message_template_77"], ["updated_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_17@example.jp"], ["encrypted_password", "$2a$04$biKC26KnsyQywufvjfrrNe1nFoZVKIGBrcf.WixF27jJZkTdJJpC2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_17"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00], ["user_id", 8]]  (0.3ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:25.079340' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_78", "status"=>"message_template_78", "body"=>"message_template_78"}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_79' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_79"], ["created_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_79"], ["title", "message_template_79"], ["updated_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_18@example.jp"], ["encrypted_password", "$2a$04$ox0UAtwj8uySSAmuZ2YnAO9tP2AAfsAmzxnuxSAFtFn/Ba.YoeXvy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_18"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:25.102385' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_80", "status"=>"message_template_80", "body"=>"message_template_80"}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_81' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_81"], ["created_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_81"], ["title", "message_template_81"], ["updated_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_19@example.jp"], ["encrypted_password", "$2a$04$3pjLx9OK3MrMrSX2MtguiOcslEyju34r7DYjhIZr2E5aEsfNGqtC2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_19"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:25.125878' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_83' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_83"], ["created_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_83"], ["title", "message_template_83"], ["updated_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_97@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_97@example.jp"], ["encrypted_password", "$2a$04$c4Fxb341GBImgNfEpp4NeOYLmeItQeMRL6H42DfKavpimaDS2rMeW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_97"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:25.145357' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_84", "status"=>"message_template_84", "body"=>"message_template_84"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 43ms (Views: 1.0ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_85' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_85"], ["created_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_85"], ["title", "message_template_85"], ["updated_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_98@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_98@example.jp"], ["encrypted_password", "$2a$04$G0OLMdDRx/lBGGrrOn.nxe/qs5HdPFUYVoli5l6O/vtIYRnk.twcK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_98"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:25.203478' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_86", "status"=>"message_template_86", "body"=>"message_template_86"}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_87' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_87"], ["created_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_87"], ["title", "message_template_87"], ["updated_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_99@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_99@example.jp"], ["encrypted_password", "$2a$04$Rp53mo3NdPC/j5EsJRUkoOpq0jJKH6op.S0Gk3zddBbt.qph/w.1."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_99"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:25.223327' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 1.0ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_89' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_89"], ["created_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_89"], ["title", "message_template_89"], ["updated_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_90", "status"=>"message_template_90", "body"=>"message_template_90"}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_91' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_91"], ["created_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_91"], ["title", "message_template_91"], ["updated_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_92", "status"=>"message_template_92", "body"=>"message_template_92"}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_93' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_93"], ["created_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_93"], ["title", "message_template_93"], ["updated_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 5ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_95' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_95"], ["created_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_95"], ["title", "message_template_95"], ["updated_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_21@example.jp"], ["encrypted_password", "$2a$04$Vx868wXCvVsvnTgwvitV5.UtJRI7Bg0P4rh5.AWBnhgSaWrQoR0eG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_21"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:25.277425' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_96' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_96"], ["created_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_96"], ["title", "message_template_96"], ["updated_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_22@example.jp"], ["encrypted_password", "$2a$04$b66FftX4C33TcoO83poPdePgVlhYfHKtfgS1Z4FnzwAcTwmwR69t."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_22"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00], ["user_id", 8]]  (0.3ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:25.299689' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_97' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_97"], ["created_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_97"], ["title", "message_template_97"], ["updated_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_20@example.jp"], ["encrypted_password", "$2a$04$4zWGF8C6ffSjdhLOLMfReuiBnY4bdpRUK7NHG.uPrdti8s372h2sq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_20"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:25.323764' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 8ms (Views: 1.5ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (51.5ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_98' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_98"], ["created_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_98"], ["title", "message_template_98"], ["updated_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_21@example.jp"], ["encrypted_password", "$2a$04$fJBYyD4JkAbBmcnZGRe9Qe89F/TPJjKrYt4c9IiAJUB.W6HIphLzi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_21"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:25.406530' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_99' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_99"], ["created_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_99"], ["title", "message_template_99"], ["updated_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_100@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_100@example.jp"], ["encrypted_password", "$2a$04$iz5q0mpE3WEeMrK2ywCNf.lfSC1cHqbU0whdXFQlPYruArOW4JsxK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_100"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:25.443267' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 2.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_100' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_100"], ["created_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_100"], ["title", "message_template_100"], ["updated_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_101@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_101@example.jp"], ["encrypted_password", "$2a$04$PCEM4vB6Q51j8jIHpzuHrOKJpph9lJ2Jwn7Y7PJvASNJcjEPWLDEK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_101"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:25.476794' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_101' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_101"], ["created_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_101"], ["title", "message_template_101"], ["updated_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_102' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_102"], ["created_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_102"], ["title", "message_template_102"], ["updated_at", Fri, 16 Dec 2011 03:53:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 14ms Role Load (0.3ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_23@example.jp"], ["encrypted_password", "$2a$04$usJnOwDDeWR8tUK6FTW13.0ho3PifgSj862hRmpuGgQXrJtH82Zhq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_23"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:26 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:53:26 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:26.832064' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 SOLR Request (79.3ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A8&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (35.2ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A8&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 166ms (Views: 15.0ms | ActiveRecord: 0.3ms | Solr: 114.5ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_24@example.jp"], ["encrypted_password", "$2a$04$dBPxVUcBmK..tMa6rouf.e1fuQSWb954plpLK6HGcO6lZHmyDx/7C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_24"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:27 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:53:27 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:27.117530' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML Parameters: {"user_id"=>"admin_24"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'admin_24' LIMIT 1 SOLR Request (14.5ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A8&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (13.4ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A8&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 39ms (Views: 1.4ms | ActiveRecord: 0.5ms | Solr: 27.9ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_22@example.jp"], ["encrypted_password", "$2a$04$kqTy4lGmrxTZH2E15ZZfc.hA8TewtcUQ09hPY7iVBLg72LbdNJwW."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_22"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:27 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:53:27 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:27.189487' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 SOLR Request (6.1ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A8&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (8.4ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A8&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 29ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 14.5ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_23@example.jp"], ["encrypted_password", "$2a$04$zq2DIkExmSkLXBiy1OXIcuvCLR6xqI.zy1R82qmlBdzK41Gaa94gG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_23"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:27 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:53:27 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:27.244214' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML Parameters: {"user_id"=>"librarian_23"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'librarian_23' LIMIT 1 SOLR Request (19.2ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A8&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (18.7ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A8&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 51ms (Views: 1.4ms | ActiveRecord: 0.5ms | Solr: 38.0ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 SOLR Request (20.7ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (36.9ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 70ms (Views: 1.6ms | ActiveRecord: 0.3ms | Solr: 57.6ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML Parameters: {"query"=>"you"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 SOLR Request (16.7ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&q=you&fl=%2A+score&qf=body_text+subject_text&defType=dismax&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (11.0ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&q=you&fl=%2A+score&qf=body_text+subject_text&defType=dismax&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 37ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 27.7ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 SOLR Request (5.6ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (6.6ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 25ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 12.3ms) Processing by MessagesController#index as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 11ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 123ms (Views: 8.3ms | ActiveRecord: 0.6ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 403 Forbidden in 18ms (Views: 1.3ms | ActiveRecord: 0.7ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#show as HTML Parameters: {"id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (1.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 3 AND "messages"."id" = ? LIMIT 1 [["id", "2"]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) UPDATE "messages" SET "read_at" = '2011-12-16 03:53:27.674022', "updated_at" = '2011-12-16 03:53:27.674407' WHERE "messages"."id" = 2 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1  (0.5ms) UPDATE "messages" SET "state" = 'read', "updated_at" = '2011-12-16 03:53:27.682143' WHERE "messages"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 35ms (Views: 2.2ms | ActiveRecord: 2.8ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 403 Forbidden in 15ms (Views: 1.2ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 8ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_25@example.jp"], ["encrypted_password", "$2a$04$DJxYDZAzLUUWWxQ9sC47kerJ6Y1OmfSlBbcKduOETGy8yiPU4uvpW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_25"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:27 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:53:27 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:27.744178' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 Completed 200 OK in 110ms (Views: 7.8ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_24@example.jp"], ["encrypted_password", "$2a$04$lnYAIObn.d/P1Vho7dMlke2ulf.21syya70Koj16FzpY17a2scuxu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_24"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:27 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:53:27 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:27.876270' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 Completed 200 OK in 11ms (Views: 1.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 2.8ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML Parameters: {"parent_id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.8ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML Parameters: {"parent_id"=>"2"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Processing by MessagesController#new as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_26@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_26@example.jp"], ["encrypted_password", "$2a$04$2oksolaWYl2v0NtPBmbGZOQ2BC6hKm01Xvl3gY5nqDEGQafkVsXNu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_26"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:27 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:53:27 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:27.999770' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 8 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 17ms (Views: 1.6ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Role Load (1.6ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_25@example.jp"], ["encrypted_password", "$2a$04$GiSbLrCX5qYtDJtvZpidhOrJWdbA8nEv.epoEq6SKGgF3UFFN6naS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_25"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:28.045560' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 16ms (Views: 1.2ms | ActiveRecord: 0.5ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_102@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_102@example.jp"], ["encrypted_password", "$2a$04$RnCKCmx7BnPESmJGK5PevumkK6Z1B5a1BjzmGAYQ5k5MFK5S.V7xO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_102"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:28.104325' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_103@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (62.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_103@example.jp"], ["encrypted_password", "$2a$04$p9Cxy8vee/qjSi6EetAoIOxpxX51WJsAbvSqqQU5w5JdVW2ZPmyHK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_103"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:28.179844' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "user_102"]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_27@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_27@example.jp"], ["encrypted_password", "$2a$04$4oRxdXKlT7HL9F3Bah8MAOLpnGJZUz2U85/xXDAP9H3vvahLxwYn6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_27"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:28.199942' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 13ms (Views: 1.2ms | ActiveRecord: 0.5ms | Solr: 0.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_28@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_28@example.jp"], ["encrypted_password", "$2a$04$kGwMQjA.5f8w458PD/SrcONsAB8QLBEsijdfZSPS59tiGtgAH0olq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_28"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:28.234413' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 17ms (Views: 1.5ms | ActiveRecord: 0.5ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_29@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_29@example.jp"], ["encrypted_password", "$2a$04$s9IJGwPhDidfbffO/AZfQOERuNTRN/5iT/AKLnVwYtPFyMhRYes/m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_29"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:28.275928' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 14ms (Views: 1.4ms | ActiveRecord: 0.5ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_30@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_30@example.jp"], ["encrypted_password", "$2a$04$pmBJ1rayHt4O4LUwV2ALtuhbXhGbiFIFgBkZq2QYRfEWbgjdk5hOq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_30"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:28.311623' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 13ms (Views: 1.2ms | ActiveRecord: 0.5ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test", "parent_id"=>"2"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = 2 LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "user2"]]  (0.0ms) SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "user2"]]  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 404 Not Found in 13ms (Views: 1.3ms | ActiveRecord: 0.6ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 8ms (Views: 0.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test", "parent_id"=>"2"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 43ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_104@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_104@example.jp"], ["encrypted_password", "$2a$04$qzGHUbK08gxwCxLVcc4C3.xZvKo5n8ier/xX9f8LN9a3CY1ym2hCC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_104"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:28.451471' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_105@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_105@example.jp"], ["encrypted_password", "$2a$04$1E0aJRtww7lLsvINnGPNyOYux3T9AdOmPuxe3KhXW8th68Emabg.a"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_105"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:28.460354' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_104", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 7ms (Views: 0.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_106@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_106@example.jp"], ["encrypted_password", "$2a$04$W3rqnAUMbn/Q8b7JgdIP5.jmSRAUDRm56fMgGDyE36rR6TL11JLn."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_106"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:28.480071' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_107@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_107@example.jp"], ["encrypted_password", "$2a$04$JiIiBFEp9.gTHLgzxK1UruRzGb1Eq53csvjprFtaprOtvV7pzH.mi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_107"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:28.489332' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_106", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 7ms (Views: 0.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_108@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_108@example.jp"], ["encrypted_password", "$2a$04$KyMybLp2XKAR1pEK5JK0de/pchhEA8zPkBvRH.J6t1u0irccn7q.6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_108"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:28.510066' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_109@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_109@example.jp"], ["encrypted_password", "$2a$04$QWoz/77dZI5WQ3CHNBBmhuEqmLaynD6QOZCTvbX2ryQqiB2Fgt00q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_109"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:28.519007' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 9ms (Views: 0.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_110@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_110@example.jp"], ["encrypted_password", "$2a$04$7CBUnE2M8a.jlKHah7I5QubDcPrb8ZcAZ35oTy0hp/qkmOGUp6M5W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_110"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:28.541752' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_111@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_111@example.jp"], ["encrypted_password", "$2a$04$PpjK32F75IQw/yYQ107ZU.c6klLnDcXe9.G0rhdjuwzsS5JJ0bY7C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_111"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:28.550402' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 6ms (Views: 0.8ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_112@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_112@example.jp"], ["encrypted_password", "$2a$04$2DaIDxVlzmjx3CMQxsw2y.fqFTVZE2JkbRoaRvF8Os8x2mfAIeJ3W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_112"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:28.606529' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_113@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_113@example.jp"], ["encrypted_password", "$2a$04$hpwCODp7kVUio4ZC5GLhQeKFW3p5jex8d2gvukn5wNutHHmE8s.a2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_113"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:28.614992' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_112", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_114@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_114@example.jp"], ["encrypted_password", "$2a$04$TRjMelKWE0Mq/HbYoG5b.utmsv4bAaccHcff4/KW2mLJvW7hV/C1e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_114"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:28.635556' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_115@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_115@example.jp"], ["encrypted_password", "$2a$04$RTz7eVfVwL7VwrMhi.GJzu0ob5JQWcmCXsFZfbop4mKzTLyMaN4Iu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_115"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:28.644152' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_114", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.8ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_116@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_116@example.jp"], ["encrypted_password", "$2a$04$PPEf/9OsfcnjX2iSlVZub.8PJek60ng9FLKQMsEG7IFMOMrXP8.1a"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_116"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:28.664990' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_117@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_117@example.jp"], ["encrypted_password", "$2a$04$qX2xiIfApTLYT2znraajEuS4F6CI0slRXi.mBE2HSKvi0sc/7bYOy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_117"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:28.673275' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_118@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_118@example.jp"], ["encrypted_password", "$2a$04$LmBC/NGTOSDlRSTxdib6P.BmD5dRNjbSGo8eBiaq1EQWDr6sq8BK."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_118"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:28.693479' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_119@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_119@example.jp"], ["encrypted_password", "$2a$04$FZ068p0VUve145dzxjWZq.v39uailxmDfWTL5XzgekUpB9L90GSrC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_119"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:28.702155' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.8ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_120@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (37.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_120@example.jp"], ["encrypted_password", "$2a$04$cyfdJrbZjKuRlh38FNSZqOFZMHGenqcDXLbaNuVcawqnL0BK05QCi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_120"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:28.758040' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_121@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_121@example.jp"], ["encrypted_password", "$2a$04$rDGSKiJPHt1ekIA01Kll8u5cj2NYmGlSBt1/2/y7/ACwDOGxrjNpq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_121"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:28.767107' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"2"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_122@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_122@example.jp"], ["encrypted_password", "$2a$04$hr0DRtOjJn8LqcsKrrQMjeBqbE12lYJAE0oD/Em8JImWlZsdhnjDS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_122"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:28.786196' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_123@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_123@example.jp"], ["encrypted_password", "$2a$04$vNN4XovGzmScGZfU1xHlxeQwJj9rmRRUMnBCOAjPwVAAY4OiHEWxm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_123"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:28.795725' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_124@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_124@example.jp"], ["encrypted_password", "$2a$04$lsMtrxsMSWLcBfr9uCPV9u5iUgXPgAPZwOpSU.4u.dd2VHqqlhXJS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_124"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:28.814785' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_125@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_125@example.jp"], ["encrypted_password", "$2a$04$vnUSf/v6Rx1jfo8wcOALEucX09ne4iQoN.o3x4qzHumeKojWb9iu."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_125"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:28.822828' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_124", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_126@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_126@example.jp"], ["encrypted_password", "$2a$04$kUu/8rQnbWMtnY7oSBkLUeOry6b86/Z.Th11ujc4LKtd8VCjgzDkK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_126"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:28.843253' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_127@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_127@example.jp"], ["encrypted_password", "$2a$04$uctMWIsIy6hwriCJUKgnzOlWGb0W/W8nSnS2CfWF195iTsP0Kud6i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_127"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:28.851511' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_126", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_128@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_128@example.jp"], ["encrypted_password", "$2a$04$DPYZ1Yk.j7DqoLsv3MYTye9RusplzKBLGY2jTu3DLXf/UCWMIZzp6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_128"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:28.870986' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_129@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_129@example.jp"], ["encrypted_password", "$2a$04$IgdC9uXMyh7zuYyd/5fFLu13to1CbQSeSMjwcVZcCiB9dglg8IZjK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_129"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:28.879390' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 43ms (Views: 0.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_130@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_130@example.jp"], ["encrypted_password", "$2a$04$bvQMv0/qsxh8u342GfZBSO8vJWuM62/NTB3v6Qhvkx9dxhNC7Lvy6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_130"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:28.935002' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_131@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_131@example.jp"], ["encrypted_password", "$2a$04$V5VmPLQefNtrmIEqiB/leOC5cjvnjSUbDlhz47ZRDyEhZow1/WKMy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_131"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:28.943116' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_132@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_132@example.jp"], ["encrypted_password", "$2a$04$7VqUDbFLdGfvF/j4ZDQQze8gSpeAbTHdZJnZKuAn5XhOgQkNsgRVi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_132"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:28.963056' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_133@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_133@example.jp"], ["encrypted_password", "$2a$04$ZYU07/eEeF2v5mXaigwckeCql2E72WPQTxJZstUwd8ywyuu4j2l1u"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_133"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:53:28 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:53:28.971452' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"2"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#destroy as HTML Parameters: {"id"=>"2"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 3 AND "messages"."id" = ? LIMIT 1 [["id", "2"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "messages" WHERE ("lft" > 3 AND "rgt" < 4) SQL (0.4ms) UPDATE "messages" SET "lft" = ("lft" - 2) WHERE "messages"."id" IN (SELECT "messages"."id" FROM "messages" WHERE ("lft" > 4) ORDER BY "lft") SQL (0.4ms) UPDATE "messages" SET "rgt" = ("rgt" - 2) WHERE "messages"."id" IN (SELECT "messages"."id" FROM "messages" WHERE ("rgt" > 4) ORDER BY "lft") SQL (0.1ms) DELETE FROM "messages" WHERE "messages"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/messages Completed 302 Found in 10ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 403 Forbidden in 8ms (Views: 0.8ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateMessageTemplates (149) Migrating to CreateMessages (154) Migrating to CreateMessageRequests (20080819181903) Migrating to AddLftAndRgtToMessage (20110913115320) Migrating to CreateLanguages (20111201121636) Migrating to CreateRoles (20111201121844) Migrating to CreateUsers (20111201155456) Migrating to AddDeviseToUsers (20111201155513) Migrating to CreateUserGroups (20111201163342) Migrating to CreateUserHasRoles (20111201163718)  (0.3ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.0ms) PRAGMA index_list("languages")  (0.0ms) PRAGMA index_list("message_requests")  (0.0ms) PRAGMA index_info('index_message_requests_on_state')  (0.0ms) PRAGMA index_list("message_templates")  (0.0ms) PRAGMA index_info('index_message_templates_on_status')  (0.0ms) PRAGMA index_list("messages")  (0.0ms) PRAGMA index_info('index_messages_on_parent_id')  (0.0ms) PRAGMA index_info('index_messages_on_message_request_id')  (0.0ms) PRAGMA index_info('index_messages_on_receiver_id')  (0.0ms) PRAGMA index_info('index_messages_on_sender_id')  (0.0ms) PRAGMA index_list("roles")  (0.0ms) PRAGMA index_list("user_groups")  (0.0ms) PRAGMA index_list("user_has_roles")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')  (0.0ms) PRAGMA index_info('index_users_on_email') SOLR Request (6.0ms) [ path=# parameters={data: type:Message, headers: {"Content-Type"=>"text/xml"}, method: post, params: {:wt=>:ruby}, query: wt=ruby, path: update, uri: http://localhost:8981/solr/update?wt=ruby} ] SOLR Request (47.3ms) [ path=# parameters={data: Message 1MessageActiveRecord::BaseMessageFirst Message432007-07-04T12:10:47ZfalseAbby, you get the first messageFirst MessageMessage 2MessageActiveRecord::BaseMessageRE: First Message342011-12-14T03:53:20ZfalseThanks Dad! You are the coolest!RE: First MessageMessage 3MessageActiveRecord::BaseMessageSecond Message432011-12-15T03:53:20ZfalseCatie, you get the 2nd messageSecond MessageMessage 6MessageActiveRecord::BaseMessageDad!542011-12-14T03:53:20ZfalseHe is sucha dork.Dad!, headers: {"Content-Type"=>"text/xml"}, method: post, params: {:wt=>:ruby}, query: wt=ruby, path: update, uri: http://localhost:8981/solr/update?wt=ruby} ] SOLR Request (137.6ms) [ path=# parameters={data: , headers: {"Content-Type"=>"text/xml"}, method: post, params: {:wt=>:ruby}, query: wt=ruby, path: update, uri: http://localhost:8981/solr/update?wt=ruby} ] Fixture Delete (0.3ms) DELETE FROM "message_requests" Fixture Insert (0.1ms) INSERT INTO "message_requests" ("sender_id", "receiver_id", "message_template_id", "state", "created_at", "updated_at", "id") VALUES (1, 1, 1, 'pending', '2011-12-16 03:57:42', '2011-12-16 03:57:42', 980190962) Fixture Insert (0.0ms) INSERT INTO "message_requests" ("sender_id", "receiver_id", "message_template_id", "state", "created_at", "updated_at", "id") VALUES (1, 1, 1, 'pending', '2011-12-16 03:57:42', '2011-12-16 03:57:42', 298486374) Fixture Delete (0.1ms) DELETE FROM "message_templates" Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (1, 'reservation_accepted', 'Reservation accepted', 'Reservation accepted', 1, '2011-12-16 03:57:42', '2011-12-16 03:57:42') Fixture Insert (0.0ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (2, 'item_received', 'Item received', 'Item received', 2, '2011-12-16 03:57:42', '2011-12-16 03:57:42') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (3, 'reservation_expired_for_patron', 'Reservation expired', 'Reservation expired', 3, '2011-12-16 03:57:42', '2011-12-16 03:57:42') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (4, 'reservation_expired_for_library', 'Reservation expired', 'Reservation expired', 4, '2011-12-16 03:57:42', '2011-12-16 03:57:42') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (5, 'reservation_canceled_for_patron', 'Reservation canceled', 'Reservation canceled', 5, '2011-12-16 03:57:42', '2011-12-16 03:57:42') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (6, 'reservation_canceled_for_library', 'Reservation canceled', 'Reservation canceled', 6, '2011-12-16 03:57:42', '2011-12-16 03:57:42') Fixture Insert (0.0ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (7, 'recall_item', 'Recall item', 'Recall item', 7, '2011-12-16 03:57:42', '2011-12-16 03:57:42') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (8, 'recall_overdue_item', 'Recall overdue item', 'Recall overdue item', 8, '2011-12-16 03:57:42', '2011-12-16 03:57:42') Fixture Delete (0.2ms) DELETE FROM "messages" Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "read_at", "state", "lft", "rgt", "updated_at") VALUES (1, 3, 4, 'First Message', 'Abby, you get the first message', '2007-07-04 12:10:47.000000', '2011-12-13 03:57:42.000000', 'unread', 1, 2, '2011-12-16 03:57:42') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (2, 4, 3, 'RE: First Message', 'Thanks Dad! You are the coolest!', '2011-12-14 03:57:42.000000', 'unread', 3, 4, '2011-12-16 03:57:42') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (3, 3, 4, 'Second Message', 'Catie, you get the 2nd message', '2011-12-15 03:57:42.000000', 'unread', 5, 6, '2011-12-16 03:57:42') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (6, 4, 5, 'Dad!', 'He is sucha dork.', '2011-12-14 03:57:42.000000', 'unread', 7, 8, '2011-12-16 03:57:42') Fixture Delete (0.1ms) DELETE FROM "roles" Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Guest', 'Guest', 1, NULL, '2011-12-16 03:57:42', '2011-12-16 03:57:42') Fixture Insert (0.0ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('User', 'User', 2, NULL, '2011-12-16 03:57:42', '2011-12-16 03:57:42') Fixture Insert (0.0ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Librarian', 'Librarian', 3, NULL, '2011-12-16 03:57:42', '2011-12-16 03:57:42') Fixture Insert (0.0ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Administrator', 'Administrator', 4, NULL, '2011-12-16 03:57:42', '2011-12-16 03:57:42') Fixture Delete (0.1ms) DELETE FROM "user_groups" Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('(not specified)', '(not specified)', '2007-12-13 12:00:51.564542', 1, '', '2007-12-13 12:00:01.674976', 1) Fixture Insert (0.0ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('User', 'User', '2007-12-22 18:14:56.836548', 2, '', '2007-12-22 18:14:40.173954', 2) Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('Faculty', 'Faculty', '2007-12-22 18:15:05.134351', 3, '', '2007-12-22 18:15:05.126457', 3) Fixture Delete (0.1ms) DELETE FROM "user_has_roles" Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (1, 4, '2011-12-16 03:57:42', '2011-12-16 03:57:42', 135138680) Fixture Insert (0.0ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (2, 3, '2011-12-16 03:57:42', '2011-12-16 03:57:42', 344583537) Fixture Insert (0.0ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (3, 2, '2011-12-16 03:57:42', '2011-12-16 03:57:42', 206669143) Fixture Insert (0.0ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (4, 3, '2011-12-16 03:57:42', '2011-12-16 03:57:42', 226540757) Fixture Insert (0.0ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (5, 2, '2011-12-16 03:57:42', '2011-12-16 03:57:42', 358143215) Fixture Insert (0.0ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (6, 2, '2011-12-16 03:57:42', '2011-12-16 03:57:42', 576709754) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (7, 2, '2011-12-16 03:57:42', '2011-12-16 03:57:42', 1010528733) Fixture Delete (0.2ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:16:30.163731', '$2a$10$vHohD1WflnTIqAa8zMkF9evwAgIZRw3XuR4d3bi29M.jph/MB/AJi', 2, 1, NULL, 'admin', 'tanabe@kamata.lib.teu.ac.jp', '2007-11-19 07:58:32.111941', 4) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 03:41:16.337474', '$2a$10$9O2VuTccN4gHq36ARg0QReSrb1D7WrBBhZZ759RM9moHbB0W5zCzS', 1, 2, NULL, 'librarian1', 'librarian1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:33.172441', 1) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', '$2a$10$JthS59A0BNkDOoFpCXM0V.GhhffKaoWKbzpPahYp/vTFrOyM7h/uW', 1, 3, NULL, 'user1', 'user1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:23.340575', '$2a$10$YmmTGrYQ1Ir6oc7wXnp.GuNeO1eYLoP3sv8wMSIrTdaGw2BPwRrpS', 1, 4, NULL, 'librarian2', '2008-01-18 03:24:04.222344', 1) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:44.711117', '$2a$10$i7UjJhLVrJM/J7qaTwW39OXw1NiwowUEbtNHVDV0sqMLjX9.UO9ca', 1, 5, NULL, 'user2', '2008-01-18 04:29:06.922728', 2) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 6, NULL, 'user3', 'user3@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 7, NULL, 'user4', 'user4@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_1@example.jp"], ["encrypted_password", "$2a$04$NbEA6MrcMOKrXPghUdcN7uhO0.PG0znFcIRivPCxBYC2CLJsLRfE."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_1"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:42.350199' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Rendered /Users/kosuke/enju_message/app/views/message_requests/index.html.erb within layouts/application (2.2ms) Completed 200 OK in 51ms (Views: 13.5ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_1@example.jp"], ["encrypted_password", "$2a$04$tzUgNOe4Tcv8yHCZfQ2PPOrm4QAd06qxdpcdFndwdbgFZXxbdnYEG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_1"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:42.422180' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_1@example.jp"], ["encrypted_password", "$2a$04$RVSzAEOpeIpmvvQHaoXlfOtDnAPCmEpwgReX6Rb46HMkNWR0htnOG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_1"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:42.441308' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 1.2ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "message_requests" WHERE ('t'='f') Processing by MessageRequestsController#index as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms  (0.1ms) SELECT COUNT(*) FROM "message_requests" WHERE ('t'='f') Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_2@example.jp"], ["encrypted_password", "$2a$04$D.D5Fd8UekFNW/1wEihG8euThyRCWmwM1K4dkjK87cpTHxmDppkwS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_2"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:42.468625' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (30.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_2@example.jp"], ["encrypted_password", "$2a$04$xL1K83He892dUiMw/LPYk.hdibmmvOD.5lCm7uSiYUCcgJH12Tywa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_2"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:42.507376' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_3@example.jp"], ["encrypted_password", "$2a$04$C/rvy1LURFFregxiWCpV9u9szfZIQJaQ8AGShVDqmhuHxQzP83f0O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_3"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:42.524703' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_1' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_1"], ["created_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_1"], ["title", "message_template_1"], ["updated_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_1' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.9ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.2ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 12ms (Views: 2.4ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_2@example.jp"], ["encrypted_password", "$2a$04$n4CXZU4vzrKh3M7OS3ec7.NFM/RThEFF9MIeYQ94WK9TA9oe6l5Nm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_2"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:42.581709' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_4@example.jp"], ["encrypted_password", "$2a$04$er7ANi4pwfNAOrSINhwOve83eT3NWoI98hVdIHLA4KZ6UL3GRszjK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_4"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:42.595222' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_5@example.jp"], ["encrypted_password", "$2a$04$AP6VRS0QxCXT/G/gXNmVBOzdXDhh2GyWllGNYkXGUPGXerWAmX4/."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_5"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:42.608468' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_2' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_2"], ["created_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_2"], ["title", "message_template_2"], ["updated_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_2' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 12ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_6@example.jp"], ["encrypted_password", "$2a$04$2sghmh4j2qWH5jYrT6o2Aut3QJtEfRcPtwb4RjdtA5IjkEzzjs8DS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_6"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:42.652725' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_7@example.jp"], ["encrypted_password", "$2a$04$4I0vNcq6Oj7ZkC5yUb0pwu5hR4REeqcjmgY.U6HhxKt07TrraO4UO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_7"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:42.666985' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (52.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_8@example.jp"], ["encrypted_password", "$2a$04$JmOiltHVOASQAM5OXwcnu.RCGIw/QKJSnic5ocwdrZ88VrGq/XmJG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_8"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:42.731169' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_3' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_3"], ["created_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_3"], ["title", "message_template_3"], ["updated_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_3' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_9@example.jp"], ["encrypted_password", "$2a$04$asTASDQ4imuCavA1S2EVKOYyhE1tqls4dgTfVuYQof5r6CSsuiT0u"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_9"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:42.773714' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_10@example.jp"], ["encrypted_password", "$2a$04$90vpMgb.Ryx126JnqQxaXu5FrpJiZDTDP66IgXVE.uJwW.ZIbDLhK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_10"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:42.787878' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_4' LIMIT 1 SQL (0.9ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_4"], ["created_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_4"], ["title", "message_template_4"], ["updated_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_4' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 8ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_3@example.jp"], ["encrypted_password", "$2a$04$U/Fdl5MYWxDJRc0aWpI4t.H.R/QWp2eSs66iYqPvzTBaDstxNQvTa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_3"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:42.824910' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_11@example.jp"], ["encrypted_password", "$2a$04$9w/atmgCHtakQsczmTUmnu50P4bwrAJI9kqWnjwoqfl/f21MfphpS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_11"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:42.839876' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (1.4ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_12@example.jp"], ["encrypted_password", "$2a$04$uSL/HeybdFiToXzZVRD4senU2iCxE99CYqBTfUyPByGQOya8sT7Zy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_12"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:42.854071' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_5' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_5"], ["created_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_5"], ["title", "message_template_5"], ["updated_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_5' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 11ms (Views: 2.2ms | ActiveRecord: 0.6ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_3@example.jp"], ["encrypted_password", "$2a$04$t7IhmfcRyjdWpOCwBFTIyu8qLZa2whbBGf9E27Jj264VO/opP9MAC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_3"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:42.895919' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_13@example.jp"], ["encrypted_password", "$2a$04$vSEBHTUNiBF23MU20UJPAerSJKDFtNV2NKOYcZTZB/O0qrVSPbjLC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_13"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:42.910066' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_14@example.jp"], ["encrypted_password", "$2a$04$rHqDaA9o/mzi1GPiGvTDoOnXBWgf9MB/AohGVlwD06HxbegntrQVa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_14"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:42.922963' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_6' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_6"], ["created_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_6"], ["title", "message_template_6"], ["updated_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_6' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:57:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 10ms (Views: 1.3ms | ActiveRecord: 0.6ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_15@example.jp"], ["encrypted_password", "$2a$04$q8T7Cbnxehs3UGVOM18ipuG.9YqyY6SJd6Y66sGEUNRmc.LOS981e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_15"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:43.015226' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_16@example.jp"], ["encrypted_password", "$2a$04$ncPKJCEdpjBpdimlndks.Om9nUGT2TETceW8jXSG0C5tpsgI75s1."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_16"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:43.028623' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_17@example.jp"], ["encrypted_password", "$2a$04$GLX8PHzlux0q4N5vbmN1WehqHlA5JEEehFuiuMvpUyUOXThY.JlMm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_17"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:43.044682' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_7' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_7"], ["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_7"], ["title", "message_template_7"], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_7' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_18@example.jp"], ["encrypted_password", "$2a$04$bT.TM9vNDlUNkT13N3wGyuI8/GDEYjsEiBRe0y5f8EJGwSTi1qhE."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_18"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:43.090237' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (2.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_19@example.jp"], ["encrypted_password", "$2a$04$ZqMVJdPGhC6emi5qyIWoE.PuVykvii4GxqJxFJz69U3C02RwZRWvC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_19"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:43.107550' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.7ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_8' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_8"], ["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_8"], ["title", "message_template_8"], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_8' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 8ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_20@example.jp"], ["encrypted_password", "$2a$04$R0iVIXJ5DEqhhSwlsxc1kOZlYEFxdUcV4nSfqEyWgMq7hn47u7DnG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_20"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:43.149840' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_21@example.jp"], ["encrypted_password", "$2a$04$McAvkq4S193.Exd.QIFv/eB5KwSq41vx2ApOI60BmANMx.adQ0Jo."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_21"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:43.164196' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_9' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_9"], ["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_9"], ["title", "message_template_9"], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_9' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_22@example.jp"], ["encrypted_password", "$2a$04$PQPlomupVIsy4H0M2eAowerf1WKGy32MCrP7om0z8RKuCkHcUN41u"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_22"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:43.193443' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_23@example.jp"], ["encrypted_password", "$2a$04$MVo5xoTxUNL8lfbGO7ixz.yqfPmpb9Ei53AezkBecFTQ7AJYb2N72"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_23"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:43.209017' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_10' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_10"], ["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_10"], ["title", "message_template_10"], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_4@example.jp"], ["encrypted_password", "$2a$04$ceteVgA28uWpwQ9h3jnkp.hJFm.Z/DwH8ntC1TrqqTy3LrU5kyA9S"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_4"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:43.227289' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_10' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 10, "receiver_id" = 11, "message_template_id" = 10, "updated_at" = '2011-12-16 03:57:43.308589' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 81ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.4ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_24@example.jp"], ["encrypted_password", "$2a$04$hV8okAwfSxF648W6IgSY9.EK7f5GIb6aRccYedSvxRllDnAi9cFpe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_24"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:43.328761' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (3.7ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_25@example.jp"], ["encrypted_password", "$2a$04$HWPVEQ0gqVjOc6MxW8z8.O5dCscJsyBHOgrwf7EU23/w41yc7XLHy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_25"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:43.345292' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_11' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_11"], ["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_11"], ["title", "message_template_11"], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_11' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_26@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_26@example.jp"], ["encrypted_password", "$2a$04$gots71WC3sePRyGJbtC31.p1.LjDzTqeOUvgHC5WMjI1OWrAz2caO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_26"]] SQL (0.8ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:43.372899' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_27@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_27@example.jp"], ["encrypted_password", "$2a$04$9D6eiXYBw0KwcFY1oDfmwO0hNev8FiHBk0DgL0k2J2gkRT86wRY/6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_27"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:43.384772' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_12' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_12"], ["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_12"], ["title", "message_template_12"], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_5@example.jp"], ["encrypted_password", "$2a$04$TVOLYDrjZgvVFOwraFwpHOOk89Q31JaqP48KiHWa7dI75eVoTMToa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_5"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:43.400499' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_12' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 10, "receiver_id" = 11, "message_template_id" = 10, "updated_at" = '2011-12-16 03:57:43.420902' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 19ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_28@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_28@example.jp"], ["encrypted_password", "$2a$04$3zWXbotDW6r5QI95f7DILOjud0Z6PtHzSV4Mg9dAeK96bxpg4wPyG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_28"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:43.439958' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_29@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_29@example.jp"], ["encrypted_password", "$2a$04$cXcw1EkOPr08gkacgRlkiexXbdOEME8UMjfC.5ds4xg9g4IQOvkjO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_29"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:43.453208' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_13' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_13"], ["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_13"], ["title", "message_template_13"], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_13' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.8ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_30@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_30@example.jp"], ["encrypted_password", "$2a$04$AULGLXMvR9lVPxRc6Pk12.D8cqh/8v/6a8JHyZdoT54DJ9KTyVa6y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_30"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:43.481163' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_31@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_31@example.jp"], ["encrypted_password", "$2a$04$mA7UppdePWJFVPI4RJtIu.V3DR7Cc4I3bwjhAeTUa8gfCbKDJ63De"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_31"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:43.496650' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_14' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_14"], ["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_14"], ["title", "message_template_14"], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_6@example.jp"], ["encrypted_password", "$2a$04$iEqses48IskjVi2nT6Z7fu3K7kewddg425eWLt2tPIOWv0mtzpEXC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_6"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:43.513277' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_13' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 78ms (Views: 1.2ms | ActiveRecord: 1.1ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_32@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_32@example.jp"], ["encrypted_password", "$2a$04$Qxrb4/QK34J4Q9Tvbf3IpuezkyqnOpGYw3PpA8trbJFr7HBq1DJOS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_32"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:43.612680' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (2.6ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_33@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_33@example.jp"], ["encrypted_password", "$2a$04$W7YnoSgJXBWalss5kt66i.oV4MGM6vPg/Xg3NYWVOaCdx5U.kigsu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_33"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:43.628936' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.6ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_15' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_15"], ["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_15"], ["title", "message_template_15"], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_15' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_34@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_34@example.jp"], ["encrypted_password", "$2a$04$Y59UmeYIlcEqL2WN3VM5HOKp/GItGjghG48oDu7QWGq9YtO.zsH5O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_34"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:43.657872' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_35@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_35@example.jp"], ["encrypted_password", "$2a$04$cGVIu297F0duPITZlAR00uerWeT6K5nsNNFHtb98FveKYMJzhzlu6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_35"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:43.671089' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_16' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_16"], ["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_16"], ["title", "message_template_16"], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_4@example.jp"], ["encrypted_password", "$2a$04$8zP6fOe3xXx8lekyp/YWOej6Y10L9GODu5zgUWCGBrtEP0xOZGOkK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_4"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:43.687660' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_16' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 10, "receiver_id" = 11, "message_template_id" = 10, "updated_at" = '2011-12-16 03:57:43.710749' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 16ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_36@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_36@example.jp"], ["encrypted_password", "$2a$04$Yfc9jF.KoqC5fVt4nPNyxeH9aMsWDKng1vSqkFlfxEFfV9pge5T3."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_36"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:43.729141' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_37@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_37@example.jp"], ["encrypted_password", "$2a$04$vvUw3/FdKSMK6CSLO/fJwOs9sJzNEtzVCnyFcyZJ4RiiHkkeNzGJW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_37"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:43.742901' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_17' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_17"], ["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_17"], ["title", "message_template_17"], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_17' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_38@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_38@example.jp"], ["encrypted_password", "$2a$04$37PnRb13kxfEgyWVJuJBY.Fc9O22i7s7e5w6REE7ZtrgcqnN6QpSG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_38"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:43.774490' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_39@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (5.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_39@example.jp"], ["encrypted_password", "$2a$04$qiOFSOTJGXBhvRRnu9mN2uIwYmH9Z734iTdkkHPPjgBtVny.OK2xa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_39"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:43.791500' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_18' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_18"], ["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_18"], ["title", "message_template_18"], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_5@example.jp"], ["encrypted_password", "$2a$04$fV4iKoRnNRQLSsTTMjX7m.WvmnLQe4K4YSKOyDX8qW/IKr71MCjqy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_5"]] SQL (61.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["user_id", 12]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:43.872181' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_18' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 10, "receiver_id" = 11, "message_template_id" = 10, "updated_at" = '2011-12-16 03:57:43.897296' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 24ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_40@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_40@example.jp"], ["encrypted_password", "$2a$04$0ZanMHRouawXfvcR4A2Qo.fUGrjOJ5NdQjQsnKE4vppf61G6OU.K."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_40"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:43.923065' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_41@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (5.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_41@example.jp"], ["encrypted_password", "$2a$04$VK4gd9uZwffKEqbZoVDhGupcbjInPgS6VUQZ4WRW6/eYuCfTeN5om"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_41"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:43.942134' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_19' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_19"], ["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_19"], ["title", "message_template_19"], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_19' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_42@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_42@example.jp"], ["encrypted_password", "$2a$04$r37pAamfoKjwGEioMvt/N.r8l5Zw/2nd2yg.TERrs8.9VXK00NXE6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_42"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["user_id", 10]]  (0.4ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:43.966940' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_43@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_43@example.jp"], ["encrypted_password", "$2a$04$xt8fkHNG.pRZk.YNoKfZFuwBig.gfnw58K3nJAFMTcaecMepZqtHO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_43"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:43.983359' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_20' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_20"], ["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_20"], ["title", "message_template_20"], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_6@example.jp"], ["encrypted_password", "$2a$04$OteNwgGihEXTrPYg.oGSquwxVkNhH8xlMtzi0nQH8Ix1IJTYEE8A6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_6"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:44.001397' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_19' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 16ms (Views: 1.4ms | ActiveRecord: 1.0ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_44@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_44@example.jp"], ["encrypted_password", "$2a$04$9uKfi.52HvlPPKgdERXZreLXaLRBN//BQWHUygfE7uk7QIQJ8ITrG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_44"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:44.037955' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_45@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_45@example.jp"], ["encrypted_password", "$2a$04$LL.2gf86Q6q8PbFBS3cM4ONx0vGNLmRAbl1eH/wqL59/t8jFtOBVy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_45"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:44.051330' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_21' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_21"], ["created_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_21"], ["title", "message_template_21"], ["updated_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_21' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.9ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.3ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_46@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_46@example.jp"], ["encrypted_password", "$2a$04$2yKLygtTHryiyrGcieiRTuMoT.ypj4xQPTyBgzoC4jEUjxrg5OR4O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_46"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:44.079042' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_47@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_47@example.jp"], ["encrypted_password", "$2a$04$NVwPKqzf4Zl.xFEmB6lBa.B.kyS4x1z9EIcIcGwzplumYDnNjBdCS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_47"]] SQL (1.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:44.097873' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_22' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_22"], ["created_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_22"], ["title", "message_template_22"], ["updated_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_48@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (68.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_48@example.jp"], ["encrypted_password", "$2a$04$VrEhiN6ePXSUY2WzFJ981eZ56cH0tdYXHLjfslJPzcvwve3GPpukO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_48"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:44.181924' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_49@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_49@example.jp"], ["encrypted_password", "$2a$04$Mp/GfInzbi5uIu2SPycE5.B2QtbqK6YXqfrUvCbnjUposPY6jwD/."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_49"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:44.210098' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_50@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_50@example.jp"], ["encrypted_password", "$2a$04$AB1lyWUjkDff/ANGrD26meK0SVEbt0mgkWXEoWcc2qrsNrrn4VwJy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_50"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:44.223054' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_23' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_23"], ["created_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_23"], ["title", "message_template_23"], ["updated_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_23' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_51@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_51@example.jp"], ["encrypted_password", "$2a$04$HR/47xFG2swZ.CkDUllJnuh/ki5EmLwHUk0mTPiRKteGKRDB30sXa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_51"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:44.253424' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_52@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_52@example.jp"], ["encrypted_password", "$2a$04$VOcnE8g0ZYwg6sVSDQMrduYBkamDy73ykN91tcj.Qler/Y1viq9UG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_52"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:44.271245' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_24' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_24"], ["created_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_24"], ["title", "message_template_24"], ["updated_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_53@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_53@example.jp"], ["encrypted_password", "$2a$04$G0kA5a5239MWpVrXG240RO7q09vXp.ctQS2VUvTbClFfU99oFidke"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_53"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:44.291668' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_54@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_54@example.jp"], ["encrypted_password", "$2a$04$LLfaJyWB8njUbOQyz2l3Eutj/otaQoEQvD8GpKTfkrlSCLYKN5spq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_54"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:44.323083' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_55@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_55@example.jp"], ["encrypted_password", "$2a$04$xX/FyuZmQtBo/GIPaFUOweey2WTiR68KMCdLaGqVLKmyEeLAINCIG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_55"]] SQL (0.8ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:44.344027' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_25' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_25"], ["created_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_25"], ["title", "message_template_25"], ["updated_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_25' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_56@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_56@example.jp"], ["encrypted_password", "$2a$04$k7c0X9XM2W70UvgOjroyLeJPVyNZ1Gx1JupdJS33t2SBgNNrAJETu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_56"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:44.371544' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_57@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_57@example.jp"], ["encrypted_password", "$2a$04$/R8KESwp3Dl/32DzJi9XA.Ar.t9jqDmJ2sadJKnZsStx3ZVMTDApy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_57"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:44.384339' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_26' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_26"], ["created_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_26"], ["title", "message_template_26"], ["updated_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.3ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_58@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (60.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_58@example.jp"], ["encrypted_password", "$2a$04$kQQW0s7XUA8gtAj8bcMGW.xhxuFXGuPe5lqPPbw9wfQVzXEhUS36G"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_58"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:44.466452' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_59@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_59@example.jp"], ["encrypted_password", "$2a$04$2aWVqLngh.9X6G0WU9Za9Oo5zLqK85YX78v6E0t3q5NLMeK9gJHKK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_59"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:44.507421' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_60@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_60@example.jp"], ["encrypted_password", "$2a$04$XSiQerFAcXL9pMJdcpUczOntNFV4f.Qzg/Q8vSoUmyuFBR7a2bzXy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_60"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:44.522517' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_27' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_27"], ["created_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_27"], ["title", "message_template_27"], ["updated_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_27' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_61@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_61@example.jp"], ["encrypted_password", "$2a$04$57s9di0ZT3TvIHHSWtti.uYdHBMtYkb/ieebDaAXjIWuVfaCvL51G"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_61"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:44.547859' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_62@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_62@example.jp"], ["encrypted_password", "$2a$04$OGz0EO1ZTA5mtm84aWPm1ODScDg06keHr6/ky1NBUUMedCQWq1qRK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_62"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:44.562565' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_28' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_28"], ["created_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_28"], ["title", "message_template_28"], ["updated_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_63@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_63@example.jp"], ["encrypted_password", "$2a$04$HzIq.zsbdePmaw6QpjUT2O3xl6aRVdRgG5HjB3qqRs.HZ5J/1yf0i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_63"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:44.594079' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.6ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_64@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_64@example.jp"], ["encrypted_password", "$2a$04$2HJM6ShiPCuCRFVyOkiUy.BcSX/t5umAPZ64ZwfcLRsJT0m6cVHz."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_64"]] SQL (1.0ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:44.609993' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_29' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_29"], ["created_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_29"], ["title", "message_template_29"], ["updated_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_29' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_65@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_65@example.jp"], ["encrypted_password", "$2a$04$ky8umkokBYxzbYgLf.C3hugtaskYLkqklzOP1tqnRcy7o/fC3fsJO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_65"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:44.638047' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (1.8ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_66@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_66@example.jp"], ["encrypted_password", "$2a$04$IjsrjHMd6N9/pQEg0GMtEe.PymyuhczF7H2fXgCmkSOpZXJ1jff5S"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_66"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:44.654828' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_30' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_30"], ["created_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_30"], ["title", "message_template_30"], ["updated_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 10ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_67@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_67@example.jp"], ["encrypted_password", "$2a$04$oFUDW0oamOVRD.SuTp3mEOWBaPiHeV4BJVdpgwdBELXa/Enjc4Z3q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_67"]] SQL (67.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:44.759091' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.2ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_68@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_68@example.jp"], ["encrypted_password", "$2a$04$Cmw2zu6ZHweWtSWDo1se0.GPp7IkqAtZ8Pi3ORmurUfEWpT2kJWXm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_68"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:44.777628' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_31' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_31"], ["created_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_31"], ["title", "message_template_31"], ["updated_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_31' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_69@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_69@example.jp"], ["encrypted_password", "$2a$04$Dx27UH701P5Eu6p4CasiruYryHc1o4XTsALciDJJ0tRqqP5ZTvezK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_69"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:44.805172' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_70@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_70@example.jp"], ["encrypted_password", "$2a$04$SK0germk8WkRUrBJqMuhIetH21p786nFMWYTSBl/u2Teag52jyQ16"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_70"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:44.818425' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_32' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_32"], ["created_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_32"], ["title", "message_template_32"], ["updated_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_71@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_71@example.jp"], ["encrypted_password", "$2a$04$DVxJgtYXV.NX1Ril8Err7uaEH3aaHfyX7e3sWopFuqZOyQwPubJim"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_71"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:44.851061' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_72@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_72@example.jp"], ["encrypted_password", "$2a$04$bRYrf.QkR6Id3yrNuZN4POWL2/oCLSt4zZpVc4.a0msXitdiek8qO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_72"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:44.863835' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_33' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_33"], ["created_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_33"], ["title", "message_template_33"], ["updated_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_33' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_7@example.jp"], ["encrypted_password", "$2a$04$VTd7pQeWeO6UuETkeNk9tejXNCDuTgLHKoUz0R0bRT5R1rTesc.p."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_7"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:44.890564' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 10ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_73@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_73@example.jp"], ["encrypted_password", "$2a$04$ToKgQDVgBgfuP/DKvCM0q.K1YxtC4CxzSKIhV7gFnmlAA5aS4aOUq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_73"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:44.927412' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (1.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_74@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_74@example.jp"], ["encrypted_password", "$2a$04$hVH1wqB8UUnJyVLCaL.aLOUeog31lDnQbR16WEJZRuS.F.AFrFL0y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_74"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:44.942058' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_34' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_34"], ["created_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_34"], ["title", "message_template_34"], ["updated_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_34' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.3ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_8@example.jp"], ["encrypted_password", "$2a$04$A1LMbDpGHL9DxwOpWBoNc.MChgkpDjDiyWYNDRKxvQBfs2o5WLeBG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_8"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:57:44 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:44.967783' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 10ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_75@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_75@example.jp"], ["encrypted_password", "$2a$04$gI5adI7Wh5cLbs1HZQPEW.k0I7ucsMAZcrlKuBvBp9Ndfvzcjfsoi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_75"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:45.054523' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_76@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_76@example.jp"], ["encrypted_password", "$2a$04$QBNWaldW0gqUoV8CchB2v.iPF7TkxRSozuUufKvGMzIkdrsEhBgmy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_76"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:45.071472' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_35' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_35"], ["created_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_35"], ["title", "message_template_35"], ["updated_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_35' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_7@example.jp"], ["encrypted_password", "$2a$04$hlM85KZEqUYE0nZO1.nWOepF5/BDZMdd6SpxGDROmYq0i6YAWaEBy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_7"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:45.098302' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 10ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_77@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_77@example.jp"], ["encrypted_password", "$2a$04$/6XOrr1o4Xid/HiuGfyZQOkpCI8ALvgYDmgytC.A/8i9eYN7ZouMm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_77"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:45.136065' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_78@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_78@example.jp"], ["encrypted_password", "$2a$04$hiUvk8ApkuARIOyS7vao3u6MH9KjHEdG8l/meyPOljrhdi67BKKcC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_78"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:45.149234' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_36' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_36"], ["created_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_36"], ["title", "message_template_36"], ["updated_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_36' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (1.8ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_8@example.jp"], ["encrypted_password", "$2a$04$t1ZZsMh1Rp7/eDKf/l3W7eULUUTZjIcT/HgT0bd2hj9SQvnpuN5BG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_8"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:45.176031' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 11ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_79@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_79@example.jp"], ["encrypted_password", "$2a$04$H9o6soeoajXE/pLNOlodZu0iVHvOQ4UMGgqs.0xXKBalI4fEA96S6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_79"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:45.204782' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_80@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_80@example.jp"], ["encrypted_password", "$2a$04$yf7sludjFr9t/OEdss6ZXOJWqb1ramshG/vBl/sqcXUyPaUtGlBqK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_80"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:45.218936' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_37' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_37"], ["created_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_37"], ["title", "message_template_37"], ["updated_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_37' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.4ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_81@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_81@example.jp"], ["encrypted_password", "$2a$04$iabJgtdfE.qv8TLmFsoa4u.6RdTQCAlsR52ps2X3sOsY06pykb6hK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_81"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:45.243972' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 16ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_82@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (70.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_82@example.jp"], ["encrypted_password", "$2a$04$Us/rV3OScVfuyK0MR4U.M.OMYxB33ebRm1jfYdK0YoxAiFo6NrAOC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_82"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:45.351459' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_83@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_83@example.jp"], ["encrypted_password", "$2a$04$dQAQWNUR0Q0B6cs2eA9C2OTyyu.YP7XwGpf.wntCERx9dsYNPd7we"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_83"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:45.366676' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_38' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_38"], ["created_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_38"], ["title", "message_template_38"], ["updated_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_38' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_84@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_84@example.jp"], ["encrypted_password", "$2a$04$EjNM0wOysce/mTO4MkjWk.iyvL3f94DzItdmKqhe1FpVwKTLxeSHO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_84"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:45.393470' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 18ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_85@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_85@example.jp"], ["encrypted_password", "$2a$04$tQWutU1JlwVnGv6QG0az8efcdRLIQaOw/F.73FNosRGOlXk5z2Vg2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_85"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:45.436046' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_86@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_86@example.jp"], ["encrypted_password", "$2a$04$V1h0ghhqs37fDMELomYfVOP5bBNgAPWxPWSQZgAoqAsC7ZdTrUNcC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_86"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:45.449873' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_39' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_39"], ["created_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_39"], ["title", "message_template_39"], ["updated_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_39' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_87@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (7.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_87@example.jp"], ["encrypted_password", "$2a$04$xFIh/lj5bgymIpgNmaNCo.zyFKc4xNUt4xYpqcTjfR4tQZRAjyS6y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_87"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:45.493429' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_88@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_88@example.jp"], ["encrypted_password", "$2a$04$RVdc2qlwdxdeT56QAimlHe/zF4/2TtIGZKk/fxtUDCIh796fFxKva"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_88"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:45.507446' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_40' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_40"], ["created_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_40"], ["title", "message_template_40"], ["updated_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_40' AND "message_templates"."id" != 9) LIMIT 1 SQL (4.2ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (1.0ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_41' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_41"], ["created_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_41"], ["title", "message_template_41"], ["updated_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_9@example.jp"], ["encrypted_password", "$2a$04$v6t2XKAbbqkK0Af6VwYY2ehN/xFQ7w/PM1ubKNyUnEg1ej42yoSRu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_9"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:45.556180' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 19ms (Views: 9.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position LIMIT 10 OFFSET 0  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_42' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_42"], ["created_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_42"], ["title", "message_template_42"], ["updated_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_9@example.jp"], ["encrypted_password", "$2a$04$8.Tk04H20O3dA5GvAx93d.YSVNNO7qpWz/u3ZZhMAbK4nwamcWIWS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_9"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:45.675973' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 14ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position LIMIT 10 OFFSET 0  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_43' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_43"], ["created_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_43"], ["title", "message_template_43"], ["updated_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_89@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_89@example.jp"], ["encrypted_password", "$2a$04$gy5t4LXJcOwRNJwVilQ3eul78CgmAT.xLLObysnPvZIqi3e2dydV6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_89"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:45.715571' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "message_templates" WHERE ('t'='f')  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_44' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_44"], ["created_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_44"], ["title", "message_template_44"], ["updated_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms  (0.1ms) SELECT COUNT(*) FROM "message_templates" WHERE ('t'='f') Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_10@example.jp"], ["encrypted_password", "$2a$04$BoxM8eon9NU7hHDx4cxaa.G.sM2e74mYUZ7OGTLhTCWEpigqNqmmq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_10"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:45.766120' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_45' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_45"], ["created_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_45"], ["title", "message_template_45"], ["updated_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 11ms (Views: 3.7ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_10@example.jp"], ["encrypted_password", "$2a$04$aXKPG.S7bJYPkKULCR.tI.S0pk8zKORdFzPlytqgcDtiwJgRbgDLW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_10"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:45.802693' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_46' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_46"], ["created_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_46"], ["title", "message_template_46"], ["updated_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_90@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_90@example.jp"], ["encrypted_password", "$2a$04$KASeRUKSc40NRBuwaBKWk.G2lv1ogcCLMJkMgwItYy2ZbtgbYoqUC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_90"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["user_id", 8]]  (0.3ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:45.840680' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_47' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_47"], ["created_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_47"], ["title", "message_template_47"], ["updated_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_48' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_48"], ["created_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_48"], ["title", "message_template_48"], ["updated_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_11@example.jp"], ["encrypted_password", "$2a$04$K.2IDFkt2EFXeumgQjYWhO9M7Jpp8mtzPg.a4thQzYOyDI2aafI4K"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_11"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:45.901332' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_11@example.jp"], ["encrypted_password", "$2a$04$0bN5tXCMx79sI1LAbNVbru.aFbDGxSuKfd.JS5V7G3ajys2P1wN6y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_11"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:57:45 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:45.945691' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.6ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_91@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_91@example.jp"], ["encrypted_password", "$2a$04$UCCeff1twgSiNS..pNwZWOsNPZ2dbikxyd3ZE8fikDGIDx3QavqtO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_91"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:46.043779' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Processing by MessageTemplatesController#new as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_12@example.jp"], ["encrypted_password", "$2a$04$aPUkj7a84NM.J1J2j9KTSuB7iRMD02FMmeliXisWNFxHtMhSmLnKm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_12"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["user_id", 8]]  (0.9ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:46.090156' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_49' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_49"], ["created_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_49"], ["title", "message_template_49"], ["updated_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 13ms (Views: 4.9ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_12@example.jp"], ["encrypted_password", "$2a$04$Flrv./f5/ig64ID5NpYZhOAeYT4gR9EXE4ak.IQbFJL2RwVAqYjwe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_12"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:46.131133' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_50' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_50"], ["created_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_50"], ["title", "message_template_50"], ["updated_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.4ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_92@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_92@example.jp"], ["encrypted_password", "$2a$04$2a2ZHK/khP1wASLlH9s.7OV5VGzaHS6sxzNfh6mIuQuzaW9E6ahy."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_92"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:46.171893' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_51' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_51"], ["created_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_51"], ["title", "message_template_51"], ["updated_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_52' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_52"], ["created_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_52"], ["title", "message_template_52"], ["updated_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_13@example.jp"], ["encrypted_password", "$2a$04$gx9iM61JWEFsGKwC3OTAy.QPPOTomraDm1u6yvrfsG3yUOAThZW4W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_13"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:46.227481' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_53", "status"=>"message_template_53", "body"=>"message_template_53"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.7ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_53' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (7.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_14@example.jp"], ["encrypted_password", "$2a$04$Q/D9zOVlP5sL/HpdxRvpme6ppDXvjBE.3c3O96eWOH4VxyQvMAl1i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_14"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:46.270887' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_54", "status"=>"message_template_54", "body"=>"message_template_54"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_15@example.jp"], ["encrypted_password", "$2a$04$iqu.MqCwRKwaZOQmnWjFLuG8yQYnIcV9OMb4inlkDubPOAN2Cn43K"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_15"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:46.357795' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 13ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_16@example.jp"], ["encrypted_password", "$2a$04$WBT8Ec8nXKly76Hf6Sbt9OmSHQ0/.S/tFm.6o/2hEQws8X5DBiEsC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_16"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:46.392690' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.3ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_13@example.jp"], ["encrypted_password", "$2a$04$Ig9wKkaYxvlPCfsRbjfiROmSfsdJw5lWD1haKGD5NlySLPv5.Lmoi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_13"]] SQL (0.8ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["user_id", 8]]  (2.9ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:46.433056' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_57", "status"=>"message_template_57", "body"=>"message_template_57"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 8ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_57' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_14@example.jp"], ["encrypted_password", "$2a$04$HSscmnE8PpLxqkUwdzVOl.am/5ulZNu6jtUsDMY5Ym4nbOMeUO7da"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_14"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:46.471346' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_58", "status"=>"message_template_58", "body"=>"message_template_58"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_15@example.jp"], ["encrypted_password", "$2a$04$IJ27F76S.YCsyR3mJ6wM3ue86ZdKFyymkT2K9ofnusuQ168vn2D4K"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_15"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:46.499737' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_16@example.jp"], ["encrypted_password", "$2a$04$es4iuSP/03tEbVv9RgiCHeQYCn7F9UaRUxifpVy5vajfEscX6uRVi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_16"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:46.532063' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 8ms (Views: 0.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_93@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_93@example.jp"], ["encrypted_password", "$2a$04$qtMyFWHNVscn.OXmnKpt.eg7TPNlXvsy0lFy4Royd2KtvieMDf9cG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_93"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:46.555604' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_61", "status"=>"message_template_61", "body"=>"message_template_61"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_61' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_94@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_94@example.jp"], ["encrypted_password", "$2a$04$SMu4z6KH.OmeDfw1qvQRnuGs1rz.ZULE51eoWYRDApIDHLpfPbnQG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_94"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:46.611356' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_62", "status"=>"message_template_62", "body"=>"message_template_62"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_95@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_95@example.jp"], ["encrypted_password", "$2a$04$AgyN6QlgY4BOJhCMg4C.wuDx2FM7I2UUuetuL9ebu9uglbZ8r6Seu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_95"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:46.630581' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 8ms (Views: 1.0ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_96@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_96@example.jp"], ["encrypted_password", "$2a$04$gBfuFZLJ6/5ivXY91zmnfuPzAvx6cENKDy8DYouZQChwS0xSKyqfW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_96"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:46.652626' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_65", "status"=>"message_template_65", "body"=>"message_template_65"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_65' LIMIT 1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_66", "status"=>"message_template_66", "body"=>"message_template_66"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 3ms Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 3ms MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_69' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_69"], ["created_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_69"], ["title", "message_template_69"], ["updated_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_17@example.jp"], ["encrypted_password", "$2a$04$jo1S.ylgx6jfQEI7KRlrEu7d.NxicRSPjATrhVtBwBysV2HWbalW."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_17"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:46.703654' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_70", "status"=>"message_template_70", "body"=>"message_template_70"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_70' AND "message_templates"."id" != 9) LIMIT 1  (0.1ms) UPDATE "message_templates" SET "title" = 'message_template_70', "status" = 'message_template_70', "body" = 'message_template_70', "updated_at" = '2011-12-16 03:57:46.712251' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates/9 Completed 302 Found in 14ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_71' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_71"], ["created_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_71"], ["title", "message_template_71"], ["updated_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (40.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_18@example.jp"], ["encrypted_password", "$2a$04$6TrTpcCLFMx.UaOm.W4x0OvQ/nwxpdFcAvDGWlREfw2Vx24plvtJm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_18"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:46.773197' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_72", "status"=>"message_template_72", "body"=>"message_template_72"}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_72' AND "message_templates"."id" != 9) LIMIT 1  (0.1ms) UPDATE "message_templates" SET "title" = 'message_template_72', "status" = 'message_template_72', "body" = 'message_template_72', "updated_at" = '2011-12-16 03:57:46.782233' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates/9 Completed 302 Found in 8ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_73' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_73"], ["created_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_73"], ["title", "message_template_73"], ["updated_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_19@example.jp"], ["encrypted_password", "$2a$04$/Q95KOUilj8HKdm743zdmeaXPNYSGTGPFjcGzoRXeGEIOTuRAjJ.q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_19"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:46.798659' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_74", "status"=>"message_template_74", "body"=>"message_template_74"}, "position"=>"2", "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "message_templates" SET "position" = 0, "updated_at" = '2011-12-16 03:57:46.808081' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "message_templates" SET position = (position - 1) WHERE "message_templates"."id" IN (SELECT "message_templates"."id" FROM "message_templates" WHERE (1 = 1 AND position > 9) ORDER BY position) SQL (0.1ms) UPDATE "message_templates" SET position = (position + 1) WHERE "message_templates"."id" IN (SELECT "message_templates"."id" FROM "message_templates" WHERE (1 = 1 AND position >= 2) ORDER BY position)  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "message_templates" SET "position" = 2, "updated_at" = '2011-12-16 03:57:46.809715' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates Completed 302 Found in 9ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_75' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_75"], ["created_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_75"], ["title", "message_template_75"], ["updated_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_20@example.jp"], ["encrypted_password", "$2a$04$zrdqBM35WY820smORtLYtO5.46L3.uMy3AMVm/a/NB2fXNxLuS462"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_20"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:46.822763' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = '' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 9ms (Views: 0.7ms | ActiveRecord: 0.0ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_77' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_77"], ["created_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_77"], ["title", "message_template_77"], ["updated_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_17@example.jp"], ["encrypted_password", "$2a$04$SUiehvN0whxAkYMJKyjMiumn/H5EsxuPPmCCGwZ515ojSIK4wiGqu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_17"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:46.847919' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_78", "status"=>"message_template_78", "body"=>"message_template_78"}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_79' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_79"], ["created_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_79"], ["title", "message_template_79"], ["updated_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_18@example.jp"], ["encrypted_password", "$2a$04$0Kkf63uaAfXoZjrMhiQtAeahMrPUqkglrUuzsiPgDkK42fTmic.YG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_18"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:46.870641' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_80", "status"=>"message_template_80", "body"=>"message_template_80"}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_81' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_81"], ["created_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_81"], ["title", "message_template_81"], ["updated_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_19@example.jp"], ["encrypted_password", "$2a$04$TkoNIpHJ5wnxczK1Vf1K7Od4xchSjDzpd5i9FOAegOhyF2.I.3M3e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_19"]] SQL (0.4ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:46.892160' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_83' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_83"], ["created_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_83"], ["title", "message_template_83"], ["updated_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_97@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_97@example.jp"], ["encrypted_password", "$2a$04$DWxlGTeCS5XvKgC644Ne6O6ZI2Z5mkclMBCtfDnmyQ/lH9zx/Bu62"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_97"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:46.913685' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_84", "status"=>"message_template_84", "body"=>"message_template_84"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 45ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_85' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_85"], ["created_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_85"], ["title", "message_template_85"], ["updated_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_98@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_98@example.jp"], ["encrypted_password", "$2a$04$zzyg3xc77ZP5RICBXBPLXOEnOss5QVYMXPvGRoyczc2fY66ZYfc/2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_98"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:46.975124' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_86", "status"=>"message_template_86", "body"=>"message_template_86"}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_87' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_87"], ["created_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_87"], ["title", "message_template_87"], ["updated_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_99@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_99@example.jp"], ["encrypted_password", "$2a$04$xwyoFHTQSDc1F5C3rFLeX.y0C7tPUXfnSNp7h7DA32G9zH8y7aV0m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_99"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:46 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:46.998216' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_89' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_89"], ["created_at", Fri, 16 Dec 2011 03:57:47 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_89"], ["title", "message_template_89"], ["updated_at", Fri, 16 Dec 2011 03:57:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_90", "status"=>"message_template_90", "body"=>"message_template_90"}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_91' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_91"], ["created_at", Fri, 16 Dec 2011 03:57:47 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_91"], ["title", "message_template_91"], ["updated_at", Fri, 16 Dec 2011 03:57:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_92", "status"=>"message_template_92", "body"=>"message_template_92"}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_93' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_93"], ["created_at", Fri, 16 Dec 2011 03:57:47 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_93"], ["title", "message_template_93"], ["updated_at", Fri, 16 Dec 2011 03:57:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 5ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_95' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_95"], ["created_at", Fri, 16 Dec 2011 03:57:47 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_95"], ["title", "message_template_95"], ["updated_at", Fri, 16 Dec 2011 03:57:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_21@example.jp"], ["encrypted_password", "$2a$04$USMmnvBtC.8Aw7cTiEECmee9sFPaIsw1O3QnuGVT3BYlGo5fcbztm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_21"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:47 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:57:47 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:47.052634' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 1.0ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_96' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_96"], ["created_at", Fri, 16 Dec 2011 03:57:47 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_96"], ["title", "message_template_96"], ["updated_at", Fri, 16 Dec 2011 03:57:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_22@example.jp"], ["encrypted_password", "$2a$04$e0oipuJFbXdUqAVmGwl5TeHjK.XZ0N8otCtj1qqXh4ySpI3uwdcGm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_22"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:47 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:57:47 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:47.075451' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_97' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_97"], ["created_at", Fri, 16 Dec 2011 03:57:47 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_97"], ["title", "message_template_97"], ["updated_at", Fri, 16 Dec 2011 03:57:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_20@example.jp"], ["encrypted_password", "$2a$04$GcMHq5p7J4cpOZFlKmF9lORgyvAlbJpfZYABhHAjFa0CIu0KWaxUG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_20"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:47 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:57:47 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:47.099750' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_98' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_98"], ["created_at", Fri, 16 Dec 2011 03:57:47 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_98"], ["title", "message_template_98"], ["updated_at", Fri, 16 Dec 2011 03:57:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_21@example.jp"], ["encrypted_password", "$2a$04$x5sX/4nO8qoTGO6yMLOFYOUe/jOoVBdWCANMsTPrEWCpqSiBOFH8m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_21"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:47 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:57:47 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:47.158998' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_99' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_99"], ["created_at", Fri, 16 Dec 2011 03:57:47 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_99"], ["title", "message_template_99"], ["updated_at", Fri, 16 Dec 2011 03:57:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_100@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_100@example.jp"], ["encrypted_password", "$2a$04$deuk80t3DMGIGssn8oRkQO4uqGErC8QZBTCUxGI.ZbMsVq8/vuvDK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_100"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:47 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:47.180858' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_100' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_100"], ["created_at", Fri, 16 Dec 2011 03:57:47 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_100"], ["title", "message_template_100"], ["updated_at", Fri, 16 Dec 2011 03:57:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_101@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_101@example.jp"], ["encrypted_password", "$2a$04$gcJnXYc8/cmAaL9MyjGObO9noFmtDE7IyZ62uidfHN2UsAHhC1n.a"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_101"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:47 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:47.202862' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_101' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_101"], ["created_at", Fri, 16 Dec 2011 03:57:47 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_101"], ["title", "message_template_101"], ["updated_at", Fri, 16 Dec 2011 03:57:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_102' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_102"], ["created_at", Fri, 16 Dec 2011 03:57:47 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_102"], ["title", "message_template_102"], ["updated_at", Fri, 16 Dec 2011 03:57:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 5ms Role Load (0.3ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.6ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_23@example.jp"], ["encrypted_password", "$2a$04$u/Yl2JAzp11Z71sdEL.7YO209iAmJGacmbPLtroqiMeUtiao0jiNi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_23"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:48 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:57:48 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:48.387311' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 SOLR Request (12.2ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A8&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (5.2ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A8&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 55ms (Views: 13.5ms | ActiveRecord: 0.4ms | Solr: 17.4ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (77.8ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_24@example.jp"], ["encrypted_password", "$2a$04$J0YhLzfw6wnwqA0vPW99Ve6bPzb6AZsxnw8f8owlJLhiDMbhP9Oki"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_24"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:48 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:57:48 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:48.542883' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML Parameters: {"user_id"=>"admin_24"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'admin_24' LIMIT 1 SOLR Request (6.1ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A8&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (8.3ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A8&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 25ms (Views: 1.4ms | ActiveRecord: 0.5ms | Solr: 14.4ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_22@example.jp"], ["encrypted_password", "$2a$04$rBfunUSq.gUg.pU9eQSj1uf//Cd7WsiTDMTHSOV1TKJufED3fptQO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_22"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:48 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:57:48 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:48.608639' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 SOLR Request (7.0ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A8&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (7.5ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A8&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 27ms (Views: 1.5ms | ActiveRecord: 0.3ms | Solr: 14.5ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_23@example.jp"], ["encrypted_password", "$2a$04$duBc64NQQWWbSe3U6zJK0OPIdJr28wLJB.bOUXHRvwfY1AHIrODA."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_23"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:48 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:57:48 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:48.662702' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML Parameters: {"user_id"=>"librarian_23"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'librarian_23' LIMIT 1 SOLR Request (16.6ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A8&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (11.9ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A8&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 39ms (Views: 1.4ms | ActiveRecord: 0.8ms | Solr: 28.5ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 SOLR Request (16.3ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (5.8ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IN (2) Completed 200 OK in 52ms (Views: 1.5ms | ActiveRecord: 0.6ms | Solr: 22.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML Parameters: {"query"=>"you"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 SOLR Request (7.9ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&q=you&fl=%2A+score&qf=body_text+subject_text&defType=dismax&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (28.8ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&q=you&fl=%2A+score&qf=body_text+subject_text&defType=dismax&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IN (2) Completed 200 OK in 58ms (Views: 1.3ms | ActiveRecord: 0.6ms | Solr: 36.8ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 SOLR Request (20.7ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (5.6ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Message Load (0.3ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IN (2) Completed 200 OK in 44ms (Views: 1.5ms | ActiveRecord: 0.6ms | Solr: 26.3ms) Processing by MessagesController#index as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 5ms User Load (8.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 104ms (Views: 3.2ms | ActiveRecord: 0.6ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 403 Forbidden in 24ms (Views: 1.4ms | ActiveRecord: 0.5ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#show as HTML Parameters: {"id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 3 AND "messages"."id" = ? LIMIT 1 [["id", "2"]]  (0.0ms) SAVEPOINT active_record_1  (0.3ms) UPDATE "messages" SET "read_at" = '2011-12-16 03:57:49.104607', "updated_at" = '2011-12-16 03:57:49.104971' WHERE "messages"."id" = 2 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1  (0.7ms) UPDATE "messages" SET "state" = 'read', "updated_at" = '2011-12-16 03:57:49.114797' WHERE "messages"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 29ms (Views: 2.5ms | ActiveRecord: 1.9ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 403 Forbidden in 16ms (Views: 1.3ms | ActiveRecord: 0.6ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.2ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_25@example.jp"], ["encrypted_password", "$2a$04$.rXsZg1wzNA66KAGN.cVT.fV523OvnsCsJPuyiTQf8DDBUXtvULg6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_25"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:49 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:57:49 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:49.177609' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 Completed 200 OK in 87ms (Views: 2.5ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_24@example.jp"], ["encrypted_password", "$2a$04$4MofiZpxQ9Xd/Sc.MEB1muMgOT4ghRXTb5F8aoihGocngJBuSs05e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_24"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:49 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:57:49 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:49.288047' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 Completed 200 OK in 12ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 14ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 13ms (Views: 2.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML Parameters: {"parent_id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 13ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML Parameters: {"parent_id"=>"2"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.6ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Processing by MessagesController#new as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 10ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_26@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_26@example.jp"], ["encrypted_password", "$2a$04$K928zoz8aY7iPTpDCvBhY.et0Kgwn.5s2p/W7UCGuVyIhar3u.y9m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_26"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:49 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:57:49 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:49.423171' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 8 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 13ms (Views: 1.5ms | ActiveRecord: 0.7ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_25@example.jp"], ["encrypted_password", "$2a$04$mdJis8L.cFbfzkKVxwh3XeqyJk4V1qyycSh9aACVsIi6a0410ExWm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_25"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:49 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 03:57:49 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:49.465534' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 16ms (Views: 1.4ms | ActiveRecord: 0.6ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_102@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_102@example.jp"], ["encrypted_password", "$2a$04$l1xks8KpsORVTaF.1mT0/.fClgBAKcOc0vjST5Oli2F007cAdVGz."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_102"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:49 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:49 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:49.527358' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_103@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (60.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_103@example.jp"], ["encrypted_password", "$2a$04$fwNzbtVKxxSlPMuctYYyEesP9Pl.1/6Y3ClOD9Ad4WzYGC8Xt4ZcK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_103"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:49 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:49 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:49.600141' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "user_102"]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_27@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_27@example.jp"], ["encrypted_password", "$2a$04$mKKfrQsU1gYqZmVrd2jmw.BJpT42b/w6sIlnSyRGXl2TUr0BV4hgW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_27"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:49 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:57:49 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:49.613955' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}, "user_id"=>"user1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 9ms (Views: 0.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_28@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_28@example.jp"], ["encrypted_password", "$2a$04$.1mRx2YaolqJxGcLl6e1j.ZpPn/jm1tKrmV065LOKoh4nm0rX6gqm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_28"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:49 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:57:49 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:49.639070' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}, "user_id"=>"user1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 0.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_29@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_29@example.jp"], ["encrypted_password", "$2a$04$7ZeLBaTcZoUs6GHlNmPW2uu6VGi1ML.3NdGqgap9vhCZYUxb4lCmy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_29"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:49 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:57:49 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:49.666385' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}, "user_id"=>"user1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 0.8ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_30@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_30@example.jp"], ["encrypted_password", "$2a$04$.yy9M1LmBYumTbdxRqMpcezH94t6CRhtYHoY.OwMOKVlS6pU.CHAS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_30"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:49 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 03:57:49 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:49.690030' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 10ms (Views: 1.0ms | ActiveRecord: 0.4ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test", "parent_id"=>"2"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = 2 LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "user2"]]  (0.0ms) SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "user2"]]  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 404 Not Found in 9ms (Views: 0.8ms | ActiveRecord: 0.4ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 1.0ms | ActiveRecord: 0.2ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test", "parent_id"=>"2"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 43ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 5ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_104@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_104@example.jp"], ["encrypted_password", "$2a$04$jGHimyKUH0vOmy.Fw9adXOOuAvnhqygVcGGQJW4R7GQkZjfaGgTRe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_104"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:49 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:49 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:49.815782' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_105@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_105@example.jp"], ["encrypted_password", "$2a$04$JKBfgKuodutPpuT2AY7t8OtYkmTTZgMZvf.pk2NLkXeuPdyIIRRza"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_105"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:49 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:49 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:49.823718' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_104", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 7ms (Views: 0.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_106@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_106@example.jp"], ["encrypted_password", "$2a$04$RkIBorNJ5CTNjuzmODVukupJZICeY0Xvlg81.A/nICJKqY67DCugC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_106"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:49 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:49 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:49.844238' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_107@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_107@example.jp"], ["encrypted_password", "$2a$04$sfAdrivqQjBdnretxNDbg.OBo5kCW6TFqdxJ/WaPBbHMd.gnC4ZX."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_107"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:49 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:49 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:49.852271' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_106", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 6ms (Views: 0.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_108@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_108@example.jp"], ["encrypted_password", "$2a$04$o21S8.ZMbpt6BWJa0IFHG.ddFfDj5S8kHG5kxwHodHNLsuwN4Xd7y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_108"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:49 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:49 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:49.873825' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_109@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_109@example.jp"], ["encrypted_password", "$2a$04$U22A.9XWC0bYndA0VZMpsOSEYKLdKOf5v0PA2M9KE0gDu0zTIBE4e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_109"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:49 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:49 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:49.882058' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 10ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_110@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_110@example.jp"], ["encrypted_password", "$2a$04$OL8q6.3gKhDGEqDSIYza7.YZPbQjxVId5JiHuqDXNkNkE4RhA72Wq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_110"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:49 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:49 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:49.905112' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_111@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_111@example.jp"], ["encrypted_password", "$2a$04$YYP0OI13bJcaqRCTXEQEVO4vcISflWVFNqtf5Ha5KXDtqxEMTCbEu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_111"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:49 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:49 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:49.913730' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 7ms (Views: 0.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_112@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (39.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_112@example.jp"], ["encrypted_password", "$2a$04$38Q5B9VQ9Cgyhukh7YKcTupaSOpNPJ0oOa1g9R6dicCjaBkLpuEWK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_112"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:49 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:49 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:49.973204' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_113@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_113@example.jp"], ["encrypted_password", "$2a$04$3BwffvRJ3v4tgiIhIZoLhOcU7lGLwMgRWLTXn10ifqpt3qBtbpXwC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_113"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:49 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:49 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:49.982359' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_112", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 8ms (Views: 0.9ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_114@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_114@example.jp"], ["encrypted_password", "$2a$04$wHQobUXlWP0TlwjKpOR1ruMX6x1nCFrXWOP/mgUv9lbahID0jto/."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_114"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:50 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:50 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:50.004679' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_115@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_115@example.jp"], ["encrypted_password", "$2a$04$/62VAVx7y4ZGySG/7n9OL.pOHCGqxR0xw15pqSWaJj7Y7Xo9pf2fO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_115"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:50 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:50 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:50.013317' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_114", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_116@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_116@example.jp"], ["encrypted_password", "$2a$04$7qzpzbfkzg6wGbvWgpjB0uTVAWba9tfCAR4dnsd0DTMwlRCE1Mjzy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_116"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:50 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:50 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:50.034144' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_117@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_117@example.jp"], ["encrypted_password", "$2a$04$MSWZBPOTkhzfqRRpZw.Lh.zijp0PLZQYcDrKbsK868.Cca6jPvawG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_117"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:50 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:50 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:50.043154' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.8ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_118@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_118@example.jp"], ["encrypted_password", "$2a$04$rRO8UDg06pjhfENbG03QkuTEV7rXW0SpmqjkvxLKnJ4aDNxxmJLgC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_118"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:50 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:50 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:50.062747' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_119@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_119@example.jp"], ["encrypted_password", "$2a$04$Dl/IatBznd1DA/cLSKldF.NOwB0y.mr/qU4LZqOuwjqy1in/pedq6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_119"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:50 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:50 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:50.071832' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.8ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_120@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_120@example.jp"], ["encrypted_password", "$2a$04$8EQufugl5WS2DeXJp4Rnr.Enwl4PhnSGe2/YjlGSRBoubZmh2YveO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_120"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:50 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:50 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:50.091614' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (37.0ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_121@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_121@example.jp"], ["encrypted_password", "$2a$04$YDn8x3m41n7Avg5Xe/X/gevuLfSYN2JZizz6u3sjGql4RI7OTE7Sm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_121"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:50 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:50 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:50.139193' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"2"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_122@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_122@example.jp"], ["encrypted_password", "$2a$04$CEKyRhclyBZI24T6dXHz1e2oRNXvW3yNixyg4VOgpv7iNg8yQwt0y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_122"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:50 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:50 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:50.157993' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_123@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_123@example.jp"], ["encrypted_password", "$2a$04$EzyjzSF5XX45y0vVFzOXG.aTfXcQAYmcThqfhEjXuKFIKLOsYD7Mq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_123"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:50 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:50 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:50.166661' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_124@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_124@example.jp"], ["encrypted_password", "$2a$04$9Yk68r/ViwRwGwXAGft8I.Mm3WuMV8cv6ahGH1YrmxtppBs4nFTcm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_124"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:50 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:50 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:50.185819' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_125@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_125@example.jp"], ["encrypted_password", "$2a$04$RSmtYtUdIDe5bYclFhfu0.nOQ6Fysk7/Tn3GMoheDr0wRJSpNfAGW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_125"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:50 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:50 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:50.194731' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_124", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 1.0ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_126@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_126@example.jp"], ["encrypted_password", "$2a$04$gZQGwTdCo5Rb6ASk5UEqnewBxvcckYyizNsnTY7DcVbqeqXyx3TkW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_126"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:50 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:50 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:50.213931' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_127@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_127@example.jp"], ["encrypted_password", "$2a$04$cCvqEwnoIk/AU7D1OHt55eOhephlrZr23.EWZpQEymtciMmY/HZPu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_127"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:50 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:50 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:50.221854' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_126", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.8ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_128@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_128@example.jp"], ["encrypted_password", "$2a$04$AaX7z0FgzvuGzkKJu9UWGOHZMR6dWfMeGLAdS2pwTLJ4IG6ltgOPy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_128"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:50 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:50 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:50.242391' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_129@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_129@example.jp"], ["encrypted_password", "$2a$04$47LAj.wTndeLJEENIvFpeOvAgKIDqyJn3M7VKxHlI8YoL7/oYU90O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_129"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:50 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:50 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:50.250929' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 45ms (Views: 0.8ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_130@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_130@example.jp"], ["encrypted_password", "$2a$04$xLfI6z8YLV3jHvjgQhYOwuH.c06RHdriCTvkScujavM04H5V5d/8a"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_130"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:50 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:50 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:50.308383' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_131@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_131@example.jp"], ["encrypted_password", "$2a$04$ZiVJHiLHkWyZ9N8tqMTsneRnydJGPbtXUv1C8fMvUeJITXAq1XkG2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_131"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:50 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:50 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:50.316989' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_132@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_132@example.jp"], ["encrypted_password", "$2a$04$49qGXIYUFZ/oshD7d/LVMePbXmeMWPK4O0ppecoGP5VHVxDOgGqDC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_132"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:50 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:50 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:50.337579' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_133@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_133@example.jp"], ["encrypted_password", "$2a$04$QhMo58fIA2r4BXWP6O6Cm.Tqntx9gztY9EXxKGwaoUjV1iZh.AFSm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 03:57:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_133"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 03:57:50 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 03:57:50 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 03:57:50.345874' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"2"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#destroy as HTML Parameters: {"id"=>"2"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 3 AND "messages"."id" = ? LIMIT 1 [["id", "2"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "messages" WHERE ("lft" > 3 AND "rgt" < 4) SQL (0.3ms) UPDATE "messages" SET "lft" = ("lft" - 2) WHERE "messages"."id" IN (SELECT "messages"."id" FROM "messages" WHERE ("lft" > 4) ORDER BY "lft") SQL (0.4ms) UPDATE "messages" SET "rgt" = ("rgt" - 2) WHERE "messages"."id" IN (SELECT "messages"."id" FROM "messages" WHERE ("rgt" > 4) ORDER BY "lft") SQL (0.1ms) DELETE FROM "messages" WHERE "messages"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/messages Completed 302 Found in 9ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 5ms Fixture Delete (0.4ms) DELETE FROM "message_requests" Fixture Insert (0.2ms) INSERT INTO "message_requests" ("sender_id", "receiver_id", "message_template_id", "state", "created_at", "updated_at", "id") VALUES (1, 1, 1, 'pending', '2011-12-16 16:47:49', '2011-12-16 16:47:49', 980190962) Fixture Insert (0.1ms) INSERT INTO "message_requests" ("sender_id", "receiver_id", "message_template_id", "state", "created_at", "updated_at", "id") VALUES (1, 1, 1, 'pending', '2011-12-16 16:47:49', '2011-12-16 16:47:49', 298486374) Fixture Delete (0.4ms) DELETE FROM "message_templates" Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (1, 'reservation_accepted', 'Reservation accepted', 'Reservation accepted', 1, '2011-12-16 16:47:49', '2011-12-16 16:47:49') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (2, 'item_received', 'Item received', 'Item received', 2, '2011-12-16 16:47:49', '2011-12-16 16:47:49') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (3, 'reservation_expired_for_patron', 'Reservation expired', 'Reservation expired', 3, '2011-12-16 16:47:49', '2011-12-16 16:47:49') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (4, 'reservation_expired_for_library', 'Reservation expired', 'Reservation expired', 4, '2011-12-16 16:47:49', '2011-12-16 16:47:49') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (5, 'reservation_canceled_for_patron', 'Reservation canceled', 'Reservation canceled', 5, '2011-12-16 16:47:49', '2011-12-16 16:47:49') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (6, 'reservation_canceled_for_library', 'Reservation canceled', 'Reservation canceled', 6, '2011-12-16 16:47:49', '2011-12-16 16:47:49') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (7, 'recall_item', 'Recall item', 'Recall item', 7, '2011-12-16 16:47:49', '2011-12-16 16:47:49') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (8, 'recall_overdue_item', 'Recall overdue item', 'Recall overdue item', 8, '2011-12-16 16:47:49', '2011-12-16 16:47:49') Fixture Delete (0.2ms) DELETE FROM "messages" Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "read_at", "state", "lft", "rgt", "updated_at") VALUES (1, 3, 4, 'First Message', 'Abby, you get the first message', '2007-07-04 12:10:47.000000', '2011-12-13 16:47:49.000000', 'unread', 1, 2, '2011-12-16 16:47:49') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (2, 4, 3, 'RE: First Message', 'Thanks Dad! You are the coolest!', '2011-12-14 16:47:49.000000', 'unread', 3, 4, '2011-12-16 16:47:49') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (3, 3, 4, 'Second Message', 'Catie, you get the 2nd message', '2011-12-15 16:47:49.000000', 'unread', 5, 6, '2011-12-16 16:47:49') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (6, 4, 5, 'Dad!', 'He is sucha dork.', '2011-12-14 16:47:49.000000', 'unread', 7, 8, '2011-12-16 16:47:49') Fixture Delete (0.1ms) DELETE FROM "roles" Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Guest', 'Guest', 1, NULL, '2011-12-16 16:47:49', '2011-12-16 16:47:49') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('User', 'User', 2, NULL, '2011-12-16 16:47:49', '2011-12-16 16:47:49') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Librarian', 'Librarian', 3, NULL, '2011-12-16 16:47:49', '2011-12-16 16:47:49') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Administrator', 'Administrator', 4, NULL, '2011-12-16 16:47:49', '2011-12-16 16:47:49') Fixture Delete (0.1ms) DELETE FROM "user_groups" Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('(not specified)', '(not specified)', '2007-12-13 12:00:51.564542', 1, '', '2007-12-13 12:00:01.674976', 1) Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('User', 'User', '2007-12-22 18:14:56.836548', 2, '', '2007-12-22 18:14:40.173954', 2) Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('Faculty', 'Faculty', '2007-12-22 18:15:05.134351', 3, '', '2007-12-22 18:15:05.126457', 3) Fixture Delete (0.1ms) DELETE FROM "user_has_roles" Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (1, 4, '2011-12-16 16:47:49', '2011-12-16 16:47:49', 135138680) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (2, 3, '2011-12-16 16:47:49', '2011-12-16 16:47:49', 344583537) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (3, 2, '2011-12-16 16:47:49', '2011-12-16 16:47:49', 206669143) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (4, 3, '2011-12-16 16:47:49', '2011-12-16 16:47:49', 226540757) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (5, 2, '2011-12-16 16:47:49', '2011-12-16 16:47:49', 358143215) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (6, 2, '2011-12-16 16:47:49', '2011-12-16 16:47:49', 576709754) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (7, 2, '2011-12-16 16:47:49', '2011-12-16 16:47:49', 1010528733) Fixture Delete (0.2ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:16:30.163731', '$2a$10$vHohD1WflnTIqAa8zMkF9evwAgIZRw3XuR4d3bi29M.jph/MB/AJi', 2, 1, NULL, 'admin', 'tanabe@kamata.lib.teu.ac.jp', '2007-11-19 07:58:32.111941', 4) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 03:41:16.337474', '$2a$10$9O2VuTccN4gHq36ARg0QReSrb1D7WrBBhZZ759RM9moHbB0W5zCzS', 1, 2, NULL, 'librarian1', 'librarian1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:33.172441', 1) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', '$2a$10$JthS59A0BNkDOoFpCXM0V.GhhffKaoWKbzpPahYp/vTFrOyM7h/uW', 1, 3, NULL, 'user1', 'user1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:23.340575', '$2a$10$YmmTGrYQ1Ir6oc7wXnp.GuNeO1eYLoP3sv8wMSIrTdaGw2BPwRrpS', 1, 4, NULL, 'librarian2', '2008-01-18 03:24:04.222344', 1) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:44.711117', '$2a$10$i7UjJhLVrJM/J7qaTwW39OXw1NiwowUEbtNHVDV0sqMLjX9.UO9ca', 1, 5, NULL, 'user2', '2008-01-18 04:29:06.922728', 2) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 6, NULL, 'user3', 'user3@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 7, NULL, 'user4', 'user4@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.2ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_1@example.jp"], ["encrypted_password", "$2a$04$cS/DddVz6FO4nbUhXe50b.dUpnzf8Db.aXT7B5amEbnMWLpGtXfDW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_1"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:49 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 16:47:49 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:49.779641' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Rendered /Users/kosuke/enju_message/app/views/message_requests/index.html.erb within layouts/application (4.6ms) Completed 200 OK in 89ms (Views: 50.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_1@example.jp"], ["encrypted_password", "$2a$04$lytJawFKLaPbPuZWNYPWZuYwDgYUps0RT1sDXCQLNsbRgFFkrhinK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_1"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:49 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 16:47:49 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:49.901549' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_1@example.jp"], ["encrypted_password", "$2a$04$bFPUCKtAYSazDxQJv6itHufgbelpjn3BWaGBK0vul/6tXrCP7WCpa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_1"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:49 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:49 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:49.919630' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 22ms (Views: 16.5ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "message_requests" WHERE ('t'='f') Processing by MessageRequestsController#index as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 8ms  (0.1ms) SELECT COUNT(*) FROM "message_requests" WHERE ('t'='f') Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_2@example.jp"], ["encrypted_password", "$2a$04$63a3JfIwu3J.Wu49vKSbRuU1343nhnpeXNMaCKwzV5DyvrHNWfHkq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_2"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:49 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 16:47:49 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:49.964269' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (30.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_2@example.jp"], ["encrypted_password", "$2a$04$O7Buq5tjN2JtPij9pKxcNeP3HLpyWVVOWIEuxP2lYo/8.WhBc3dye"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_2"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:50.003185' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_3@example.jp"], ["encrypted_password", "$2a$04$EqWkQUGm.k7E4ephcx5NbujTtsTvQ1yplpeGmrqW0svGixlJUwBsq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_3"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:50.019243' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_1' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_1"], ["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_1"], ["title", "message_template_1"], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_1' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 20ms (Views: 15.3ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_2@example.jp"], ["encrypted_password", "$2a$04$gQiZ0SWICNnQDg8Cubb0RO3qV21IvZ3a2CSU9Y3oRby/JfmuFTdu6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_2"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:50.069325' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_4@example.jp"], ["encrypted_password", "$2a$04$LRRX.b2RU/QSaeu78iVBauracwB62cntn0egl9K7gLyCxszw980N."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_4"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:50.077769' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_5@example.jp"], ["encrypted_password", "$2a$04$cFGvvG434/yyZ1nDLaaR4.weysPkbIXTPop.1CHsO3bkJHWV2pps2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_5"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:50.085809' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_2' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_2"], ["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_2"], ["title", "message_template_2"], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_2' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_6@example.jp"], ["encrypted_password", "$2a$04$Ltpp2VqKmNqBeayjWEAI.uStyOyp9G23DG0VBvsB7bNx7GMP.SBKi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_6"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:50.109746' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_7@example.jp"], ["encrypted_password", "$2a$04$n6gaTf/VS81Nkpfttl38KO2ZwXscnEIqBF2fjpo3Y7tkFtjn/Xhj2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_7"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:50.118011' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (32.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_8@example.jp"], ["encrypted_password", "$2a$04$fq5iDo5JJxrIPIj.TTYTOeYoDD17RRad6YgTsOhuTxo5Pw819GGjm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_8"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:50.157352' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_3' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_3"], ["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_3"], ["title", "message_template_3"], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_3' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_9@example.jp"], ["encrypted_password", "$2a$04$weZNd4mM6bauRVEEf6FPS.PMamr.gqm2N3T7aTP3VuL/w1VQ0HdFm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_9"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:50.182837' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_10@example.jp"], ["encrypted_password", "$2a$04$hJgl7lETKgLJioNyn7xCPO2Bt/2kGr9yozP5nKQP/7g1VXgfhEbMS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_10"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:50.190714' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_4' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_4"], ["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_4"], ["title", "message_template_4"], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_4' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_3@example.jp"], ["encrypted_password", "$2a$04$.0eMe2KstHlUj5NnxvjR6eiX93lqJakcEKWtB.tob.yd5lW0pW9x."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_3"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:50.213161' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_11@example.jp"], ["encrypted_password", "$2a$04$KJ4iQHObtq.fZGmfKj7EQ.E/cAkvuyv1sepBWd5IQYIxA4O1dlLNi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_11"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:50.221684' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_12@example.jp"], ["encrypted_password", "$2a$04$EM1VqcCOqsJJ.dNjnSUk9OO9EeQCKCUILnq8V45BroNMu6tmLJf/W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_12"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:50.229517' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_5' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_5"], ["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_5"], ["title", "message_template_5"], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_5' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 8ms (Views: 2.9ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_3@example.jp"], ["encrypted_password", "$2a$04$REBIbdVbVu8G2e7EKxh/AegcB/nPPUm8QhM2Qah5KjZ7OXCX1yiga"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_3"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:50.256032' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_13@example.jp"], ["encrypted_password", "$2a$04$Du2JBn4tfQTB.2i3Y0/6Qu8hqXgdo7w4bdlXFvt10.g0oJYPXydNq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_13"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:50.264368' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_14@example.jp"], ["encrypted_password", "$2a$04$Q9rCBTsLCCh1KsgKwXkFeeL1uF1BONIq.NHXWZJ9GiU19VTvFla2."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_14"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:50.272245' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_6' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_6"], ["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_6"], ["title", "message_template_6"], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_6' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 7ms (Views: 0.9ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_15@example.jp"], ["encrypted_password", "$2a$04$iji7PDC8EPM1qnnWC2wuPuFUzxfJE7UPZvK2EbUUd/LjpMZOkoIVK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_15"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:50.329111' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_16@example.jp"], ["encrypted_password", "$2a$04$CNpj8aeprJ7a..q3Mft4LuRRTpTeaSSCPy5BpmWjQEi/U17S/csaq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_16"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:50.338025' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_17@example.jp"], ["encrypted_password", "$2a$04$CWaN.pVqBWy.oXX.a5IOaegKkWmXOGgCYw688xKkfBm4a3vxMUdW6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_17"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:50.345832' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_7' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_7"], ["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_7"], ["title", "message_template_7"], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_7' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_18@example.jp"], ["encrypted_password", "$2a$04$03UWrlymPmKyDp7saz3ubu5zQvjaYwmN6tHzMSw3kf3mCvGi1cVZq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_18"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:50.370484' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_19@example.jp"], ["encrypted_password", "$2a$04$nJ8H4TCppaLEO378onYvLO/whchPVDU1qDaNp48864J/.la69zila"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_19"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:50.378754' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_8' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_8"], ["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_8"], ["title", "message_template_8"], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_8' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_20@example.jp"], ["encrypted_password", "$2a$04$LD8ZoZBG6AJGPkTimCKBsu6H5.bPyABYMmmCpn8wY.cDoBZf07RGC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_20"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:50.401802' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_21@example.jp"], ["encrypted_password", "$2a$04$R6fXf22l1B6/e1FgCNdYVu.h6iXblVkNlAEZvg4MWijz3GJTfG1Iy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_21"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:50.410201' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_9' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_9"], ["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_9"], ["title", "message_template_9"], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_9' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_22@example.jp"], ["encrypted_password", "$2a$04$Wjauyfmt/w5s82b0w5xZ5eCQcDxps30judAOZVuuKfpYPgtKz8r82"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_22"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:50.425321' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_23@example.jp"], ["encrypted_password", "$2a$04$zmUuxDpmq7fFduz7wL8fK.jcfHpF54zYeDdx9hfj1ZILnqC0VSkAq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_23"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:50.433091' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_10' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_10"], ["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_10"], ["title", "message_template_10"], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_4@example.jp"], ["encrypted_password", "$2a$04$5t1FnsQ/95d3tQP0hSJ7Net.I1yk8t2CJmTmN8hit8yEHv5ur.RJa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_4"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:50.443488' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_10' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 10, "receiver_id" = 11, "message_template_id" = 10, "updated_at" = '2011-12-16 16:47:50.486452' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 44ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_24@example.jp"], ["encrypted_password", "$2a$04$9fUdSY84DdelWr7BpwOPMeZhQR1gNaL0m30tCtkFm2qwmGWSqvDwa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_24"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:50.499233' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_25@example.jp"], ["encrypted_password", "$2a$04$0yIv3TfMtjQhE81Jsi0kJuaOmknAP7cqTPMyp.FlASrKdItZ/bDxi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_25"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:50.507512' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_11' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_11"], ["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_11"], ["title", "message_template_11"], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_11' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_26@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_26@example.jp"], ["encrypted_password", "$2a$04$WrIu7HO.9DTHXh7OgBVhxO8i47qyQ0p6Zt9XvFuXCT3Fa.v7PUSFO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_26"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:50.521685' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_27@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_27@example.jp"], ["encrypted_password", "$2a$04$mb/8jOtnsm2mvkmYn7V7U.LRnxXMvLlDd9V9h4I7KoevgBpwhf5eK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_27"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:50.529449' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_12' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_12"], ["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_12"], ["title", "message_template_12"], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_5@example.jp"], ["encrypted_password", "$2a$04$LA3oWjJ/pR4vgrq2yB8pL.6SAXfwY3n5vaQLSYAblIwL7P16jSlKi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_5"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:50.540194' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_12' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 10, "receiver_id" = 11, "message_template_id" = 10, "updated_at" = '2011-12-16 16:47:50.551002' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 10ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_28@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_28@example.jp"], ["encrypted_password", "$2a$04$6QIabAaDSIw2OYt18o8GROOWsVAe/wVLYhAhLbswS8hyFXvSmCJBG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_28"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:50.563966' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_29@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_29@example.jp"], ["encrypted_password", "$2a$04$s1XiIbGJl/JsiaV1jiViUObB8aaGevLMbA0DUHtprLMl5vszXzUJG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_29"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:50.573160' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_13' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_13"], ["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_13"], ["title", "message_template_13"], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_13' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_30@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_30@example.jp"], ["encrypted_password", "$2a$04$XDdDJAv0WkznSq.ERC4HZuxA6CtESIbrXQiayxPYpxZMg2Y81NccC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_30"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:50.587402' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_31@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_31@example.jp"], ["encrypted_password", "$2a$04$erH60f/X/3GrFmEeIphZJuyw.j/6xfRtYfHzB.NalWMpQGnAsxNVG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_31"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:50.595082' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_14' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_14"], ["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_14"], ["title", "message_template_14"], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_6@example.jp"], ["encrypted_password", "$2a$04$EOui35rfGjnsAId95IMLdeDpGRpCMY8Ejel16OHC2xeDW66NW1Z9a"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_6"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:50.605618' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_13' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 42ms (Views: 0.9ms | ActiveRecord: 0.7ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_32@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_32@example.jp"], ["encrypted_password", "$2a$04$e/ZQFZsF8BpswrzlHK6HsuUpwJEpr0n8RMX3oi.QCCA3gXq1ZJ6.O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_32"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:50.660240' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_33@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_33@example.jp"], ["encrypted_password", "$2a$04$IPOzN.3Drjy2RSxVdaQK5emwu/oxINyEXMrwIPxTe122TRKj5O/BO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_33"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:50.669199' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_15' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_15"], ["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_15"], ["title", "message_template_15"], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_15' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_34@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_34@example.jp"], ["encrypted_password", "$2a$04$GK66Gr4UUMwLDU5W/BusM.6DATVu0yNKs/j7AdkfGAKmmPIvwHT3."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_34"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:50.683457' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_35@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_35@example.jp"], ["encrypted_password", "$2a$04$EtD4SYtOm.4QZy.h12s4iOiS0DxSWG971cVbWiWY9FVpH2b/AArt6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_35"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:50.691448' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_16' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_16"], ["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_16"], ["title", "message_template_16"], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_4@example.jp"], ["encrypted_password", "$2a$04$oZ70QSqMQTmlW1vyZLwyyepY/qcSroghwnUAx1qInjln0nkBuu3ya"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_4"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:50.702932' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_16' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 10, "receiver_id" = 11, "message_template_id" = 10, "updated_at" = '2011-12-16 16:47:50.713398' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 10ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_36@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_36@example.jp"], ["encrypted_password", "$2a$04$sOEYMIhom.zdseHZSzNEa.M5nae4DWG1wcTzwwD22ZO9sr.LnRraa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_36"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:50.729155' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_37@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_37@example.jp"], ["encrypted_password", "$2a$04$6BtZFGeIfLKvoEyNVCR0Gu.1PhVaZqqfBGWi/0xmwtQontswat5tu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_37"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:50.739577' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_17' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_17"], ["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_17"], ["title", "message_template_17"], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_17' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_38@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_38@example.jp"], ["encrypted_password", "$2a$04$K76A/kTYk6T6zjB1XyBg0.2n8LJArtY56JU4pUd9xA2xH6SU9KVGO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_38"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:50.759140' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_39@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_39@example.jp"], ["encrypted_password", "$2a$04$kfRh9Y44/PMyGWvir7C..u5ugqaPJNv7iyK5cN1aknrRldxGRJXaq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_39"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:50.771131' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_18' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_18"], ["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_18"], ["title", "message_template_18"], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_5@example.jp"], ["encrypted_password", "$2a$04$cYYBBqCffI4XE16VBhKupeQ9xAoVL28jLMcgQ2TuMImZKmf5OFDXC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_5"]] SQL (57.8ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:50.845196' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_18' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 10, "receiver_id" = 11, "message_template_id" = 10, "updated_at" = '2011-12-16 16:47:50.864299' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 22ms Role Load (0.3ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_40@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_40@example.jp"], ["encrypted_password", "$2a$04$C7YkPkPgR7Z4Uwu1dhM0u.ne96TNnnCppayFwkI9F9DNCFVe448Je"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_40"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:50.894456' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.3ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_41@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_41@example.jp"], ["encrypted_password", "$2a$04$UlZSVYyXe1aAhLXvMS33f.Wtv8XmAwpbUUa7hJ.yfjulynYLNimee"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_41"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:50.910287' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_19' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_19"], ["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_19"], ["title", "message_template_19"], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_19' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_42@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_42@example.jp"], ["encrypted_password", "$2a$04$gAv01Q9XYG7nsiCwEMQ4I.bf2xtrOf31j.eOHx6JlCqdG.nteBapS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_42"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:50.934665' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_43@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_43@example.jp"], ["encrypted_password", "$2a$04$66IdBtLT/08G5GKcHutYKObSRKB0GHOj0BCJT6R/7m1tw43PfBk0G"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_43"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:50.948100' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_20' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_20"], ["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_20"], ["title", "message_template_20"], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_6@example.jp"], ["encrypted_password", "$2a$04$KYLVE/VgO6RxHlw9VIh5Ue6FXkaaMK2IMq2sFV1vmkHidTFE0srEG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_6"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 16:47:50 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:50.965808' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_19' AND "message_templates"."id" != 9) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 19ms (Views: 1.3ms | ActiveRecord: 1.1ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_44@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_44@example.jp"], ["encrypted_password", "$2a$04$H2XT1.WnunA2X2Nw0W8j2upvGU/wshpM2Cp2My/g.H5lp5hj1AL26"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_44"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:51.008090' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_45@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_45@example.jp"], ["encrypted_password", "$2a$04$DGYMr722iaYyb5fVZRvZNuaR5WeKHBvFdkw1uxV9qsB8zqjCV4oq6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_45"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:51.020965' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_21' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_21"], ["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_21"], ["title", "message_template_21"], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_21' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_46@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_46@example.jp"], ["encrypted_password", "$2a$04$Z9/ztfva9xy3lsoHSbPN2erx7uPh3XgafAIvG0gWsOcP0V49w.06y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_46"]] SQL (0.5ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:51.044289' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_47@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_47@example.jp"], ["encrypted_password", "$2a$04$l8VDtyTYlJ3/OYBzP8duXOUYsHGqEf8c7lWFLAkHUw9r9xN3Ikya."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_47"]] SQL (1.9ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:51.060257' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_22' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_22"], ["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_22"], ["title", "message_template_22"], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_48@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (58.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_48@example.jp"], ["encrypted_password", "$2a$04$UDhL7Pf12NCf71BxIXnhU.FMtU6FAT/kzGnz.uE62JqAf/VFT/Idu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_48"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:51.138049' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_49@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_49@example.jp"], ["encrypted_password", "$2a$04$SZFNQ/u.py2jtlLofUbpRerWMXlTLRrUWF4X/j2SuxYRf45.ZAf7m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_49"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:51.169984' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.4ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_50@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_50@example.jp"], ["encrypted_password", "$2a$04$GKlF/JdXLDluQGEjPKD0U.uEAqrn7Gf/uZI1lq.pQFtpTMn12rVWy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_50"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:51.184706' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_23' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_23"], ["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_23"], ["title", "message_template_23"], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_23' AND "message_templates"."id" != 9) LIMIT 1 SQL (1.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_51@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_51@example.jp"], ["encrypted_password", "$2a$04$BH9lbuAlaSLzhOo87L6X6OZG2iFZtAzsHghDcd7L6pIGMx1BfHPKq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_51"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:51.210813' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_52@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_52@example.jp"], ["encrypted_password", "$2a$04$ZqQZeki19xZCBLH9bi.9/.YPQ52KW3RUa3BucJcFLc7q1Pkv3QZtS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_52"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:51.223155' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_24' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_24"], ["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_24"], ["title", "message_template_24"], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_53@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_53@example.jp"], ["encrypted_password", "$2a$04$TIu1oMGsEF1lku2eFjQ3Uu4s2SgWIHwZXr.WXQoSkhbQi0MS8Gnny"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_53"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:51.242633' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_54@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_54@example.jp"], ["encrypted_password", "$2a$04$HuyKaraJLpvLC8wdfthJm.ps.I09ZkX4FvYZe/X/rK3ZZDzm1VgTG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_54"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:51.272588' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_55@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_55@example.jp"], ["encrypted_password", "$2a$04$lYxAXeLcCjmelBVZn/BBg.Hn7/mZ4OUB3zdC3Suuz/7lcoub2D63C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_55"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:51.286304' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_25' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_25"], ["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_25"], ["title", "message_template_25"], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_25' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_56@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_56@example.jp"], ["encrypted_password", "$2a$04$LkAO0Rhbt0uByalNchBnCun3D6axFeK/pF/NczYsU8T/TbvLOwey2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_56"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:51.313036' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_57@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_57@example.jp"], ["encrypted_password", "$2a$04$ifN82OHHCQ3cluVKVDwUfelcPVrSoPmCLaWbw6xZzfhnRWXafZiY2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_57"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:51.327128' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_26' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_26"], ["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_26"], ["title", "message_template_26"], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_58@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (57.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_58@example.jp"], ["encrypted_password", "$2a$04$d2X/qwq0ccknNspkoKWkP.lptnCUnm5RZJGP7rc/JHhLv2RYupYvK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_58"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:51.404136' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_59@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_59@example.jp"], ["encrypted_password", "$2a$04$lnSQpDFWd6mvqv9i7JDCmOSqIqwTQUkLkt9thx5hzn9syWotDtg1m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_59"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:51.433557' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_60@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_60@example.jp"], ["encrypted_password", "$2a$04$sXIjc11FNidi0J7J2FUf6e0T8FEP3HkL3Qtap/I/A2mPbhsKF8hOy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_60"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:51.447181' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_27' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_27"], ["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_27"], ["title", "message_template_27"], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_27' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_61@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_61@example.jp"], ["encrypted_password", "$2a$04$bxHgjLM1FMHI6DJUt4QVBO98bYzsFfbVxws3ZXKBVyzbI3VBN9OVS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_61"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:51.473894' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_62@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_62@example.jp"], ["encrypted_password", "$2a$04$OxM1t7l1o1Q8cHK4AHk81u/GNXjlyJOnlABz.D1YZ0f3pd4ijaNim"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_62"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:51.486432' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_28' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_28"], ["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_28"], ["title", "message_template_28"], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 11ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_63@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_63@example.jp"], ["encrypted_password", "$2a$04$ek5daGP.tvKUAg2L7JCUVeCA/AH1yHQ4V0T3o14s1j2hN96rT0.0q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_63"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:51.519348' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_64@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_64@example.jp"], ["encrypted_password", "$2a$04$yIMqQYJrsEOr4vPULxds0eNXmHt0KELYAQf3SvtySUqA5JSDcUKKG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_64"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["user_id", 9]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:51.533290' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_29' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_29"], ["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_29"], ["title", "message_template_29"], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_29' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_65@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_65@example.jp"], ["encrypted_password", "$2a$04$UFVp6R6JpkJj23Q4NTUa4OPV8xuXxGRHeYxFKhZ1GHr10QGjm1NaC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_65"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:51.557853' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_66@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_66@example.jp"], ["encrypted_password", "$2a$04$g4JMeMhWp06I8DeqbWn.eez/ACclaGOP5Kh14OdGwmF7hAosBvjIO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_66"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:51.570852' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_30' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_30"], ["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_30"], ["title", "message_template_30"], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_67@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_67@example.jp"], ["encrypted_password", "$2a$04$IFnhc4hf0JcfHujzfLgLH.2SWVlOLVgBhdJYSS2bL97ugBnXKG.0C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_67"]] SQL (56.0ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:51.657934' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_68@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_68@example.jp"], ["encrypted_password", "$2a$04$QofvowDiLUqiZ5vtbjJVfeBKm4KKby.ECUd1utlrQmckkTgPBFHWG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_68"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:51.671605' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_31' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_31"], ["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_31"], ["title", "message_template_31"], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_31' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_69@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_69@example.jp"], ["encrypted_password", "$2a$04$H7hIqG5vQw2JItEn/DUUjOf2x3V0GVaj2lqHEX.EsNeHmGXBHPgKC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_69"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:51.697849' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_70@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_70@example.jp"], ["encrypted_password", "$2a$04$cZo5qv9QZ7F.2H7g6s9C3Oueon5FT8KFejYBlbbp22MHbc7JhNbby"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_70"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:51.711366' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_32' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_32"], ["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_32"], ["title", "message_template_32"], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_71@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_71@example.jp"], ["encrypted_password", "$2a$04$qGvSSje5YhH5/EI.xez2iOKuk0ciwwCL5IC0wVXkTMmxBhpPDV6E2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_71"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:51.743058' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_72@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_72@example.jp"], ["encrypted_password", "$2a$04$xJUNLmo3Qflovy8QRV3e/u28yiNh3pFxmXWqsfrSOF74YRfFZWky6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_72"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:51.756182' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_33' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_33"], ["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_33"], ["title", "message_template_33"], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_33' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_7@example.jp"], ["encrypted_password", "$2a$04$S6Ym11MLbwEb.TCzHGl/Ge0Ale43fxSeitq90QRlB98.RNRfLwarS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_7"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:51.783167' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 9ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_73@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_73@example.jp"], ["encrypted_password", "$2a$04$JxRail/cCfGGa3ifxLR/guq0S4QSirsKTZ0LPFGdcEo16k3NkTqea"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_73"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:51.820166' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_74@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_74@example.jp"], ["encrypted_password", "$2a$04$sZM8fzlWvoDbWkL4RjtbuuF8T0TDIEK3Jb4vvI2kdK5am7KGYQtvq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_74"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:51.835606' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_34' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_34"], ["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_34"], ["title", "message_template_34"], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_34' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_8@example.jp"], ["encrypted_password", "$2a$04$Fpj3UhDg3a.c4wgHU/eny.pOJeETpxjOI693iYhdsAv0YEthgTOdS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_8"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:51.860663' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 9ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_75@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_75@example.jp"], ["encrypted_password", "$2a$04$xgjCBYugd/xxRD2pEa60qexqCEwfe83L.JAXFzMN6iQruafTLtZW."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_75"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:51.949697' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_76@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_76@example.jp"], ["encrypted_password", "$2a$04$YCoPdOD2GvNopM7io/nEKe132fbDJUnnBlk39YuHS46jxMO4hZCfW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_76"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:51.964476' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_35' LIMIT 1 SQL (2.9ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_35"], ["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_35"], ["title", "message_template_35"], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_35' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_7@example.jp"], ["encrypted_password", "$2a$04$F8JpQC6GvW0DUZbKABLMWuP4.14r/DaBktgNkeK7joRdZu/lfgwvm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_7"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 16:47:51 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:51.993526' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 16ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_77@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_77@example.jp"], ["encrypted_password", "$2a$04$Go1spZj2LAUhT/qWQgzAa.kmrhTJ3Xs9vGkqJGTUxOURuudZTn8na"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_77"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:52.027656' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_78@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_78@example.jp"], ["encrypted_password", "$2a$04$fHX0gurFS7apOT5ZhlVXfenrg7va0q7eXMe169bSuxnJRKWn9423u"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_78"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:52.042725' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_36' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_36"], ["created_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_36"], ["title", "message_template_36"], ["updated_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_36' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_8@example.jp"], ["encrypted_password", "$2a$04$4Q1CCMYbtTj7SoSvD8QTlOdZCh18isfLO.ozqfZUuZI2n7GHjamcS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_8"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:52.070398' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 9ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_79@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_79@example.jp"], ["encrypted_password", "$2a$04$LidNwTF9KGX/v4iZz7xi0eu6nOfYnG6VfrEQwJylW1UmgVuunuM8."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_79"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:52.098784' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.4ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_80@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_80@example.jp"], ["encrypted_password", "$2a$04$4yHo8i0xZ9VRhw5SJhxix.Ldvn.9xV6WjL.6dolURe74Us5VGIOfe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_80"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:52.112050' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_37' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_37"], ["created_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_37"], ["title", "message_template_37"], ["updated_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_37' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_81@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_81@example.jp"], ["encrypted_password", "$2a$04$/UHRowd5y8YdE9CiU2e4meazj/NwFKcCt7gdhwgpkwK9jXyc9t0Wu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_81"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:52.135628' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_82@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (62.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_82@example.jp"], ["encrypted_password", "$2a$04$./BWS77Vvm8NOyEkZelT4ubyYuvCE8KeuqQE1q7V6RbZ2LZhNu/Ji"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_82"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:52.225050' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_83@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_83@example.jp"], ["encrypted_password", "$2a$04$/sKUUG/GgzcpwMbe9mtZvuJDJHFdcOfpRZRoXF2ISYTD9DUvHTGNe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_83"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:52.240143' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_38' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_38"], ["created_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_38"], ["title", "message_template_38"], ["updated_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_38' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_84@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_84@example.jp"], ["encrypted_password", "$2a$04$JIp.D9gUnDq5ij7gsVn2m.Z9mBzzzIzPWILSultYMgxuzL/ytQHF6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_84"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:52.263867' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_85@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_85@example.jp"], ["encrypted_password", "$2a$04$DvgBCLJYyRt9tiVX8xSjL..7GChbid1qRKZWw.aiAjw0CWieeQ/6y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_85"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:52.293163' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_86@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_86@example.jp"], ["encrypted_password", "$2a$04$NQ7fSTS6Hq6ginD.W8nSIud.bzg8CWjKq.A0Fqk2QZlZnwSYiLA.a"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_86"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:52.306606' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_39' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_39"], ["created_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_39"], ["title", "message_template_39"], ["updated_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_39' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_87@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_87@example.jp"], ["encrypted_password", "$2a$04$dMTL29hq15XRusHLdDZKM.gGG3dzbmN7q1Cb2ItVzyf/2E5UjmFhm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_87"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:52.344099' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_88@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_88@example.jp"], ["encrypted_password", "$2a$04$eJki8eAn3ejmjgRwNKxsN.OU72.NzpsB2HMaVtnYkLIWPayhbdT6m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_88"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:52.357758' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_40' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_40"], ["created_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_40"], ["title", "message_template_40"], ["updated_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.6ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_40' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_41' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_41"], ["created_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_41"], ["title", "message_template_41"], ["updated_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_9@example.jp"], ["encrypted_password", "$2a$04$ZSBMjp4sDmAZQPjmtDQHOeKUwcrTci0mEqv.Og5K9qeYLE1EKkl0S"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_9"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:52.403042' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 22ms (Views: 13.6ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position LIMIT 10 OFFSET 0  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_42' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_42"], ["created_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_42"], ["title", "message_template_42"], ["updated_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_9@example.jp"], ["encrypted_password", "$2a$04$zUsbjLeMzgFaqbrCqcOk5.M7T4GsmAQP4SbBcq1fhMBqY5UFyKfIS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_9"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:52.513667' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 10ms (Views: 1.5ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position LIMIT 10 OFFSET 0  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_43' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_43"], ["created_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_43"], ["title", "message_template_43"], ["updated_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_89@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_89@example.jp"], ["encrypted_password", "$2a$04$dkkP1TJQBLf.1FLiZXKcSeLJTGqqiL9TSS6j1YeHtFOXdo5y0gA6y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_89"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:52.551344' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.2ms) SELECT COUNT(*) FROM "message_templates" WHERE ('t'='f')  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_44' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_44"], ["created_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_44"], ["title", "message_template_44"], ["updated_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms  (0.1ms) SELECT COUNT(*) FROM "message_templates" WHERE ('t'='f') Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_10@example.jp"], ["encrypted_password", "$2a$04$Snmm8voC/nGT2VxhWgBl7uvUjT5DaIQI8uTc4GLoMeBRo0RKmzhWG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_10"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:52.597859' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_45' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_45"], ["created_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_45"], ["title", "message_template_45"], ["updated_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 13ms (Views: 5.6ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_10@example.jp"], ["encrypted_password", "$2a$04$5ACvoALH.lux2kZr/LkdqOySTviILKyO0Lpa7s/pUh3cQa6LEi4n2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_10"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:52.634316' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_46' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_46"], ["created_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_46"], ["title", "message_template_46"], ["updated_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 14ms (Views: 5.7ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_90@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_90@example.jp"], ["encrypted_password", "$2a$04$CWaauK9WTdjB73bA25XopOYPpY0PaMZJ1gaK1JExkwHAMRf1ooQba"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_90"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:52.676673' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_47' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_47"], ["created_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_47"], ["title", "message_template_47"], ["updated_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 3.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_48' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_48"], ["created_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_48"], ["title", "message_template_48"], ["updated_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_11@example.jp"], ["encrypted_password", "$2a$04$2M2HzvkuF7Zm2Jk.44Z6FO1FvGueQeQs6osJdrVb5bCPdbc9r59LK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_11"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:52.731579' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 13ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_11@example.jp"], ["encrypted_password", "$2a$04$vr5NLNVRQjj/xjngqFgTNOY.8rsM6rkArsE6bEM46ofPZy3hY5CMe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_11"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:52.769592' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_91@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_91@example.jp"], ["encrypted_password", "$2a$04$HPnpRz07qV.vw8eLz8GoNOnj1DMFcEN2zobJoGbLFG.SAtI8XpakG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_91"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:52.870600' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Processing by MessageTemplatesController#new as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms MessageTemplate Load (1.0ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.5ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_12@example.jp"], ["encrypted_password", "$2a$04$S7O7shDqrmuCbpiyGjS9KuYp3bY3ok9bZQryTXa1BiDmyllYbcQfm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_12"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:52.922108' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_49' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_49"], ["created_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_49"], ["title", "message_template_49"], ["updated_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 16ms (Views: 5.5ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_12@example.jp"], ["encrypted_password", "$2a$04$TooMVRJjNZcHyYlm9qOgB.omN0ybh.DMiJRMA7L5DE8KuwenRK8U."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_12"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:52.963060' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_50' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_50"], ["created_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_50"], ["title", "message_template_50"], ["updated_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_92@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_92@example.jp"], ["encrypted_password", "$2a$04$q/kW.1KAppMuC2hRnHtm0OfbOoFp2ByugK0P84Zy2GZovUQIC2A76"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_92"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:52 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:52.999955' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_51' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_51"], ["created_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_51"], ["title", "message_template_51"], ["updated_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_52' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_52"], ["created_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_52"], ["title", "message_template_52"], ["updated_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_13@example.jp"], ["encrypted_password", "$2a$04$4o8pkyNA./U24s0oBhIic.NLNpEdBOkbMTdxl7aV8NrUHXBsZMxsu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_13"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:53.059082' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_53", "status"=>"message_template_53", "body"=>"message_template_53"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_53' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_14@example.jp"], ["encrypted_password", "$2a$04$9BweEXcRE6sTM3TSBBi5ne/SePCZeOUU9QjBdn4qhKVgEgWFkWXlW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_14"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:53.089118' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_54", "status"=>"message_template_54", "body"=>"message_template_54"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_15@example.jp"], ["encrypted_password", "$2a$04$O8dMOdj.seZRKA9eOcfZVe/xNtMkRPWetrBp86azTO7BkRDJKcNCW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_15"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:53.185740' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_16@example.jp"], ["encrypted_password", "$2a$04$1BpMvgjwOJQwrHoonvFnceOZ/dJCQnyNOHYayIhyQFmUjBtX44Lrm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_16"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:53.219910' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_13@example.jp"], ["encrypted_password", "$2a$04$sH0RyGJvV92h5dGIyY4dzexbSkjohnbZnZzxOrrQwn/MINh.VMmN2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_13"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:53.255588' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_57", "status"=>"message_template_57", "body"=>"message_template_57"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_57' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_14@example.jp"], ["encrypted_password", "$2a$04$QNFccERPQoAxE/b16YPBzu8k2/idb.7mSgEAaVsjDFyy44Cy7kwTG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_14"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:53.287829' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_58", "status"=>"message_template_58", "body"=>"message_template_58"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.6ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_15@example.jp"], ["encrypted_password", "$2a$04$B0ZeObxV8aTgu30Ks3ref.4YCaxC4uW94hrT/lEHR2UeldxcbluBu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_15"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:53.319460' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_16@example.jp"], ["encrypted_password", "$2a$04$dFZdWI.q8iPB080CKt6mAuWvKgj3eKsDLwjDxB6sh17lIyRfb9Bai"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_16"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:53.353699' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_93@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_93@example.jp"], ["encrypted_password", "$2a$04$NIkh3p8RLNH5CdqPEaO5cuoGTdeqxVB7pcuJSb2iPekUrhRzpOdGO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_93"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:53.381098' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_61", "status"=>"message_template_61", "body"=>"message_template_61"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_61' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_94@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_94@example.jp"], ["encrypted_password", "$2a$04$gdkc0tOuAYjB70/Tr4dt.u6PLSB/LjuEvHcDRcCT8QWUiEyq6LRD."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_94"]] SQL (1.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:53.478411' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_62", "status"=>"message_template_62", "body"=>"message_template_62"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 13ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_95@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_95@example.jp"], ["encrypted_password", "$2a$04$hWgjYVVY1S/33DrBK4QrDux.eeioKKVJiFJ92Dlk.aEQbGG9UHhRy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_95"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:53.512030' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_96@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (7.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_96@example.jp"], ["encrypted_password", "$2a$04$a.nyJ2LLW7o7DwhVBjGuueSsqS0Tugzy8pN0WleK.0pCyio6coR5W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_96"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:53.547785' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_65", "status"=>"message_template_65", "body"=>"message_template_65"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_65' LIMIT 1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_66", "status"=>"message_template_66", "body"=>"message_template_66"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_69' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_69"], ["created_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_69"], ["title", "message_template_69"], ["updated_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_17@example.jp"], ["encrypted_password", "$2a$04$vUy4gkQO4llAJeiX3zfL7eXxlsxeyMh7DRlA7PthG1t7qjYvezsfa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_17"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:53.636373' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_70", "status"=>"message_template_70", "body"=>"message_template_70"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_70' AND "message_templates"."id" != 9) LIMIT 1  (0.2ms) UPDATE "message_templates" SET "title" = 'message_template_70', "status" = 'message_template_70', "body" = 'message_template_70', "updated_at" = '2011-12-16 16:47:53.652348' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates/9 Completed 302 Found in 35ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_71' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_71"], ["created_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_71"], ["title", "message_template_71"], ["updated_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (58.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_18@example.jp"], ["encrypted_password", "$2a$04$tYjC8lpheXcCWG4WCIEfTuwXpsLj9c7nApGn4RveIngVqce4gzqZy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_18"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:53.753165' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_72", "status"=>"message_template_72", "body"=>"message_template_72"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_72' AND "message_templates"."id" != 9) LIMIT 1  (0.2ms) UPDATE "message_templates" SET "title" = 'message_template_72', "status" = 'message_template_72', "body" = 'message_template_72', "updated_at" = '2011-12-16 16:47:53.768349' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates/9 Completed 302 Found in 14ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_73' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_73"], ["created_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_73"], ["title", "message_template_73"], ["updated_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_19@example.jp"], ["encrypted_password", "$2a$04$tU2mJeC8FOViMcBlMEXBb.0IJ6VFWFqxjbDCuOVvgob3xII.ulQLO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_19"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:53.794701' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_74", "status"=>"message_template_74", "body"=>"message_template_74"}, "position"=>"2", "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "message_templates" SET "position" = 0, "updated_at" = '2011-12-16 16:47:53.805915' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "message_templates" SET position = (position - 1) WHERE "message_templates"."id" IN (SELECT "message_templates"."id" FROM "message_templates" WHERE (1 = 1 AND position > 9) ORDER BY position) SQL (0.2ms) UPDATE "message_templates" SET position = (position + 1) WHERE "message_templates"."id" IN (SELECT "message_templates"."id" FROM "message_templates" WHERE (1 = 1 AND position >= 2) ORDER BY position)  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "message_templates" SET "position" = 2, "updated_at" = '2011-12-16 16:47:53.808401' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates Completed 302 Found in 12ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_75' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_75"], ["created_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_75"], ["title", "message_template_75"], ["updated_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (6.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_20@example.jp"], ["encrypted_password", "$2a$04$P5/s0HHuG.zpNYFMlQ21b./7FDxKFnLPILaAvXBFw6FBcBbIbBloC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_20"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:53.835277' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = '' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 13ms (Views: 1.1ms | ActiveRecord: 0.0ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_77' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_77"], ["created_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_77"], ["title", "message_template_77"], ["updated_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_17@example.jp"], ["encrypted_password", "$2a$04$cg9WBImHVDT.ZQ5Jh1CZGuzngsF0ABecId0zgLGk4b.SnxJ3ipeC2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_17"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:53.875658' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_78", "status"=>"message_template_78", "body"=>"message_template_78"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 2.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_79' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_79"], ["created_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_79"], ["title", "message_template_79"], ["updated_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_18@example.jp"], ["encrypted_password", "$2a$04$ZXp9Fwv/vgVRcKxywlyJp.S4gEutvLkQfr9NTGImT4h46f.dlL2Xe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_18"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:53.912096' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_80", "status"=>"message_template_80", "body"=>"message_template_80"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.9ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_81' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_81"], ["created_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_81"], ["title", "message_template_81"], ["updated_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_19@example.jp"], ["encrypted_password", "$2a$04$kQ3NxDhyiFxCXEpdPJpyeeNWpd7HMq6fWV5WDZD.McrP9W0I4p976"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_19"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:53.948242' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_83' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_83"], ["created_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_83"], ["title", "message_template_83"], ["updated_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_97@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_97@example.jp"], ["encrypted_password", "$2a$04$V1TYP3HFJZdScU5G1ZhJ5.iKvAslz7fWOGNWCBqHMOjua3o1rcfvm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_97"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:53 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:53.986778' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_84", "status"=>"message_template_84", "body"=>"message_template_84"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 72ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_85' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_85"], ["created_at", Fri, 16 Dec 2011 16:47:54 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_85"], ["title", "message_template_85"], ["updated_at", Fri, 16 Dec 2011 16:47:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_98@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_98@example.jp"], ["encrypted_password", "$2a$04$MeZJhDfZXwqZXVaqxxsPbOqoxQhECZ3bXo7Xjr7ojRox8DTQQA7Sa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_98"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:54 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:54 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:54.084723' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_86", "status"=>"message_template_86", "body"=>"message_template_86"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 13ms (Views: 5.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_87' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_87"], ["created_at", Fri, 16 Dec 2011 16:47:54 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_87"], ["title", "message_template_87"], ["updated_at", Fri, 16 Dec 2011 16:47:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_99@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_99@example.jp"], ["encrypted_password", "$2a$04$eTkDKmfSBgLwp1NxXYVxi.d0Fg2GAYLsmu6uy4YjVRAUWDox34JLi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_99"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:54 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:54 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:54.121896' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_89' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_89"], ["created_at", Fri, 16 Dec 2011 16:47:54 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_89"], ["title", "message_template_89"], ["updated_at", Fri, 16 Dec 2011 16:47:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_90", "status"=>"message_template_90", "body"=>"message_template_90"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 9ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_91' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_91"], ["created_at", Fri, 16 Dec 2011 16:47:54 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_91"], ["title", "message_template_91"], ["updated_at", Fri, 16 Dec 2011 16:47:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_92", "status"=>"message_template_92", "body"=>"message_template_92"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 9ms  (1.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_93' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_93"], ["created_at", Fri, 16 Dec 2011 16:47:54 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_93"], ["title", "message_template_93"], ["updated_at", Fri, 16 Dec 2011 16:47:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_95' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_95"], ["created_at", Fri, 16 Dec 2011 16:47:54 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_95"], ["title", "message_template_95"], ["updated_at", Fri, 16 Dec 2011 16:47:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_21@example.jp"], ["encrypted_password", "$2a$04$XQ3Ktk.zL4OfRsmK.6Vz0OVsxZzjcWZBkRHoDkDyd00uIe3veZd2y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_21"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:54 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 16:47:54 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:54.221982' WHERE "roles"."id" = 4  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_96' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_96"], ["created_at", Fri, 16 Dec 2011 16:47:54 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_96"], ["title", "message_template_96"], ["updated_at", Fri, 16 Dec 2011 16:47:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_22@example.jp"], ["encrypted_password", "$2a$04$w2eBo4s8DVildxyyrWA73eP5QFAQqiY6GbswAbFVPBFj92tsod7Se"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_22"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:54 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 16:47:54 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:54.257078' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_97' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_97"], ["created_at", Fri, 16 Dec 2011 16:47:54 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_97"], ["title", "message_template_97"], ["updated_at", Fri, 16 Dec 2011 16:47:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_20@example.jp"], ["encrypted_password", "$2a$04$87RI0wVO7tMnFjRzxNUAUOqk8fpe30APKk0jUOMM4AB/A4CH3TiMy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_20"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:54 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 16:47:54 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:54.294218' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_98' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_98"], ["created_at", Fri, 16 Dec 2011 16:47:54 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_98"], ["title", "message_template_98"], ["updated_at", Fri, 16 Dec 2011 16:47:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_21@example.jp"], ["encrypted_password", "$2a$04$S/ZRntNV6vYtNVhph3oYYOUcUSEPxc8qUxu4tqLqbULDiN52Rkg9m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_21"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:54 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 16:47:54 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:54.393542' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (1.4ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 21ms (Views: 1.2ms | ActiveRecord: 1.7ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_99' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_99"], ["created_at", Fri, 16 Dec 2011 16:47:54 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_99"], ["title", "message_template_99"], ["updated_at", Fri, 16 Dec 2011 16:47:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_100@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_100@example.jp"], ["encrypted_password", "$2a$04$Z3ZqjIsMFW2vYCC6ZJad6u8nJGCx2Bg0ncKDdvl3gsO6kkD8CV/te"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_100"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:54 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:54 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:54.440146' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_100' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_100"], ["created_at", Fri, 16 Dec 2011 16:47:54 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_100"], ["title", "message_template_100"], ["updated_at", Fri, 16 Dec 2011 16:47:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_101@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_101@example.jp"], ["encrypted_password", "$2a$04$HNi83f0jV1SdQLFKaZc.H.RT5I3vlJqxxTnGn9VkqViGIVrPeXFuq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_101"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:54 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:54 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:54.474188' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_101' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_101"], ["created_at", Fri, 16 Dec 2011 16:47:54 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_101"], ["title", "message_template_101"], ["updated_at", Fri, 16 Dec 2011 16:47:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_102' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_102"], ["created_at", Fri, 16 Dec 2011 16:47:54 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_102"], ["title", "message_template_102"], ["updated_at", Fri, 16 Dec 2011 16:47:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_23@example.jp"], ["encrypted_password", "$2a$04$Tp8PLzqU90Entyt/FyRFjeotVXGXoJ5phnRk43Vz/7/IGoOvhzmT2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_23"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:56 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 16:47:56 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:56.765236' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 SOLR Request (4.8ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A8&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (4.6ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A8&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 93ms (Views: 19.3ms | ActiveRecord: 0.2ms | Solr: 9.5ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.2ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_24@example.jp"], ["encrypted_password", "$2a$04$v6on8MCbP1D3yo4cZk579OY.gEowjOUcbJInGStajj1rT2yd.as.O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_24"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:56 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 16:47:56 UTC +00:00], ["user_id", 8]]  (1.3ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:56.954273' WHERE "roles"."id" = 4  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML Parameters: {"user_id"=>"admin_24"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'admin_24' LIMIT 1 SOLR Request (18.5ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A8&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (6.3ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A8&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 37ms (Views: 1.7ms | ActiveRecord: 0.6ms | Solr: 24.9ms) Role Load (0.3ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.2ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_22@example.jp"], ["encrypted_password", "$2a$04$3QglJyuVhqz2z76fL.1wNOzR7zYpaSreBp1M5kWtknSe4Ok38rRNG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:57 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_22"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:57 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 16:47:57 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:57.018634' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 SOLR Request (9.4ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A8&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (5.9ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A8&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 28ms (Views: 1.8ms | ActiveRecord: 0.3ms | Solr: 15.3ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_23@example.jp"], ["encrypted_password", "$2a$04$DjyBi6YA3tW8Zh7120qmE.2XvfC2OP.yzKrNFEpOD2os2IaQSjEZW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:57 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_23"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:57 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 16:47:57 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:57.153058' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML Parameters: {"user_id"=>"librarian_23"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'librarian_23' LIMIT 1 SOLR Request (18.6ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A8&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (9.6ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A8&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 39ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 28.1ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 SOLR Request (3.9ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (7.5ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Message Load (0.3ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IN (2) Completed 200 OK in 43ms (Views: 1.5ms | ActiveRecord: 0.6ms | Solr: 11.4ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML Parameters: {"query"=>"you"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 SOLR Request (14.1ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&q=you&fl=%2A+score&qf=body_text+subject_text&defType=dismax&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (9.8ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&q=you&fl=%2A+score&qf=body_text+subject_text&defType=dismax&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IN (2) Completed 200 OK in 38ms (Views: 1.4ms | ActiveRecord: 0.5ms | Solr: 24.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 SOLR Request (5.1ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (7.7ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Message Load (0.3ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IN (2) Completed 200 OK in 26ms (Views: 1.4ms | ActiveRecord: 0.5ms | Solr: 12.8ms) Processing by MessagesController#index as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 164ms (Views: 6.0ms | ActiveRecord: 0.6ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.6ms | ActiveRecord: 0.5ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#show as HTML Parameters: {"id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 3 AND "messages"."id" = ? LIMIT 1 [["id", "2"]]  (0.1ms) SAVEPOINT active_record_1  (0.4ms) UPDATE "messages" SET "read_at" = '2011-12-16 16:47:57.566297', "updated_at" = '2011-12-16 16:47:57.566677' WHERE "messages"."id" = 2 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1  (0.5ms) UPDATE "messages" SET "state" = 'read', "updated_at" = '2011-12-16 16:47:57.574044' WHERE "messages"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 55ms (Views: 26.5ms | ActiveRecord: 1.9ms | Solr: 0.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 403 Forbidden in 16ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_25@example.jp"], ["encrypted_password", "$2a$04$lBT033ahapE.AmADdGQRR.M6bcu4/QDAaAdnUevgU8O0rYgTXqprW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:57 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_25"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:57 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 16:47:57 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:57.661960' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 Completed 200 OK in 112ms (Views: 38.2ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_24@example.jp"], ["encrypted_password", "$2a$04$AdaKiEUHKfy5KtI041OJXO0Zpry2GtcRBifck.kOBWq0PlxMMC16e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:57 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_24"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:57 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 16:47:57 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:57.801682' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 Completed 200 OK in 11ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML Parameters: {"parent_id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML Parameters: {"parent_id"=>"2"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Processing by MessagesController#new as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (1.2ms) SAVEPOINT active_record_1  (0.6ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_26@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_26@example.jp"], ["encrypted_password", "$2a$04$hC8GVlkZn/d6QgB.djdT2eFLJ9r8R/FvGVaoFum0VEat9n1WJxMZO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:57 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_26"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:57 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 16:47:57 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:57.913661' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 8 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 13ms (Views: 1.2ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_25@example.jp"], ["encrypted_password", "$2a$04$n0HxPgM9u12J9HubEAFYFOr3f6tYKff7aqQsRX0VbqaOY5RocugIq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:57 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_25"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:57 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 16:47:57 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:57.947063' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 24ms (Views: 1.2ms | ActiveRecord: 0.6ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.8ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_102@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_102@example.jp"], ["encrypted_password", "$2a$04$agRkT2M1ZbxDkPyqS4VEcOCSFAmmsWaAQfQKWwDdUAkE.24c29cmq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_102"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:58.012237' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_103@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (61.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_103@example.jp"], ["encrypted_password", "$2a$04$jA4w4x2kDS2G9m36b12uR.ofWLPpXEMksnhC5hOK8U/RT6rcwmzQi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_103"]] SQL (0.4ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["user_id", 9]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:58.085740' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "user_102"]]  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_27@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_27@example.jp"], ["encrypted_password", "$2a$04$sctUvglNZluje7t6in4.VO0kWzE3TvcW2D1xliGR4Y.1o2Q45tG4q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_27"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:58.109162' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 15ms (Views: 2.4ms | ActiveRecord: 0.5ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_28@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_28@example.jp"], ["encrypted_password", "$2a$04$eGLt55J1Pm9mgXEm1i3AB.WN3u4BK79sp1gfCvYhcNdXCzxOCd.5a"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_28"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:58.146524' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 13ms (Views: 1.2ms | ActiveRecord: 0.5ms | Solr: 0.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_29@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_29@example.jp"], ["encrypted_password", "$2a$04$PmubntIZaGiOLJRb0OrIt.5z.ajNmyW0q7RpTaaYeoShTL1MGHnay"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_29"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:58.187514' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 14ms (Views: 1.5ms | ActiveRecord: 0.5ms | Solr: 0.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_30@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_30@example.jp"], ["encrypted_password", "$2a$04$nlO29NlxnRLUdI.pem53Aexi4Lf/4p4NWnX.K3/XBtnYAYCYAfPpC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_30"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:58.224278' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 13ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test", "parent_id"=>"2"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = 2 LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "user2"]]  (0.0ms) SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "user2"]]  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 404 Not Found in 13ms (Views: 1.2ms | ActiveRecord: 0.6ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test", "parent_id"=>"2"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 68ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_104@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_104@example.jp"], ["encrypted_password", "$2a$04$iHxkzx7nt07fKHifs6cY1.e.xI9Ckiw4KEgCJPZglTozWrArUG9ni"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_104"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:58.427303' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.2ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_105@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_105@example.jp"], ["encrypted_password", "$2a$04$yJ/r1/nUeSzGxwCDqI62heQxZlelMxfBMU6urkYIINjRhQcQb/m3i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_105"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:58.441916' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_104", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 12ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_106@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_106@example.jp"], ["encrypted_password", "$2a$04$F5MtvsVDBA9/tu/lpL4RAudYK8Y7OQFNMmY7SomQ8aR3cf8phroQm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_106"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:58.476686' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_107@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_107@example.jp"], ["encrypted_password", "$2a$04$/bKO5cUOhL5Ht/XhyIhYrev2pTASEeCikGL/hhFJdj4FozMH3L8Ni"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_107"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:58.491701' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_106", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 11ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_108@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_108@example.jp"], ["encrypted_password", "$2a$04$oMKNEQQtPR1rHYvt.eFft.3puaezdYeDa9aWFZeTZyUJnFiA6S9T2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_108"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:58.533624' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_109@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_109@example.jp"], ["encrypted_password", "$2a$04$kFp7wPVgaxQ06wM/J3vsf.ujzxCyYETKtayYRAaht8qp5MybIW906"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_109"]] SQL (0.7ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:58.558995' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 15ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_110@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_110@example.jp"], ["encrypted_password", "$2a$04$7f0jlI/WswRN9ePPCGvOm.qkh545hDihVG0aCgEGHHJi1FyFD3hIC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_110"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:58.603000' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_111@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_111@example.jp"], ["encrypted_password", "$2a$04$/RL1jbM020hizv2ilm831uwqet0m/Zk8tsy1ktEj.9NXNFt5IPN72"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_111"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:58.622584' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 13ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_112@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (61.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_112@example.jp"], ["encrypted_password", "$2a$04$KXDtZD0FMj.je7us3nlQeON16i1jjK0TXJJiPhZ6liWTb57yzT8zm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_112"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:58.717162' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_113@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_113@example.jp"], ["encrypted_password", "$2a$04$Yx7u3VGBfxFNDwZDY.Khu.Q8f7P27y7lbEu9YPkOdTwEjvrxoZQ4S"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_113"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:58.730515' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_112", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.2ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_114@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_114@example.jp"], ["encrypted_password", "$2a$04$4nGTn96Ax6XhqF36bHYGKOfcubK5BzLgCpuB8tsOdx.7VcL0TilIe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_114"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:58.762543' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_115@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_115@example.jp"], ["encrypted_password", "$2a$04$jqWQ2.Q8OtiJaWz43j3Sfe5VfWYXwlJjqFxv2CcVdSDdgtgVhcpcS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_115"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:58.776609' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_114", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 14ms (Views: 1.2ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_116@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_116@example.jp"], ["encrypted_password", "$2a$04$SzLi9ey9bJRWkCpnCbd0cuVhZGY1F0dWjw34fobhgayFXtsqmmpEC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_116"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:58.813326' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_117@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_117@example.jp"], ["encrypted_password", "$2a$04$5Lg/lKdshuOnkYTuLa6jW.bjCn6fptTOF4ik67QFrk1EX8M3wXxCi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_117"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:58.830585' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_118@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_118@example.jp"], ["encrypted_password", "$2a$04$r.7FnS3uM8U/j0t1/CI9TOuPS6Cxryy.fXdnqCwyyQ7GfSj450.5y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_118"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:58.866416' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_119@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_119@example.jp"], ["encrypted_password", "$2a$04$.ZkLr58h78ExkQCnSc/0pelbCRhX5EOjKjw1Ah8Q3SrhLvwEF4omW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_119"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:58.882881' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.2ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_120@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_120@example.jp"], ["encrypted_password", "$2a$04$paMhaUBLdo2ZFYCfoqiFJ.BRsEcKg5sf/30fVqf7nCfEbuExXIwRG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_120"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:58.920860' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_121@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_121@example.jp"], ["encrypted_password", "$2a$04$9z9O9GBDO1TYrzJtoIDu7.7MpnH54yTStL6yImo5oyokb7xK73Qay"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_121"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:58 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:58.997081' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_122@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_122@example.jp"], ["encrypted_password", "$2a$04$LtdkHd8ia2qjl2oCtMf58.74nnSY.vlp1z7R6q5hKTDdZ6lGxOvau"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:59 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_122"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:59 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:59 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:59.030551' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_123@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_123@example.jp"], ["encrypted_password", "$2a$04$ey3/2Ewz/w7uPpyD1hcWqe79sa.r2dZyEB5xyQLNpgza5qlblrGD."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:59 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_123"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:59 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:59 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:59.051028' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_124@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_124@example.jp"], ["encrypted_password", "$2a$04$xL1FlrkvWotd7ydGCdrzHu/0xQzlRRUJWVFFmgrAW.fzgUWbIg5c2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:59 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_124"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:59 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:59 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:59.081762' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_125@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_125@example.jp"], ["encrypted_password", "$2a$04$QtD8DU2c.wn4KeQR5Fv/ZekZ7f6RHda.dgiVJoFOSg31lr4NVh0hm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:59 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_125"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:59 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:59 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:59.100367' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_124", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 2.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_126@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_126@example.jp"], ["encrypted_password", "$2a$04$6hsJ4U75Qj3l/PlX8dxAOObDXK.pBPfuqXdundZ4s0jS1zTFOBkaG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:59 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_126"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:59 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:59 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:59.136590' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (2.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_127@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_127@example.jp"], ["encrypted_password", "$2a$04$SROZobrRDMJodnAIQ1fK6.rlGopEgsK9rUkpgJhDA4o9pEuEOKucu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:59 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_127"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:59 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:59 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:59.154471' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_126", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_128@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_128@example.jp"], ["encrypted_password", "$2a$04$M5.eSCESbrbOEMRsxZYycOVflZPyI2fMBTN2Esjlbgce7Tp347bY6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:59 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_128"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:59 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:59 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:59.189387' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_129@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_129@example.jp"], ["encrypted_password", "$2a$04$7OMON3Thy.BXZGJ2BwSETefZDLxHO9YAMkdvAf7WkT88TOulaafwK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:59 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_129"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:59 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:59 UTC +00:00], ["user_id", 9]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:59.203268' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 72ms (Views: 1.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_130@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_130@example.jp"], ["encrypted_password", "$2a$04$LuT6bJ5rvUj3EWODNW1LpOL9k6ZAI5CQIIlprKf2wSVz2wLmIgduq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:59 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_130"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:59 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:59 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:59.300508' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_131@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_131@example.jp"], ["encrypted_password", "$2a$04$lvhMdZz4/6JxKX3OLAk1SOZ1g50ie7NScha.ERbpn.8UJ4Q/QGSfi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:59 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_131"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:59 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:59 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:59.315515' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 14ms (Views: 4.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_132@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_132@example.jp"], ["encrypted_password", "$2a$04$8I7lJGaqn3mT0nwJ3Pj/yuYO7CPDE9VxrGpcwHn7N6uHVTheeXHP6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:59 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_132"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:59 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:59 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:59.352709' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_133@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_133@example.jp"], ["encrypted_password", "$2a$04$oVtf/S0IU.yKsQ.qAyeN..Pr9N39KceXHC1qwulp/eJk4E3DcGwE6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 16:47:59 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_133"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 16:47:59 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 16:47:59 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 16:47:59.367526' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 8ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#destroy as HTML Parameters: {"id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 3 AND "messages"."id" = ? LIMIT 1 [["id", "2"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "messages" WHERE ("lft" > 3 AND "rgt" < 4) SQL (0.4ms) UPDATE "messages" SET "lft" = ("lft" - 2) WHERE "messages"."id" IN (SELECT "messages"."id" FROM "messages" WHERE ("lft" > 4) ORDER BY "lft") SQL (0.5ms) UPDATE "messages" SET "rgt" = ("rgt" - 2) WHERE "messages"."id" IN (SELECT "messages"."id" FROM "messages" WHERE ("rgt" > 4) ORDER BY "lft") SQL (0.2ms) DELETE FROM "messages" WHERE "messages"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/messages Completed 302 Found in 15ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.3ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 403 Forbidden in 13ms (Views: 1.2ms | ActiveRecord: 0.7ms | Solr: 0.0ms) Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 9ms Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateMessageTemplates (149) Migrating to CreateMessages (154) Migrating to CreateMessageRequests (20080819181903) Migrating to AddLftAndRgtToMessage (20110913115320) Migrating to CreateLanguages (20111201121636) Migrating to CreateRoles (20111201121844) Migrating to CreateUsers (20111201155456) Migrating to AddDeviseToUsers (20111201155513) Migrating to CreateUserGroups (20111201163342) Migrating to CreateUserHasRoles (20111201163718)  (0.5ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.0ms) PRAGMA index_list("languages")  (0.1ms) PRAGMA index_list("message_requests")  (0.0ms) PRAGMA index_info('index_message_requests_on_state')  (0.0ms) PRAGMA index_list("message_templates")  (0.0ms) PRAGMA index_info('index_message_templates_on_status')  (0.0ms) PRAGMA index_list("messages")  (0.0ms) PRAGMA index_info('index_messages_on_parent_id')  (0.0ms) PRAGMA index_info('index_messages_on_message_request_id')  (0.0ms) PRAGMA index_info('index_messages_on_receiver_id')  (0.0ms) PRAGMA index_info('index_messages_on_sender_id')  (0.0ms) PRAGMA index_list("roles")  (0.0ms) PRAGMA index_list("user_groups")  (0.0ms) PRAGMA index_list("user_has_roles")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')  (0.0ms) PRAGMA index_info('index_users_on_email') Fixture Delete (0.6ms) DELETE FROM "message_requests" Fixture Insert (0.2ms) INSERT INTO "message_requests" ("sender_id", "receiver_id", "message_template_id", "state", "created_at", "updated_at", "id") VALUES (1, 1, 1, 'pending', '2011-12-16 17:07:43', '2011-12-16 17:07:43', 980190962) Fixture Insert (0.1ms) INSERT INTO "message_requests" ("sender_id", "receiver_id", "message_template_id", "state", "created_at", "updated_at", "id") VALUES (1, 1, 1, 'pending', '2011-12-16 17:07:43', '2011-12-16 17:07:43', 298486374) Fixture Delete (0.2ms) DELETE FROM "message_templates" Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (1, 'reservation_accepted', 'Reservation accepted', 'Reservation accepted', 1, '2011-12-16 17:07:43', '2011-12-16 17:07:43') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (2, 'item_received', 'Item received', 'Item received', 2, '2011-12-16 17:07:43', '2011-12-16 17:07:43') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (3, 'reservation_expired_for_patron', 'Reservation expired', 'Reservation expired', 3, '2011-12-16 17:07:43', '2011-12-16 17:07:43') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (4, 'reservation_expired_for_library', 'Reservation expired', 'Reservation expired', 4, '2011-12-16 17:07:43', '2011-12-16 17:07:43') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (5, 'reservation_canceled_for_patron', 'Reservation canceled', 'Reservation canceled', 5, '2011-12-16 17:07:43', '2011-12-16 17:07:43') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (6, 'reservation_canceled_for_library', 'Reservation canceled', 'Reservation canceled', 6, '2011-12-16 17:07:43', '2011-12-16 17:07:43') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (7, 'recall_item', 'Recall item', 'Recall item', 7, '2011-12-16 17:07:43', '2011-12-16 17:07:43') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (8, 'recall_overdue_item', 'Recall overdue item', 'Recall overdue item', 8, '2011-12-16 17:07:43', '2011-12-16 17:07:43') Fixture Delete (0.2ms) DELETE FROM "messages" Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "read_at", "state", "lft", "rgt", "updated_at") VALUES (1, 3, 4, 'First Message', 'Abby, you get the first message', '2007-07-04 12:10:47.000000', '2011-12-13 17:07:43.000000', 'unread', 1, 2, '2011-12-16 17:07:43') Fixture Insert (0.2ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (2, 4, 3, 'RE: First Message', 'Thanks Dad! You are the coolest!', '2011-12-14 17:07:43.000000', 'unread', 3, 4, '2011-12-16 17:07:43') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (3, 3, 4, 'Second Message', 'Catie, you get the 2nd message', '2011-12-15 17:07:43.000000', 'unread', 5, 6, '2011-12-16 17:07:43') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (6, 4, 5, 'Dad!', 'He is sucha dork.', '2011-12-14 17:07:43.000000', 'unread', 7, 8, '2011-12-16 17:07:43') Fixture Delete (0.1ms) DELETE FROM "roles" Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Guest', 'Guest', 1, NULL, '2011-12-16 17:07:43', '2011-12-16 17:07:43') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('User', 'User', 2, NULL, '2011-12-16 17:07:43', '2011-12-16 17:07:43') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Librarian', 'Librarian', 3, NULL, '2011-12-16 17:07:43', '2011-12-16 17:07:43') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Administrator', 'Administrator', 4, NULL, '2011-12-16 17:07:43', '2011-12-16 17:07:43') Fixture Delete (0.1ms) DELETE FROM "user_groups" Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('(not specified)', '(not specified)', '2007-12-13 12:00:51.564542', 1, '', '2007-12-13 12:00:01.674976', 1) Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('User', 'User', '2007-12-22 18:14:56.836548', 2, '', '2007-12-22 18:14:40.173954', 2) Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('Faculty', 'Faculty', '2007-12-22 18:15:05.134351', 3, '', '2007-12-22 18:15:05.126457', 3) Fixture Delete (0.1ms) DELETE FROM "user_has_roles" Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (1, 4, '2011-12-16 17:07:43', '2011-12-16 17:07:43', 135138680) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (2, 3, '2011-12-16 17:07:43', '2011-12-16 17:07:43', 344583537) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (3, 2, '2011-12-16 17:07:43', '2011-12-16 17:07:43', 206669143) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (4, 3, '2011-12-16 17:07:43', '2011-12-16 17:07:43', 226540757) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (5, 2, '2011-12-16 17:07:43', '2011-12-16 17:07:43', 358143215) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (6, 2, '2011-12-16 17:07:43', '2011-12-16 17:07:43', 576709754) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (7, 2, '2011-12-16 17:07:43', '2011-12-16 17:07:43', 1010528733) Fixture Delete (0.2ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:16:30.163731', '$2a$10$vHohD1WflnTIqAa8zMkF9evwAgIZRw3XuR4d3bi29M.jph/MB/AJi', 2, 1, NULL, 'admin', 'tanabe@kamata.lib.teu.ac.jp', '2007-11-19 07:58:32.111941', 4) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 03:41:16.337474', '$2a$10$9O2VuTccN4gHq36ARg0QReSrb1D7WrBBhZZ759RM9moHbB0W5zCzS', 1, 2, NULL, 'librarian1', 'librarian1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:33.172441', 1) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', '$2a$10$JthS59A0BNkDOoFpCXM0V.GhhffKaoWKbzpPahYp/vTFrOyM7h/uW', 1, 3, NULL, 'user1', 'user1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:23.340575', '$2a$10$YmmTGrYQ1Ir6oc7wXnp.GuNeO1eYLoP3sv8wMSIrTdaGw2BPwRrpS', 1, 4, NULL, 'librarian2', '2008-01-18 03:24:04.222344', 1) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:44.711117', '$2a$10$i7UjJhLVrJM/J7qaTwW39OXw1NiwowUEbtNHVDV0sqMLjX9.UO9ca', 1, 5, NULL, 'user2', '2008-01-18 04:29:06.922728', 2) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 6, NULL, 'user3', 'user3@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Fixture Insert (0.6ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 7, NULL, 'user4', 'user4@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Role Load (0.3ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_1@example.jp"], ["encrypted_password", "$2a$04$.c57KxpMbuSfYUDrch./9e9M1GMm89Ta4N73/zkoGsYxBzempiooe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_1"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:44 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 17:07:44 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:44.228351' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Rendered /Users/kosuke/enju_message/app/views/message_requests/index.html.erb within layouts/application (7.1ms) Completed 200 OK in 104ms (Views: 42.6ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_1@example.jp"], ["encrypted_password", "$2a$04$ZKIsR6mJTDN3wg85S61NiuO2zo7UBTGXEiE0aGcZ.QdWid9GrQ.Om"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_1"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:44 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 17:07:44 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:44.366409' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 10ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_1@example.jp"], ["encrypted_password", "$2a$04$cX8SLq.eYjs6cne.Q8RBmuf4yiGIuS6hloJMUzBKVbeXPPNdSe/5O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_1"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:44 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:44 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:44.396619' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 13ms (Views: 2.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "message_requests" WHERE ('t'='f') Processing by MessageRequestsController#index as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 13ms  (0.1ms) SELECT COUNT(*) FROM "message_requests" WHERE ('t'='f') Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_2@example.jp"], ["encrypted_password", "$2a$04$rc.kKQcldwKge1H6Yy8/AOaVGRrssq5I2VGxHsxMpJf3nx5fTMa9a"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_2"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:44 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 17:07:44 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:44.454670' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (56.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_2@example.jp"], ["encrypted_password", "$2a$04$7Nahss4hi35SxM8/auOEUuQxeLB/51Rqexy4RgGODqozYJKC7mewK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_2"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:44 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:44 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:44.529261' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_3@example.jp"], ["encrypted_password", "$2a$04$TWsSm660SfrcvOBEVhGkB.EsZ0JDN2/3EFp2NQVK8NufFn5Bx1sq6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_3"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:44 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:44 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:44.554343' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_1' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_1"], ["created_at", Fri, 16 Dec 2011 17:07:44 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_1"], ["title", "message_template_1"], ["updated_at", Fri, 16 Dec 2011 17:07:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_1' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 17:07:44 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 17:07:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.2ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 13ms (Views: 2.5ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_2@example.jp"], ["encrypted_password", "$2a$04$IC6TJkogj/zOAl9Zgth2veR49NciQow610iYLHEAh4y0l/xrYHVM2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_2"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:44 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 17:07:44 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:44.703152' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_4@example.jp"], ["encrypted_password", "$2a$04$A/5aHHoBqdL.ATcZGmSeEe7X9Z4guZK0HULhB0MFAm.ZhAzW1nNqy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_4"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:44 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:44 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:44.718479' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_5@example.jp"], ["encrypted_password", "$2a$04$x7P/4DDgMD6uH/.vx3Yj.e70jh0jdWAjmjszMtwfQyvyuLyKncEpW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_5"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:44 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:44 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:44.731445' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_2' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_2"], ["created_at", Fri, 16 Dec 2011 17:07:44 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_2"], ["title", "message_template_2"], ["updated_at", Fri, 16 Dec 2011 17:07:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_2' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 17:07:44 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 17:07:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 12ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_6@example.jp"], ["encrypted_password", "$2a$04$8jVsR5sykcHUVZjP1dJL7.jkWcbdllV9GKKylwfy/smyF5XzCrIVy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_6"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:44 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:44 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:44.775477' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_7@example.jp"], ["encrypted_password", "$2a$04$wkoTQ5XN57GLBmYKORRkA.t.uDEpSMCrAoR0XMCtf9/CeInFQE54i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_7"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:44 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:44 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:44.789336' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.8ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (57.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_8@example.jp"], ["encrypted_password", "$2a$04$ctJ8muAC8SfqdJuW536MpOj1O1DOth0Ri4lflzpLd8DoP8R/yJicq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_8"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:44 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:44 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:44.863700' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_3' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_3"], ["created_at", Fri, 16 Dec 2011 17:07:44 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_3"], ["title", "message_template_3"], ["updated_at", Fri, 16 Dec 2011 17:07:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_3' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 17:07:44 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 17:07:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.6ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_9@example.jp"], ["encrypted_password", "$2a$04$PukjCmzEvZN6VhomtFohGeTidUCKFwLUjbtCBiUaYjdZQA3mdpoie"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_9"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:44 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:44 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:44.906668' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_10@example.jp"], ["encrypted_password", "$2a$04$RgwpKLhI/L1tlxyz.5mwK.3ZfwNfymY9wXrormnibWTmUbrYbXKoy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_10"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:44 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:44 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:44.920918' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (1.4ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_4' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_4"], ["created_at", Fri, 16 Dec 2011 17:07:44 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_4"], ["title", "message_template_4"], ["updated_at", Fri, 16 Dec 2011 17:07:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_4' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 17:07:44 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 17:07:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_3@example.jp"], ["encrypted_password", "$2a$04$49VsSgL7XfKLb1HOU2MyBe9V8UIRdkzzAZzdK5/VLA4c7owy9AuGu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_3"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:44 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 17:07:44 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:44.961293' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_11@example.jp"], ["encrypted_password", "$2a$04$vEGMLtlyzE3J/g7fJVez7e8MzcqdgxCJ2SvCx9SFH/ouhPDfEgz.u"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_11"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:44 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:44 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:44.975285' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_12@example.jp"], ["encrypted_password", "$2a$04$TK7sw.6F9JVZtJlkAnHDr.S6jDiZTSMoT6Dt/jFDhwO6MtElUoMOK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_12"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:44 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:44 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:44.988545' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_5' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_5"], ["created_at", Fri, 16 Dec 2011 17:07:44 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_5"], ["title", "message_template_5"], ["updated_at", Fri, 16 Dec 2011 17:07:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (2.3ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_5' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 12ms (Views: 2.3ms | ActiveRecord: 0.7ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_3@example.jp"], ["encrypted_password", "$2a$04$gQTnmq8CKgF5Zv.mDw/r4.3SvWmT.C.MF9D9CvvBEEmbqsPzKn/dW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_3"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:45.030188' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_13@example.jp"], ["encrypted_password", "$2a$04$qMxzGJYhh3r4gXtJLNRezO3gkjPaw2tL2KI/2xC0xq1NwICT/GPta"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_13"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:45.041228' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_14@example.jp"], ["encrypted_password", "$2a$04$xBe5ottVoUoSjmI6kTY36uLF1YzbPbtBdT4UOf/rUZSsaBzWwGyli"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_14"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:45.052060' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_6' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_6"], ["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_6"], ["title", "message_template_6"], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_6' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 7ms (Views: 0.9ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_15@example.jp"], ["encrypted_password", "$2a$04$qjzx.14FrehS6wWZRBBdZuQsDugFSp/dzxzv2J9UXOE//I6t8Nz7W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_15"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:45.130479' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_16@example.jp"], ["encrypted_password", "$2a$04$EYlCnn5e.SYr6RwMDcMGeudwPme3v71kTsmygBiLQ5Zv0JGKAPpWO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_16"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:45.139273' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_17@example.jp"], ["encrypted_password", "$2a$04$/M3Lyrbkv3Jpe7zjOPEgp.UGypZQISrmTyS9222gwvstUTP5yOmu2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_17"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:45.147185' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_7' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_7"], ["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_7"], ["title", "message_template_7"], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_7' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_18@example.jp"], ["encrypted_password", "$2a$04$FRdzMuIi0ESh1bknKe4.SuekB6o2PcW968iRpKb43bqVI29LR/YYy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_18"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:45.171803' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_19@example.jp"], ["encrypted_password", "$2a$04$iq0fvu2J5ZULQzHWzo5RA.5JcY5FgTE3CSez2bKmzJd4E/mnCQSBu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_19"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:45.180446' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_8' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_8"], ["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_8"], ["title", "message_template_8"], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_8' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_20@example.jp"], ["encrypted_password", "$2a$04$HuGBfpypEQlGaChCULoh8ev.zSd08kXiqW0ceDybBAXBftKr60ioi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_20"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:45.203142' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_21@example.jp"], ["encrypted_password", "$2a$04$z/5LgZt0r6t6oJpOeRyMz.zc6YT9/YDr/yqiHS7LZMjDL20tzPvTi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_21"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:45.211422' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_9' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_9"], ["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_9"], ["title", "message_template_9"], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_9' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_22@example.jp"], ["encrypted_password", "$2a$04$1hbq8oxo8An0XAEAlXeJHeXiEm5OSGYpss05zBgjseU96L.Z1ElSO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_22"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:45.225884' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_23@example.jp"], ["encrypted_password", "$2a$04$L1eGGuuyXeKQujPiZvCYZOAtGL/CDX3yvE8XhdekDOHH5nNnZie9y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_23"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:45.234107' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_10' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_10"], ["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_10"], ["title", "message_template_10"], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_4@example.jp"], ["encrypted_password", "$2a$04$iPFuEa/Bwl7.M3TeOQfWLeu/e88ARpXhVsJbjvuaNW03leLHquGJ6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_4"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:45.244743' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_10' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 10, "receiver_id" = 11, "message_template_id" = 10, "updated_at" = '2011-12-16 17:07:45.286451' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 42ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_24@example.jp"], ["encrypted_password", "$2a$04$hNbj2Kcbisn0gkuyCPTb4OgZ3iaSVEdkcS0R3eiwjm0QNdMvHn3.G"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_24"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:45.298537' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_25@example.jp"], ["encrypted_password", "$2a$04$gySnoVpEv6oPHsCSD82vuODoqj.PsGjGsgYkQRx/kVqQAYGdWWkkO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_25"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:45.306779' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_11' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_11"], ["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_11"], ["title", "message_template_11"], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_11' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_26@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_26@example.jp"], ["encrypted_password", "$2a$04$2WJC.T278VRjinPWKsUjLe1U/mcBEaHl5MByawLqdznZNy8QRu0RG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_26"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:45.321668' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_27@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_27@example.jp"], ["encrypted_password", "$2a$04$OEGR1MV9k513Xbxjl2hns.uAtMQo1OIoMN3qZ5Wu200KltF5BDt1i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_27"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:45.329893' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_12' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_12"], ["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_12"], ["title", "message_template_12"], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_5@example.jp"], ["encrypted_password", "$2a$04$yn7JEa.u3WPXjGfDv22ksO9ElMBwVyXFldh5Cek2DWPbGMiaMcjJK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_5"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:45.340173' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_12' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 10, "receiver_id" = 11, "message_template_id" = 10, "updated_at" = '2011-12-16 17:07:45.351533' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 11ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_28@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_28@example.jp"], ["encrypted_password", "$2a$04$Cr0G4fqO6mEYtqbBBGXcFe4bAcVVICIF4.mNXVMDvL/pWmg/6wC9W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_28"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:45.363694' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_29@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_29@example.jp"], ["encrypted_password", "$2a$04$0sd0sG3/NdikOtTkr9VSV.2lSBgtFOe9mMYyPFSL0Jc0ConuoPGxa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_29"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:45.372042' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_13' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_13"], ["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_13"], ["title", "message_template_13"], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_13' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_30@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_30@example.jp"], ["encrypted_password", "$2a$04$in/fGZsE/jCMLHJniRaik.kg/4XDVXHk07OteUKfuWCDkt6lKuW7W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_30"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:45.386372' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_31@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_31@example.jp"], ["encrypted_password", "$2a$04$SKmYDMpuaqpHUcBmrBBiP.8DWmoks1oeLJduao.l06Gi7kL1jwyUC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_31"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:45.394421' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_14' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_14"], ["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_14"], ["title", "message_template_14"], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_6@example.jp"], ["encrypted_password", "$2a$04$j1YaGsRmtDcH4xynuOqofOPDvKuOcJt340z3J8UVR/pF8NCppKCo6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_6"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:45.405211' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_13' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 41ms (Views: 0.8ms | ActiveRecord: 0.7ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_32@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_32@example.jp"], ["encrypted_password", "$2a$04$/YwuKLlvDN7xtSOPO2bCv.uCvWV8lsMKG4GV4eQQfu7nJIP2on11W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_32"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:45.458637' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_33@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_33@example.jp"], ["encrypted_password", "$2a$04$NaVFR7x0l9Ih19J.yytKceKzLr8RDdEI/3gD9wwV7g64EEyXWG0qG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_33"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:45.467340' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_15' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_15"], ["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_15"], ["title", "message_template_15"], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_15' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_34@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_34@example.jp"], ["encrypted_password", "$2a$04$wX25ge5HWePGtxjH8i.R/./VB.kWhsGGMewb6JYJGsYemgyaqP1yq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_34"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:45.482001' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_35@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_35@example.jp"], ["encrypted_password", "$2a$04$MfKRVMAhzAjVhCMYA1uxweYsAtpQC0BZn0N3aeHMNi22MarC/u7Xa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_35"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:45.489526' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_16' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_16"], ["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_16"], ["title", "message_template_16"], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_4@example.jp"], ["encrypted_password", "$2a$04$s3A4ddQvJAcgFJX2IVCwmuqW0WqCvHK7gcOMtcL18QjamYqFSCsRO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_4"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:45.499966' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_16' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 10, "receiver_id" = 11, "message_template_id" = 10, "updated_at" = '2011-12-16 17:07:45.509957' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 10ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_36@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_36@example.jp"], ["encrypted_password", "$2a$04$G7xpAqQKScdX.2vGd/DQO.GUeaFNZoYvkk77ijReU9f7fmUfv5HDi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_36"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:45.521884' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_37@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_37@example.jp"], ["encrypted_password", "$2a$04$oEb6IcSQvBZx76X5GzezGuanXjkR1/Sm9cIjJSuGlJPVM9DlZe7h6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_37"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:45.530152' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_17' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_17"], ["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_17"], ["title", "message_template_17"], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_17' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_38@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_38@example.jp"], ["encrypted_password", "$2a$04$1AbUJoCwS2B.fsXlmgzFMuI2eT3nxLYHv1tEJOYPePl6i38ZKVqWC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_38"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:45.545507' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_39@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_39@example.jp"], ["encrypted_password", "$2a$04$TW.HuYyGDBv5ONZY1PsnqOwsjm2VR2NKmCp9RrkoLR58cylTEbZW6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_39"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:45.554364' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_18' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_18"], ["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_18"], ["title", "message_template_18"], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_5@example.jp"], ["encrypted_password", "$2a$04$k5Nl17zkxllLcatez2KE4.3ifi.CBkzmRXi4.uUvr2zOgR7E147bu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_5"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:45.598451' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_18' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 10, "receiver_id" = 11, "message_template_id" = 10, "updated_at" = '2011-12-16 17:07:45.609735' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 11ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_40@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_40@example.jp"], ["encrypted_password", "$2a$04$JWwK1JdrlkAeTT8DgiGIUORf0.2QmMhpk/9nHTUfxNPKgfiKff0hq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_40"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:45.622460' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_41@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_41@example.jp"], ["encrypted_password", "$2a$04$QL53G3VUtlrQXzNrlX9df.oZzMEnU052V7LQu9xqBbv/i.gd9Y2au"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_41"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:45.631095' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_19' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_19"], ["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_19"], ["title", "message_template_19"], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_19' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_42@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_42@example.jp"], ["encrypted_password", "$2a$04$Hlyf3W42CeCCPHEfWxrKqu5bsHEslppbZLReZrI7CLYtR.AydQle6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_42"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:45.645826' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_43@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_43@example.jp"], ["encrypted_password", "$2a$04$I.vbknGneyd4a28vDBWwm.4wnHnxRZsPwUjNyDZtTLIyrlZmd6wjm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_43"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:45.653415' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_20' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_20"], ["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_20"], ["title", "message_template_20"], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_6@example.jp"], ["encrypted_password", "$2a$04$Jc7tghgbNtJdjuHY2LNqrOPLAoeC5Z2BRThUOwUBrvxu3Hd2zZFXy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_6"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:45.663797' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_19' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 10ms (Views: 0.8ms | ActiveRecord: 0.6ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_44@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_44@example.jp"], ["encrypted_password", "$2a$04$puS8WjpQ5YszmhZSmhPd1OwYuBY7ooUnzT6IyZZqeCwIeTKVzFQr6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_44"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:45.685478' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_45@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_45@example.jp"], ["encrypted_password", "$2a$04$/kcMrVKmK3A9Xx9l1bLVVukIqsIrxI.nGnoqbgma5Lreq8Kye0o.K"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_45"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:45.693556' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_21' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_21"], ["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_21"], ["title", "message_template_21"], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_21' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_46@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_46@example.jp"], ["encrypted_password", "$2a$04$YwznVe/SPlBRp3tb68k7zeTZ9oZs0/mZiuZf8mBozzdxjLdYScKO2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_46"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:45.707807' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_47@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_47@example.jp"], ["encrypted_password", "$2a$04$5GNWdYm9auAnc/8mhx8B8uNp77gLm08yj9exd9Eijo2xojk259e8m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_47"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:45.715778' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_22' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_22"], ["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_22"], ["title", "message_template_22"], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_48@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (33.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_48@example.jp"], ["encrypted_password", "$2a$04$rcEzyGWO7WugtYQaXbQpde8R2DMmRA8n/BVXF4xU88TKmuoeHkkgC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_48"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:45.759540' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_49@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_49@example.jp"], ["encrypted_password", "$2a$04$hK8mmLZhiyjqh8Inmz950.hEdlllGtvrgBhaL73BaN0lpXoruNXii"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_49"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:45.778255' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_50@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_50@example.jp"], ["encrypted_password", "$2a$04$WKmINhEzOfzNeDFnHEmvFu2Y7TbQIHysvN5wBi.JZTN2VTYuDoZe2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_50"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:45.786587' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_23' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_23"], ["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_23"], ["title", "message_template_23"], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_23' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_51@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_51@example.jp"], ["encrypted_password", "$2a$04$fEI.rFooKn4RGjQdxQFkMeOr2GmFR1PlfqhZltB39v9OjPwgGRN7."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_51"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:45.801696' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_52@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_52@example.jp"], ["encrypted_password", "$2a$04$PyW0VCzmdJ0OxThOSI0Y5uIg3w7wmKUCr2NcFCXaNOO/CxwLQBHX6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_52"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:45.809717' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_24' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_24"], ["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_24"], ["title", "message_template_24"], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_53@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_53@example.jp"], ["encrypted_password", "$2a$04$66L56ghDVndCsrBoCMO4OOqwritV0Clq8iYpHOG4e.wdzYzmSkx.e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_53"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:45.820054' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_54@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_54@example.jp"], ["encrypted_password", "$2a$04$cZ57gfwjXHPSCiYQkkr/gODeLBa/bacnreUacxtbJiLi4zs3cHUoe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_54"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:45.838991' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_55@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_55@example.jp"], ["encrypted_password", "$2a$04$VIleSG1DoItUzwKbruJ.b.UZ3DQNI6U7bqfwTtwVze1IWNfxQ5PeK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_55"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:45.847247' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_25' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_25"], ["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_25"], ["title", "message_template_25"], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_25' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_56@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_56@example.jp"], ["encrypted_password", "$2a$04$mxWEgG8IdeqglK5xHpzb/OhUMmp/q8UCXieOvQWa8C1eyy40ui..6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_56"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:45.861828' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_57@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_57@example.jp"], ["encrypted_password", "$2a$04$psJ08qkDuYUeoR5jaRkgFekdwlQukrgbu2bKe1NUb3K9voVQOMZ4W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_57"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:45.870450' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_26' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_26"], ["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_26"], ["title", "message_template_26"], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_58@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (33.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_58@example.jp"], ["encrypted_password", "$2a$04$CO77KuATskGezmpA8tMlxep9SffCwQ6ldX1F/rrusT2OXzIGWO3k2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_58"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:45.913504' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_59@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_59@example.jp"], ["encrypted_password", "$2a$04$Y2/KJwPu7S4i5N19IcvR.uM0DM39x43iSK8Tt6zTKbXK3qMwHb1om"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_59"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:45.931500' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_60@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_60@example.jp"], ["encrypted_password", "$2a$04$0ybd267j9.7Cv6mSo54WkuAblQCMcgO4F6Y8ywM/OBUrYOxOrIilq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_60"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:45.939971' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_27' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_27"], ["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_27"], ["title", "message_template_27"], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_27' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_61@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_61@example.jp"], ["encrypted_password", "$2a$04$SvdL99SrB5d4lTvfxu2OSOMQDhz.q5BLa75GWE8xqSTFa/12N1JYi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_61"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:45.954833' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_62@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_62@example.jp"], ["encrypted_password", "$2a$04$PzhzSeWrHAQ92qrhR928GO1hAwJmO9VNAV3.rhv.RSyfBjAjNiuma"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_62"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:45.962864' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_28' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_28"], ["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_28"], ["title", "message_template_28"], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_63@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_63@example.jp"], ["encrypted_password", "$2a$04$XhPw3/0ye8WwDE8ZP3ZjYefDy/W86Y5xPMVNyTOMuuXBqtddNUNrO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_63"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:45.981338' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_64@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_64@example.jp"], ["encrypted_password", "$2a$04$X.om9DKyV4dLJwPY7rHwwuxP5DOK2hKWpJEo6/TLFTn01Y0TgfV62"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_64"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:45.989757' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_29' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_29"], ["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_29"], ["title", "message_template_29"], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_29' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 17:07:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_65@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_65@example.jp"], ["encrypted_password", "$2a$04$jIz/4UfoMXdbhFq0ytyw9OHQIqFCuamTZQ8K0wkv6FEHz4zAAt2lK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_65"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:46.004885' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_66@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_66@example.jp"], ["encrypted_password", "$2a$04$0NTF3hjr1ZWFCZSTdadUM.a6rrcaBZ7KlaKJWuh68mijoa/.1s6.q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_66"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:46.012915' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_30' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_30"], ["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_30"], ["title", "message_template_30"], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_67@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_67@example.jp"], ["encrypted_password", "$2a$04$/Ld2MFp41j22zQi9gMtak.ouOoZA9T.eDFvOOJAsYJo581hZp53z2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_67"]] SQL (50.9ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:46.087587' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_68@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_68@example.jp"], ["encrypted_password", "$2a$04$O7Aiy/Qfx4rMzZ97CjfvRuSlVccB/7ofLyuKJgkbNrTIUL2JQ26wS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_68"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:46.101440' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_31' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_31"], ["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_31"], ["title", "message_template_31"], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_31' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_69@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_69@example.jp"], ["encrypted_password", "$2a$04$lw15pZQc2WqekaAOQCVU9eUi/76jwbOTnqVIenNtCbKofk/eHWSKe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_69"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:46.125490' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_70@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_70@example.jp"], ["encrypted_password", "$2a$04$XaGonz5/pHh6uB1Yk9nr9.WX1NKt3MOHzgEqrQ86NbAkJkcZWzp.y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_70"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:46.139795' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_32' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_32"], ["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_32"], ["title", "message_template_32"], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_71@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_71@example.jp"], ["encrypted_password", "$2a$04$AZuGotknFNTCseCVh2R2uuI0gxU.GWZJICRVCAtOPl/r0fvBWuX12"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_71"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:46.169948' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_72@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_72@example.jp"], ["encrypted_password", "$2a$04$jdl4dPDDoKwnp1dyvGm6QeZ0v0rukQTYrHpBS8DZLJh2Df9Ec3rQ2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_72"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:46.183460' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_33' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_33"], ["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_33"], ["title", "message_template_33"], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_33' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_7@example.jp"], ["encrypted_password", "$2a$04$vhUfts0xu6G5w6RMXViy7.iu39EW2li8QW7R1foQpBKzGN7cUszkC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_7"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:46.209036' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 9ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_73@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_73@example.jp"], ["encrypted_password", "$2a$04$gUoGO1GtMDwDAjY4EqZLOe5j0y/gPKhorLqvRdrt.fcFwL24yHyci"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_73"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:46.235339' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (1.3ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_74@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_74@example.jp"], ["encrypted_password", "$2a$04$kZJWNmGriev8EdynFRXW4.EE3qpZGjYvNk1wXlcXPIBh1NFrJY5ri"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_74"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:46.249648' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_34' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_34"], ["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_34"], ["title", "message_template_34"], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_34' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_8@example.jp"], ["encrypted_password", "$2a$04$1kWu5T2PDu.XaZN8MnSHp.TqgwRABtWQe8y6gj5tykXpqlWyOtIQm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_8"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:46.273030' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_75@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_75@example.jp"], ["encrypted_password", "$2a$04$T4vQ9c2oPK4dmRP0qHfeXesuYo5V8fMHI4tRIA.G9Y/WfilhBrgvO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_75"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:46.347492' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_76@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_76@example.jp"], ["encrypted_password", "$2a$04$RkXAXigfxBltL0gakWQ8GOuWD.ysOCA5FNfuxHY3.4QK1/ugXfAWO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_76"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:46.362103' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_35' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_35"], ["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_35"], ["title", "message_template_35"], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_35' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.2ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_7@example.jp"], ["encrypted_password", "$2a$04$n3Ddp8d5JcCwHvu6Uc5udeVI7Wxdw49UherXMfmKYcMupbm6YCCuG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_7"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:46.386840' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 9ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_77@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_77@example.jp"], ["encrypted_password", "$2a$04$HWJgdtph4/2AOdSOed16EORvfln4cVTVs099IG76D6VhPNzDdsWUG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_77"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:46.413250' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_78@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_78@example.jp"], ["encrypted_password", "$2a$04$woEOce96HwcAByvJMSm4o.xu0EuZg9D8GJyObExv.9oSHKannltKC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_78"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["user_id", 9]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:46.427768' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_36' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_36"], ["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_36"], ["title", "message_template_36"], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_36' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.6ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_8@example.jp"], ["encrypted_password", "$2a$04$E8qY58jtuNYvKbgozl6/vuNl/Jo3.4VNs2E6orgEu4SuOKn36NORi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_8"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:46.451054' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 10ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_79@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_79@example.jp"], ["encrypted_password", "$2a$04$/pq/4BOrB8DGbP3D0PAkS.aE5k2pRNfegDkLYGR9qbshHxYHvlHQG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_79"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:46.479134' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_80@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_80@example.jp"], ["encrypted_password", "$2a$04$qm7vdM99K.vdL67LjHVGp.Xi4sTs94yWYEfLwHXqwus9EJxVXiGFa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_80"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:46.491883' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_37' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_37"], ["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_37"], ["title", "message_template_37"], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_37' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_81@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_81@example.jp"], ["encrypted_password", "$2a$04$M.icpYLa90dPGsZL.BV6Nu2hnkxGD.lNCeTjWpO4kw2Ndt/Iw4z9."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_81"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:46.515190' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_82@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (61.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_82@example.jp"], ["encrypted_password", "$2a$04$OdHk45wLsOXRxLSEamoNF.qSFOYULzHZFV08.tzZst8FIpnb0JPNy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_82"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:46.601811' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_83@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_83@example.jp"], ["encrypted_password", "$2a$04$NUY.s/m19xSR44u/h44vOuMJnDNFWc15ibyXQoTlrLi7r9QaJ7fbe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_83"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:46.615592' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_38' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_38"], ["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_38"], ["title", "message_template_38"], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_38' AND "message_templates"."id" != 9) LIMIT 1 SQL (2.1ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_84@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_84@example.jp"], ["encrypted_password", "$2a$04$hL6zaGBHLP3cjcHxzZ8xY.fQ2cXA0y1x.AP3k7CrHXfvkzABpech6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_84"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:46.640540' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 0.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_85@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_85@example.jp"], ["encrypted_password", "$2a$04$nkmmstnNpt1u60vhqkXky.An.egFkWMInT3akHnXrRdzTevzEoTRi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_85"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:46.666384' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_86@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_86@example.jp"], ["encrypted_password", "$2a$04$RLzqS4n8D8RLCInFbDPmg.HO/0y2TpzvyZG5L5..MOD7fjVUEmhBy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_86"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:46.679858' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_39' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_39"], ["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_39"], ["title", "message_template_39"], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.9ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_39' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_87@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_87@example.jp"], ["encrypted_password", "$2a$04$2rRWqg7i/yF7jaylS0rS8eiZwy1Af8/vWkAHZATspyFWJi9gG9rRa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_87"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:46.716759' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_88@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_88@example.jp"], ["encrypted_password", "$2a$04$/4q1jRW5ulomXgWaA8jevO/0Y3/EERneXL2B2kh0LznBBrjrrlv3i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_88"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:46.728901' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_40' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_40"], ["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_40"], ["title", "message_template_40"], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_40' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_41' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_41"], ["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_41"], ["title", "message_template_41"], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_9@example.jp"], ["encrypted_password", "$2a$04$7ls3Nfa39Xb9FdbEr6331uAnyP08kI2x.mUafT4/3v0NIsKt0BS.m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_9"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:46.768020' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 14ms (Views: 5.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position LIMIT 10 OFFSET 0  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_42' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_42"], ["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_42"], ["title", "message_template_42"], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (52.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_9@example.jp"], ["encrypted_password", "$2a$04$IGaIrxiQH9pFkKk4wNPIweaI9MSNtAf3rw1Y8XpZ2kSqk1L6QtpiO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_9"]] SQL (0.4ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:46.859630' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 9ms (Views: 1.1ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position LIMIT 10 OFFSET 0  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_43' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_43"], ["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_43"], ["title", "message_template_43"], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_89@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_89@example.jp"], ["encrypted_password", "$2a$04$s0OCfbALYV82ZOul6nhZxugA9QKRAuGzMAbVbgKNmC/xmMJysTJbW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_89"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:46.890568' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "message_templates" WHERE ('t'='f')  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_44' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_44"], ["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_44"], ["title", "message_template_44"], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms  (0.1ms) SELECT COUNT(*) FROM "message_templates" WHERE ('t'='f') Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_10@example.jp"], ["encrypted_password", "$2a$04$5BK45yTYokoKjn50BR/AdetrMNEOaCI41V3zZBMJjZYAN2KjcInLG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_10"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:46.935199' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_45' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_45"], ["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_45"], ["title", "message_template_45"], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 9ms (Views: 1.8ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_10@example.jp"], ["encrypted_password", "$2a$04$W1O21mAuWxBLvaSnnx2GSu7PTKhCNJsng0NclX8CEbY2E9yQquSA."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_10"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:46.966972' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_46' LIMIT 1 SQL (1.1ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_46"], ["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_46"], ["title", "message_template_46"], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 10ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_90@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_90@example.jp"], ["encrypted_password", "$2a$04$CWgu3q8LeAuanVIM9G.iUOclkLakqYJJp/avC6vQUJT5yZI49qD5O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_90"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:47.003370' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_47' LIMIT 1 SQL (0.8ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_47"], ["created_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_47"], ["title", "message_template_47"], ["updated_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_48' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_48"], ["created_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_48"], ["title", "message_template_48"], ["updated_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_11@example.jp"], ["encrypted_password", "$2a$04$8QE8O.d4jOMUF4g728OiiuG8X3iuU/y/f.hugovP00WZyJMvvSvJG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_11"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:47.060474' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (8.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_11@example.jp"], ["encrypted_password", "$2a$04$G1y9J545EkfUMJEAmRKrAeHL9hPRvvySFyD9HURaw3BqeDbnaZkfq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_11"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:47.102121' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_91@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_91@example.jp"], ["encrypted_password", "$2a$04$ZYymQwdHulw9bxNF8Kfi7OOwD0qKNNu4H9S6WSF43pr.w1ZAMi.P2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_91"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:47.199261' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Processing by MessageTemplatesController#new as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_12@example.jp"], ["encrypted_password", "$2a$04$J2AW4A6Az6WpMc1SUrJ73uzvixgw.mQcrlamoZGxYVScwZ/05HZe6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_12"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:47.246159' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_49' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_49"], ["created_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_49"], ["title", "message_template_49"], ["updated_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 11ms (Views: 2.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_12@example.jp"], ["encrypted_password", "$2a$04$1kF77.2njISpWtuS1NxueOBqFjov2J16uRgxwoPzJwFEb5OzS81UW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_12"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:47.282295' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_50' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_50"], ["created_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_50"], ["title", "message_template_50"], ["updated_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_92@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_92@example.jp"], ["encrypted_password", "$2a$04$Q4npdolPV1Mcmh08bQsrO.6l41QK9/U6cNGvjmhWaxkxQ10WIVu96"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_92"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:47.320310' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_51' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_51"], ["created_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_51"], ["title", "message_template_51"], ["updated_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_52' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_52"], ["created_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_52"], ["title", "message_template_52"], ["updated_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_13@example.jp"], ["encrypted_password", "$2a$04$AioH1srFo7iukavWHTZlLuxLsC1GOBW0U1j6csAxcZ4ZasldPMTRS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_13"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:47.373629' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_53", "status"=>"message_template_53", "body"=>"message_template_53"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_53' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_14@example.jp"], ["encrypted_password", "$2a$04$uUyDFrGW3ThZc4VaE2NvIe5xtD93x.cRYKPFAZLpm4Kz92dk3EIHi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_14"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:47.405961' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_54", "status"=>"message_template_54", "body"=>"message_template_54"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_15@example.jp"], ["encrypted_password", "$2a$04$UkaLrO1DaQbaT4eV032m1OTAHWu35jH0OazIZrTpVPu3qauZp/M/a"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_15"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:47.497947' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_16@example.jp"], ["encrypted_password", "$2a$04$enz6538Q/clIjStSdDxN7OEo00PdbMIPTy6hQT4rpWKkWZ8SKMpIy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_16"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:47.530389' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_13@example.jp"], ["encrypted_password", "$2a$04$oqGo6vC975lWHMrT39j0Zuo.OSGW3/43kYjqxvuo8NNti6NtJY3rS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_13"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:47.564417' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_57", "status"=>"message_template_57", "body"=>"message_template_57"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_57' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_14@example.jp"], ["encrypted_password", "$2a$04$iVxb2sgKvJ0dgyfrnj7XkOtSbN1d1w9pLD19goQSAu/aykGwlS0vm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_14"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:47.598882' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_58", "status"=>"message_template_58", "body"=>"message_template_58"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_15@example.jp"], ["encrypted_password", "$2a$04$Eb/s6EIY2UrIXZQH8/7t4.ek8KD6/KQ5rw8ALW/nDc0WLTpQpuoR."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_15"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:47.629155' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_16@example.jp"], ["encrypted_password", "$2a$04$PLuYslRGvNUbsBEdWPfco.agwzYaQv.P0QAIDwDwy6rpCk4ucuw7."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_16"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:47.666621' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_93@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_93@example.jp"], ["encrypted_password", "$2a$04$naPv4oociq2Yq0KJuVPtm.gJvd/yrhR6.S68YW/s3j7oeR84G3Pwi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_93"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:47.693302' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_61", "status"=>"message_template_61", "body"=>"message_template_61"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_61' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_94@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_94@example.jp"], ["encrypted_password", "$2a$04$lwxG6zglqPOjYczGj7adze9QxP2cjBsSTrYXDrQJz5lXLfEwsLiNa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_94"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00], ["user_id", 8]]  (1.0ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:47.791926' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_62", "status"=>"message_template_62", "body"=>"message_template_62"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_95@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_95@example.jp"], ["encrypted_password", "$2a$04$XzUyLicQtR6zKW7KiCOHg.Rz8Vtgxf7u7pSXQ2JLwXlKIdSjSzHZS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_95"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:47.821760' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_96@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_96@example.jp"], ["encrypted_password", "$2a$04$zkrwg7.LkRi62WCuWioixecJjBVLQdo/5OaDEEKWbnwQ.pPf5NaTi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_96"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:47.854292' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_65", "status"=>"message_template_65", "body"=>"message_template_65"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 8ms MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_65' LIMIT 1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_66", "status"=>"message_template_66", "body"=>"message_template_66"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 8ms MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 5ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_69' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_69"], ["created_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_69"], ["title", "message_template_69"], ["updated_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_17@example.jp"], ["encrypted_password", "$2a$04$TFtRIxP393HTfDgs9cxxs.Ai0wrdVLTBnlrSzDsnL1tcHeh0a6Xpa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_17"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:47.941843' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_70", "status"=>"message_template_70", "body"=>"message_template_70"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_70' AND "message_templates"."id" != 9) LIMIT 1  (0.1ms) UPDATE "message_templates" SET "title" = 'message_template_70', "status" = 'message_template_70', "body" = 'message_template_70', "updated_at" = '2011-12-16 17:07:47.961480' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates/9 Completed 302 Found in 30ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_71' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_71"], ["created_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_71"], ["title", "message_template_71"], ["updated_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_18@example.jp"], ["encrypted_password", "$2a$04$79tiv9RBusy0lFUaG4Q5o.P5XahG6d9FH3NFPzAYshhsMe58FKQe2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_18"]] SQL (0.4ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:48.060581' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_72", "status"=>"message_template_72", "body"=>"message_template_72"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_72' AND "message_templates"."id" != 9) LIMIT 1  (0.1ms) UPDATE "message_templates" SET "title" = 'message_template_72', "status" = 'message_template_72', "body" = 'message_template_72', "updated_at" = '2011-12-16 17:07:48.075281' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates/9 Completed 302 Found in 13ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_73' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_73"], ["created_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_73"], ["title", "message_template_73"], ["updated_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_19@example.jp"], ["encrypted_password", "$2a$04$VzPCSc7Y620mKjQjDDp/q.WX9Xtj3pnct6kYLaNHsF0oOTdUcPbeO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_19"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:48.099382' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_74", "status"=>"message_template_74", "body"=>"message_template_74"}, "position"=>"2", "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "message_templates" SET "position" = 0, "updated_at" = '2011-12-16 17:07:48.111734' WHERE "message_templates"."id" = 9  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "message_templates" SET position = (position - 1) WHERE "message_templates"."id" IN (SELECT "message_templates"."id" FROM "message_templates" WHERE (1 = 1 AND position > 9) ORDER BY position) SQL (0.2ms) UPDATE "message_templates" SET position = (position + 1) WHERE "message_templates"."id" IN (SELECT "message_templates"."id" FROM "message_templates" WHERE (1 = 1 AND position >= 2) ORDER BY position)  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "message_templates" SET "position" = 2, "updated_at" = '2011-12-16 17:07:48.120580' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates Completed 302 Found in 19ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_75' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_75"], ["created_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_75"], ["title", "message_template_75"], ["updated_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_20@example.jp"], ["encrypted_password", "$2a$04$EtNzfLPrvUhX/xjHgHt/9u.J/Wa4zwn5vRdIJL93k1UH5MAfcbVk6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_20"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:48.146870' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = '' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 15ms (Views: 1.2ms | ActiveRecord: 0.0ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_77' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_77"], ["created_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_77"], ["title", "message_template_77"], ["updated_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_17@example.jp"], ["encrypted_password", "$2a$04$3YBALhQxQ3tUey0L7a.N0eCphSZdgNiGk.z0X1feYXeJwLB3RX9kK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_17"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:48.186893' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_78", "status"=>"message_template_78", "body"=>"message_template_78"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_79' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_79"], ["created_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_79"], ["title", "message_template_79"], ["updated_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_18@example.jp"], ["encrypted_password", "$2a$04$Dl8t7KO38YWTEg.dnc5uJu3K6DvYyb0tQfp3NcpNaPycuEISJzDsq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_18"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:48.222648' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_80", "status"=>"message_template_80", "body"=>"message_template_80"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_81' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_81"], ["created_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_81"], ["title", "message_template_81"], ["updated_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_19@example.jp"], ["encrypted_password", "$2a$04$r8FWAIrYjU1/PHkazmCcS.Iy0VbbHFr6JuauMyLENjZafEh7V5Rhq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_19"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:48.257781' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_83' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_83"], ["created_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_83"], ["title", "message_template_83"], ["updated_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_97@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_97@example.jp"], ["encrypted_password", "$2a$04$woRAHeB1aK3hlfZiXGFbqenZtq0HEu/6.aWcIUXfMgDxcb9/I9acm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_97"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:48.298382' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_84", "status"=>"message_template_84", "body"=>"message_template_84"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 69ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_85' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_85"], ["created_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_85"], ["title", "message_template_85"], ["updated_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_98@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_98@example.jp"], ["encrypted_password", "$2a$04$aIxoPksyUREpZ23OHRWlCu/VSvMxsv8PqX0DxTuMFtFwtMKjpPANm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_98"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:48.393094' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_86", "status"=>"message_template_86", "body"=>"message_template_86"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_87' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_87"], ["created_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_87"], ["title", "message_template_87"], ["updated_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_99@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_99@example.jp"], ["encrypted_password", "$2a$04$3uJSNXtd1pHPsKbnTDlVBeXSwES0MCk0KN4mPCCGxtcuXCZIXcXO2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_99"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:48.427851' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 4.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_89' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_89"], ["created_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_89"], ["title", "message_template_89"], ["updated_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_90", "status"=>"message_template_90", "body"=>"message_template_90"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_91' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_91"], ["created_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_91"], ["title", "message_template_91"], ["updated_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_92", "status"=>"message_template_92", "body"=>"message_template_92"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 8ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_93' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_93"], ["created_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_93"], ["title", "message_template_93"], ["updated_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_95' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_95"], ["created_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_95"], ["title", "message_template_95"], ["updated_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_21@example.jp"], ["encrypted_password", "$2a$04$7RKvGBma4YnHkra.xxnv2uFuk38bK7Y8sdYWPQFChhxfNEUZt4aEC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_21"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:48.525473' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_96' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_96"], ["created_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_96"], ["title", "message_template_96"], ["updated_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_22@example.jp"], ["encrypted_password", "$2a$04$d.2GK9Z9kUlgKgqB0f89HehQPhYq6uU/J9JyFKy1jcgq5msKa9P.y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_22"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:48.559047' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.5ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_97' LIMIT 1 SQL (1.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_97"], ["created_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_97"], ["title", "message_template_97"], ["updated_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_20@example.jp"], ["encrypted_password", "$2a$04$YaMKOPYZNyRqWBvuBFS01eo/j9Oh15yCFuhOlQCkMPUO4c9qyFAs6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_20"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:48.602028' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 13ms (Views: 5.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_98' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_98"], ["created_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_98"], ["title", "message_template_98"], ["updated_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_21@example.jp"], ["encrypted_password", "$2a$04$wsRha/zybdCUdB8IGFMlPOIHJDPbWSPReRgUe3XGK6Cy6MBgcxyky"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_21"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:48.697831' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_99' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_99"], ["created_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_99"], ["title", "message_template_99"], ["updated_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_100@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_100@example.jp"], ["encrypted_password", "$2a$04$qDB1yMHIHXJgD9IHZBysyOV16A80ovWbem4qrdjCIVwvoLd4U21FS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_100"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:48.729703' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_100' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_100"], ["created_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_100"], ["title", "message_template_100"], ["updated_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_101@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_101@example.jp"], ["encrypted_password", "$2a$04$vnTC5wGzU/BoaqLv.omjL.9AgdAuP8k9ryqwVpUSAUQMAI/O7ok9i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_101"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:48.763971' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_101' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_101"], ["created_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_101"], ["title", "message_template_101"], ["updated_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_102' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_102"], ["created_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_102"], ["title", "message_template_102"], ["updated_at", Fri, 16 Dec 2011 17:07:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms Role Load (0.3ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_23@example.jp"], ["encrypted_password", "$2a$04$RbLE4aNakA1diBUViZsnseRsXZfrvQtvmWKIb9rydeiqEfhI1ODoG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_23"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:50 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 17:07:50 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:50.130367' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 SOLR Request (13.2ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A8&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (7.5ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A8&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 72ms (Views: 9.7ms | ActiveRecord: 0.5ms | Solr: 20.8ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (82.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_24@example.jp"], ["encrypted_password", "$2a$04$2fzT6fmeazIH426irnnyI.CuBadaNy8Y9p434S.J558NoWMiddt/m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_24"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:50 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 17:07:50 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:50.317785' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML Parameters: {"user_id"=>"admin_24"} User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'admin_24' LIMIT 1 SOLR Request (7.1ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A8&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (12.3ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A8&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 32ms (Views: 2.5ms | ActiveRecord: 0.7ms | Solr: 19.4ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_22@example.jp"], ["encrypted_password", "$2a$04$I30LpEPYWbmUFn0ZbQPururNxGD8O1AonxYMDirSAcGQ4NLrWZ3sW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_22"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:50 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 17:07:50 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:50.370230' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 SOLR Request (3.6ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A8&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (4.1ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A8&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 17ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 7.7ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_23@example.jp"], ["encrypted_password", "$2a$04$4dBFkTmF8AxLNiMt4zKEYOeTyihIb0agpoAleCfXfo/B9finbi8Y6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_23"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:50 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 17:07:50 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:50.413148' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML Parameters: {"user_id"=>"librarian_23"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'librarian_23' LIMIT 1 SOLR Request (21.1ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A8&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (15.6ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A8&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 51ms (Views: 1.5ms | ActiveRecord: 0.4ms | Solr: 36.7ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 SOLR Request (10.4ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (10.4ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Message Load (0.3ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IN (2) Completed 200 OK in 52ms (Views: 1.4ms | ActiveRecord: 0.6ms | Solr: 20.9ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML Parameters: {"query"=>"you"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 SOLR Request (4.6ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&q=you&fl=%2A+score&qf=body_text+subject_text&defType=dismax&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (8.7ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&q=you&fl=%2A+score&qf=body_text+subject_text&defType=dismax&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IN (2) Completed 200 OK in 27ms (Views: 1.6ms | ActiveRecord: 0.5ms | Solr: 13.3ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 SOLR Request (17.2ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (9.6ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IN (2) Completed 200 OK in 45ms (Views: 1.4ms | ActiveRecord: 0.6ms | Solr: 26.8ms) Processing by MessagesController#index as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 15ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Message Load (11.3ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 131ms (Views: 2.0ms | ActiveRecord: 0.6ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 403 Forbidden in 13ms (Views: 1.4ms | ActiveRecord: 0.5ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#show as HTML Parameters: {"id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 3 AND "messages"."id" = ? LIMIT 1 [["id", "2"]]  (0.0ms) SAVEPOINT active_record_1  (0.3ms) UPDATE "messages" SET "read_at" = '2011-12-16 17:07:50.831862', "updated_at" = '2011-12-16 17:07:50.832282' WHERE "messages"."id" = 2 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1  (0.5ms) UPDATE "messages" SET "state" = 'read', "updated_at" = '2011-12-16 17:07:50.843501' WHERE "messages"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 36ms (Views: 6.2ms | ActiveRecord: 1.8ms | Solr: 0.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.9ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.2ms | ActiveRecord: 1.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_25@example.jp"], ["encrypted_password", "$2a$04$Ff4yjszq1d/7oUAu.feAfu3aNMxcPsgpmdt9E9zMQhVVORNHm64dy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_25"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:50 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 17:07:50 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:50.901418' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 Completed 200 OK in 102ms (Views: 3.5ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_24@example.jp"], ["encrypted_password", "$2a$04$tiZOqmxhkLcNjyQYqMHO0uZuWbCXjPEDKq.2ab1MHrlwY3kxgW0R2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_24"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:51.030881' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 Completed 200 OK in 14ms (Views: 4.0ms | ActiveRecord: 0.4ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.8ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML Parameters: {"parent_id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML Parameters: {"parent_id"=>"2"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Processing by MessagesController#new as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 5ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_26@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_26@example.jp"], ["encrypted_password", "$2a$04$DMs8HehO7MCxUVApeNO8DuY4OZiFkm60mC9qJTm6RjC5QiBc00p8a"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_26"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:51.139737' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 8 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 8ms (Views: 0.9ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_25@example.jp"], ["encrypted_password", "$2a$04$NwgVpWxAfeJ14t1hAfUIWOiA9P8bIM023d4DTgcDgA5RpYMo0SU3G"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_25"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:51.161292' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 0.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 1.1ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_102@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_102@example.jp"], ["encrypted_password", "$2a$04$5EejDbuGJIsj4R8WAFyaUOxDhY2GH/j1d3uj/an/.fVbQ9vSbgagq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_102"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:51.198597' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_103@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (38.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_103@example.jp"], ["encrypted_password", "$2a$04$s6V.76RjHiZRh72wUvQ7UeWxyHaK5egxjcCYbCjSplPVMmElRNqCq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_103"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:51.245009' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "user_102"]]  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_27@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_27@example.jp"], ["encrypted_password", "$2a$04$PvPcsElnOpVuX30oL18jvO8OUMshh9i.IO/Knff6LioFQOYzgm1Q6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_27"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:51.257223' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}, "user_id"=>"user1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 10ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_28@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_28@example.jp"], ["encrypted_password", "$2a$04$fG5igH/S2fXbROCj/BtsC.53ZNHQGSOihTmRIk4e2BWOL6CEK2aFW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_28"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:51.281243' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}, "user_id"=>"user1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 0.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_29@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_29@example.jp"], ["encrypted_password", "$2a$04$EakGUEkgrIk/62dqzJuvteyEoHcWjn6PPlcgncJ12tm2kAroZh9qe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_29"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:51.303897' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}, "user_id"=>"user1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 9ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_30@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_30@example.jp"], ["encrypted_password", "$2a$04$CplwOSIrWAzx6rNwKK5lnOC2yNEHNEeXf7rRJGc8S3pIkDlvaCW8i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_30"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:51.329328' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}, "user_id"=>"user1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 9ms (Views: 0.9ms | ActiveRecord: 0.4ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test", "parent_id"=>"2"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = 2 LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "user2"]]  (0.0ms) SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "user2"]]  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 404 Not Found in 9ms (Views: 0.9ms | ActiveRecord: 0.4ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test", "parent_id"=>"2"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.7ms | ActiveRecord: 0.2ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_104@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_104@example.jp"], ["encrypted_password", "$2a$04$xHWt6sFQwlLMb59YURC7ju2epVj33ho7FDpm/WabFk.s1yAgaadie"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_104"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:51.448591' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_105@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_105@example.jp"], ["encrypted_password", "$2a$04$Dwsrm43/6cXJBYEzMucVnuR88xBkT9C9szqE2mmgKZTBea9/eshHy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_105"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:51.456204' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_104", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 7ms (Views: 0.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_106@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_106@example.jp"], ["encrypted_password", "$2a$04$geBQc5CmCzXAu2lgMSAkWecd02yNEco8hIR5uU7oP9muvq0q2z0lq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_106"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:51.475952' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_107@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_107@example.jp"], ["encrypted_password", "$2a$04$1qRZ/SSFIKn/cMeE7ju/OO2RUhBZ5xEInWXrHpYP6fLwYnlq6.B/6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_107"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:51.484709' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_106", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 6ms (Views: 0.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_108@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_108@example.jp"], ["encrypted_password", "$2a$04$OYsnwoXuS9XLlS.SI0FH5uYqTYSDoXREcAx6fVm/K7kS/4YEcnLKC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_108"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:51.504811' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_109@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_109@example.jp"], ["encrypted_password", "$2a$04$iEkMx3RTEf1rJ.YBEUS66eMLDu1ABBKdYrFQMLebgJLfG7sx1Muei"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_109"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:51.513410' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 7ms (Views: 0.8ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_110@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_110@example.jp"], ["encrypted_password", "$2a$04$o.EUJr9R4e7evGpI38thlO.Vik/UmQfH7c9p4iA7RtHsVDfGwEQn."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_110"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:51.532364' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_111@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_111@example.jp"], ["encrypted_password", "$2a$04$VLBu26bjf1/awu8zRDlblul05DUvm1/vtwePLiW.XGV0Bo4VCFTii"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_111"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:51.540192' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 7ms (Views: 0.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_112@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (37.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_112@example.jp"], ["encrypted_password", "$2a$04$mHI1FZ2ZF0EEtxJ3KRPDUey9vs0cqKxxenmeHtZKa/bksrOn.16TS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_112"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:51.596367' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_113@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_113@example.jp"], ["encrypted_password", "$2a$04$mfk6gGlNU4/KJZygPpjIR.0r6mnucldtHwFzCH.npC.zxhCMrKluy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_113"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:51.605281' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_112", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.8ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_114@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_114@example.jp"], ["encrypted_password", "$2a$04$/rLdtsvKmQ7d56ES1qbijOHO0kv7oZHhY0ix8y661mHh2keJwKBAi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_114"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:51.624249' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_115@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_115@example.jp"], ["encrypted_password", "$2a$04$8CL7lbG46YhkgIh9mob5.e9Qt1Zawo70bA42FLe.Q9lfDlw8EjJFq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_115"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:51.632848' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_114", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.8ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_116@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_116@example.jp"], ["encrypted_password", "$2a$04$iz1kx91tJLy9wpH9N2OxpuaHVQ4gpQRapgq.OtAOD/j8pcjzBJO1e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_116"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:51.652475' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_117@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_117@example.jp"], ["encrypted_password", "$2a$04$wwERJ3uQ6yshRbHyem.4f.s3iG2sCpUoTaxaOjPl9di7J57hHLY/q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_117"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:51.660671' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_118@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_118@example.jp"], ["encrypted_password", "$2a$04$RxEs3KAJvsPjlgHZnMWBT.0dILGnX4wFZwQ.sqHGMXiZlY3ob0POu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_118"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:51.680035' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_119@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_119@example.jp"], ["encrypted_password", "$2a$04$3ijvhQHpxInfT1f4dvL7rORmO09eRmBvmhz8j5UY6eHR65c1bbR8W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_119"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:51.687930' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.8ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_120@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_120@example.jp"], ["encrypted_password", "$2a$04$.0FuanM6qv4nctQ.MPyJPO1add1micw27STZ7K4g3BBDom0xXnMLO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_120"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:51.706776' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_121@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (38.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_121@example.jp"], ["encrypted_password", "$2a$04$zrTE0sP60sI9oi7xNy/kZuQtdrnfRxy1Rawr6YEZMcLeAnaHXX7QW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_121"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:51.752831' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"2"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_122@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_122@example.jp"], ["encrypted_password", "$2a$04$9NUB3Mya/xDSJqZjWPj3puGKPcnZpvxMzkZaJxaxHC1h20YgmlWiO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_122"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:51.771594' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_123@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_123@example.jp"], ["encrypted_password", "$2a$04$7wtzA3OJpJ5dHJfwRDsLFe6hHoFkx.TCkcaX2gCClMUkMqH.tnCcK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_123"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:51.780530' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_124@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_124@example.jp"], ["encrypted_password", "$2a$04$UfykVqFS8diUpBPleo6zxujzPpya1Ayy83BS3cRDInjWUNy/mXHt6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_124"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:51.798778' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_125@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_125@example.jp"], ["encrypted_password", "$2a$04$bg1kNSKiAfkXbBc5L2tpp.s7X7bKObLPFKBrTL4mxkgjPcKzm7aUi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_125"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:51.807284' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_124", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_126@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_126@example.jp"], ["encrypted_password", "$2a$04$umL8sQimrdoERmcbso/Yc.pbYmIf74bINLKR1.P8vP2.AGp4wgfxq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_126"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:51.825584' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_127@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_127@example.jp"], ["encrypted_password", "$2a$04$53g6xMha.mpdYUI2T6XFTOX1GRiyUxEQbUNROyxiqF0jC1cb1Ueze"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_127"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:51.834117' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_126", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 1.0ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_128@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_128@example.jp"], ["encrypted_password", "$2a$04$NsO0vv8ngAx5Zjsu643mhOhPeJ8dLEifQzxyxnV9LTAHOok03c5ui"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_128"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:51.854393' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_129@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_129@example.jp"], ["encrypted_password", "$2a$04$3psKEnHJfsQs0Afu1m23.u4sDYV0awD0xVIB0Hd9FnO6TIbUbkPWC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_129"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:51.862418' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 42ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_130@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_130@example.jp"], ["encrypted_password", "$2a$04$QyeKBcx//40iKOBN7//sPO86DcmzSp2PPb1qv0gxxFRPk.yO4.9Te"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_130"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:51.917334' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_131@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_131@example.jp"], ["encrypted_password", "$2a$04$YlCh.BVJlHI9yEaER.NH8.EV1/QXhkf39AWkEuUWU7IyRnXkkKnza"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_131"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:51.925538' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_132@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_132@example.jp"], ["encrypted_password", "$2a$04$ihYvv6h9YJFygX7Kyl5DRuu4JELJkHgqh5JP/8S5vzgq27Qw0BKBK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_132"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:51.944616' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_133@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_133@example.jp"], ["encrypted_password", "$2a$04$sZK6WO27tcI6FTYWUvHA0uuVjNpMIxuFEq.OcvPQqkdIRTCeta7xq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_133"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:07:51 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:07:51.953145' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"2"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#destroy as HTML Parameters: {"id"=>"2"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 3 AND "messages"."id" = ? LIMIT 1 [["id", "2"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "messages" WHERE ("lft" > 3 AND "rgt" < 4) SQL (0.3ms) UPDATE "messages" SET "lft" = ("lft" - 2) WHERE "messages"."id" IN (SELECT "messages"."id" FROM "messages" WHERE ("lft" > 4) ORDER BY "lft") SQL (0.4ms) UPDATE "messages" SET "rgt" = ("rgt" - 2) WHERE "messages"."id" IN (SELECT "messages"."id" FROM "messages" WHERE ("rgt" > 4) ORDER BY "lft") SQL (0.1ms) DELETE FROM "messages" WHERE "messages"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/messages Completed 302 Found in 9ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 5ms Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 5ms Binary data inserted for `string` type on column `encrypted_password` Binary data inserted for `string` type on column `encrypted_password`  (0.1ms) select sqlite_version(*)  (1.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.0ms) PRAGMA index_list("schema_migrations")  (1.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateMessageTemplates (149)  (0.5ms) CREATE TABLE "message_templates" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "status" varchar(255) NOT NULL, "title" text NOT NULL, "body" text NOT NULL, "position" integer, "locale" varchar(255) DEFAULT 'en', "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("message_templates")  (0.4ms) CREATE UNIQUE INDEX "index_message_templates_on_status" ON "message_templates" ("status")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('149') Migrating to CreateMessages (154)  (0.4ms) CREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "read_at" datetime, "receiver_id" integer, "sender_id" integer, "subject" varchar(255) NOT NULL, "body" text, "message_request_id" integer, "state" varchar(255), "parent_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("messages")  (0.1ms) CREATE INDEX "index_messages_on_sender_id" ON "messages" ("sender_id")  (0.0ms) PRAGMA index_list("messages")  (0.0ms) PRAGMA index_info('index_messages_on_sender_id')  (0.1ms) CREATE INDEX "index_messages_on_receiver_id" ON "messages" ("receiver_id")  (0.0ms) PRAGMA index_list("messages")  (0.0ms) PRAGMA index_info('index_messages_on_receiver_id')  (0.0ms) PRAGMA index_info('index_messages_on_sender_id')  (0.1ms) CREATE INDEX "index_messages_on_message_request_id" ON "messages" ("message_request_id")  (0.0ms) PRAGMA index_list("messages")  (0.0ms) PRAGMA index_info('index_messages_on_message_request_id')  (0.0ms) PRAGMA index_info('index_messages_on_receiver_id')  (0.0ms) PRAGMA index_info('index_messages_on_sender_id')  (0.1ms) CREATE INDEX "index_messages_on_parent_id" ON "messages" ("parent_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('154') Migrating to CreateMessageRequests (20080819181903)  (0.5ms) CREATE TABLE "message_requests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sender_id" integer, "receiver_id" integer, "message_template_id" integer, "sent_at" datetime, "deleted_at" datetime, "body" text, "state" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("message_requests")  (0.1ms) CREATE INDEX "index_message_requests_on_state" ON "message_requests" ("state")  (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080819181903') Migrating to AddLftAndRgtToMessage (20110913115320)  (0.4ms) ALTER TABLE "messages" ADD "lft" integer  (0.2ms) ALTER TABLE "messages" ADD "rgt" integer  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110913115320') Migrating to CreateLanguages (20111201121636)  (0.5ms) CREATE TABLE "languages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "native_name" varchar(255), "display_name" text, "iso_639_1" varchar(255), "iso_639_2" varchar(255), "iso_639_3" varchar(255), "note" text, "position" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201121636') Migrating to CreateRoles (20111201121844)  (0.4ms) CREATE TABLE "roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "display_name" text, "note" text, "position" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201121844') Migrating to CreateUsers (20111201155456)  (0.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_group_id" integer, "required_role_id" integer, "username" varchar(255), "note" text, "locale" varchar(255), "user_number" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201155456') Migrating to AddDeviseToUsers (20111201155513)  (0.4ms) ALTER TABLE "users" ADD "email" varchar(255) DEFAULT '' NOT NULL  (0.2ms) ALTER TABLE "users" ADD "encrypted_password" varchar(128) DEFAULT '' NOT NULL  (0.2ms) ALTER TABLE "users" ADD "reset_password_token" varchar(255)  (0.2ms) ALTER TABLE "users" ADD "reset_password_sent_at" datetime  (0.2ms) ALTER TABLE "users" ADD "remember_created_at" datetime  (0.3ms) ALTER TABLE "users" ADD "sign_in_count" integer DEFAULT 0  (0.2ms) ALTER TABLE "users" ADD "current_sign_in_at" datetime  (0.2ms) ALTER TABLE "users" ADD "last_sign_in_at" datetime  (0.2ms) ALTER TABLE "users" ADD "current_sign_in_ip" varchar(255)  (0.2ms) ALTER TABLE "users" ADD "last_sign_in_ip" varchar(255)  (0.0ms) PRAGMA index_list("users")  (0.1ms) CREATE INDEX "index_users_on_email" ON "users" ("email")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.5ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201155513') Migrating to CreateUserGroups (20111201163342)  (0.5ms) CREATE TABLE "user_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "display_name" text, "note" text, "position" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201163342') Migrating to CreateUserHasRoles (20111201163718)  (0.5ms) CREATE TABLE "user_has_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "role_id" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201163718')  (1.5ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  (0.0ms) PRAGMA index_list("languages")  (0.0ms) PRAGMA index_list("message_requests")  (0.0ms) PRAGMA index_info('index_message_requests_on_state')  (0.0ms) PRAGMA index_list("message_templates")  (0.0ms) PRAGMA index_info('index_message_templates_on_status')  (0.0ms) PRAGMA index_list("messages")  (0.0ms) PRAGMA index_info('index_messages_on_parent_id')  (0.0ms) PRAGMA index_info('index_messages_on_message_request_id')  (0.0ms) PRAGMA index_info('index_messages_on_receiver_id')  (0.0ms) PRAGMA index_info('index_messages_on_sender_id')  (0.0ms) PRAGMA index_list("roles")  (0.0ms) PRAGMA index_list("user_groups")  (0.0ms) PRAGMA index_list("user_has_roles")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')  (0.0ms) PRAGMA index_info('index_users_on_email') Fixture Delete (0.4ms) DELETE FROM "message_requests" Fixture Insert (0.2ms) INSERT INTO "message_requests" ("sender_id", "receiver_id", "message_template_id", "state", "created_at", "updated_at", "id") VALUES (1, 1, 1, 'pending', '2011-12-16 17:30:17', '2011-12-16 17:30:17', 980190962) Fixture Insert (0.1ms) INSERT INTO "message_requests" ("sender_id", "receiver_id", "message_template_id", "state", "created_at", "updated_at", "id") VALUES (1, 1, 1, 'pending', '2011-12-16 17:30:17', '2011-12-16 17:30:17', 298486374) Fixture Delete (0.1ms) DELETE FROM "message_templates" Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (1, 'reservation_accepted', 'Reservation accepted', 'Reservation accepted', 1, '2011-12-16 17:30:17', '2011-12-16 17:30:17') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (2, 'item_received', 'Item received', 'Item received', 2, '2011-12-16 17:30:17', '2011-12-16 17:30:17') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (3, 'reservation_expired_for_patron', 'Reservation expired', 'Reservation expired', 3, '2011-12-16 17:30:17', '2011-12-16 17:30:17') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (4, 'reservation_expired_for_library', 'Reservation expired', 'Reservation expired', 4, '2011-12-16 17:30:17', '2011-12-16 17:30:17') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (5, 'reservation_canceled_for_patron', 'Reservation canceled', 'Reservation canceled', 5, '2011-12-16 17:30:17', '2011-12-16 17:30:17') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (6, 'reservation_canceled_for_library', 'Reservation canceled', 'Reservation canceled', 6, '2011-12-16 17:30:17', '2011-12-16 17:30:17') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (7, 'recall_item', 'Recall item', 'Recall item', 7, '2011-12-16 17:30:17', '2011-12-16 17:30:17') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (8, 'recall_overdue_item', 'Recall overdue item', 'Recall overdue item', 8, '2011-12-16 17:30:17', '2011-12-16 17:30:17') Fixture Delete (0.2ms) DELETE FROM "messages" Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "read_at", "state", "lft", "rgt", "updated_at") VALUES (1, 3, 4, 'First Message', 'Abby, you get the first message', '2007-07-04 12:10:47.000000', '2011-12-13 17:30:17.000000', 'unread', 1, 2, '2011-12-16 17:30:17') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (2, 4, 3, 'RE: First Message', 'Thanks Dad! You are the coolest!', '2011-12-14 17:30:17.000000', 'unread', 3, 4, '2011-12-16 17:30:17') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (3, 3, 4, 'Second Message', 'Catie, you get the 2nd message', '2011-12-15 17:30:17.000000', 'unread', 5, 6, '2011-12-16 17:30:17') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (6, 4, 5, 'Dad!', 'He is sucha dork.', '2011-12-14 17:30:17.000000', 'unread', 7, 8, '2011-12-16 17:30:17') Fixture Delete (0.1ms) DELETE FROM "roles" Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Guest', 'Guest', 1, NULL, '2011-12-16 17:30:17', '2011-12-16 17:30:17') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('User', 'User', 2, NULL, '2011-12-16 17:30:17', '2011-12-16 17:30:17') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Librarian', 'Librarian', 3, NULL, '2011-12-16 17:30:17', '2011-12-16 17:30:17') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Administrator', 'Administrator', 4, NULL, '2011-12-16 17:30:17', '2011-12-16 17:30:17') Fixture Delete (0.4ms) DELETE FROM "user_groups" Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('(not specified)', '(not specified)', '2007-12-13 12:00:51.564542', 1, '', '2007-12-13 12:00:01.674976', 1) Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('User', 'User', '2007-12-22 18:14:56.836548', 2, '', '2007-12-22 18:14:40.173954', 2) Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('Faculty', 'Faculty', '2007-12-22 18:15:05.134351', 3, '', '2007-12-22 18:15:05.126457', 3) Fixture Delete (0.1ms) DELETE FROM "user_has_roles" Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (1, 4, '2011-12-16 17:30:17', '2011-12-16 17:30:17', 135138680) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (2, 3, '2011-12-16 17:30:17', '2011-12-16 17:30:17', 344583537) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (3, 2, '2011-12-16 17:30:17', '2011-12-16 17:30:17', 206669143) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (4, 3, '2011-12-16 17:30:17', '2011-12-16 17:30:17', 226540757) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (5, 2, '2011-12-16 17:30:17', '2011-12-16 17:30:17', 358143215) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (6, 2, '2011-12-16 17:30:17', '2011-12-16 17:30:17', 576709754) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (7, 2, '2011-12-16 17:30:17', '2011-12-16 17:30:17', 1010528733) Fixture Delete (0.2ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:16:30.163731', '$2a$10$vHohD1WflnTIqAa8zMkF9evwAgIZRw3XuR4d3bi29M.jph/MB/AJi', 2, 1, NULL, 'admin', 'tanabe@kamata.lib.teu.ac.jp', '2007-11-19 07:58:32.111941', 4) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 03:41:16.337474', '$2a$10$9O2VuTccN4gHq36ARg0QReSrb1D7WrBBhZZ759RM9moHbB0W5zCzS', 1, 2, NULL, 'librarian1', 'librarian1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:33.172441', 1) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', '$2a$10$JthS59A0BNkDOoFpCXM0V.GhhffKaoWKbzpPahYp/vTFrOyM7h/uW', 1, 3, NULL, 'user1', 'user1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:23.340575', '$2a$10$YmmTGrYQ1Ir6oc7wXnp.GuNeO1eYLoP3sv8wMSIrTdaGw2BPwRrpS', 1, 4, NULL, 'librarian2', '2008-01-18 03:24:04.222344', 1) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:44.711117', '$2a$10$i7UjJhLVrJM/J7qaTwW39OXw1NiwowUEbtNHVDV0sqMLjX9.UO9ca', 1, 5, NULL, 'user2', '2008-01-18 04:29:06.922728', 2) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 6, NULL, 'user3', 'user3@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 7, NULL, 'user4', 'user4@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:17 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_1@example.jp"], ["encrypted_password", "$2a$04$io.8MqQN54iV5qX.nRKlceZCBrAMTyv7L7df3M14e/IPtRD87G.r."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:17 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_1"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:17 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 17:30:17 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:17.624012' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Rendered /Users/kosuke/enju_message/app/views/message_requests/index.html.erb within layouts/application (3.3ms) Completed 200 OK in 94ms (Views: 29.5ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:17 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_1@example.jp"], ["encrypted_password", "$2a$04$1B0AjAqWVb4ykVH/tBGXlONzpjek9odvtvavZGQUWTRMSiK/SJMVO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:17 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_1"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:17 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 17:30:17 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:17.756300' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 10ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:17 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_1@example.jp"], ["encrypted_password", "$2a$04$v1qtdvSGNOd8oEJSh9Nut.IouOTxEo11ru8LfJNWvQ3xXbdLTQipq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:17 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_1"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:17 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:17 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:17.787450' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "message_requests" WHERE ('t'='f') Processing by MessageRequestsController#index as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 10ms  (0.1ms) SELECT COUNT(*) FROM "message_requests" WHERE ('t'='f') Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:17 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_2@example.jp"], ["encrypted_password", "$2a$04$FrdDB0sogXmzuMSVLzwocOHzAzVg5Fxob/FpYBW5TPydJWXzNj8SS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:17 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_2"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:17 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 17:30:17 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:17.836103' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (48.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:17 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_2@example.jp"], ["encrypted_password", "$2a$04$7bmUepNrc/xr5XMW.xZVy.x11FMdxfwkhm9TEZ9Jkj52pmhCtebam"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:17 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_2"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:17 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:17 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:17.896086' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:17 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_3@example.jp"], ["encrypted_password", "$2a$04$k4G9om1gJFIoo.hKbroJ2O/O1aNU/DgPn0RCnnsjhkJ/mdA731L0u"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:17 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_3"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:17 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:17 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:17.921253' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_1' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_1"], ["created_at", Fri, 16 Dec 2011 17:30:17 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_1"], ["title", "message_template_1"], ["updated_at", Fri, 16 Dec 2011 17:30:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_1' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 17:30:17 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 17:30:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.2ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 11ms (Views: 2.4ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:17 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_2@example.jp"], ["encrypted_password", "$2a$04$/yavBcUI4yimda8AIBrEKulAdAYBbigCiWAyptWMlnbwhV38EDEsi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:17 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_2"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:17 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 17:30:17 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:17.984202' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:17 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_4@example.jp"], ["encrypted_password", "$2a$04$57Uyw4EsUg/IbqL.lN5uHebpCpsmZxSL/OWIlWO3CoVb32IPkQ6hy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:17 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_4"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:17 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:17 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:17.998222' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_5@example.jp"], ["encrypted_password", "$2a$04$gGZtRbXi8jm1wVuF83DvburTr1pN2ORN78unRbvtTxMgbKN2NIEHK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_5"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:18.011323' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_2' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_2"], ["created_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_2"], ["title", "message_template_2"], ["updated_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_2' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_6@example.jp"], ["encrypted_password", "$2a$04$I8UQNGTGHdgglLo88EMTweAxM/Mg6luY4xcDnw1yexhF2f3Jtrv02"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_6"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:18.052206' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_7@example.jp"], ["encrypted_password", "$2a$04$/aQ2/CQo8v1kZIGkGdFX6evIcBcgkEFJEOfhBQnlGVaOj7JrJO.aC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_7"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:18.065199' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (59.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_8@example.jp"], ["encrypted_password", "$2a$04$NDecv5TfBZ/GGVb8mphtweKXzC4Cwdci2es3bZWnhH7qZ/UAOsDZe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_8"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:18.136725' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_3' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_3"], ["created_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_3"], ["title", "message_template_3"], ["updated_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_3' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_9@example.jp"], ["encrypted_password", "$2a$04$HE6FwymUd8WGAxkBizoqoOffCJalAlUS9uht2wXxQwEJFe7lokiB6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_9"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:18.183705' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_10@example.jp"], ["encrypted_password", "$2a$04$hZflGYzhA/wdR2Mo70cveeKV6MBzNVjtj5RrFrgEfrkinvDF1qzRK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_10"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:18.197271' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_4' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_4"], ["created_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_4"], ["title", "message_template_4"], ["updated_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_4' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_3@example.jp"], ["encrypted_password", "$2a$04$CBARBhJUiI37PJD6i4INpuK3.fEgo3yp7qhdmXke83apwbbz7.u0q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_3"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:18.239400' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_11@example.jp"], ["encrypted_password", "$2a$04$dtmEfpoV1uCmn.Zscyc6y.q4rqz.fzr056qA8V7.T.q0/wFjbOIFq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_11"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:18.255200' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_12@example.jp"], ["encrypted_password", "$2a$04$0xWlGwG.TOIn5G5aXm4eSu9zZD9RLrPXnB4Zni5k5iH.VAUYzN1.m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_12"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:18.268966' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_5' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_5"], ["created_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_5"], ["title", "message_template_5"], ["updated_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_5' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 13ms (Views: 4.4ms | ActiveRecord: 0.6ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_3@example.jp"], ["encrypted_password", "$2a$04$KIybRpPUxWZghFAQE/u.xulISPwfhxlQC5HWKEMNJfHyw44fBzrqi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_3"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:18.321226' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_13@example.jp"], ["encrypted_password", "$2a$04$3pj.5Gx6SEe/zcK/AFS79Ors6NGDzV6OBr7ay7fDTmVfxm1vu3g7W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_13"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:18.334631' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_14@example.jp"], ["encrypted_password", "$2a$04$kpkhAAdHPefyuwWIZbcmgu6zTx0u9Z0KGBh51s2DjyyE9vZUGYnvq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_14"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:18.350174' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_6' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_6"], ["created_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_6"], ["title", "message_template_6"], ["updated_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_6' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 11ms (Views: 1.4ms | ActiveRecord: 0.6ms | Solr: 0.0ms) Role Load (2.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_15@example.jp"], ["encrypted_password", "$2a$04$DKF4Cr6JPTN743NociOxw.BkKga04TXOKCgI/DQIpcAcCGbtv6o1e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_15"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:18.447332' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_16@example.jp"], ["encrypted_password", "$2a$04$BntVoy5ZCUMFNhoO.qQlEudqWAci38sx4OQw5ctRuqIk5X8ZcLzu."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_16"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:18.462008' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.3ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_17@example.jp"], ["encrypted_password", "$2a$04$NNNe8q6bR0AuIODVq6cczex4FBlxsWkfNymACOqKvpfvbY1p2oWEm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_17"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:18.485388' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_7' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_7"], ["created_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_7"], ["title", "message_template_7"], ["updated_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_7' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_18@example.jp"], ["encrypted_password", "$2a$04$T/mAGZkQwzw2kD4ghdjqvOx0jvIjLMzN5EVUugds33SUYmmNx8bkm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_18"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:18.528658' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_19@example.jp"], ["encrypted_password", "$2a$04$NllSd9HSZFWlpGTEBr7msuQ6rlyVsR8wJju7CWACFxU66zeQxq3Ju"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_19"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:18.543368' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_8' LIMIT 1 SQL (1.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_8"], ["created_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_8"], ["title", "message_template_8"], ["updated_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_8' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 9ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_20@example.jp"], ["encrypted_password", "$2a$04$JnIN/t3lJw5xfYm0JUNGF.RFWpJUZYH.qGWTWwjaCE03.nk.7ZIni"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_20"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:18.582692' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_21@example.jp"], ["encrypted_password", "$2a$04$p4j9thIkfzVn1Ep5S9nxB.HW8M2aCm5DHQheboN1guMh4F4qxIHvK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_21"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:18.598469' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_9' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_9"], ["created_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_9"], ["title", "message_template_9"], ["updated_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_9' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.8ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_22@example.jp"], ["encrypted_password", "$2a$04$3At7d38dVwn3Xi8BDGbvSOhq0FP2Z3jBKfRj3XOIvp2j4.Kcfn7Ge"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_22"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:18.634356' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_23@example.jp"], ["encrypted_password", "$2a$04$WmklWcxC2LJ/N4dtroo2auCFumpdJJkhUM5cQgSwKOCNwu.JHEr32"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_23"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:18.649335' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_10' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_10"], ["created_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_10"], ["title", "message_template_10"], ["updated_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_4@example.jp"], ["encrypted_password", "$2a$04$8h9Q1Tec1Rrwod5YT41PguCsRm1NfWlAFlYXcyoPrMUb0BPqtyo16"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_4"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:18.668516' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_10' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 10, "receiver_id" = 11, "message_template_id" = 10, "updated_at" = '2011-12-16 17:30:18.740395' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 76ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_24@example.jp"], ["encrypted_password", "$2a$04$AgOSdYnXtqr/cPYlNQa9OuwAJmRBLKjy6/rbAUSRr7TmNAPA2s8kK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_24"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:18.763573' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_25@example.jp"], ["encrypted_password", "$2a$04$aC1ZpQATwNLEriEMlPATiO6tPzfXCzMpVnTE4OX/NdPUihBwf.DcO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_25"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:18.776728' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_11' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_11"], ["created_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_11"], ["title", "message_template_11"], ["updated_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_11' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_26@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_26@example.jp"], ["encrypted_password", "$2a$04$YRoQJvuELr6Yo/hAFWXNweg1P9PogXai3dvHEih.D5JJNqplw8e.6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_26"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:18.800697' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_27@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_27@example.jp"], ["encrypted_password", "$2a$04$IMCz..x0pQy.QZfMZtTKhOvLnipdKPoUgKNdHgb3csUXYl5ghMP.6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_27"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:18.814721' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_12' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_12"], ["created_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_12"], ["title", "message_template_12"], ["updated_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_5@example.jp"], ["encrypted_password", "$2a$04$T5u7A19kYEuIFlYJxxX/ieQQWjytOOJ7Rj7BGZDLHp00Un5rEDkAC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_5"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:18.832540' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_12' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 10, "receiver_id" = 11, "message_template_id" = 10, "updated_at" = '2011-12-16 17:30:18.849648' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 15ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_28@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_28@example.jp"], ["encrypted_password", "$2a$04$Pvf70LdTynD7yz1WfD0MAeFKCw7OYtDLjcDYyl6uxJ25PyqVSDtxe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_28"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:18.870721' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_29@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_29@example.jp"], ["encrypted_password", "$2a$04$V1HH5r41wo/E/e5wqSl8i.LATyUMbwqkuV0WFbu5Gry.kuEZZbREq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_29"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:18.884637' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_13' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_13"], ["created_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_13"], ["title", "message_template_13"], ["updated_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_13' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_30@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_30@example.jp"], ["encrypted_password", "$2a$04$LopNuJ1wtakfwRR68EVSp.Ob75Y3uQNnVeuD0/tvKgcEe9CBwNbnq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_30"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:18.909848' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_31@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (6.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_31@example.jp"], ["encrypted_password", "$2a$04$b9A1VtZ0gUCDMqf9OVtioOy0i68a4FaZQygNKBVjIR8zAxmOpwWoa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_31"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:18.926520' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_14' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_14"], ["created_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_14"], ["title", "message_template_14"], ["updated_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_6@example.jp"], ["encrypted_password", "$2a$04$b2NY5K/LrmTZSOcrhuk1vurBv57Xyw6PILcvhgNUHlgyEZiS3QsXu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_6"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 17:30:18 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:18.943265' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_13' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 76ms (Views: 1.3ms | ActiveRecord: 1.0ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_32@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_32@example.jp"], ["encrypted_password", "$2a$04$.hIhf3Qw1aJB0hl81A6SK.mTX8fDERmJNgKrfH0Wax2X22ucDZAhu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_32"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:19.043840' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_33@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_33@example.jp"], ["encrypted_password", "$2a$04$3AK808sQWsR9Hs/pZRFCpeaFhc/.l9M.Ftos0hmh8TAetvqlWfylW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_33"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:19.056411' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_15' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_15"], ["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_15"], ["title", "message_template_15"], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_15' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_34@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_34@example.jp"], ["encrypted_password", "$2a$04$C5QD/Hz1vsa3Qk5mkgZtIOeHvYM.NswbyLRQI5bWSkMEPS5jQzuTS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_34"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:19.086519' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_35@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_35@example.jp"], ["encrypted_password", "$2a$04$Jx0DVy/W5PhkU0khQJ83LeyJWsR272p03uU/ZE4Hj07NG/J8fqLvu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_35"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:19.100540' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_16' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_16"], ["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_16"], ["title", "message_template_16"], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_4@example.jp"], ["encrypted_password", "$2a$04$S6e8BYhwPQy/mTjtKFE.SO5debLoHK2DKCRkgxMbRUucJbl0QWEJm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_4"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:19.118431' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_16' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 10, "receiver_id" = 11, "message_template_id" = 10, "updated_at" = '2011-12-16 17:30:19.135868' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 17ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_36@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_36@example.jp"], ["encrypted_password", "$2a$04$G2wBwJ94j1ipfgzGoUcQfu8v8Mag6i37VjkiBfeJoYeM3G0CUwVVO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_36"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:19.159535' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.3ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_37@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_37@example.jp"], ["encrypted_password", "$2a$04$HYfY/oFE4GlbUmrGnFg2c.EkIJzyprbSE1f3fwk594RHP6B84YYr2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_37"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:19.173910' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_17' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_17"], ["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_17"], ["title", "message_template_17"], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_17' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_38@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_38@example.jp"], ["encrypted_password", "$2a$04$cN/6BIlS/YN0E4Pda59I4uppEzsgrPrJpgdEFQZlntZVCLz0qzWkK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_38"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:19.202248' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_39@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_39@example.jp"], ["encrypted_password", "$2a$04$Gckz3A3P7th5pgY0XgL3WuxTnS26NplTQYyMgUsj00Va1zD6hHpA2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_39"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:19.217046' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_18' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_18"], ["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_18"], ["title", "message_template_18"], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_5@example.jp"], ["encrypted_password", "$2a$04$tWE91h5sEVr/bdEk5661Peb4vJxEpn0UdskQ1dqYqtKEYZ99GU0ym"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_5"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:19.285028' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_18' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 10, "receiver_id" = 11, "message_template_id" = 10, "updated_at" = '2011-12-16 17:30:19.303071' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 18ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_40@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_40@example.jp"], ["encrypted_password", "$2a$04$aBsi.V6tHINrQQOsWk13aeA8wZY8d4rpIzVq/lxIw75E7Gc5HTkAW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_40"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:19.324755' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_41@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_41@example.jp"], ["encrypted_password", "$2a$04$oAwXsf429V0mOp5V4sTHf.R3OvMeCkcuQl4cbj1OcGpNJgDyOiTwq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_41"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:19.344516' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_19' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_19"], ["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_19"], ["title", "message_template_19"], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_19' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_42@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_42@example.jp"], ["encrypted_password", "$2a$04$gr8FgPdM7BO/1HB4pLzLReZUyFOn5p1otaFkRuehmxednM7YzQqZW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_42"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:19.367772' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_43@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_43@example.jp"], ["encrypted_password", "$2a$04$jAbXri2EdfOLVcTPdlGiW.4o6RKkGGJ9bJDicU1tEY4PN0Bw1vlp6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_43"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:19.382303' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_20' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_20"], ["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_20"], ["title", "message_template_20"], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_6@example.jp"], ["encrypted_password", "$2a$04$xIgXVINxkoLxT3dMPLtdqurgNE7yd8wKEBXNHSAUIl5gkI9hCm1Zq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_6"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:19.400109' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_19' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 16ms (Views: 1.2ms | ActiveRecord: 1.0ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_44@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_44@example.jp"], ["encrypted_password", "$2a$04$eyk/rOyNfclPvECwzQamNOYmy.xc8Bz64UFtThcTYeLEzqHy1JCC6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_44"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:19.438963' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_45@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_45@example.jp"], ["encrypted_password", "$2a$04$LeYcuUTnhxT0g8VhOod9aOTPIl6mvssFCuzhDgMzh4A2T0uzVDg3K"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_45"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:19.452576' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.6ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_21' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_21"], ["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_21"], ["title", "message_template_21"], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_21' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (1.0ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_46@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_46@example.jp"], ["encrypted_password", "$2a$04$Ydgb5V5HIM4oYpLlxcZJwuzp1NJtGCIdICvn0QamV9ztTm1cdcTvC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_46"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:19.483532' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_47@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_47@example.jp"], ["encrypted_password", "$2a$04$IFFkz6CheUuq0Bhj4EVDBe36B8GjObZOtvFcv84.4J8K3/xr24SAK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_47"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:19.496484' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_22' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_22"], ["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_22"], ["title", "message_template_22"], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (1.3ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_48@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (57.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_48@example.jp"], ["encrypted_password", "$2a$04$z89QVy14otE6R4aTbVYXpeBDIoSsaMkHaGS6Et/bOe9mvcOP5miie"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_48"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:19.573027' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_49@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_49@example.jp"], ["encrypted_password", "$2a$04$Qe85uX/AKmxFND0X63ikie6RXXYHZ2rtMaG7dWnsLcipRCE0J.Z4i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_49"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:19.603298' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_50@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_50@example.jp"], ["encrypted_password", "$2a$04$hYdpfl60he0HpCDDe3M5mudIvys1KnVDn0s8DEGfw9nL2cGwWOB4S"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_50"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:19.616969' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_23' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_23"], ["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_23"], ["title", "message_template_23"], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_23' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_51@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_51@example.jp"], ["encrypted_password", "$2a$04$O.SFM24cy1e76iQzYen.ye7TiuJqViO7HUsVIHu0RAYeMLeEb4zI."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_51"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:19.642710' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_52@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_52@example.jp"], ["encrypted_password", "$2a$04$ot6UtJ2KmrGciMOsiH2Ge.03/89butNAjyIOoHjDXO11aPR5hyTOu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_52"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:19.656980' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_24' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_24"], ["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_24"], ["title", "message_template_24"], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_53@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_53@example.jp"], ["encrypted_password", "$2a$04$aj7JirT6N98fX86laj4Ae.4XrrfzC4hb5lC554/UtiA3g69X0CHdK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_53"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:19.672613' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.5ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_54@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (10.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_54@example.jp"], ["encrypted_password", "$2a$04$kXNB0D60RoiLZ2YGzcDE6.meDuC7SQqMec9KUFBCBvmUC67DUNv4."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_54"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:19.713383' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_55@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_55@example.jp"], ["encrypted_password", "$2a$04$wgAdHyXUJjznU.IWR0/UEes5xJ1yWC4zFz2VFvbcz7RwjFMZOyGRO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_55"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:19.727139' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_25' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_25"], ["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_25"], ["title", "message_template_25"], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_25' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_56@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_56@example.jp"], ["encrypted_password", "$2a$04$FWMxYoIwhjGOrCsHoDZ26eME/6T7Oc1jr.bDBCj8zmVrSFoC6Rqiq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_56"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:19.750049' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_57@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_57@example.jp"], ["encrypted_password", "$2a$04$QQgmHigEN/O2FrAkPCRbFOM6E64XUm6kQPXT2y6wsQ5Bii2V7TvKi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_57"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:19.764514' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_26' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_26"], ["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_26"], ["title", "message_template_26"], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_58@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (55.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_58@example.jp"], ["encrypted_password", "$2a$04$b7K.yiBVI0LlYhYCgeu4ked0o2OzzWm04puG0iA4gVsDSiOkzCyqy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_58"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:19.836989' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_59@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_59@example.jp"], ["encrypted_password", "$2a$04$qT8MVdcwmFEceoacEu3sBeAZD7TfP3a/38leSxv1i3BeZ.kd6CR3C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_59"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:19.868171' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_60@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_60@example.jp"], ["encrypted_password", "$2a$04$LIS0JJXRRCKnN83NUZAZ9uX04BZwE8olyzDSMrZNcjnFdO6YU895m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_60"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:19.884197' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_27' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_27"], ["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_27"], ["title", "message_template_27"], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_27' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_61@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_61@example.jp"], ["encrypted_password", "$2a$04$vfNMLKYssYAETdvGXF8VJulNl2xM6ax4BwUs/Jsf/N2RPg00pGMM6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_61"]] SQL (1.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:19.910902' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_62@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_62@example.jp"], ["encrypted_password", "$2a$04$25/dFgBKWQVXLslcsDLKxuloPc5tVXg5JKW4r2wlF7AiK/AuP7teO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_62"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:19.924185' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_28' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_28"], ["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_28"], ["title", "message_template_28"], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_63@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_63@example.jp"], ["encrypted_password", "$2a$04$vverL5RWtqoRhr8F6KlUveEtiOxTZsxDH18d8SCKWI3/a.dhS1MtG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_63"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:19.954497' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_64@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_64@example.jp"], ["encrypted_password", "$2a$04$8S1XXwpNjZbC651nWVEQZejWSz0KLBAOxtMxtQB5lumxqOBtUJ6cC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_64"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:19.969825' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_29' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_29"], ["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_29"], ["title", "message_template_29"], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_29' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_65@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_65@example.jp"], ["encrypted_password", "$2a$04$smmuDBaNXb/8b76MxbVET.JMAAie/pJuaCAk5iwaJc7/HT72VI9pa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_65"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:19 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:19.999870' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_66@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_66@example.jp"], ["encrypted_password", "$2a$04$CRqCj2TEkykL6npyCJd7z.tgp6K9ah79Gwc9fwP9gCx7gG/SOR4QG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_66"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:20.013126' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_30' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_30"], ["created_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_30"], ["title", "message_template_30"], ["updated_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_67@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_67@example.jp"], ["encrypted_password", "$2a$04$sw7NMqBp2BVwjG7H/UWGrugyyNkVQ2fDLZnkuQe2qxSDdtGG3lU3m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_67"]] SQL (62.6ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:20.107403' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_68@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_68@example.jp"], ["encrypted_password", "$2a$04$T7QevMv9rc8mX15m0zfZX.Sda2s8fwg2UfUcxdYMcj.reejjqAewC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_68"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:20.124070' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_31' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_31"], ["created_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_31"], ["title", "message_template_31"], ["updated_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_31' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_69@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_69@example.jp"], ["encrypted_password", "$2a$04$hiztArjqf2Gmm5PDF36gk.CEhu9KM5ixYOPj/4cD0aqX0b7qbKsUK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_69"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:20.150117' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_70@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_70@example.jp"], ["encrypted_password", "$2a$04$nRvL0xniMnGmahBKdCDK6ejTDQ2qw1QODxLgTQt0KwUcdZoj61Htq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_70"]] SQL (1.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:20.162994' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_32' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_32"], ["created_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_32"], ["title", "message_template_32"], ["updated_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 10ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_71@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_71@example.jp"], ["encrypted_password", "$2a$04$5CbAk.GzCEKkWGUXJjuNEuTpJN7Um6QBoAmePlkCOUjyd0PanIgTi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_71"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:20.197218' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_72@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_72@example.jp"], ["encrypted_password", "$2a$04$e4MwGnjIsOSxTsGr4r2SGOJXU/zp3QLRQYLLW3jKAIRw5ZJQ/PB1."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_72"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:20.210472' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_33' LIMIT 1 SQL (2.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_33"], ["created_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_33"], ["title", "message_template_33"], ["updated_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_33' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_7@example.jp"], ["encrypted_password", "$2a$04$vuXlXNj5iS.QzO24W3vZ7u/VJh7Cg76bA7HFMMTwc6upv8qacrnge"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_7"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:20.239974' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 10ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_73@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_73@example.jp"], ["encrypted_password", "$2a$04$qYcifihLi7BUVzy7aE9f.OfSkr6HnS5D8u8RuNYSoEJbx44tw.qwy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_73"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:20.272929' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_74@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_74@example.jp"], ["encrypted_password", "$2a$04$V.eRl.By9XEkQ5HeddwH4.GOOOmBwYgnwI2MtBXb7Ln7amwaigUhS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_74"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:20.287091' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_34' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_34"], ["created_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_34"], ["title", "message_template_34"], ["updated_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_34' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_8@example.jp"], ["encrypted_password", "$2a$04$EJ.zVkcBAFp7bZUITiDWhuqwmVPIPnHaBhxKaVdEE/3xxOtkyE/py"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_8"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:20.311235' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 9ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_75@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_75@example.jp"], ["encrypted_password", "$2a$04$.tz2TrM38eKCf9iqUpPpqO6w9sksUhS6O3MeZhP90453vwmNfGK.i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_75"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:20.401168' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_76@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_76@example.jp"], ["encrypted_password", "$2a$04$aMN2VHtkVH/3hoYEXv9M0eJ1jsJW0QnsPK.AemIeMetVoaBtp8K4y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_76"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:20.416383' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_35' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_35"], ["created_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_35"], ["title", "message_template_35"], ["updated_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_35' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_7@example.jp"], ["encrypted_password", "$2a$04$AaVJQpx3PwBSmPKhYGaZMenOcyOTJ0SVmZ.ZOMjoxqCIGeK4Y8XkK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_7"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:20.440170' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 10ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_77@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_77@example.jp"], ["encrypted_password", "$2a$04$Z1uzFPLtqlkQt6tNFcG/ie2Es/6KzexoQbabVyX4TMlBj.7cC67sm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_77"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:20.467602' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_78@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_78@example.jp"], ["encrypted_password", "$2a$04$3CR0N/nef/r9kxvsSdaHeual20/2oLnbm6aLUywMK7LZSthOjpYHe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_78"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:20.481368' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_36' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_36"], ["created_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_36"], ["title", "message_template_36"], ["updated_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_36' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_8@example.jp"], ["encrypted_password", "$2a$04$LAG7yAdUCHGW44sqlOdrluo855HIGLbPeKqotSn8H5/jriNf/0vvO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_8"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:20.503085' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 9ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_79@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_79@example.jp"], ["encrypted_password", "$2a$04$wSRt3n.fXvAorJGBx3WD2.x/tEJWnvXIK/MT6L5AQFFmhCbZcm4le"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_79"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:20.530135' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_80@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_80@example.jp"], ["encrypted_password", "$2a$04$PiRfhaJtha.GjfvZCmKtrOXWhEZlZG6Zelj89iaAUBv1ry7uesznG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_80"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:20.543731' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_37' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_37"], ["created_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_37"], ["title", "message_template_37"], ["updated_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_37' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_81@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_81@example.jp"], ["encrypted_password", "$2a$04$BC4VXoeF1BYXkm6wj2VV2ewGRng4e5uRy5sMwN2tdMkGFyiN8noxu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_81"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:20.570157' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_82@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (59.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_82@example.jp"], ["encrypted_password", "$2a$04$4BU/FquUFdrTnciLFXnqauDqnb117MdcCe5vrCGYJPlf/.U3oWMD."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_82"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:20.660311' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_83@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_83@example.jp"], ["encrypted_password", "$2a$04$GbfcgHnMxuHhR382ikY4BeyP4zNSUg3CqqndsIsfdb9QBLUTcACTK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_83"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:20.674749' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_38' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_38"], ["created_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_38"], ["title", "message_template_38"], ["updated_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_38' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_84@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_84@example.jp"], ["encrypted_password", "$2a$04$rTozRSSbMB0micKSTaImUOMEvEfXcADXLZRhvgwEdgNK3hWSKLxb."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_84"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:20.697692' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_85@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_85@example.jp"], ["encrypted_password", "$2a$04$gkn16G//H5e/bDyq9Yv2EupXIxUSNhKEKEjQH7sSZrDajDKYxlQza"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_85"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:20.735591' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_86@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_86@example.jp"], ["encrypted_password", "$2a$04$ZsafGAMUkDhH0uAsLOJpqOY45trDIu4FK5pZ7bViHVTidxR76U0Ea"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_86"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:20.748749' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (1.4ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_39' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_39"], ["created_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_39"], ["title", "message_template_39"], ["updated_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_39' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_87@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_87@example.jp"], ["encrypted_password", "$2a$04$0xy9V1c5hJYHApNkv0z8cu063U/DqRNX8NDxdpWvtsO.vO1M9hH2i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_87"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:20.785421' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_88@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_88@example.jp"], ["encrypted_password", "$2a$04$7UcGoF1HfZBB2kPsNH8vWuVf/v/cnqxXxnXzy2BOx2w8PEazGRIZC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_88"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:20.798500' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_40' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_40"], ["created_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_40"], ["title", "message_template_40"], ["updated_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_40' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 8ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_41' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_41"], ["created_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_41"], ["title", "message_template_41"], ["updated_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_9@example.jp"], ["encrypted_password", "$2a$04$Jbf21ebgL32vKheGvlcEQemtqNyVElBx1sKVXNBG4tqWmnP80zOti"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_9"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:20.845017' WHERE "roles"."id" = 4  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 22ms (Views: 6.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position MessageTemplate Load (0.6ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position LIMIT 10 OFFSET 0  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_42' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_42"], ["created_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_42"], ["title", "message_template_42"], ["updated_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (59.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_9@example.jp"], ["encrypted_password", "$2a$04$tZClfuAjEi0ADRUxerWcBusHMxLBKhKdojefyJlZf23ZiOsdAmNNy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_9"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:20.954691' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 15ms (Views: 1.5ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position LIMIT 10 OFFSET 0  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_43' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_43"], ["created_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_43"], ["title", "message_template_43"], ["updated_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_89@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_89@example.jp"], ["encrypted_password", "$2a$04$iruItnnDbGqbv6MtAC0pTOThtNcPc1cFPArmKwXUA9kjO0LZUCkI2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_89"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:20 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:21.000240' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 2.5ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "message_templates" WHERE ('t'='f')  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_44' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_44"], ["created_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_44"], ["title", "message_template_44"], ["updated_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms  (0.1ms) SELECT COUNT(*) FROM "message_templates" WHERE ('t'='f') Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_10@example.jp"], ["encrypted_password", "$2a$04$22L347kjstzGe3sQaBXt9OEig0xeNR9DQ/MJpBYpmWjb8mT.a3/Xm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_10"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:21.046305' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_45' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_45"], ["created_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_45"], ["title", "message_template_45"], ["updated_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 10ms (Views: 2.5ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_10@example.jp"], ["encrypted_password", "$2a$04$boTqgUV7BbSTGOrN3Cwv0ulFIQzqE4ITo8wWH5u5cnFTBuLlWNtoG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_10"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:21.076634' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_46' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_46"], ["created_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_46"], ["title", "message_template_46"], ["updated_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 6ms (Views: 1.0ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_90@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_90@example.jp"], ["encrypted_password", "$2a$04$5gRYAa7F7LxMIMYP1xObNeC1rXa6t3Q9qy7JV/GiGrJ63lTGWbzye"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_90"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:21.101236' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_47' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_47"], ["created_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_47"], ["title", "message_template_47"], ["updated_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 1.0ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_48' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_48"], ["created_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_48"], ["title", "message_template_48"], ["updated_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_11@example.jp"], ["encrypted_password", "$2a$04$ymJN3L4S9LBJIjchj0aLh.nW5DCBH4v7CopxE61z4Dx1LskveZRYe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_11"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:21.135703' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 8ms (Views: 1.0ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_11@example.jp"], ["encrypted_password", "$2a$04$Oz7ZmMGkFr80x5ut1hKYK.av63lWBWUmWChSEL/A7vkVBa1OO4F0i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_11"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:21.158158' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_91@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_91@example.jp"], ["encrypted_password", "$2a$04$UOafMSWujaprcG1oHlp57.yJwiXAUC6GwRH1BLljvuvojIjRqlPsO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_91"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:21.213209' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Processing by MessageTemplatesController#new as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 3ms MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_12@example.jp"], ["encrypted_password", "$2a$04$dehNZ8V77NbHWUsj2Nnh8u5ZqyyEu55YoOC4TfttxEu248wngwuYK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_12"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:21.240415' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_49' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_49"], ["created_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_49"], ["title", "message_template_49"], ["updated_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 6ms (Views: 1.5ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_12@example.jp"], ["encrypted_password", "$2a$04$JY/sffEPEXaFTxMDADjMYeMmX/47hWPfjdNPfoK3BI52IKkVmRvde"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_12"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:21.260895' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_50' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_50"], ["created_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_50"], ["title", "message_template_50"], ["updated_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_92@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_92@example.jp"], ["encrypted_password", "$2a$04$hkriqj1hp4Bn3yP0BjuIzOqdUhZdrZkC7rknNAC5XV1x2e9mVvmoO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_92"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:21.281544' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_51' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_51"], ["created_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_51"], ["title", "message_template_51"], ["updated_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_52' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_52"], ["created_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_52"], ["title", "message_template_52"], ["updated_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_13@example.jp"], ["encrypted_password", "$2a$04$RoJvPTyXhE3qZXWAEuVgguVeMVDAs5DD1B2Sx5agGXlOvvMwN.oI2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_13"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:21.311032' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_53", "status"=>"message_template_53", "body"=>"message_template_53"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_53' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_14@example.jp"], ["encrypted_password", "$2a$04$X10CrsJMLmsB8/cDYB3/R.o4ken6JVNovQXTJBkzANmFQWxIaV6mG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_14"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:21.328880' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_54", "status"=>"message_template_54", "body"=>"message_template_54"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 1.3ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_15@example.jp"], ["encrypted_password", "$2a$04$AeNt8xjSKsHkfNbs3xoDzO910TunV4f6Ztxjwe4Ppa/F9Wg2z7Qk2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_15"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:21.382073' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_16@example.jp"], ["encrypted_password", "$2a$04$AbbGmA6dxxmJjQ1xNrSGauR4rg/bYaB4bKEi6VSs9U97wZtgVCcOS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_16"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:21.400475' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_13@example.jp"], ["encrypted_password", "$2a$04$JpVT/9Y1KbKW9/Ii.KmkiumEDTC5gxBfPfBY1XjVPByQH2/g7ASNm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_13"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:21.417287' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_57", "status"=>"message_template_57", "body"=>"message_template_57"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_57' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_14@example.jp"], ["encrypted_password", "$2a$04$BVwhYCsJaQEHl0TNF4Gq8u5SbXuwRF9GjzqwxT68yoARMRL4CCRYm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_14"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:21.436296' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_58", "status"=>"message_template_58", "body"=>"message_template_58"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_15@example.jp"], ["encrypted_password", "$2a$04$IdizVuhTXeICUCXsKEVzhO2.QpZqXpZUNWOw3cVTfERaYRYpbx1B."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_15"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:21.454624' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_16@example.jp"], ["encrypted_password", "$2a$04$xB5QjikT1JemEysr10NHG./vtf0OSh6zpEHpC3dL2JfNTqOmVt7AC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_16"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:21.475913' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_93@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_93@example.jp"], ["encrypted_password", "$2a$04$IF47zU1zgfQ.ydMBsNRSUuWrl9s.CKNfcSQy.ftgKJNYrI2q4o9Vu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_93"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:21.494601' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_61", "status"=>"message_template_61", "body"=>"message_template_61"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_61' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_94@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_94@example.jp"], ["encrypted_password", "$2a$04$JKmtnrBF8jSRuKn99P7IMO5PvltRJw8OknFLXxfhxPtebb5jsMsmK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_94"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:21.549613' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_62", "status"=>"message_template_62", "body"=>"message_template_62"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_95@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_95@example.jp"], ["encrypted_password", "$2a$04$z4exR0wzIedCWa8Y8wqtgOCMT/q6NJpDGlZsxMsJE9F5hX2jy6t6K"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_95"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:21.566550' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 1.3ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_96@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_96@example.jp"], ["encrypted_password", "$2a$04$KfiIRlEUul8/2LuCOtrZtOSZ1sMp1YjpZLPBpevIP5izyMvjHksZy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_96"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:21.587476' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_65", "status"=>"message_template_65", "body"=>"message_template_65"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 3ms MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_65' LIMIT 1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_66", "status"=>"message_template_66", "body"=>"message_template_66"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 3ms Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 3ms MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_69' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_69"], ["created_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_69"], ["title", "message_template_69"], ["updated_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_17@example.jp"], ["encrypted_password", "$2a$04$6cfAbd4PxQUR.OYiyEnDN.uI3ICgi.kOwvj/RNJKP0Fg7CfPJb3G."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_17"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:21.688637' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_70", "status"=>"message_template_70", "body"=>"message_template_70"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_70' AND "message_templates"."id" != 9) LIMIT 1  (0.1ms) UPDATE "message_templates" SET "title" = 'message_template_70', "status" = 'message_template_70', "body" = 'message_template_70', "updated_at" = '2011-12-16 17:30:21.696934' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates/9 Completed 302 Found in 13ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_71' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_71"], ["created_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_71"], ["title", "message_template_71"], ["updated_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (35.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_18@example.jp"], ["encrypted_password", "$2a$04$lsL1yM4UwpXsJZj/thOtl.LoWxD2a8kVHnnxp8/9fKPRN9.6dEpIa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_18"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:21.750658' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_72", "status"=>"message_template_72", "body"=>"message_template_72"}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_72' AND "message_templates"."id" != 9) LIMIT 1  (0.1ms) UPDATE "message_templates" SET "title" = 'message_template_72', "status" = 'message_template_72', "body" = 'message_template_72', "updated_at" = '2011-12-16 17:30:21.759559' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates/9 Completed 302 Found in 8ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_73' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_73"], ["created_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_73"], ["title", "message_template_73"], ["updated_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_19@example.jp"], ["encrypted_password", "$2a$04$cDV7abTsGatORkm64k.AaevQT2Jh/02qYV8LX17RefdOtgOuWafFa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_19"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:21.774370' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_74", "status"=>"message_template_74", "body"=>"message_template_74"}, "position"=>"2", "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "message_templates" SET "position" = 0, "updated_at" = '2011-12-16 17:30:21.781542' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "message_templates" SET position = (position - 1) WHERE "message_templates"."id" IN (SELECT "message_templates"."id" FROM "message_templates" WHERE (1 = 1 AND position > 9) ORDER BY position) SQL (0.2ms) UPDATE "message_templates" SET position = (position + 1) WHERE "message_templates"."id" IN (SELECT "message_templates"."id" FROM "message_templates" WHERE (1 = 1 AND position >= 2) ORDER BY position)  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "message_templates" SET "position" = 2, "updated_at" = '2011-12-16 17:30:21.783166' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates Completed 302 Found in 7ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_75' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_75"], ["created_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_75"], ["title", "message_template_75"], ["updated_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_20@example.jp"], ["encrypted_password", "$2a$04$L./ny3wQh5dFirDR0gnHSuQTLeAJuBxECUZlTIAdtVy9ApdX2OPmu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_20"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:21.796367' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = '' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 0.7ms | ActiveRecord: 0.0ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_77' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_77"], ["created_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_77"], ["title", "message_template_77"], ["updated_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_17@example.jp"], ["encrypted_password", "$2a$04$xBFpb7HWfx..f1EEIKY9Ru3ux/1rJP9HYfDJUDY1j5esRYN0pFxg2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_17"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:21.819245' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_78", "status"=>"message_template_78", "body"=>"message_template_78"}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_79' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_79"], ["created_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_79"], ["title", "message_template_79"], ["updated_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_18@example.jp"], ["encrypted_password", "$2a$04$SKb14TiSmCLZJwUW1IYnZ.p1KPNMBhq0lXU1T6Uk5cP9pYNJWj28S"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_18"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:21.838965' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_80", "status"=>"message_template_80", "body"=>"message_template_80"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 0.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_81' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_81"], ["created_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_81"], ["title", "message_template_81"], ["updated_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_19@example.jp"], ["encrypted_password", "$2a$04$MSApb1SVHlfNfUEzH/2wW.qXEPCddocI8aNCOUVzkH3eAQaBOjPza"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_19"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:21.866435' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 1.0ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_83' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_83"], ["created_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_83"], ["title", "message_template_83"], ["updated_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_97@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_97@example.jp"], ["encrypted_password", "$2a$04$ot/gvSSGdOiaXxaaatcaVOjWahdgk6.Iot.aDS0Xy2R.1.DDv94Ne"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_97"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:21.889287' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_84", "status"=>"message_template_84", "body"=>"message_template_84"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 45ms (Views: 1.0ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_85' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_85"], ["created_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_85"], ["title", "message_template_85"], ["updated_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_98@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_98@example.jp"], ["encrypted_password", "$2a$04$CEbJMO68Kr3BUUFEzbQhxe1k.2czYR6gAyIxJB8SxjUQSciKAvVUi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_98"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:21 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:21.950542' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_86", "status"=>"message_template_86", "body"=>"message_template_86"}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_87' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_87"], ["created_at", Fri, 16 Dec 2011 17:30:22 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_87"], ["title", "message_template_87"], ["updated_at", Fri, 16 Dec 2011 17:30:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_99@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_99@example.jp"], ["encrypted_password", "$2a$04$BIw.wFLlsCyakyGJuvWgRuDYj/3A5uaFrHnQXZp7jsuL2ORxLrLkO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_99"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:22 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:22 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:22.041912' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_89' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_89"], ["created_at", Fri, 16 Dec 2011 17:30:22 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_89"], ["title", "message_template_89"], ["updated_at", Fri, 16 Dec 2011 17:30:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_90", "status"=>"message_template_90", "body"=>"message_template_90"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_91' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_91"], ["created_at", Fri, 16 Dec 2011 17:30:22 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_91"], ["title", "message_template_91"], ["updated_at", Fri, 16 Dec 2011 17:30:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_92", "status"=>"message_template_92", "body"=>"message_template_92"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_93' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_93"], ["created_at", Fri, 16 Dec 2011 17:30:22 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_93"], ["title", "message_template_93"], ["updated_at", Fri, 16 Dec 2011 17:30:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_95' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_95"], ["created_at", Fri, 16 Dec 2011 17:30:22 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_95"], ["title", "message_template_95"], ["updated_at", Fri, 16 Dec 2011 17:30:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_21@example.jp"], ["encrypted_password", "$2a$04$81FGyZVwF3AFSIuZ4lrOIeT/X30BD8Eeal7ggm/vUW5t2S5l2kpim"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_21"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:22 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 17:30:22 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:22.149830' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_96' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_96"], ["created_at", Fri, 16 Dec 2011 17:30:22 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_96"], ["title", "message_template_96"], ["updated_at", Fri, 16 Dec 2011 17:30:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_22@example.jp"], ["encrypted_password", "$2a$04$MDTONy3pbeP5PFOmj66G6Ou54.AYkotKREySI15J8Y1VGInoZ/G.S"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_22"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:22 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 17:30:22 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:22.184974' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_97' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_97"], ["created_at", Fri, 16 Dec 2011 17:30:22 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_97"], ["title", "message_template_97"], ["updated_at", Fri, 16 Dec 2011 17:30:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_20@example.jp"], ["encrypted_password", "$2a$04$Bf5vlNztEEr/C977QxuHDOUjdCi3ol.FmDj4wVKkqqUryzK/kTavi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_20"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:22 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 17:30:22 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:22.222381' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (54.9ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.4ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_98' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_98"], ["created_at", Fri, 16 Dec 2011 17:30:22 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_98"], ["title", "message_template_98"], ["updated_at", Fri, 16 Dec 2011 17:30:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_21@example.jp"], ["encrypted_password", "$2a$04$yLAw4DZgY8FIQqoI5l2R6.BlWP5RnZFIErScOOY4LJ6.94iHESwve"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_21"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:22 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 17:30:22 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:22.312107' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_99' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_99"], ["created_at", Fri, 16 Dec 2011 17:30:22 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_99"], ["title", "message_template_99"], ["updated_at", Fri, 16 Dec 2011 17:30:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_100@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_100@example.jp"], ["encrypted_password", "$2a$04$41jo58DNjgIQ2IJhi8LGS.Z6Z1EZ2f5VlR/NE.c7J89wSW7VHu//a"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_100"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:22 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:22 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:22.343523' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_100' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_100"], ["created_at", Fri, 16 Dec 2011 17:30:22 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_100"], ["title", "message_template_100"], ["updated_at", Fri, 16 Dec 2011 17:30:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_101@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_101@example.jp"], ["encrypted_password", "$2a$04$AFz5Yw8D3qFOhsP3nEtdxO8UA7izqiY4GAX83HH.J7pJ9dwsOE0WO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_101"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:22 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:22 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:22.380235' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 2.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_101' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_101"], ["created_at", Fri, 16 Dec 2011 17:30:22 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_101"], ["title", "message_template_101"], ["updated_at", Fri, 16 Dec 2011 17:30:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_102' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_102"], ["created_at", Fri, 16 Dec 2011 17:30:22 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_102"], ["title", "message_template_102"], ["updated_at", Fri, 16 Dec 2011 17:30:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms Role Load (0.3ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_23@example.jp"], ["encrypted_password", "$2a$04$JlL7vqWjQpuAwkq8VfZ5k.VN4p2d.G.2FWY248HWGcSOJJ8o4Btk."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_23"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:23 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 17:30:23 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:23.689494' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 SOLR Request (5.0ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A8&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (11.1ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A8&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 53ms (Views: 7.9ms | ActiveRecord: 0.3ms | Solr: 16.1ms) Role Load (0.3ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_24@example.jp"], ["encrypted_password", "$2a$04$ClTM/hZzRm.DI7DouIdXNO8bQuDY4c2V/ygdNEvNbddOCgCk.rFSi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_24"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:23 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 17:30:23 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:23.846718' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML Parameters: {"user_id"=>"admin_24"} User Load (1.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'admin_24' LIMIT 1 SOLR Request (20.1ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A8&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (4.1ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A8&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 36ms (Views: 1.4ms | ActiveRecord: 1.9ms | Solr: 24.2ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_22@example.jp"], ["encrypted_password", "$2a$04$o6fryDfSKEs9K9wEAJ8TlecKzQLUBmiOjtwubXXAfYoxTXQRDAhoS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_22"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:23 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 17:30:23 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:23.906507' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.6ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 SOLR Request (5.3ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A8&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (9.1ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A8&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 26ms (Views: 1.4ms | ActiveRecord: 0.7ms | Solr: 14.4ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_23@example.jp"], ["encrypted_password", "$2a$04$N9ilAXTObetuELY4S5dCe.4t8gvlOSCQrZ5YZm2NFMyH6s5Pk8ClK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_23"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:23 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 17:30:23 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:23.950387' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML Parameters: {"user_id"=>"librarian_23"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'librarian_23' LIMIT 1 SOLR Request (7.7ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A8&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (10.2ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A8&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 27ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 17.9ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 SOLR Request (10.0ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (4.8ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IN (2) Completed 200 OK in 43ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 14.8ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML Parameters: {"query"=>"you"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 SOLR Request (7.1ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&q=you&fl=%2A+score&qf=body_text+subject_text&defType=dismax&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (12.4ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&q=you&fl=%2A+score&qf=body_text+subject_text&defType=dismax&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IN (2) Completed 200 OK in 40ms (Views: 1.4ms | ActiveRecord: 0.6ms | Solr: 19.5ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 SOLR Request (7.6ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (23.9ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IN (2) Completed 200 OK in 45ms (Views: 1.4ms | ActiveRecord: 0.5ms | Solr: 31.5ms) Processing by MessagesController#index as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 158ms (Views: 4.2ms | ActiveRecord: 0.6ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#show as HTML Parameters: {"id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 3 AND "messages"."id" = ? LIMIT 1 [["id", "2"]]  (0.0ms) SAVEPOINT active_record_1  (0.3ms) UPDATE "messages" SET "read_at" = '2011-12-16 17:30:24.338153', "updated_at" = '2011-12-16 17:30:24.338526' WHERE "messages"."id" = 2 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1  (0.5ms) UPDATE "messages" SET "state" = 'read', "updated_at" = '2011-12-16 17:30:24.349273' WHERE "messages"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 32ms (Views: 4.0ms | ActiveRecord: 1.8ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.4ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_25@example.jp"], ["encrypted_password", "$2a$04$ztBtwWoQbYB7kuOc8rhJzOWgyZ5JYXqxiwO3/9YTXdVqwThpkAisO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_25"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:24 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 17:30:24 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:24.404216' WHERE "roles"."id" = 4  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 Completed 200 OK in 101ms (Views: 2.4ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_24@example.jp"], ["encrypted_password", "$2a$04$F6I0fsZIHJWbRfZtlTXAKelcWmHDeW7oX6jselPg2y2rk2D2TSbHu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_24"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:24 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 17:30:24 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:24.531544' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 Completed 200 OK in 12ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.5ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML Parameters: {"parent_id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) User Load (1.9ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML Parameters: {"parent_id"=>"2"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 16ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Processing by MessagesController#new as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 13ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_26@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_26@example.jp"], ["encrypted_password", "$2a$04$8BNiE1RhPFFY9wObB5C3T.wUszl3.91bGTnENMFmaLnAA3LftjEf2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_26"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:24 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 17:30:24 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:24.673364' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.5ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 8 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 13ms (Views: 1.9ms | ActiveRecord: 0.9ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_25@example.jp"], ["encrypted_password", "$2a$04$RzUQm1d/K.uhiiInXbAQVewxkVgYwiXNYdOx3mAzLtl9KI5rFo4qC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_25"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:24 UTC +00:00], ["role_id", 3], ["updated_at", Fri, 16 Dec 2011 17:30:24 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:24.707575' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 15ms (Views: 1.3ms | ActiveRecord: 0.9ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_102@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_102@example.jp"], ["encrypted_password", "$2a$04$EFereGt6TpuPtakXyFQgU.zymWihg3r4NJ4Qt3I/3l10YNAZopnsC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_102"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:24 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:24 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:24.763073' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_103@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (81.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_103@example.jp"], ["encrypted_password", "$2a$04$.gJ93jeaXov1xD81cwh4K.XWFScBAA42AKbgCmDtk74S4pNnY2guC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_103"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:24 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:24 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:24.861242' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "user_102"]]  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_27@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_27@example.jp"], ["encrypted_password", "$2a$04$.Msp3W5RDOYUMiVQiWdpM.RoVnLtbbKiiFCvlFrtXITgtoVJc7/ju"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_27"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:24 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 17:30:24 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:24.883927' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 14ms (Views: 2.0ms | ActiveRecord: 0.5ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_28@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_28@example.jp"], ["encrypted_password", "$2a$04$yuMLFhRfglVbD9DCu4seJ.rsNZESgDpbSrE5wZei08YFhiubUJr0G"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_28"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:24 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 17:30:24 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:24.925269' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 16ms (Views: 1.6ms | ActiveRecord: 0.5ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_29@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_29@example.jp"], ["encrypted_password", "$2a$04$fpzTaV8/.6k/D.x7Pa8TweePnGNHvOpRL5MdwWWyWFUMsCxXrM4X2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_29"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:24 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 17:30:24 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:24.962707' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 19ms (Views: 2.0ms | ActiveRecord: 0.5ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_30@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_30@example.jp"], ["encrypted_password", "$2a$04$qySYcO1hbc6.tuN4Ni7HKOFo4R9//WB9KvEF8PjSZuuZxySVi7cny"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_30"]] SQL (0.5ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["role_id", 4], ["updated_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:25.006962' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 14ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test", "parent_id"=>"2"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = 2 LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "user2"]]  (0.0ms) SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "user2"]]  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 404 Not Found in 14ms (Views: 1.3ms | ActiveRecord: 0.6ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test", "parent_id"=>"2"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 2.0ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 8ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 70ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_104@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_104@example.jp"], ["encrypted_password", "$2a$04$dj85u63CCE3hiMEc2SeA3OmSciHRI8hoGLZm1W9Rq/T7ucm8GqIWC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_104"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:25.216943' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_105@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_105@example.jp"], ["encrypted_password", "$2a$04$hmIDr9CTXtMMS20IW3hifOlaPWPlAwFO6flRcXoSZTgWoOsrI4L0q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_105"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:25.237456' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_104", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 14ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_106@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_106@example.jp"], ["encrypted_password", "$2a$04$ZdjwQsn8MPSRnu9xgUbrbO0i90F/BsdGkyauajS/VGuh75G5ptLY."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_106"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:25.270773' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_107@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_107@example.jp"], ["encrypted_password", "$2a$04$WO8vXCpbxkJbhZ1V2JsMJ.WTgxgIZrJAOCetMg5fJz78TIiXHP6Oi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_107"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:25.283500' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_106", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 10ms (Views: 1.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_108@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_108@example.jp"], ["encrypted_password", "$2a$04$vqn3CA.2sJnp17xY2fkt6elJ3PWctypPidQAXk/9Kzub/xviHlAs."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_108"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:25.317459' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_109@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_109@example.jp"], ["encrypted_password", "$2a$04$TEVNFaGdDqFaG7Z2UlNX4.2neKXOGHknVRpErNcpSwZxjtTEVPF3S"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_109"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:25.332049' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 10ms (Views: 1.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_110@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_110@example.jp"], ["encrypted_password", "$2a$04$EZ/JXHd/j8e0UqsY3WD02.PxW77LU9mYfeLeQyaCUP4STDlH2Y2M2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_110"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:25.361286' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.6ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_111@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_111@example.jp"], ["encrypted_password", "$2a$04$.afWleTzmzSfEPS8pRUwkewBmp3Gvi6FTAZGG6cNR2Mac.hHkrcPm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_111"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:25.374780' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 11ms (Views: 1.8ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_112@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (62.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_112@example.jp"], ["encrypted_password", "$2a$04$kxSQwxVTXrG26CgJvaN1uuodDDoCH.szmF3wTY1h7l.d922cLkxoi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_112"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:25.465439' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_113@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_113@example.jp"], ["encrypted_password", "$2a$04$AXxo9K6SnMF6V7NFx.bsT.5UzDSyxCj4.hJnilJC1RpO1V1mKHQrO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_113"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:25.478309' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_112", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.2ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_114@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_114@example.jp"], ["encrypted_password", "$2a$04$BXVCC1RmEizMJE/yMDavdu8LKBzDGG8A68yVYOx4zUrHBW6oEPOAe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_114"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:25.510322' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_115@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_115@example.jp"], ["encrypted_password", "$2a$04$Z3ZEcnGcdiYDcRFxQ29T2.6qP6mTdCgYVwWVgwHuFPMh0IMppifqu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_115"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:25.523339' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_114", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_116@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_116@example.jp"], ["encrypted_password", "$2a$04$X3/bUxZOl98vxDZ7KMvNz.gJ2etkqJ8WxB0ixlqIrREnSguFZSyUm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_116"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:25.556325' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_117@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_117@example.jp"], ["encrypted_password", "$2a$04$3ZtgdM.Z1Ffyxe/SpWEEW.0BwQ8bfgq58Skkb9No/qmVtdTPZqJp."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_117"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:25.570993' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_118@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_118@example.jp"], ["encrypted_password", "$2a$04$4k7wDOdd7LU59P.fTIalJ.t3iyEoFlhjvCxjSvaQScFilTSlS2wgy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_118"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:25.613689' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_119@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_119@example.jp"], ["encrypted_password", "$2a$04$68/PsP9H.tGF42aORMI.LeyhjYE8cyGZ5NyMhiYZ6s2IdeOarTak6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_119"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:25.627395' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 14ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_120@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_120@example.jp"], ["encrypted_password", "$2a$04$vs9JFLk75xqaIlcW8/vhr.p1FD8Y7ULTHK9x9W2ji71k0jIfs1Qpi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_120"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:25.662969' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (60.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_121@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_121@example.jp"], ["encrypted_password", "$2a$04$SDfS75HwOxx5/N11yymDGO8dBBOAoPPLNcTS0R/uIYnL52pP69ZN2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_121"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:25.736866' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 2.1ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_122@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_122@example.jp"], ["encrypted_password", "$2a$04$A7rJ0N.U29doWiw97USDyuX46ivyoSyli8E95QAAY8AK9Q3o2oXVG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_122"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:25.767406' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_123@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_123@example.jp"], ["encrypted_password", "$2a$04$9vMkCXdHXJVv3Y0ILWbgw.1QCvl.a3xHXBHe2y29zQUQnQiIew4KG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_123"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:25.782612' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_124@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_124@example.jp"], ["encrypted_password", "$2a$04$A5.0xd.LRpIBJyArMILsr.gRw5kYREQsEoLSP8hZEvKUfj1qCkg6e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_124"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:25.815349' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_125@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_125@example.jp"], ["encrypted_password", "$2a$04$QyN7UYYsLHepLZtUz1puBuZN8Y4g4gdFS5/chI5JnjmV/L/a5i1UG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_125"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:25.830813' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_124", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_126@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_126@example.jp"], ["encrypted_password", "$2a$04$sg/XptCQt0xdZS0yON/L9.qj1IO1DqeLWUGQrW2BBbxTZY1wzCqgu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_126"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:25.866873' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_127@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_127@example.jp"], ["encrypted_password", "$2a$04$W18Zeu188wyLYZKtywWZZe/2JOpUz3acJrnnblIiX8I92dvk3sO1m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_127"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:25.881862' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_126", "sender_id"=>"9", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_128@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_128@example.jp"], ["encrypted_password", "$2a$04$46Hpvl1L7yXD6F1VrCd.7euqNZmVLezFgSV5B1BGUCK8GyOHuDW1q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_128"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:25.913623' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_129@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_129@example.jp"], ["encrypted_password", "$2a$04$kDEcxbbLJ..KqCZ17FfDMOmi22.cRv3f9cKLjFBLSWPKiNTlXXuCq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_129"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:25 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:25.929365' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 73ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_130@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_130@example.jp"], ["encrypted_password", "$2a$04$cJwIREIN0Xm6diWtGMI9yOy9LZXWF.zOAvHfR5kzrXp58PWeDlrzu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_130"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:26 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:26 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:26.022090' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_131@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_131@example.jp"], ["encrypted_password", "$2a$04$pT/DxMogacFPlqAxebhzreR4CLCbn6hTR9MnBrWaZIw/Dq0mI05va"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_131"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:26 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:26 UTC +00:00], ["user_id", 9]]  (1.3ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:26.036101' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_132@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_132@example.jp"], ["encrypted_password", "$2a$04$qFxB06SdeyyX52ktXK8VLeZgF84bsGc3OTUVrWSh61.ekVuLpRLxm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_132"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:26 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:26 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:26.065932' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_133@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_133@example.jp"], ["encrypted_password", "$2a$04$ikBNGbqJYUDFD5yLkVb2c.OnOFAjXf12nLbp6FxHAnR5f2uEmsItG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 16 Dec 2011 17:30:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_133"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 Dec 2011 17:30:26 UTC +00:00], ["role_id", 2], ["updated_at", Fri, 16 Dec 2011 17:30:26 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-16 17:30:26.082103' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#destroy as HTML Parameters: {"id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 3 AND "messages"."id" = ? LIMIT 1 [["id", "2"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "messages" WHERE ("lft" > 3 AND "rgt" < 4) SQL (0.4ms) UPDATE "messages" SET "lft" = ("lft" - 2) WHERE "messages"."id" IN (SELECT "messages"."id" FROM "messages" WHERE ("lft" > 4) ORDER BY "lft") SQL (0.5ms) UPDATE "messages" SET "rgt" = ("rgt" - 2) WHERE "messages"."id" IN (SELECT "messages"."id" FROM "messages" WHERE ("rgt" > 4) ORDER BY "lft") SQL (0.2ms) DELETE FROM "messages" WHERE "messages"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/messages Completed 302 Found in 16ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.4ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 9ms Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Binary data inserted for `string` type on column `encrypted_password` Binary data inserted for `string` type on column `encrypted_password` Binary data inserted for `string` type on column `encrypted_password` Fixture Delete (0.4ms) DELETE FROM "message_requests" Fixture Insert (0.2ms) INSERT INTO "message_requests" ("sender_id", "receiver_id", "message_template_id", "state", "created_at", "updated_at", "id") VALUES (1, 1, 1, 'pending', '2011-12-17 19:11:20', '2011-12-17 19:11:20', 980190962) Fixture Insert (0.1ms) INSERT INTO "message_requests" ("sender_id", "receiver_id", "message_template_id", "state", "created_at", "updated_at", "id") VALUES (1, 1, 1, 'pending', '2011-12-17 19:11:20', '2011-12-17 19:11:20', 298486374) Fixture Delete (0.1ms) DELETE FROM "message_templates" Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (1, 'reservation_accepted', 'Reservation accepted', 'Reservation accepted', 1, '2011-12-17 19:11:20', '2011-12-17 19:11:20') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (2, 'item_received', 'Item received', 'Item received', 2, '2011-12-17 19:11:20', '2011-12-17 19:11:20') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (3, 'reservation_expired_for_patron', 'Reservation expired', 'Reservation expired', 3, '2011-12-17 19:11:20', '2011-12-17 19:11:20') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (4, 'reservation_expired_for_library', 'Reservation expired', 'Reservation expired', 4, '2011-12-17 19:11:20', '2011-12-17 19:11:20') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (5, 'reservation_canceled_for_patron', 'Reservation canceled', 'Reservation canceled', 5, '2011-12-17 19:11:20', '2011-12-17 19:11:20') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (6, 'reservation_canceled_for_library', 'Reservation canceled', 'Reservation canceled', 6, '2011-12-17 19:11:20', '2011-12-17 19:11:20') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (7, 'recall_item', 'Recall item', 'Recall item', 7, '2011-12-17 19:11:20', '2011-12-17 19:11:20') Fixture Insert (0.2ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (8, 'recall_overdue_item', 'Recall overdue item', 'Recall overdue item', 8, '2011-12-17 19:11:20', '2011-12-17 19:11:20') Fixture Delete (0.2ms) DELETE FROM "messages" Fixture Insert (0.2ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "read_at", "state", "lft", "rgt", "updated_at") VALUES (1, 3, 4, 'First Message', 'Abby, you get the first message', '2007-07-04 12:10:47.000000', '2011-12-14 19:11:19.000000', 'unread', 1, 2, '2011-12-17 19:11:20') Fixture Insert (0.4ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (2, 4, 3, 'RE: First Message', 'Thanks Dad! You are the coolest!', '2011-12-15 19:11:20.000000', 'unread', 3, 4, '2011-12-17 19:11:20') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (3, 3, 4, 'Second Message', 'Catie, you get the 2nd message', '2011-12-16 19:11:20.000000', 'unread', 5, 6, '2011-12-17 19:11:20') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (6, 4, 5, 'Dad!', 'He is sucha dork.', '2011-12-15 19:11:20.000000', 'unread', 7, 8, '2011-12-17 19:11:20') Fixture Delete (0.1ms) DELETE FROM "roles" Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Guest', 'Guest', 1, NULL, '2011-12-17 19:11:20', '2011-12-17 19:11:20') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('User', 'User', 2, NULL, '2011-12-17 19:11:20', '2011-12-17 19:11:20') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Librarian', 'Librarian', 3, NULL, '2011-12-17 19:11:20', '2011-12-17 19:11:20') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Administrator', 'Administrator', 4, NULL, '2011-12-17 19:11:20', '2011-12-17 19:11:20') Fixture Delete (0.1ms) DELETE FROM "user_groups" Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('(not specified)', '(not specified)', '2007-12-13 12:00:51.564542', 1, '', '2007-12-13 12:00:01.674976', 1) Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('User', 'User', '2007-12-22 18:14:56.836548', 2, '', '2007-12-22 18:14:40.173954', 2) Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('Faculty', 'Faculty', '2007-12-22 18:15:05.134351', 3, '', '2007-12-22 18:15:05.126457', 3) Fixture Delete (0.1ms) DELETE FROM "user_has_roles" Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (1, 4, '2011-12-17 19:11:20', '2011-12-17 19:11:20', 135138680) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (2, 3, '2011-12-17 19:11:20', '2011-12-17 19:11:20', 344583537) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (3, 2, '2011-12-17 19:11:20', '2011-12-17 19:11:20', 206669143) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (4, 3, '2011-12-17 19:11:20', '2011-12-17 19:11:20', 226540757) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (5, 2, '2011-12-17 19:11:20', '2011-12-17 19:11:20', 358143215) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (6, 2, '2011-12-17 19:11:20', '2011-12-17 19:11:20', 576709754) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (7, 2, '2011-12-17 19:11:20', '2011-12-17 19:11:20', 1010528733) Fixture Delete (0.2ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:16:30.163731', '$2a$10$vHohD1WflnTIqAa8zMkF9evwAgIZRw3XuR4d3bi29M.jph/MB/AJi', 2, 1, NULL, 'admin', 'tanabe@kamata.lib.teu.ac.jp', '2007-11-19 07:58:32.111941', 4) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 03:41:16.337474', '$2a$10$9O2VuTccN4gHq36ARg0QReSrb1D7WrBBhZZ759RM9moHbB0W5zCzS', 1, 2, NULL, 'librarian1', 'librarian1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:33.172441', 1) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', '$2a$10$JthS59A0BNkDOoFpCXM0V.GhhffKaoWKbzpPahYp/vTFrOyM7h/uW', 1, 3, NULL, 'user1', 'user1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:23.340575', '$2a$10$YmmTGrYQ1Ir6oc7wXnp.GuNeO1eYLoP3sv8wMSIrTdaGw2BPwRrpS', 1, 4, NULL, 'librarian2', '2008-01-18 03:24:04.222344', 1) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:44.711117', '$2a$10$i7UjJhLVrJM/J7qaTwW39OXw1NiwowUEbtNHVDV0sqMLjX9.UO9ca', 1, 5, NULL, 'user2', '2008-01-18 04:29:06.922728', 2) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 6, NULL, 'user3', 'user3@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 7, NULL, 'user4', 'user4@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_1@example.jp"], ["encrypted_password", "$2a$04$FSglO/5JJ6LnCbUA/xm22ebN1An0kjipksYFHAFwCMe7i3uCFYdzC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_1"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:20 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 19:11:20 UTC +00:00], ["user_id", 11]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:20.789357' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Rendered /Users/kosuke/enju_message/app/views/message_requests/index.html.erb within layouts/application (11.9ms) Completed 200 OK in 158ms (Views: 75.8ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_1@example.jp"], ["encrypted_password", "$2a$04$.TtKHm1ZIsYCKDYvRpuwI.gI8WnSsXFuSFyoTC8IvUR5rL8V35WiS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_1"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:20 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 19:11:20 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:21.000215' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 200 OK in 10ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_1@example.jp"], ["encrypted_password", "$2a$04$siVrB7584WsKz7UpcPD5KeHgMugCugzTilHjTOWwa/XE5dUPqvHny"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_1"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:21.036319' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 28ms (Views: 18.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "message_requests" WHERE ('t'='f') Processing by MessageRequestsController#index as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 13ms  (0.1ms) SELECT COUNT(*) FROM "message_requests" WHERE ('t'='f') Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (50.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_2@example.jp"], ["encrypted_password", "$2a$04$YQCUSNlxR4VYsiS3u6MXru5YzU8a.ydVcRDrwNpbEaO/0alNoJEi."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_2"]] SQL (0.4ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["user_id", 11]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:21.154945' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_2@example.jp"], ["encrypted_password", "$2a$04$WiYqOJWM36J0rHVqKsxtteJS5tfFumacNY9mP0EN52ZSYhGymNmaS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_2"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:21.174858' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_3@example.jp"], ["encrypted_password", "$2a$04$ZhrWgpnHnP5Um2XpuOQFTexLu.2tzbhjbxTPAukMd4WdCGJdobK1e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_3"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:21.201785' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (2.3ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_1' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_1"], ["created_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_1"], ["title", "message_template_1"], ["updated_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_1' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.2ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 200 OK in 18ms (Views: 9.1ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_2@example.jp"], ["encrypted_password", "$2a$04$ptTyVJAPUO7b.eEMBxtJqeyAk0iUbGKiJBEk5lLgea2ZfQIhIaWyW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_2"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:21.276819' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_4@example.jp"], ["encrypted_password", "$2a$04$rEKF8Snlbs7HGey2drAUY.k2jAb6kRw2cP.FYwaGG4hGNzXCqJDZ."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_4"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:21.291031' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_5@example.jp"], ["encrypted_password", "$2a$04$85ahApnxAYwzjYcl4CHZVO4gqyBnx7BNWmPhwoOCXZeWvP1dHgQsG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_5"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:21.304104' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_2' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_2"], ["created_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_2"], ["title", "message_template_2"], ["updated_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_2' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 200 OK in 13ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_6@example.jp"], ["encrypted_password", "$2a$04$WPvlIngRMI4rTJLVNR6eQuziXV4W1SS8PIvhukWZOpZ.HpVReHdfO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_6"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:21.349687' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_7@example.jp"], ["encrypted_password", "$2a$04$vhFqVyKWaeRe1j2xXCjmH..qLA3fPdjVYVposslZb.7Zk6GK257ce"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_7"]] SQL (0.4ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:21.420535' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_8@example.jp"], ["encrypted_password", "$2a$04$Km53IWHJH39/nNIEsxx.7.MIijbf028OzgE8d.LEj6CIK8tzf7UzO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_8"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:21.435823' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_3' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_3"], ["created_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_3"], ["title", "message_template_3"], ["updated_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_3' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.9ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.3ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_9@example.jp"], ["encrypted_password", "$2a$04$yFKyrZ5aGtwWUqbdZXbO9unoRJxe.N8FV1XBExKwWIkP/9rvg7EXe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_9"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:21.484624' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_10@example.jp"], ["encrypted_password", "$2a$04$NkGovJx0JntNA3NpHLYDsuehZm.YVXiOAX00F.Q8Qop1Ypc5jbita"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_10"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:21.499816' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_4' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_4"], ["created_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_4"], ["title", "message_template_4"], ["updated_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_4' AND "message_templates"."id" != 9) LIMIT 1 SQL (1.0ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 8ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_3@example.jp"], ["encrypted_password", "$2a$04$R86dj/oYFkKeceifxqxu2OExqQhwvpCaUxuFhT2are0IoGoB1iqES"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_3"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:21.541192' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_11@example.jp"], ["encrypted_password", "$2a$04$T7dnfsI3hDEGSdwE5tCFEeS2goPzGWOwFY0XxDyUdQwZWuqp4DMlO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_11"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:21.555351' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_12@example.jp"], ["encrypted_password", "$2a$04$A8nARiaRwzO4tuYVJdCUhOQOOzfHZG..wtEJLpMp9Dv3HcIHKm4W6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_12"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:21.573972' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_5' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_5"], ["created_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_5"], ["title", "message_template_5"], ["updated_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_5' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 16ms (Views: 4.3ms | ActiveRecord: 0.7ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_3@example.jp"], ["encrypted_password", "$2a$04$IaF09S02khbJG.N75vSe5e9PCFb0/5lTUZvN2jMshJVDZE1z3ZxHe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_3"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:21.622037' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_13@example.jp"], ["encrypted_password", "$2a$04$ij87GfjjE0.jnuNhHAx94uw.isCDd//tUFd8tU5GJS0zk73zDhwLm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_13"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:21.636248' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_14@example.jp"], ["encrypted_password", "$2a$04$cAdK98WU4YWDF3FoF8vUsOwweRG/GiDt/88lvptXN3tqKtVHCL2c."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_14"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:21.649482' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_6' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_6"], ["created_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_6"], ["title", "message_template_6"], ["updated_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_6' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 72ms (Views: 1.4ms | ActiveRecord: 0.6ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_15@example.jp"], ["encrypted_password", "$2a$04$iNceUyiRUbqlBZlK/DB4G.rB1vW.eMKzbSUcXhJpcDJqdq0LnRYy."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_15"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:21.761041' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_16@example.jp"], ["encrypted_password", "$2a$04$V/C66Xk3A8y8yYKLvx1LteEGxNL5G7/c/wb8abUfKkFei.sQ3086W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_16"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:21.776016' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_17@example.jp"], ["encrypted_password", "$2a$04$8.1T4eKUitpfp1PYb6UmSe85vxMV5ZcoySUHn2mN0AoOAE3PZkS.m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_17"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:21.789238' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_7' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_7"], ["created_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_7"], ["title", "message_template_7"], ["updated_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (2.8ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_7' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (3.4ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 14ms (Views: 1.3ms | ActiveRecord: 3.7ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_18@example.jp"], ["encrypted_password", "$2a$04$WHlMZ1akgX/J4b6HO9k7QOFgSOiYOSLyFVzICq.itPcKzvcc7mW.e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_18"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:21.839293' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_19@example.jp"], ["encrypted_password", "$2a$04$gVn9hPbfWkEDCefL.qMitOou2I1DygcWnw793VKWugnYtZefgJ7.a"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_19"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:21.857868' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_8' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_8"], ["created_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_8"], ["title", "message_template_8"], ["updated_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_8' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_20@example.jp"], ["encrypted_password", "$2a$04$UUZHKH7Yrjeeai8lJH1ycuRtWAPa1K/wnb3Ad7K9Keva.siVOZtZq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_20"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["user_id", 11]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:21.895232' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_21@example.jp"], ["encrypted_password", "$2a$04$aN0zgK/zCyva2GfAFWlYe.DwfmTytix43UkqiHqjUnakNttEovQ6O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_21"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:21.909000' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_9' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_9"], ["created_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_9"], ["title", "message_template_9"], ["updated_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_9' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_22@example.jp"], ["encrypted_password", "$2a$04$KkySYSeAVsxn.YKCcdyjnO7nvCkkpw0Y7qwN8ggFEUeial.mFVuaC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_22"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:21.936146' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_23@example.jp"], ["encrypted_password", "$2a$04$dgzf/Vq0S9.95ZGwLef7uuNsdpAq0M3CMvbHcrAQexlVxqDLYjp7u"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_23"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:21.957665' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_10' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_10"], ["created_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_10"], ["title", "message_template_10"], ["updated_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (55.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_4@example.jp"], ["encrypted_password", "$2a$04$tHhewXMsTTCrPm3boxLYi.BoJuSp.1B93iwZAPWjtwe8M0w9Ft.EW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_4"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:22.029193' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"13", "receiver_id"=>"14", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 15 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 15 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_10' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 13, "receiver_id" = 14, "message_template_id" = 10, "updated_at" = '2011-12-17 19:11:22.052356' WHERE "message_requests"."id" = 980190963  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 26ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_24@example.jp"], ["encrypted_password", "$2a$04$Yt.iCrF01TC9Z0gFb7TB8u2WT6b/yoM/8jBg6Orj6uen9hoedggpC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_24"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:22.075425' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_25@example.jp"], ["encrypted_password", "$2a$04$DWcN2am3w2fRbG.7IzrL2uTJksBUgzq5xNyfHAVU1TALc0uFC/TY."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_25"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["user_id", 12]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:22.089466' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_11' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_11"], ["created_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_11"], ["title", "message_template_11"], ["updated_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_11' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_26@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_26@example.jp"], ["encrypted_password", "$2a$04$EcSxXOARUcIFRzv8su/2AeU1AOe/lKkmMAJtlLmCI6KKoLxApEhMS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_26"]] SQL (2.5ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:22.120244' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.2ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_27@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_27@example.jp"], ["encrypted_password", "$2a$04$qQyKCprqSTDf2xoXQTYbi.FrhZU.cRl1A9xJE0Ceu1C8kh3tWxhSq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_27"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:22.135630' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_12' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_12"], ["created_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_12"], ["title", "message_template_12"], ["updated_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_5@example.jp"], ["encrypted_password", "$2a$04$vjJ/TntHwUmG9iviR5lH3erA19esrxj0GkLqS/EBR4z1PtrCPZpZe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_5"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:22.154117' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"13", "receiver_id"=>"14", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 15 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 15 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_12' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 13, "receiver_id" = 14, "message_template_id" = 10, "updated_at" = '2011-12-17 19:11:22.175758' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 19ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_28@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_28@example.jp"], ["encrypted_password", "$2a$04$jyieE4KRG8I/T2dcxWvBhOq1fJ1Ew5piDiZYuoD.oRInLQ27sgDt2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_28"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:22.196819' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (6.3ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_29@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_29@example.jp"], ["encrypted_password", "$2a$04$C91UNwe49.6RSfrfw4HczeR.b2M/pfKa7RjfWjUe./cC8X6GUheP6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_29"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:22.219014' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_13' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_13"], ["created_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_13"], ["title", "message_template_13"], ["updated_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_13' AND "message_templates"."id" != 9) LIMIT 1 SQL (1.0ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_30@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_30@example.jp"], ["encrypted_password", "$2a$04$Ds3pvwIqIWt/ayg75tfT1OKuOiE.Hgy4KKAzu6eZ9dkoHqBDiX7lC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_30"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:22.243722' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_31@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_31@example.jp"], ["encrypted_password", "$2a$04$R./pTNQ9XSqGRkSE856ieOUgqXOpfKR7gve3FhNXwpSn7t0ixd8W2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_31"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:22.258147' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_14' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_14"], ["created_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_14"], ["title", "message_template_14"], ["updated_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (63.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_6@example.jp"], ["encrypted_password", "$2a$04$kdHeMJeCM.nRj8NxivhTx.TIooE55U1sp3G41rd7ZalyYKl1lkBcu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_6"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:22.339985' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 15 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 15 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_13' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 18ms (Views: 1.3ms | ActiveRecord: 1.1ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_32@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_32@example.jp"], ["encrypted_password", "$2a$04$cDYoZnCOtyBy8eRdg1/MIuCsKerxPZ5yV234MO48YZlsCfJrFteCO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_32"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:22.380743' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_33@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_33@example.jp"], ["encrypted_password", "$2a$04$ZhmmotkPfrFs/7yeGvAxuuEw0UfpVK2KlTTcTPOeTwTwA0PnTuIfi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_33"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:22.394483' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_15' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_15"], ["created_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_15"], ["title", "message_template_15"], ["updated_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_15' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.3ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_34@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_34@example.jp"], ["encrypted_password", "$2a$04$SxxtMiUnkhK0ku5l4TN.Yu5ift7kjSwuH/ZcoizOJusJkagY/KtzK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_34"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:22.419415' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_35@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_35@example.jp"], ["encrypted_password", "$2a$04$gkcm2kWG/4DNLDUavhY74eGFk.44rk6YWjrTSmkpT4aR4pNfvrtNW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_35"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:22.442927' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_16' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_16"], ["created_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_16"], ["title", "message_template_16"], ["updated_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_4@example.jp"], ["encrypted_password", "$2a$04$TxDuNv/Q7yNRO.7wKQiIP.BefpxioZtdOsXDzvBVz/zINGUK9K8y6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_4"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:22.461830' WHERE "roles"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"13", "receiver_id"=>"14", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 15 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 15 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_16' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 13, "receiver_id" = 14, "message_template_id" = 10, "updated_at" = '2011-12-17 19:11:22.487924' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 17ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_36@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_36@example.jp"], ["encrypted_password", "$2a$04$2Gkb1uBZmchOEiR2snhX7u.lCoujgv5sSKHqQASOvYReOh/HR/Ula"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_36"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:22.511439' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.3ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_37@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_37@example.jp"], ["encrypted_password", "$2a$04$m3l3oEFtIXOaLr1fm15ZuOpOCBMIxorgPrdorXPe4csa4dHkke2.m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_37"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:22.526448' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_17' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_17"], ["created_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_17"], ["title", "message_template_17"], ["updated_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_17' AND "message_templates"."id" != 9) LIMIT 1 SQL (1.1ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_38@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_38@example.jp"], ["encrypted_password", "$2a$04$iExf7yD3hQWWOAom.0wdkeLO2u6qoe/5ngkVCSECCcV/kyfK.ZcyS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_38"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:22.555089' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_39@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_39@example.jp"], ["encrypted_password", "$2a$04$o6DgCfLS4CYoSYqa31y5bukoDx/csAULzDUSBKjwM8xP/i4gAxl7G"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_39"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:22.568907' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_18' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_18"], ["created_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_18"], ["title", "message_template_18"], ["updated_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_5@example.jp"], ["encrypted_password", "$2a$04$THEfQYJayZa5E9efzdU5eeDpKVYBW1VtTgjQnKsbcnw9yrrwGfZBO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_5"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:22.649706' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"13", "receiver_id"=>"14", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 15 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 15 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_18' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 13, "receiver_id" = 14, "message_template_id" = 10, "updated_at" = '2011-12-17 19:11:22.669552' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 19ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_40@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_40@example.jp"], ["encrypted_password", "$2a$04$js6f6QCgzuA0LJy/hCcE8e52iukr6/qEN0/erhHoT6Ea8rsqbjfd."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_40"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:22.691131' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_41@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_41@example.jp"], ["encrypted_password", "$2a$04$frm4adrFo2JulwezGDAQtufFQsTjqI0.OkGADx1YwdyOVXFXuEvz."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_41"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["user_id", 12]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:22.706937' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_19' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_19"], ["created_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_19"], ["title", "message_template_19"], ["updated_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (1.9ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_19' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.2ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_42@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_42@example.jp"], ["encrypted_password", "$2a$04$PSICNqzvRUueohR.84mEiOyQhvI4VSk7QS9gBB7/mtLERetzUzqSq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_42"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:22.739573' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_43@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_43@example.jp"], ["encrypted_password", "$2a$04$7HE4y5SGb7pBXAp7UhDnB.kuMUZMS4AJEqgz4bca6GjsjZOHpBuE2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_43"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:22.758042' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_20' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_20"], ["created_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_20"], ["title", "message_template_20"], ["updated_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_6@example.jp"], ["encrypted_password", "$2a$04$iKiVnHCV0fZF4GnfTTdmoeZkpBAAcmh1ZzYWATvUOgiy3xVukMj/."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_6"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:22.775191' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 15 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 15 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_19' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 17ms (Views: 1.3ms | ActiveRecord: 1.0ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_44@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_44@example.jp"], ["encrypted_password", "$2a$04$dd5daccZyLiYLzL7pfFR4eh.A3gz9QzEOYmxqyLCsT0A8NR/RqP4u"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_44"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:22.818188' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_45@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_45@example.jp"], ["encrypted_password", "$2a$04$aCKMQNtO2WjAiGWisdnJLeyqoe140WyzRGRJJijoddI0HoEEDM2Ie"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_45"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:22.832239' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_21' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_21"], ["created_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_21"], ["title", "message_template_21"], ["updated_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_21' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.9ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_46@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_46@example.jp"], ["encrypted_password", "$2a$04$pwjphFD4XMupLAJgHtegWOHmOWCmerHKSiEpqIR2TqHDl3XsfLFwi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_46"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:22.862180' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.4ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_47@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (60.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_47@example.jp"], ["encrypted_password", "$2a$04$VPx/1UGnMf6an.2q4kHjhefJVvjKR6yx6NVlVY1JEDhxxfoDKLjOW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_47"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:22.938306' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_22' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_22"], ["created_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_22"], ["title", "message_template_22"], ["updated_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_48@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_48@example.jp"], ["encrypted_password", "$2a$04$ipX64fkCnN5WohA.Ad94x.QDM6zhLELIH040crwtOu0xeZtk9mRXK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_48"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:22.968315' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"13", "receiver_id"=>"14", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 15 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 15 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_49@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_49@example.jp"], ["encrypted_password", "$2a$04$apl3b8o60Z8bHroy9Srd9ucFaLsZ0PJfGJg1ZAgr8dmfk.O1D4eWe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_49"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:22 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:23.001050' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_50@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_50@example.jp"], ["encrypted_password", "$2a$04$bD0rob7x2VlOu1rXxQFbUeB/kLh0gEhOk2kATqXO2PllUTnw4Nd4i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_50"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:23.014453' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_23' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_23"], ["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_23"], ["title", "message_template_23"], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_23' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_51@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_51@example.jp"], ["encrypted_password", "$2a$04$vOloLXqdmI8cIJOaAAshTurAdtp/q2WEwI9yURgD/rmNwHmkh3ip6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_51"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:23.040885' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_52@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_52@example.jp"], ["encrypted_password", "$2a$04$qZhFDb2HzJENnVNlCwBAVOUnEqL09dUxQAJOZLR77NBjWSZghR2TK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_52"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:23.053828' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_24' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_24"], ["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_24"], ["title", "message_template_24"], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_53@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_53@example.jp"], ["encrypted_password", "$2a$04$3Fx6POWloMng2J4t.G3HSeSmFVxSYBV9M/JSIlQTYkoE3p3wWungW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_53"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["user_id", 15]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:23.071355' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"13", "receiver_id"=>"14", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 15 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 15 LIMIT 1 Completed 403 Forbidden in 14ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_54@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_54@example.jp"], ["encrypted_password", "$2a$04$yTM6h3BQUuHlf2448VdDMu8vJ457Eg7/gvjMTu2LDhD0/1cNYZc3e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_54"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["user_id", 11]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:23.111971' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_55@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_55@example.jp"], ["encrypted_password", "$2a$04$heKEly5SwVFosWa91lrEJ.xoTcMOAl34/VrK3Wujm51pQJVQCGjkS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_55"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:23.126472' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_25' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_25"], ["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_25"], ["title", "message_template_25"], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_25' AND "message_templates"."id" != 9) LIMIT 1 SQL (2.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_56@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_56@example.jp"], ["encrypted_password", "$2a$04$OrDmSKxry0JZ9ScHDFDyPeuIZRudrtUas0lyCNBGSGcvUPDD4O2yG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_56"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:23.155149' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_57@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (66.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_57@example.jp"], ["encrypted_password", "$2a$04$MBF2LZx44yoxtngXaEnREeEs4LE3HRu0eyuqNAM4jbYZc353o3q9G"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_57"]] SQL (0.7ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:23.237265' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_26' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_26"], ["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_26"], ["title", "message_template_26"], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_58@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_58@example.jp"], ["encrypted_password", "$2a$04$pwfDlIjrOjhp8fZtSZ10L.w707SRK8Ks4lZQXNvG5OGYiWwXzEKUK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_58"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:23.260034' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 15 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 15 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_59@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_59@example.jp"], ["encrypted_password", "$2a$04$.Z2RPXNrAfL3N4HTEH8/merVwFOCAdgVJm/hb2wQVpTeDWT0hkux2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_59"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:23.292232' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_60@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_60@example.jp"], ["encrypted_password", "$2a$04$o1YLH1b1o4ahW2CxdT.lU.JUkLm/a2zKR8z1rUga7HIeLMWRka982"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_60"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:23.306752' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_27' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_27"], ["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_27"], ["title", "message_template_27"], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_27' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_61@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_61@example.jp"], ["encrypted_password", "$2a$04$pjcs/73GO3X7Vl9s0.Z2Z.wBzSUs98gduTXNnixpdAMLEt3D8Ans."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_61"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:23.331515' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_62@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_62@example.jp"], ["encrypted_password", "$2a$04$5RbtPVdN6u0JnnNkwsi9fOmOr2iTuCclPm7oHd897tRx6SsLWqrpm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_62"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:23.344298' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_28' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_28"], ["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_28"], ["title", "message_template_28"], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"13", "receiver_id"=>"14", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_63@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_63@example.jp"], ["encrypted_password", "$2a$04$hjQww1nWUq6IupLCUZjzYuSqTmIwW/9iaHKuTSkPrKKdNo3ngS2iW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_63"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:23.372578' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_64@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_64@example.jp"], ["encrypted_password", "$2a$04$2cCoOYkFAI8Jp.f.Y4hwpuZJ8IDFUvaTKIHxeGinHij8pXfNYyk8q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_64"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["user_id", 12]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:23.384205' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_29' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_29"], ["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_29"], ["title", "message_template_29"], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_29' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.6ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_65@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_65@example.jp"], ["encrypted_password", "$2a$04$ijBmqdCkZJVU81gg2prja.NpFmg4ThrEZ8VqBo5ExtBKSj1.yHGea"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_65"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:23.403656' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_66@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_66@example.jp"], ["encrypted_password", "$2a$04$vOwmn/HiDRvvLPx9FWWJ8u4H9KtIooUb3vr1y1Z1BKnVe28Df8yEu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_66"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:23.412847' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_30' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_30"], ["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_30"], ["title", "message_template_30"], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"13", "receiver_id"=>"14", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 5ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_67@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_67@example.jp"], ["encrypted_password", "$2a$04$4pu3wzgdP8Oz8ZojCEwnfud3hiu6k42HlN69dZY68AczKgem4ZZ4."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_67"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:23.472410' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_68@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_68@example.jp"], ["encrypted_password", "$2a$04$WLoWiZpvBVluA23B8zLeaunbdWUp9zMBkYG3yF7C.Z5fsASk1tmi."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_68"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:23.484374' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_31' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_31"], ["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_31"], ["title", "message_template_31"], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_31' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.6ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_69@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_69@example.jp"], ["encrypted_password", "$2a$04$dt1E/F6lnND6dn4.jPJ4FOUpk8NX9i/Af0cdHbWA2oTvghtDDY.VK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_69"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:23.506309' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_70@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_70@example.jp"], ["encrypted_password", "$2a$04$fPFPjTnuTuD2pAT5VS7FM.Vs4jiRYmQbEZh1Wo2H5iTfwjUNdCjK."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_70"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:23.516807' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_32' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_32"], ["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_32"], ["title", "message_template_32"], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 5ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_71@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_71@example.jp"], ["encrypted_password", "$2a$04$Hharl7ftDgBzxKsWR6xwd.7VtwOLZ6QAdhPgbiTR8I3XcVxRN8bPm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_71"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:23.540121' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_72@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_72@example.jp"], ["encrypted_password", "$2a$04$1hH1dRsL4S2.x6LLsiOB5OVESjB1SxsEYJKHYaeHj.hObirI7Nna6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_72"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:23.549283' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_33' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_33"], ["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_33"], ["title", "message_template_33"], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_33' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.6ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_7@example.jp"], ["encrypted_password", "$2a$04$MxIwuwuVMao.JvQtiXEX4OvGcEgW9bnImbmmxX/hHyy4iz1g3QPH2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_7"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["user_id", 13]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:23.567734' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 13 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 7ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_73@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_73@example.jp"], ["encrypted_password", "$2a$04$vj2T3qGvFwbCXWwrbiUla.O2GTyEjcZ10kPR605gsb.4KVwhtIO92"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_73"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:23.586115' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_74@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_74@example.jp"], ["encrypted_password", "$2a$04$puf6WSU2Dr7.ZHKKF7246.uCw.NoqaCUcNN/ud7Sw6xSkAFrl5hU6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_74"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:23.595291' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_34' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_34"], ["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_34"], ["title", "message_template_34"], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_34' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_8@example.jp"], ["encrypted_password", "$2a$04$tl8xW5yXJxL7Ol6yO7h0SeAoWCdTBcikUjIA0R78uBpn/wrdlSCJm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_8"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:23.610955' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 13 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 40ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_75@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_75@example.jp"], ["encrypted_password", "$2a$04$ZrK8VNo2Fh8A2TqwfkG/feN5gqgGhpyAnsSu2z.mSUsDuwSl6JOP2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_75"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:23.663330' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_76@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_76@example.jp"], ["encrypted_password", "$2a$04$9sqAud039gCkwm3JVyhEh.Ck8aA735lOyitr3EajigjHdNHo4Z9WG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_76"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:23.672438' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_35' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_35"], ["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_35"], ["title", "message_template_35"], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_35' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_7@example.jp"], ["encrypted_password", "$2a$04$gtWo7xnQZwz4aBmjTR7hiumXAzCP9hoD2unWw6iSMWozIHvo5hEKa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_7"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:23.688430' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 13 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 6ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_77@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_77@example.jp"], ["encrypted_password", "$2a$04$CtPD8PkWUr5ow0cP6Xan.e8Lys1XU5oj7NsYad0I13g4MFuP0khX."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_77"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:23.706427' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_78@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_78@example.jp"], ["encrypted_password", "$2a$04$Oz3D2Nc0eoQl1Bke3qpf5.RpEFt484QSTCZq87dYksNgewdkgPiLm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_78"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:23.714821' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_36' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_36"], ["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_36"], ["title", "message_template_36"], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_36' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_8@example.jp"], ["encrypted_password", "$2a$04$JjKRZ6gg6LqQONDQXoi9iegpXBwATslRo9cZgjqlPCx/VhEpIxndK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_8"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:23.729414' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 13 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 6ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_79@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_79@example.jp"], ["encrypted_password", "$2a$04$.fmLHo.ip2jadx7NG6b5Y.QWnQZMek51z2zrUkOXtdv/amef.abP2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_79"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:23.747411' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_80@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_80@example.jp"], ["encrypted_password", "$2a$04$lvMl.ze5MoECxLtE.fz.yuTrwhWcTWVVoWL4EJPCQnfeztiQMY7Zq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_80"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:23.756133' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_37' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_37"], ["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_37"], ["title", "message_template_37"], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_37' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.6ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_81@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_81@example.jp"], ["encrypted_password", "$2a$04$J02yQCEzOMHX962jxZiQKe3IWyIjroCEHa2WAPI9wOZu/JXWXbyju"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_81"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:23.771850' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 13 LIMIT 1 Completed 403 Forbidden in 40ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_82@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_82@example.jp"], ["encrypted_password", "$2a$04$k3ZkWbhNnIyIO.SpPl/cDOS3ZcaD.9u9oRBE1ms5buowZfEsfK7ty"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_82"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:23.823335' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_83@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_83@example.jp"], ["encrypted_password", "$2a$04$9DrvJfsdxc.HO046DGlNK.5qxfOvNXzfAWqzJ1iDBM740wDZJuCGK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_83"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:23.832354' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_38' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_38"], ["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_38"], ["title", "message_template_38"], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_38' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_84@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_84@example.jp"], ["encrypted_password", "$2a$04$/Pnfh0xHLm6Bw6i5BjjVw.DOVaH7KJLGMh82CwhTNlke9mpnxeUsm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_84"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:23.846971' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 13 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_85@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_85@example.jp"], ["encrypted_password", "$2a$04$9Orr4guA4Op0hbHvUQM8ReQTnECd0sZZsZO/L59bOIuK.uovmbeoq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_85"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:23.865444' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_86@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_86@example.jp"], ["encrypted_password", "$2a$04$0jt2Wfj4t0YIJEt1sfte7.Vo9It9nvCky4fZlgx7482gbunvh0dze"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_86"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:23.874178' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_39' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_39"], ["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_39"], ["title", "message_template_39"], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_39' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 5ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_87@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_87@example.jp"], ["encrypted_password", "$2a$04$nYN8zwf/uC.A/cTmVWFht.QVXmy/XyMyls.vzas5v7F3tuqkvPXL."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_87"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:23.897493' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_88@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_88@example.jp"], ["encrypted_password", "$2a$04$rfPrU8EVqTaGcR5X4D/mI.f9DCp/UiZozqI7SDpWYoOkwho34DqMy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_88"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:23.905677' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_40' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_40"], ["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_40"], ["title", "message_template_40"], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_40' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_41' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_41"], ["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_41"], ["title", "message_template_41"], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_9@example.jp"], ["encrypted_password", "$2a$04$lFdWkH7.SdzwIDf6Qn5WROVeEBsVcbNhaIkkU6ty1g1olczT1B.k."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_9"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:23.931713' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 200 OK in 10ms (Views: 4.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position LIMIT 10 OFFSET 0  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (34.8ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_42' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_42"], ["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_42"], ["title", "message_template_42"], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_9@example.jp"], ["encrypted_password", "$2a$04$/FU579uF1EOMXbZfwtlhTedUlPOHje2uJX0K4JKUHMXtcDrZu7hr."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_9"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 19:11:23 UTC +00:00], ["user_id", 11]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:23.995444' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 200 OK in 8ms (Views: 1.0ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position LIMIT 10 OFFSET 0  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_43' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_43"], ["created_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_43"], ["title", "message_template_43"], ["updated_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_89@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_89@example.jp"], ["encrypted_password", "$2a$04$tLh9vo47bSaGjjniLO.qJePAu.1GJBNO6XXAiSzjScg5NPOCHLCf2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_89"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:24.021534' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "message_templates" WHERE ('t'='f')  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_44' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_44"], ["created_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_44"], ["title", "message_template_44"], ["updated_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 3ms  (0.1ms) SELECT COUNT(*) FROM "message_templates" WHERE ('t'='f') Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_10@example.jp"], ["encrypted_password", "$2a$04$CnMK1aoCmlNdkR4lZsyyW.4J0HbG4kln0NUgtxr/0h9yqmh1FcDt."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_10"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:24.049231' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_45' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_45"], ["created_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_45"], ["title", "message_template_45"], ["updated_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 200 OK in 8ms (Views: 2.8ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_10@example.jp"], ["encrypted_password", "$2a$04$7oAu9PcJNhhsfTnYZcVEcuJjcdEpIcEbkcR7xs5qy0/HDDCVk9jPW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_10"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:24.072584' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_46' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_46"], ["created_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_46"], ["title", "message_template_46"], ["updated_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_90@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_90@example.jp"], ["encrypted_password", "$2a$04$cbtU7eoF7Le6plzUOSBuNu8bL/.DWLZa5U8WSX6IKX9X9s6Dkqm1u"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_90"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:24.094924' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_47' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_47"], ["created_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_47"], ["title", "message_template_47"], ["updated_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_48' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_48"], ["created_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_48"], ["title", "message_template_48"], ["updated_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_11@example.jp"], ["encrypted_password", "$2a$04$kceT/VN1lPxL1HGld06KC.iKPCKlyABpIio1L6u.EiPkpDBxIdoHC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_11"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:24.125919' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_11@example.jp"], ["encrypted_password", "$2a$04$MuT16yXkmDYaW3d3qBI7.OHNHtb3EBLNXwKS1JOFdBGRx6lluwNAq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_11"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:24.183630' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_91@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_91@example.jp"], ["encrypted_password", "$2a$04$C.O9H.wJZPklYc2gp/Eb5e5hjXMEMVD0vrLox49F3D29P1XPx6iGi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_91"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:24.206321' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Processing by MessageTemplatesController#new as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 3ms MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_12@example.jp"], ["encrypted_password", "$2a$04$93p8YiUsCZ1DDX89ZUrAZuEnuzBLPo6HwKbTwC86JLjQ2Kd/K5QAG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_12"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:24.233588' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_49' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_49"], ["created_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_49"], ["title", "message_template_49"], ["updated_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 200 OK in 8ms (Views: 2.6ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_12@example.jp"], ["encrypted_password", "$2a$04$5P4kNM5P3o4YIqk4h1BlLutfkT9vtlkwQDFlDuD1XphX.7l0sgXkK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_12"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:24.255772' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_50' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_50"], ["created_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_50"], ["title", "message_template_50"], ["updated_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_92@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_92@example.jp"], ["encrypted_password", "$2a$04$7mPt7iCAqx0xFT.8RjQZc.aKX0/ZV98a5U501zL1/jDqOtCp8xqE6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_92"]] SQL (0.4ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:24.277082' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_51' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_51"], ["created_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_51"], ["title", "message_template_51"], ["updated_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_52' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_52"], ["created_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_52"], ["title", "message_template_52"], ["updated_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_13@example.jp"], ["encrypted_password", "$2a$04$xFIJWEUpCW.9NFZbax2VNOf3.dGuxIOxro7Tbfkq5RYVUcgUSpsku"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_13"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:24.313431' WHERE "roles"."id" = 4  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_53", "status"=>"message_template_53", "body"=>"message_template_53"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_53' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (57.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_14@example.jp"], ["encrypted_password", "$2a$04$FzOv2FbQEMwvwAJqfAzTNOoJrIRHX1V.hkGditFOhDWZDuwmUNIaO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_14"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["user_id", 11]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:24.393456' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_54", "status"=>"message_template_54", "body"=>"message_template_54"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_15@example.jp"], ["encrypted_password", "$2a$04$nHD1PsbHbG5bbqTJyjphBei2L6Ze.r8.gkb6u69O5ICM9Q7Q876KS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_15"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:24.428539' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.0ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_16@example.jp"], ["encrypted_password", "$2a$04$dru5ApN711G0zDi6ze6UieCSEDPV9oVULzMl0n4YflG7.bbNiyBm2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_16"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:24.458362' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_13@example.jp"], ["encrypted_password", "$2a$04$Wxc6pwIoiBZls4tB5LeqMux.ovAg6DIp5xV0rn3ITRVYRV0PrCKxW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_13"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:24.485776' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_57", "status"=>"message_template_57", "body"=>"message_template_57"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 8ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_57' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_14@example.jp"], ["encrypted_password", "$2a$04$KBR8XYAG4pd.562/xajZnuG7btu09N91wngmJ4z5Gn8Av5sbAw.vi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_14"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:24.514007' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_58", "status"=>"message_template_58", "body"=>"message_template_58"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_15@example.jp"], ["encrypted_password", "$2a$04$h9mlrhFr0x.KfgMqehayW.M0CZTU/EWsF7A17DjufX/n7/CkrEd8G"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_15"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:24.543342' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 8ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_16@example.jp"], ["encrypted_password", "$2a$04$inR.n01cQyXhgL95Ltye0OiKmRos1lOuU8fwpLY2ktxnsb56E8hKq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_16"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:24.573817' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_93@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_93@example.jp"], ["encrypted_password", "$2a$04$2W4kzvW3EnCCsTdTEBwbgez2eMt3Spu3gwLSTQZL.v75gxJspEdWq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_93"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["user_id", 11]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:24.656519' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_61", "status"=>"message_template_61", "body"=>"message_template_61"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_61' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_94@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_94@example.jp"], ["encrypted_password", "$2a$04$atRPZLTGaQU50benCYwheOyW/mN0uRBkMMcTAnXyiVbgt9s64ULtK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_94"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:24.691857' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_62", "status"=>"message_template_62", "body"=>"message_template_62"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_95@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_95@example.jp"], ["encrypted_password", "$2a$04$tbRlBuGaNKy5CLudj50Ts.rKxnbj.RedJzV02bdfVzhAsQRBPxZx."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_95"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:24.719001' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_96@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_96@example.jp"], ["encrypted_password", "$2a$04$xI6f5ki4EezRngXRyE33vu5LCQ1wc2xPwbgibvSQ2D.2f6rpBmnKK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_96"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:24.750853' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_65", "status"=>"message_template_65", "body"=>"message_template_65"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_65' LIMIT 1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_66", "status"=>"message_template_66", "body"=>"message_template_66"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 5ms Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 5ms MessageTemplate Load (0.4ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_69' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_69"], ["created_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_69"], ["title", "message_template_69"], ["updated_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_17@example.jp"], ["encrypted_password", "$2a$04$R54qvVvEVdX4fQfALQ0xwe.UTLYqqPTHTxu1SPnhy4n1Qlk9ESZQu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_17"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:24.827587' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_70", "status"=>"message_template_70", "body"=>"message_template_70"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_70' AND "message_templates"."id" != 9) LIMIT 1  (0.2ms) UPDATE "message_templates" SET "title" = 'message_template_70', "status" = 'message_template_70', "body" = 'message_template_70', "updated_at" = '2011-12-17 19:11:24.841480' WHERE "message_templates"."id" = 9  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates/9 Completed 302 Found in 25ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_71' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_71"], ["created_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_71"], ["title", "message_template_71"], ["updated_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_18@example.jp"], ["encrypted_password", "$2a$04$m0OvkpqMcurKTp0Nh6ofHeqlSytHcICWEoU7eHziUfnuoMAndigBS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_18"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:24.937059' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_72", "status"=>"message_template_72", "body"=>"message_template_72"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_72' AND "message_templates"."id" != 9) LIMIT 1  (0.2ms) UPDATE "message_templates" SET "title" = 'message_template_72', "status" = 'message_template_72', "body" = 'message_template_72', "updated_at" = '2011-12-17 19:11:24.952034' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates/9 Completed 302 Found in 14ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_73' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_73"], ["created_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_73"], ["title", "message_template_73"], ["updated_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_19@example.jp"], ["encrypted_password", "$2a$04$F4AQWfFPhdPs1ZqAGaEPbOF/UFLAniJfbwWjd.Z8fDz2BThj2SiHS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_19"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:24.976430' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_74", "status"=>"message_template_74", "body"=>"message_template_74"}, "position"=>"2", "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "message_templates" SET "position" = 0, "updated_at" = '2011-12-17 19:11:24.987982' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "message_templates" SET position = (position - 1) WHERE "message_templates"."id" IN (SELECT "message_templates"."id" FROM "message_templates" WHERE (1 = 1 AND position > 9) ORDER BY position) SQL (0.2ms) UPDATE "message_templates" SET position = (position + 1) WHERE "message_templates"."id" IN (SELECT "message_templates"."id" FROM "message_templates" WHERE (1 = 1 AND position >= 2) ORDER BY position)  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "message_templates" SET "position" = 2, "updated_at" = '2011-12-17 19:11:24.990645' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates Completed 302 Found in 12ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_75' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_75"], ["created_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_75"], ["title", "message_template_75"], ["updated_at", Sat, 17 Dec 2011 19:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_20@example.jp"], ["encrypted_password", "$2a$04$nLstNbaSp99VI6OWIVKnt.yDvTdzNSrAwWsvFyackWs93C7/Qu8Oq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_20"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:25 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 19:11:25 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:25.012886' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = '' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 12ms (Views: 1.1ms | ActiveRecord: 0.0ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_77' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_77"], ["created_at", Sat, 17 Dec 2011 19:11:25 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_77"], ["title", "message_template_77"], ["updated_at", Sat, 17 Dec 2011 19:11:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_17@example.jp"], ["encrypted_password", "$2a$04$C8XDGzztqO7wG4N39g9ptubpOwTFXzeXk2kpoI6UE6lZp3fySRHQW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_17"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:25 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 19:11:25 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:25.050671' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_78", "status"=>"message_template_78", "body"=>"message_template_78"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_79' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_79"], ["created_at", Sat, 17 Dec 2011 19:11:25 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_79"], ["title", "message_template_79"], ["updated_at", Sat, 17 Dec 2011 19:11:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_18@example.jp"], ["encrypted_password", "$2a$04$VctpEb9XQMjOgkW9t4AUrOwqxSKkwGcJQKiVLAAChcmRDsF1T3kr2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_18"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:25 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 19:11:25 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:25.083844' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_80", "status"=>"message_template_80", "body"=>"message_template_80"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 2.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_81' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_81"], ["created_at", Sat, 17 Dec 2011 19:11:25 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_81"], ["title", "message_template_81"], ["updated_at", Sat, 17 Dec 2011 19:11:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_19@example.jp"], ["encrypted_password", "$2a$04$u3QAlwmw8S.F.k0S7DWb5OwAxXcxmLmhXB/cj1DpTqV7ZJGXU5wKO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_19"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:25 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 19:11:25 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:25.117911' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.4ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_83' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_83"], ["created_at", Sat, 17 Dec 2011 19:11:25 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_83"], ["title", "message_template_83"], ["updated_at", Sat, 17 Dec 2011 19:11:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_97@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (59.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_97@example.jp"], ["encrypted_password", "$2a$04$0jCQNUJvrVOdsDCsr8fOJu8SwJs5xH0F4Px7ZYFvDB4j7YJsV6CwO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_97"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:25 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:25 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:25.210886' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_84", "status"=>"message_template_84", "body"=>"message_template_84"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.5ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_85' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_85"], ["created_at", Sat, 17 Dec 2011 19:11:25 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_85"], ["title", "message_template_85"], ["updated_at", Sat, 17 Dec 2011 19:11:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_98@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_98@example.jp"], ["encrypted_password", "$2a$04$FPkrfe4MQD5esfEUAW1RBuuwWqMmYENPQcgtXK0KIEr25aVzGo..y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_98"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:25 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:25 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:25.244245' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_86", "status"=>"message_template_86", "body"=>"message_template_86"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_87' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_87"], ["created_at", Sat, 17 Dec 2011 19:11:25 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_87"], ["title", "message_template_87"], ["updated_at", Sat, 17 Dec 2011 19:11:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.4ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_99@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_99@example.jp"], ["encrypted_password", "$2a$04$f3Q0AgzMsiNHxIQUPUxIGeVX0B/QDHy1neaLS10ITn.e2Agmv8WIi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_99"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:25 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:25 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:25.275505' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.5ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_89' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_89"], ["created_at", Sat, 17 Dec 2011 19:11:25 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_89"], ["title", "message_template_89"], ["updated_at", Sat, 17 Dec 2011 19:11:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_90", "status"=>"message_template_90", "body"=>"message_template_90"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_91' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_91"], ["created_at", Sat, 17 Dec 2011 19:11:25 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_91"], ["title", "message_template_91"], ["updated_at", Sat, 17 Dec 2011 19:11:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_92", "status"=>"message_template_92", "body"=>"message_template_92"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_93' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_93"], ["created_at", Sat, 17 Dec 2011 19:11:25 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_93"], ["title", "message_template_93"], ["updated_at", Sat, 17 Dec 2011 19:11:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_95' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_95"], ["created_at", Sat, 17 Dec 2011 19:11:25 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_95"], ["title", "message_template_95"], ["updated_at", Sat, 17 Dec 2011 19:11:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_21@example.jp"], ["encrypted_password", "$2a$04$Cm6w0d0TYagAQr/cl0xCYO4asEphuHhD.H5yJGv1MpFN0brdeTL5G"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_21"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:25 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 19:11:25 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:25.374677' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_96' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_96"], ["created_at", Sat, 17 Dec 2011 19:11:25 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_96"], ["title", "message_template_96"], ["updated_at", Sat, 17 Dec 2011 19:11:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_22@example.jp"], ["encrypted_password", "$2a$04$QQEz2nVeJ21ZDSvRjJ8NVeSH17pTei7mnsFmVXJVAuSP3jbM6QwDC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_22"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:25 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 19:11:25 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:25.408964' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_97' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_97"], ["created_at", Sat, 17 Dec 2011 19:11:25 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_97"], ["title", "message_template_97"], ["updated_at", Sat, 17 Dec 2011 19:11:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_20@example.jp"], ["encrypted_password", "$2a$04$m3v76mP1o.ApzKefC7AjWugahORV8iDsDncOCyT6EWuMrqYItkcfm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_20"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:25 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 19:11:25 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:25.444666' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 75ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_98' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_98"], ["created_at", Sat, 17 Dec 2011 19:11:25 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_98"], ["title", "message_template_98"], ["updated_at", Sat, 17 Dec 2011 19:11:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_21@example.jp"], ["encrypted_password", "$2a$04$393JIJmunQWfx.tehptKEeh1KKRAirIBtHyfbrxX42EHJH236eH0a"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_21"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:25 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 19:11:25 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:25.543714' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.5ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.4ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_99' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_99"], ["created_at", Sat, 17 Dec 2011 19:11:25 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_99"], ["title", "message_template_99"], ["updated_at", Sat, 17 Dec 2011 19:11:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_100@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_100@example.jp"], ["encrypted_password", "$2a$04$AQ15EnTVbW/WWTfBXLyhMu2D8z2K75p1k8/UQDblqzN4yjiOztlJW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_100"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:25 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:25 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:25.585988' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 15ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_100' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_100"], ["created_at", Sat, 17 Dec 2011 19:11:25 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_100"], ["title", "message_template_100"], ["updated_at", Sat, 17 Dec 2011 19:11:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_101@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_101@example.jp"], ["encrypted_password", "$2a$04$HMRrFmiCf7Hn9WiFkefYouJhNzfNJv4sM4QUsC8DIWLinKNI6hq.S"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_101"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:25 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:25 UTC +00:00], ["user_id", 11]]  (0.8ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:25.629460' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 16ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (3.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.3ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_101' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_101"], ["created_at", Sat, 17 Dec 2011 19:11:25 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_101"], ["title", "message_template_101"], ["updated_at", Sat, 17 Dec 2011 19:11:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 11ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_102' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_102"], ["created_at", Sat, 17 Dec 2011 19:11:25 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_102"], ["title", "message_template_102"], ["updated_at", Sat, 17 Dec 2011 19:11:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 12ms Role Load (0.3ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.2ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.3ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (6.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_23@example.jp"], ["encrypted_password", "$2a$04$KIO2gKrx5f3vWqMIAYaXkeelyLj0JeYL0Jq/oZDIhVy3z4oDavDRi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_23"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:27 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 19:11:27 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:27.519629' WHERE "roles"."id" = 4  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 SOLR Request (7.0ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A11&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (3.5ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A11&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 232ms (Views: 8.4ms | ActiveRecord: 0.4ms | Solr: 10.5ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_24@example.jp"], ["encrypted_password", "$2a$04$KIBT8bJkCKAF9JWc4R1Q7e6ONAlNZnkh8l2RWD8P7Z9D4JO9.BGAq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_24"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:27 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 19:11:27 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:27.776112' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML Parameters: {"user_id"=>"admin_24"} User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'admin_24' LIMIT 1 SOLR Request (6.6ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A11&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (9.1ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A11&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 26ms (Views: 1.4ms | ActiveRecord: 0.9ms | Solr: 15.7ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_22@example.jp"], ["encrypted_password", "$2a$04$nbWcme7CkuSM.Iz2xrVJW.yuYiApwZgueesyGicGXDO20Sg32gyc6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_22"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:27 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 19:11:27 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:27.823254' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 SOLR Request (5.8ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A11&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (3.5ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A11&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 19ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 9.2ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_23@example.jp"], ["encrypted_password", "$2a$04$uq9wC1aoUn.CrqoTnGzi9OB6USYcg8ED7vQk5cCx7dyZ.ZvpAfYZq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_23"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:27 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 19:11:27 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:27.880543' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML Parameters: {"user_id"=>"librarian_23"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'librarian_23' LIMIT 1 SOLR Request (19.2ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A11&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (5.9ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A11&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 38ms (Views: 1.5ms | ActiveRecord: 0.5ms | Solr: 25.0ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 SOLR Request (10.4ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (6.5ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Message Load (0.3ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IN (2) Completed 200 OK in 55ms (Views: 1.5ms | ActiveRecord: 0.6ms | Solr: 17.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML Parameters: {"query"=>"you"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 SOLR Request (19.9ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&q=you&fl=%2A+score&qf=body_text+subject_text&defType=dismax&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (26.2ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&q=you&fl=%2A+score&qf=body_text+subject_text&defType=dismax&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IN (2) Completed 200 OK in 71ms (Views: 1.6ms | ActiveRecord: 0.6ms | Solr: 46.1ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 SOLR Request (185.2ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (6.7ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IN (2) Completed 200 OK in 208ms (Views: 2.0ms | ActiveRecord: 0.6ms | Solr: 191.8ms) Processing by MessagesController#index as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 1227ms (Views: 2.2ms | ActiveRecord: 0.5ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.8ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#show as HTML Parameters: {"id"=>"2"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 3 AND "messages"."id" = ? LIMIT 1 [["id", "2"]]  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "messages" SET "read_at" = '2011-12-17 19:11:29.632176', "updated_at" = '2011-12-17 19:11:29.632433' WHERE "messages"."id" = 2 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1  (0.4ms) UPDATE "messages" SET "state" = 'read', "updated_at" = '2011-12-17 19:11:29.637220' WHERE "messages"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 19ms (Views: 2.8ms | ActiveRecord: 1.1ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (36.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:29 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_25@example.jp"], ["encrypted_password", "$2a$04$74hG1RCVFjFYh8.xmlseJepzY1jJajKWVFKTh88HhAlXGGuBedie2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:29 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_25"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:29 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 19:11:29 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:29.845085' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 Completed 200 OK in 10ms (Views: 2.7ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:29 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_24@example.jp"], ["encrypted_password", "$2a$04$Lu/qwZcRw8hePVjl1EXPdO7UUkdLm8OYYBpqrHAxkMIMwlqr1D1FK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:29 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_24"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:29 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 19:11:29 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:29.930442' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 Completed 200 OK in 7ms (Views: 0.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 1.1ms | ActiveRecord: 0.2ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML Parameters: {"parent_id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 1.3ms | ActiveRecord: 0.2ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML Parameters: {"parent_id"=>"2"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.8ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Processing by MessagesController#new as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_26@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_26@example.jp"], ["encrypted_password", "$2a$04$urKnruCVBPos5jkY4Z9teuhvX2qwhEKTnngqHCaRtfOKrjuTC4MTG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_26"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:30.077781' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 11 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 9ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_25@example.jp"], ["encrypted_password", "$2a$04$311YqGyG6MtHwAT5dsQWU.YHSHj9gb3UzyUFHTxLxjGArGQKdUyrO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_25"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:30.108694' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 0.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 8ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_102@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (41.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_102@example.jp"], ["encrypted_password", "$2a$04$pwqKODwCxhhL0HhXGD7W9.O9rywDci8jZs3SmlNiB1p.zo9C/VSSO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_102"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:30.185057' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_103@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_103@example.jp"], ["encrypted_password", "$2a$04$Nizg7t8Xd/puA/xNPzMy8Opk4PNROg1e/CaUxD0nJzWPEId2N1y6W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_103"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:30.193593' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "user_102"]]  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_27@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_27@example.jp"], ["encrypted_password", "$2a$04$8kcurKOwRViS4xC.af0uNu.35.h1p4uSJlYcBH/4S.gu3x5QtlIZS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_27"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:30.226115' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}, "user_id"=>"user1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 11ms (Views: 0.9ms | ActiveRecord: 0.5ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_28@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_28@example.jp"], ["encrypted_password", "$2a$04$8Js2ffUTma/j38zI9yaPbOvZVI10iBhFLE9MP78CEaNb3aMt64c82"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_28"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:30.251264' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}, "user_id"=>"user1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 1.0ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_29@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_29@example.jp"], ["encrypted_password", "$2a$04$D9lRlPkQidVHZ/9xW.3nSeFVuz0c8EdiyQ0NPp.JO3aCzjVXLr8Xy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_29"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:30.273229' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}, "user_id"=>"user1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 9ms (Views: 0.9ms | ActiveRecord: 0.4ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_30@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_30@example.jp"], ["encrypted_password", "$2a$04$kLqxwPvJftVbqpew4sz8AOe/AwfAwVucsQQX99TQhg96dBWsQQiT2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_30"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["user_id", 11]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:30.295923' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}, "user_id"=>"user1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 9ms (Views: 0.9ms | ActiveRecord: 0.4ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test", "parent_id"=>"2"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = 2 LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "user2"]]  (0.0ms) SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "user2"]]  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 404 Not Found in 11ms (Views: 1.1ms | ActiveRecord: 0.5ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test", "parent_id"=>"2"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 1.2ms | ActiveRecord: 0.2ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 5ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 75ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 8ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_104@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_104@example.jp"], ["encrypted_password", "$2a$04$WoHlG3pSrcCO04/hpkZ4z.9BmQ8T7Ntyo.TY.QN7Idzl4vGmGnDuS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_104"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:30.485004' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_105@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_105@example.jp"], ["encrypted_password", "$2a$04$8PK7nPZghnJoAOhBWsgQnuU1Z933SdQvtXG5vdSIZ74geBcFFJD9e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_105"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:30.506476' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_104", "sender_id"=>"12", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 12ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_106@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_106@example.jp"], ["encrypted_password", "$2a$04$Gf5CnofmfePjJixk6tUMoOeuZAFsykKfzwYGsNKlbX90zARcr2nrm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_106"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:30.539412' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (1.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_107@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_107@example.jp"], ["encrypted_password", "$2a$04$X/eSPCTq3f66ExL4EZ8kpus5SDwps.zLQ2ZbvK5I7FGSx3gRcasjm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_107"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:30.555030' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_106", "sender_id"=>"12", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 13ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (2.8ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_108@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_108@example.jp"], ["encrypted_password", "$2a$04$5v/GhzUQT7IzlUAtNIdOp.HaIrzFlR/pYXvk/bTMLQddJXfXP8Ljm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_108"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:30.604432' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_109@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_109@example.jp"], ["encrypted_password", "$2a$04$ZX3xTP4Rt6j/isvEqvpW8utg3ZMAOlnM5xDp349Q03ax2LJRO3YOi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_109"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:30.620164' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (1.8ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 13ms (Views: 1.3ms | ActiveRecord: 2.1ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_110@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_110@example.jp"], ["encrypted_password", "$2a$04$SjQ26lJw2ECAyjLK29SECuXSy/1f643SOAxfNL3v4i7AnInVvC4We"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_110"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:30.652836' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_111@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_111@example.jp"], ["encrypted_password", "$2a$04$CvHtdJb1xgtcV/gN9TCHHe0zh.MWl/Zq2F6e/XETDVTMKsdpYssF."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_111"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:30.668305' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 79ms (Views: 1.4ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_112@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_112@example.jp"], ["encrypted_password", "$2a$04$oZi.nL6.2cweFs4oCwpjaugi0jCE/A8GkQyUrWfNtNZa5uGLcj/HO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_112"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:30.771612' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_113@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_113@example.jp"], ["encrypted_password", "$2a$04$H9VpFXE3ZMAfepvkgLs0EOdBOp/xCmYPdd4UHnjWtw0c2RYS0YgKm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_113"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:30.788802' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_112", "sender_id"=>"12", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 14ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_114@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_114@example.jp"], ["encrypted_password", "$2a$04$mec2eq2ibA8AJNhr4WGm/O2wfA25dU6WjMeKyICmXBhGKoZrBQlwG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_114"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:30.823999' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_115@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_115@example.jp"], ["encrypted_password", "$2a$04$WSymSt34MWPrlSJYXDhPROqdU9z7p0wUxeVhiairksvAYuUqzO.Uu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_115"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:30.837523' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_114", "sender_id"=>"12", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 17ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_116@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_116@example.jp"], ["encrypted_password", "$2a$04$xRQIC5E/tY3rArKVh4TCU.0E1GhBKlR2Hz68iODh18pkBKr2rYOV6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_116"]] SQL (0.8ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["user_id", 11]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:30.882036' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_117@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_117@example.jp"], ["encrypted_password", "$2a$04$XKHLTgmAPTaRqPUk8.6Mp.pwB3P.IhZzlqwTXMgOxGO2lTpEsekPW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_117"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["user_id", 12]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:30.896380' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_118@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_118@example.jp"], ["encrypted_password", "$2a$04$1M24dzMXfyHXn2orIJswXO2kQPPVyIHD6wN4A4thuKkjp.vPKCQXq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_118"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:30.931296' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_119@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (5.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_119@example.jp"], ["encrypted_password", "$2a$04$ZvZ.upBPsU78/rMtmAnC8OGipX/f70D4zbjKG4jfgsys/yDAaEvcK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_119"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:30 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:30.948429' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.4ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_120@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_120@example.jp"], ["encrypted_password", "$2a$04$vj6AMna.FNMg0OdiG9QaPOwAeFvV.3yDS1LYR0GapBKWvArblkTjy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:31 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_120"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:31 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:31 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:31.058537' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_121@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_121@example.jp"], ["encrypted_password", "$2a$04$GqXOQ2qbPJqEjA5nbBsM3urCgMigIa4pcpl2Xwa46GdRblGufgYWa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:31 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_121"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:31 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:31 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:31.072990' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_122@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_122@example.jp"], ["encrypted_password", "$2a$04$gUHtMM3u9/H1wF2laPAX6.IKs9DlYoFzrY4eA/ZxptIJyLvTsJsPO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:31 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_122"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:31 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:31 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:31.106748' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_123@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_123@example.jp"], ["encrypted_password", "$2a$04$dfIoZgsi8oWD9vSnfFT.Teb5AxC.iq0V0dPmwsB5saCmL2WzdJ8fa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:31 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_123"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:31 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:31 UTC +00:00], ["user_id", 12]]  (0.9ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:31.120729' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 16ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_124@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_124@example.jp"], ["encrypted_password", "$2a$04$3F09k3d/SgOgOkSmtdBBL.kn3C0Yj.sm9nCyO155pLmzOVnNMF1dO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:31 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_124"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:31 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:31 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:31.158747' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_125@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_125@example.jp"], ["encrypted_password", "$2a$04$rxJozFW/7HqZFuNmCMVtnOp/kdIueL6wQzJOA/In5dPCeE3tO2yHy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:31 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_125"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:31 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:31 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:31.172117' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_124", "sender_id"=>"12", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.3ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_126@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_126@example.jp"], ["encrypted_password", "$2a$04$PspWEsIfbXZHRlH8KVqEvO36XPqPgL1a2PNW8yakLcVyhS3LUdR6q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:31 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_126"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:31 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:31 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:31.214585' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_127@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_127@example.jp"], ["encrypted_password", "$2a$04$YUX9KI1adETY6S/7MZ20/OnARZOZu8ehzPhRKj3DaiuiuLQlB5s.m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:31 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_127"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:31 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:31 UTC +00:00], ["user_id", 12]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:31.236767' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_126", "sender_id"=>"12", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_128@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_128@example.jp"], ["encrypted_password", "$2a$04$XuE3V22ak76EeAS.X/G5wehosm7wWrZ7er9cGcZXw3BWn/qc3gCc."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:31 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_128"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:31 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:31 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:31.270387' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_129@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (62.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_129@example.jp"], ["encrypted_password", "$2a$04$8Kks4iJwN0ZQUqDA8pG2sOtWJCsKiUPJWxGzVwtODWqu4wNYbOT1m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:31 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_129"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:31 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:31 UTC +00:00], ["user_id", 12]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:31.344530' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_130@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_130@example.jp"], ["encrypted_password", "$2a$04$/4bs/QFLaw.jllK9.two3.sDPw7MdWjxwVicx5Syvn.mtx12WpeS2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:31 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_130"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:31 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:31 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:31.375584' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_131@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_131@example.jp"], ["encrypted_password", "$2a$04$Zi6aCBrFfaZjpdyb03/3tuZUh0WWwRtnSsrL329rTkuRUNlb6YyIK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:31 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_131"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:31 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:31 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:31.389222' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.6ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_132@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_132@example.jp"], ["encrypted_password", "$2a$04$B.xofTjA1Z4FGNATp.tEvu2wOUvWXHj0Xb1P1MP.godMqOQxk2onu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:31 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_132"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:31 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:31 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:31.421901' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_133@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_133@example.jp"], ["encrypted_password", "$2a$04$vo61DuC9YBbgDt/jF0CQ6.IF286y/JYmlZPkjxmlWsCJTvCCz5s0m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:11:31 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_133"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:11:31 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:11:31 UTC +00:00], ["user_id", 12]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:11:31.436413' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#destroy as HTML Parameters: {"id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 3 AND "messages"."id" = ? LIMIT 1 [["id", "2"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "messages" WHERE ("lft" > 3 AND "rgt" < 4) SQL (0.4ms) UPDATE "messages" SET "lft" = ("lft" - 2) WHERE "messages"."id" IN (SELECT "messages"."id" FROM "messages" WHERE ("lft" > 4) ORDER BY "lft") SQL (0.5ms) UPDATE "messages" SET "rgt" = ("rgt" - 2) WHERE "messages"."id" IN (SELECT "messages"."id" FROM "messages" WHERE ("rgt" > 4) ORDER BY "lft") SQL (0.2ms) DELETE FROM "messages" WHERE "messages"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/messages Completed 302 Found in 14ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 8ms Fixture Delete (0.4ms) DELETE FROM "message_requests" Fixture Insert (0.2ms) INSERT INTO "message_requests" ("sender_id", "receiver_id", "message_template_id", "state", "created_at", "updated_at", "id") VALUES (1, 1, 1, 'pending', '2011-12-17 19:33:19', '2011-12-17 19:33:19', 980190962) Fixture Insert (0.1ms) INSERT INTO "message_requests" ("sender_id", "receiver_id", "message_template_id", "state", "created_at", "updated_at", "id") VALUES (1, 1, 1, 'pending', '2011-12-17 19:33:19', '2011-12-17 19:33:19', 298486374) Fixture Delete (0.1ms) DELETE FROM "message_templates" Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (1, 'reservation_accepted', 'Reservation accepted', 'Reservation accepted', 1, '2011-12-17 19:33:19', '2011-12-17 19:33:19') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (2, 'item_received', 'Item received', 'Item received', 2, '2011-12-17 19:33:19', '2011-12-17 19:33:19') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (3, 'reservation_expired_for_patron', 'Reservation expired', 'Reservation expired', 3, '2011-12-17 19:33:19', '2011-12-17 19:33:19') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (4, 'reservation_expired_for_library', 'Reservation expired', 'Reservation expired', 4, '2011-12-17 19:33:19', '2011-12-17 19:33:19') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (5, 'reservation_canceled_for_patron', 'Reservation canceled', 'Reservation canceled', 5, '2011-12-17 19:33:19', '2011-12-17 19:33:19') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (6, 'reservation_canceled_for_library', 'Reservation canceled', 'Reservation canceled', 6, '2011-12-17 19:33:19', '2011-12-17 19:33:19') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (7, 'recall_item', 'Recall item', 'Recall item', 7, '2011-12-17 19:33:19', '2011-12-17 19:33:19') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (8, 'recall_overdue_item', 'Recall overdue item', 'Recall overdue item', 8, '2011-12-17 19:33:19', '2011-12-17 19:33:19') Fixture Delete (0.3ms) DELETE FROM "messages" Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "read_at", "state", "lft", "rgt", "updated_at") VALUES (1, 3, 4, 'First Message', 'Abby, you get the first message', '2007-07-04 12:10:47.000000', '2011-12-14 19:33:19.000000', 'unread', 1, 2, '2011-12-17 19:33:19') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (2, 4, 3, 'RE: First Message', 'Thanks Dad! You are the coolest!', '2011-12-15 19:33:19.000000', 'unread', 3, 4, '2011-12-17 19:33:19') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (3, 3, 4, 'Second Message', 'Catie, you get the 2nd message', '2011-12-16 19:33:19.000000', 'unread', 5, 6, '2011-12-17 19:33:19') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (6, 4, 5, 'Dad!', 'He is sucha dork.', '2011-12-15 19:33:19.000000', 'unread', 7, 8, '2011-12-17 19:33:19') Fixture Delete (0.1ms) DELETE FROM "roles" Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Guest', 'Guest', 1, NULL, '2011-12-17 19:33:19', '2011-12-17 19:33:19') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('User', 'User', 2, NULL, '2011-12-17 19:33:19', '2011-12-17 19:33:19') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Librarian', 'Librarian', 3, NULL, '2011-12-17 19:33:19', '2011-12-17 19:33:19') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Administrator', 'Administrator', 4, NULL, '2011-12-17 19:33:19', '2011-12-17 19:33:19') Fixture Delete (0.1ms) DELETE FROM "user_groups" Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('(not specified)', '(not specified)', '2007-12-13 12:00:51.564542', 1, '', '2007-12-13 12:00:01.674976', 1) Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('User', 'User', '2007-12-22 18:14:56.836548', 2, '', '2007-12-22 18:14:40.173954', 2) Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('Faculty', 'Faculty', '2007-12-22 18:15:05.134351', 3, '', '2007-12-22 18:15:05.126457', 3) Fixture Delete (0.1ms) DELETE FROM "user_has_roles" Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (1, 4, '2011-12-17 19:33:19', '2011-12-17 19:33:19', 135138680) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (2, 3, '2011-12-17 19:33:19', '2011-12-17 19:33:19', 344583537) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (3, 2, '2011-12-17 19:33:19', '2011-12-17 19:33:19', 206669143) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (4, 3, '2011-12-17 19:33:19', '2011-12-17 19:33:19', 226540757) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (5, 2, '2011-12-17 19:33:19', '2011-12-17 19:33:19', 358143215) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (6, 2, '2011-12-17 19:33:19', '2011-12-17 19:33:19', 576709754) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (7, 2, '2011-12-17 19:33:19', '2011-12-17 19:33:19', 1010528733) Fixture Delete (0.2ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:16:30.163731', '$2a$10$vHohD1WflnTIqAa8zMkF9evwAgIZRw3XuR4d3bi29M.jph/MB/AJi', 2, 1, NULL, 'admin', 'tanabe@kamata.lib.teu.ac.jp', '2007-11-19 07:58:32.111941', 4) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 03:41:16.337474', '$2a$10$9O2VuTccN4gHq36ARg0QReSrb1D7WrBBhZZ759RM9moHbB0W5zCzS', 1, 2, NULL, 'librarian1', 'librarian1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:33.172441', 1) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', '$2a$10$JthS59A0BNkDOoFpCXM0V.GhhffKaoWKbzpPahYp/vTFrOyM7h/uW', 1, 3, NULL, 'user1', 'user1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:23.340575', '$2a$10$YmmTGrYQ1Ir6oc7wXnp.GuNeO1eYLoP3sv8wMSIrTdaGw2BPwRrpS', 1, 4, NULL, 'librarian2', '2008-01-18 03:24:04.222344', 1) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:44.711117', '$2a$10$i7UjJhLVrJM/J7qaTwW39OXw1NiwowUEbtNHVDV0sqMLjX9.UO9ca', 1, 5, NULL, 'user2', '2008-01-18 04:29:06.922728', 2) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 6, NULL, 'user3', 'user3@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 7, NULL, 'user4', 'user4@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_1@example.jp"], ["encrypted_password", "$2a$04$5WNrD.gqMytIH3r3F6FP1eXGQzl0D5ydkK0IgIryTQKLjLKgQ48cK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_1"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:20.057041' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Rendered /Users/kosuke/enju_message/app/views/message_requests/index.html.erb within layouts/application (3.5ms) Completed 200 OK in 96ms (Views: 34.0ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_1@example.jp"], ["encrypted_password", "$2a$04$4VSPVKv2VHWIgWe10gtK..q/cJ9QYS/eW6gLkpEVS9x5H/cD8/5B."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_1"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:20.188432' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 200 OK in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_1@example.jp"], ["encrypted_password", "$2a$04$q8UEOXMwmePQwowJ/tWA4OaC.TyqSkeOo2JX9q5ij6zU5of75/1ca"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_1"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:20.219826' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "message_requests" WHERE ('t'='f') Processing by MessageRequestsController#index as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 10ms  (0.1ms) SELECT COUNT(*) FROM "message_requests" WHERE ('t'='f') Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (54.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_2@example.jp"], ["encrypted_password", "$2a$04$bC0YK798opcqxgDnASeHJeZrGdNEqOyV2ctAwXT5dOET/vkaxgK5K"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_2"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:20.316842' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (10.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_2@example.jp"], ["encrypted_password", "$2a$04$0I0GJRD5Fw19Qti/QlFQEOZLzko6mrwFcGWN3pU7qZuGDd1mSputS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_2"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:20.339314' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_3@example.jp"], ["encrypted_password", "$2a$04$fI5/8yEVz.nTgrAApaYcYeKKArwQujX63uU5glpyDcgPG62xp0Mcu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_3"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:20.365135' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (1.6ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_1' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_1"], ["created_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_1"], ["title", "message_template_1"], ["updated_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_1' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.2ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 200 OK in 13ms (Views: 4.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_2@example.jp"], ["encrypted_password", "$2a$04$JLYlUgCv/xDA.J.veDKLb.9SiBEHy5bO38U5FbIGLubRi21wYC4S."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_2"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:20.439173' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.7ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_4@example.jp"], ["encrypted_password", "$2a$04$ivepVkWVR0jrc46F5JWK3e5EDUTOQBUg/ILTjMQwbmUAwIkDHMX3y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_4"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:20.453403' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_5@example.jp"], ["encrypted_password", "$2a$04$7lbEYL2vr.ZoEU70WbJVj.uruxqpEbb3fOGrY57Ce2JD4pCe6guZ2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_5"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:20.465654' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_2' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_2"], ["created_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_2"], ["title", "message_template_2"], ["updated_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_2' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 200 OK in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_6@example.jp"], ["encrypted_password", "$2a$04$I42rHlF0tsCVOPOJx4tCS.2/E4nR9i8rRBkxY/1LycKHo2258O4P."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_6"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:20.509130' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_7@example.jp"], ["encrypted_password", "$2a$04$rWDeyElwfc8b6iv1m.vis.NcO8FwSTx9qP5.zPOTb6pexG4DTt8Cm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_7"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:20.572903' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_8@example.jp"], ["encrypted_password", "$2a$04$SL6kFLcERFIQxQx6kGUKV.891xqt5qTa/c/4JoSuDNKtDfrrGD6Gm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_8"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:20.586014' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_3' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_3"], ["created_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_3"], ["title", "message_template_3"], ["updated_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_3' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_9@example.jp"], ["encrypted_password", "$2a$04$RkWoiMIMe6aVnrcybY5AYuacene0bT82ZRY47Qr86EpB//Mzb8p1G"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_9"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:20.625274' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_10@example.jp"], ["encrypted_password", "$2a$04$BnjUd1Hs534903k7eLM1UeHLd.MOthSvcf43PbGSqUhn2/KZHrO4u"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_10"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:20.638590' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_4' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_4"], ["created_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_4"], ["title", "message_template_4"], ["updated_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_4' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_3@example.jp"], ["encrypted_password", "$2a$04$2jhGwJkJVPWLXoFk7RbpJu3DxBU5ufmUVnd3ldBWrVzks1I7K5nKG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_3"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:20.678727' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_11@example.jp"], ["encrypted_password", "$2a$04$mOfQ.623zyvQVKfWCaIcj.AiXKgDX.x2XQ4TBeBnOlX/ggPsCOvxi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_11"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:20.691797' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_12@example.jp"], ["encrypted_password", "$2a$04$ms3q3h4c9JY164Ujbrtte.CWmu9qJYVXFPWl/kjt2Nb.nFFL3KZyq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_12"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:20.706470' WHERE "roles"."id" = 2  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_5' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_5"], ["created_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_5"], ["title", "message_template_5"], ["updated_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_5' AND "message_templates"."id" != 9) LIMIT 1 SQL (1.2ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 16ms (Views: 6.8ms | ActiveRecord: 0.6ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_3@example.jp"], ["encrypted_password", "$2a$04$F06oC0uCzncckZM4KFW0k.FgkmsRItfPiLKRYHv2beTRoiCojJcmG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_3"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:20.753809' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (6.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_13@example.jp"], ["encrypted_password", "$2a$04$7eXN63cSk3JnnOq.L8bPT.9i.LnuqX7L.I5eJmQUfM8ghasWKQCFS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_13"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:20.771571' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_14@example.jp"], ["encrypted_password", "$2a$04$2CVK9xBWQqGe8HX3SUyX2uegS2/qKaWE9WtC0aHS8uOO7OkHH9uhu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_14"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:20.785985' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_6' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_6"], ["created_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_6"], ["title", "message_template_6"], ["updated_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_6' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 66ms (Views: 2.5ms | ActiveRecord: 0.7ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_15@example.jp"], ["encrypted_password", "$2a$04$I0J//dh1v8n.XW4Regz9Ve9eBDK3iTVpRwNCMz0xQ.Vmtqdvcaz6S"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_15"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:20.886033' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_16@example.jp"], ["encrypted_password", "$2a$04$Z2xcsilXVP4MrL8DOEAqfeUxIN4bPDTlzgpFLlENGhFBIjP.fLvki"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_16"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:20.902340' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_17@example.jp"], ["encrypted_password", "$2a$04$PW4/UzQBK2s2cmOWJkeVaO6ZBUmcXcjDnc0b6au7Gn9qoFTnTq8HW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_17"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:20.916264' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_7' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_7"], ["created_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_7"], ["title", "message_template_7"], ["updated_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_7' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_18@example.jp"], ["encrypted_password", "$2a$04$DznIDXGFBzD0D7lcpuJD2eqzbjsV.kMUPTVxJyFgU5z7/v11JImIm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_18"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:20.958430' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_19@example.jp"], ["encrypted_password", "$2a$04$darfHlOniiyhLuxfkbgys.fLHzv7eZHEIGwWaL4yp7AXAfjt8A5CK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_19"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:20.971692' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_8' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_8"], ["created_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_8"], ["title", "message_template_8"], ["updated_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_8' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 19:33:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_20@example.jp"], ["encrypted_password", "$2a$04$Oh1XKUYuwjFZbgOxrhl28.kdpQtIWqOTdd46aV9VDU3SYYW6tzGQ6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_20"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:21.009234' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_21@example.jp"], ["encrypted_password", "$2a$04$irBhdMPjvsQZT4zb8VuZjuvyV2noGzdU0RGztzYv8kl.F19k1ei2C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_21"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:21.022390' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_9' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_9"], ["created_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_9"], ["title", "message_template_9"], ["updated_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_9' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_22@example.jp"], ["encrypted_password", "$2a$04$HkGEQvS9ksyujPED0Ii8wOZCJpmFw4NgC.7/ZFd0pdVa6uPlA71Tu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_22"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:21.049451' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_23@example.jp"], ["encrypted_password", "$2a$04$xHwr3whN5mJSPKEC.oaJpex/ln/TY5vFWcaISKDwuIIFqJoLvjiR2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_23"]] SQL (1.5ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:21.063833' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_10' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_10"], ["created_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_10"], ["title", "message_template_10"], ["updated_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (57.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_4@example.jp"], ["encrypted_password", "$2a$04$ApT3MMN7yVJOox1Oa5xi8.ij9pa7ZxCq90u0c8kZMxG2DnCMis/JK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_4"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:21.141470' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"13", "receiver_id"=>"14", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 15 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 15 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_10' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 13, "receiver_id" = 14, "message_template_id" = 10, "updated_at" = '2011-12-17 19:33:21.164013' WHERE "message_requests"."id" = 980190963  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 20ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_24@example.jp"], ["encrypted_password", "$2a$04$OOsg8A8Bb/PtzXUMFYZ77ujd1BmUWsA2qXfyo74QRaWGAxWsV3jIu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_24"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:21.205850' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_25@example.jp"], ["encrypted_password", "$2a$04$0CL.3ENuoXCF.mo8G3Tto.9NS2kRQw49qQ.OrSO4WWRY1h29NFMFW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_25"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:21.218855' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_11' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_11"], ["created_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_11"], ["title", "message_template_11"], ["updated_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_11' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_26@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_26@example.jp"], ["encrypted_password", "$2a$04$g2r5bglF6jC0B0UoSNTgLu52.zeuFu7O/PVkXAjKlkdp4NZz1bOj."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_26"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:21.242205' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_27@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_27@example.jp"], ["encrypted_password", "$2a$04$ABxJl3PsOkIUatpZQxsMDebuIn/ds5.OVB4aJgX56OxvLzHt5stKm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_27"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:21.255093' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_12' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_12"], ["created_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_12"], ["title", "message_template_12"], ["updated_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_5@example.jp"], ["encrypted_password", "$2a$04$asUpenu1k/N4kZi4xejbHOa16.e27sW9UdM9MzC0eJ9T/hazXGG4a"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_5"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:21.275521' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"13", "receiver_id"=>"14", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.3ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 15 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 15 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_12' AND "message_templates"."id" != 10) LIMIT 1  (0.2ms) UPDATE "message_requests" SET "sender_id" = 13, "receiver_id" = 14, "message_template_id" = 10, "updated_at" = '2011-12-17 19:33:21.296057' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 19ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_28@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (5.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_28@example.jp"], ["encrypted_password", "$2a$04$gChwLh58OXbKmQHuycMAuufrRlnwYFag7wdykNSmRNyR02frTwaXy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_28"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:21.329593' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_29@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_29@example.jp"], ["encrypted_password", "$2a$04$UVwAR39DJtvoxdAIoHKHzeOsKP9i1zzZDQkU.Lii73i8J8oUICGQm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_29"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:21.345864' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_13' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_13"], ["created_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_13"], ["title", "message_template_13"], ["updated_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_13' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_30@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_30@example.jp"], ["encrypted_password", "$2a$04$D5H7rFFfgSQpCUW4Nxr0Q.ozx1fQUxoBwUpdMCGWs4berUxc4J3jy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_30"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:21.372930' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_31@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_31@example.jp"], ["encrypted_password", "$2a$04$xRM.nLVE1DPV8fJCZyyaSumsT1IP9W.3a2uzJqMQHdrfw5QjtMx3a"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_31"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:21.384825' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_14' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_14"], ["created_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_14"], ["title", "message_template_14"], ["updated_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (55.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_6@example.jp"], ["encrypted_password", "$2a$04$2wg4LGgjndKtZnsPkVQAuO6BMbXPvLm10P2NNNA.z2yWtlh/EF/Im"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_6"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:21.455303' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 15 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 15 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_13' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 16ms (Views: 1.3ms | ActiveRecord: 1.0ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_32@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_32@example.jp"], ["encrypted_password", "$2a$04$Z4qpCAQxxqsif/QbbairiuW6X.iYrMjSBs5m.H9E6wHNjuPGTKCOG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_32"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:21.501379' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.5ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.4ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_33@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_33@example.jp"], ["encrypted_password", "$2a$04$1szNEfEXIj3X6bsQVI8hIe22ZAEAZErG/aNb5XHTpCcd91jxHwM/6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_33"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:21.519911' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.6ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_15' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_15"], ["created_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_15"], ["title", "message_template_15"], ["updated_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_15' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_34@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_34@example.jp"], ["encrypted_password", "$2a$04$OsE51Vbq9i/FmpwCKAu43eo2v9GpNP8Z/EQqUHKToxYFxHKhuPzXW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_34"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:21.545628' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_35@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_35@example.jp"], ["encrypted_password", "$2a$04$p7ctmvPd7mkkXfH1o8iF0exnjhlN6ewioH8SBNRFCqB.AwmQdWcjK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_35"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:21.559703' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_16' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_16"], ["created_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_16"], ["title", "message_template_16"], ["updated_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (6.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_4@example.jp"], ["encrypted_password", "$2a$04$KLZtLCtFfRQZmufE.dGZc.uZsHALcFbyIThR/li2l5LfkskWZJtSO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_4"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:21.581946' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"13", "receiver_id"=>"14", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 15 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 15 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_16' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 13, "receiver_id" = 14, "message_template_id" = 10, "updated_at" = '2011-12-17 19:33:21.597990' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 21ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_36@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (7.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_36@example.jp"], ["encrypted_password", "$2a$04$wolikWuiR9bt0kfvjrtr5eC2WQTN.n6YIanK2XyObkQvA5VUwyiuW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_36"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:21.635011' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_37@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_37@example.jp"], ["encrypted_password", "$2a$04$3l0TA8hVBQvb1GQxMRaw0.IQ5rw8L2lXIInCY4DFjvWQhpwr2/quS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_37"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:21.648527' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_17' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_17"], ["created_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_17"], ["title", "message_template_17"], ["updated_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_17' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_38@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_38@example.jp"], ["encrypted_password", "$2a$04$vYjYQRE7U1A8SXCM/GdRK.Gd40wGKrhVWXhF4EwfYraQv6rEHM8T2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_38"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:21.673648' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_39@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_39@example.jp"], ["encrypted_password", "$2a$04$XWYbF5Dk5c3/7Mvyfadz6O0JwDYiv/MWqPowY7VctVVifYK2iO7L2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_39"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:21.687455' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_18' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_18"], ["created_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_18"], ["title", "message_template_18"], ["updated_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_5@example.jp"], ["encrypted_password", "$2a$04$XpQW6StZZVorvpHmu/EjVe8N1YBWG8vvZq316PaW.ZMgJYDncECwW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_5"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:21.775859' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"13", "receiver_id"=>"14", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 15 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 15 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_18' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 13, "receiver_id" = 14, "message_template_id" = 10, "updated_at" = '2011-12-17 19:33:21.793269' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 17ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_40@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_40@example.jp"], ["encrypted_password", "$2a$04$Wy4GrkWvGY10tnI.gIReZuI8g.e0yQZgquGAxitKPqfs1psNfptBe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_40"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:21.834291' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_41@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_41@example.jp"], ["encrypted_password", "$2a$04$Tckfr.3DcNin55VQn33FQenhgk1YWg4XuBK7N/TVjYmE.NtrOJnpm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_41"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:21.847308' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_19' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_19"], ["created_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_19"], ["title", "message_template_19"], ["updated_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_19' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_42@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_42@example.jp"], ["encrypted_password", "$2a$04$bcLmO19v2P8XlG/Uc5gnGOhQWrL1qSaTs8ehLpydd71wR2Uleq5XO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_42"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:21.872366' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_43@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_43@example.jp"], ["encrypted_password", "$2a$04$HgFY2xwiRacefaoukhvqF.fQ1DSMC7XL39Mu0aONtn2IPOWwhKnyS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_43"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:21.885616' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_20' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_20"], ["created_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_20"], ["title", "message_template_20"], ["updated_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_6@example.jp"], ["encrypted_password", "$2a$04$xnOtLa0DVIMErNeD5GWzL.qjhDT7/ZiHoZ4T.eVgRqQMCUjpclJ3K"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_6"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:21.902371' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 15 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 15 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_19' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 17ms (Views: 1.3ms | ActiveRecord: 1.1ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_44@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_44@example.jp"], ["encrypted_password", "$2a$04$NgEJGkHScZttWIve0IzmUeF5ROpwvDg/lMb9O1.dO7majhx7Y4aC."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_44"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:21.945436' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_45@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_45@example.jp"], ["encrypted_password", "$2a$04$P.BNtJNhMPlvp5ph1cILvuByXMs1ELzpoSFKbRyg69gnBo9UIcQAy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_45"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:21.962469' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_21' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_21"], ["created_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_21"], ["title", "message_template_21"], ["updated_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_21' AND "message_templates"."id" != 9) LIMIT 1 SQL (3.3ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_46@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (5.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_46@example.jp"], ["encrypted_password", "$2a$04$wiw1wNXw8Tryzb1rqDV4uOilhr8gzJh5TQJEAlWT1hRd4OviwmNhO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_46"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:21 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:21.993053' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_47@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (59.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_47@example.jp"], ["encrypted_password", "$2a$04$TsmH3RM50XOudHH28S/13uppnfLVzC8OuWwpGwnx.JlRsHB7zP8E6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_47"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:22.065586' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_22' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_22"], ["created_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_22"], ["title", "message_template_22"], ["updated_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_48@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_48@example.jp"], ["encrypted_password", "$2a$04$HYIZ6mLuxBl/gHnWIApShOSdgY3Xx43Lkt/Q4sCHPJvhXe2iKitZ6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_48"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:22.082281' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"13", "receiver_id"=>"14", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 15 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 15 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_49@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_49@example.jp"], ["encrypted_password", "$2a$04$J7tHhrSpf/U8ws0bRx79h.WnrKPUFDt7cnBqNzBDb99HU.b/tsDYa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_49"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:22.117462' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_50@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_50@example.jp"], ["encrypted_password", "$2a$04$z4fsyoS6D9vNoeYwHgmX1OhM8pYbFKq2mZNbaH/U0GZL0hxeUynw2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_50"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:22.133830' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_23' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_23"], ["created_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_23"], ["title", "message_template_23"], ["updated_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_23' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_51@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_51@example.jp"], ["encrypted_password", "$2a$04$oO8klMJtpYMygT9pIL4uGuaJbVVhtg1/zoId7jud6C4JK8bbPG05y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_51"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:22.167241' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_52@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_52@example.jp"], ["encrypted_password", "$2a$04$urNS7USiNI6bNPw9T5aHkerXsPNUABxLotvqAEyfeyT6Vy5/GmCEq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_52"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:22.179718' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_24' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_24"], ["created_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_24"], ["title", "message_template_24"], ["updated_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_53@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_53@example.jp"], ["encrypted_password", "$2a$04$z..cXlTu/ARzQ29AAhM0Z.GVYEJ.1Pf3MoXu1f5lE5cf9YXmZcjou"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_53"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:22.196296' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"13", "receiver_id"=>"14", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 15 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 15 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_54@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_54@example.jp"], ["encrypted_password", "$2a$04$G2Cxled0fwgiHR9bMhiMuOBCfiepE0vFrgWZgInpwQrCyQwlCnEM6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_54"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:22.228399' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_55@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_55@example.jp"], ["encrypted_password", "$2a$04$p9EyRJnKmkfuknT5SlY/pOsdOkt87t3waOMKufDd.8uTa29dN3Pu6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_55"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:22.255952' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_25' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_25"], ["created_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_25"], ["title", "message_template_25"], ["updated_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_25' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_56@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_56@example.jp"], ["encrypted_password", "$2a$04$/Zx7VCOIA.qpJc105Fd4Eezd/PixiOpTW0RNuv0b4S7Kj4CVu7Jp."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_56"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:22.289819' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_57@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (65.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_57@example.jp"], ["encrypted_password", "$2a$04$//A67KQtOzZIbVVUKtJLn.NJJ/BGMRN6QcF3r2800B0b2vX7t0Fa."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_57"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:22.367943' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_26' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_26"], ["created_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_26"], ["title", "message_template_26"], ["updated_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_58@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_58@example.jp"], ["encrypted_password", "$2a$04$2Ik1E6goCN/rcrSUv/335ufOrN8vb3gZs7ZkNx9kvcemYzoGwCmXC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_58"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:22.385685' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 15 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 15 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.2ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_59@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_59@example.jp"], ["encrypted_password", "$2a$04$QR6Fr3Np6olz7LQ91d79KupQEvbvCOEfbl91OmR23ec0cZAUo6Vn2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_59"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:22.422485' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_60@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_60@example.jp"], ["encrypted_password", "$2a$04$DpID26cKjDrEYEiRJsn9petTnYmykMAzLb1kS8sM2d7i1A8oWbace"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_60"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:22.441450' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_27' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_27"], ["created_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_27"], ["title", "message_template_27"], ["updated_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_27' AND "message_templates"."id" != 9) LIMIT 1 SQL (1.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_61@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_61@example.jp"], ["encrypted_password", "$2a$04$YYzTx11KhB5g65tBAFJqsuHir42K6i9V3cRfDouZrfwXjjYBjxd4y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_61"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:22.469137' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_62@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_62@example.jp"], ["encrypted_password", "$2a$04$83yIFN3WZj6X0NuHNiMot.ZF5Zl6jz3M8nHi0ahMkwii/WyXiUhv6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_62"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:22.481923' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.2ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_28' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_28"], ["created_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_28"], ["title", "message_template_28"], ["updated_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"13", "receiver_id"=>"14", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 14ms Role Load (7.9ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_63@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (25.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_63@example.jp"], ["encrypted_password", "$2a$04$ZGkxWhX4TPGV9avS93kE3.A0SgQ7RATKsCCcrv5BvmTtmEaHj4jKy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_63"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:22.563018' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_64@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (11.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_64@example.jp"], ["encrypted_password", "$2a$04$Gnvd2NMNfxhQb6u8jPyv7OW6lp8l1Gm9sw09e/FTxjAJY0dvEQCo."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_64"]] SQL (4.4ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["user_id", 12]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:22.614650' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_29' LIMIT 1 SQL (4.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_29"], ["created_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_29"], ["title", "message_template_29"], ["updated_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_29' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_65@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_65@example.jp"], ["encrypted_password", "$2a$04$hejfDwNTybZP6P/tDHH/Be/0pWjtafx/zj1XuwwY51LoPrUPd01G6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_65"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:22.644955' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_66@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_66@example.jp"], ["encrypted_password", "$2a$04$jIcwzvXRa2/WUtCnKS44B.KIi5q.1GvNG0ALJJtSSR3Woo1yN.9ye"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_66"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:22.658849' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_30' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_30"], ["created_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_30"], ["title", "message_template_30"], ["updated_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"13", "receiver_id"=>"14", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_67@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_67@example.jp"], ["encrypted_password", "$2a$04$sWiU3IUHVOhMi4lKnqNfRe/0E/fEXozCwAqMJ6PKaQE3bix757h9q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_67"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["user_id", 11]]  (37.7ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:22.750340' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_68@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_68@example.jp"], ["encrypted_password", "$2a$04$C78oBXNr7uVAMzE9k0hQTul1wJyWuMHmbMGcTI6.p38MdCGkEDbka"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_68"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:22.808129' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_31' LIMIT 1 SQL (1.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_31"], ["created_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_31"], ["title", "message_template_31"], ["updated_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_31' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_69@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_69@example.jp"], ["encrypted_password", "$2a$04$qTPxjmCrmPuFp8RAV6xeOepmSnuCkOVWekGiazGeuE5AyR1ZH70Iy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_69"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:22.838544' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_70@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_70@example.jp"], ["encrypted_password", "$2a$04$4SqUU0xbZQsILgt1xbsJaORxionRcmJpYaGD/QHeyZDgkvuz.913C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_70"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:22.851938' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_32' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_32"], ["created_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_32"], ["title", "message_template_32"], ["updated_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_71@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_71@example.jp"], ["encrypted_password", "$2a$04$GbVIMjpppck1UP4oZQmlpexI0.1h4sG7onp7uWUnyA0WHdRuhb/o2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_71"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:22.891172' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_72@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_72@example.jp"], ["encrypted_password", "$2a$04$II2KKIffPkB9SziL.ktirOmJWk8dgjqkUr17yTtOBspFVzYQGi0LS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_72"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:22.904960' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_33' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_33"], ["created_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_33"], ["title", "message_template_33"], ["updated_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_33' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_7@example.jp"], ["encrypted_password", "$2a$04$c38CvMBBg/Bmltl3Ior.He49AGcwJcuuK5Ybpv2L1azV43PICoq6O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_7"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:22.928321' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 13 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_73@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_73@example.jp"], ["encrypted_password", "$2a$04$A7Njxwz0CgPuUt2Zm40R6esVQaofk0d0oZuYE1HN.4BUdJOpwMgLy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_73"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:22.951662' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_74@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_74@example.jp"], ["encrypted_password", "$2a$04$w21vvjL7e5dLDHzEFPOUvOd/diZav1UG2GqWJCVRvMQ2wFDnpV7Om"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_74"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:22.962890' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_34' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_34"], ["created_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_34"], ["title", "message_template_34"], ["updated_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_34' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_8@example.jp"], ["encrypted_password", "$2a$04$Z1PlkyjsywP4uoCiv3miruhgYzZsbaJmqH5F.z3OUBGiewI.cNbNu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_8"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 19:33:22 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:22.979594' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 13 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 45ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_75@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_75@example.jp"], ["encrypted_password", "$2a$04$NP/zaGGxqsZc3yCN.m7j4OOKdV/r5UcdlDZcNGybolKCVatuuhqYe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_75"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:23.049021' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_76@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_76@example.jp"], ["encrypted_password", "$2a$04$H8cpfzbIS/o67sR39Hqr4OV80vSXNJrClksppyP56d9xr8m3wNDGy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_76"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:23.057605' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_35' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_35"], ["created_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_35"], ["title", "message_template_35"], ["updated_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_35' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_7@example.jp"], ["encrypted_password", "$2a$04$DzTi6HHmejqb3lVB23kV8u/3OrcyxwOqoHe6ag9aLf5gzheFQ42M6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_7"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:23.074988' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 13 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 5ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_77@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_77@example.jp"], ["encrypted_password", "$2a$04$a0iPfB3inFgaii6anELqPOKZMKEC/ysyQxURASI5eMbkT7BlM/byS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_77"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:23.105693' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_78@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_78@example.jp"], ["encrypted_password", "$2a$04$YuuRSG/NTY6WPzIeAtPBKecF/mCEfoYJ4DoaPILnlrC5YNxPY371q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_78"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:23.114004' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_36' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_36"], ["created_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_36"], ["title", "message_template_36"], ["updated_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_36' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_8@example.jp"], ["encrypted_password", "$2a$04$1JjHOn9uBZGkE3a4F5gICefSAaB1Tb6ODAboguGTCRnyViI7Swez2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_8"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:23.130969' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 13 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 7ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_79@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_79@example.jp"], ["encrypted_password", "$2a$04$rWEAZipDD202Fwc1HK2WXe6XHPmpnhxkJPZctpUB6c/HzGTtJmUXe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_79"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:23.152092' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_80@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_80@example.jp"], ["encrypted_password", "$2a$04$fPJfylC09Y/8V8vLAfCTmOF1G4g5ITqqdUIPnx7dzJysw1FoIDpg."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_80"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:23.161367' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_37' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_37"], ["created_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_37"], ["title", "message_template_37"], ["updated_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_37' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_81@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_81@example.jp"], ["encrypted_password", "$2a$04$zb7v9Q7gHHfuN7GfvR6QrOdPw1kL2sBSbJDxLI.V8bbs8aIJpOmhe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_81"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:23.177486' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 13 LIMIT 1 Completed 403 Forbidden in 41ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_82@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_82@example.jp"], ["encrypted_password", "$2a$04$rBC5hs7RK00ZE/11c3d6c.spY3mGWz7un4aBOmOjvMEUvQyvVcwNe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_82"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:23.243903' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_83@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_83@example.jp"], ["encrypted_password", "$2a$04$fhO87m2bldk1/5uJJmZvNefVK8T5yaUVh0mHF1CsvckCGZuclzi3e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_83"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:23.252327' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_38' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_38"], ["created_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_38"], ["title", "message_template_38"], ["updated_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_38' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.6ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_84@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_84@example.jp"], ["encrypted_password", "$2a$04$zkB8tGYlLJWYCG9lZSqUfeEKOFnwqWNXfzl1EbKA4zkTLyJ0Opldu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_84"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:23.268505' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 13 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_85@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_85@example.jp"], ["encrypted_password", "$2a$04$EtdFLcRKNooRE8KiBcOMUuPV1Ehy6P83AoDyVdvXwsm09Ya3qFTRC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_85"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:23.315636' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_86@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_86@example.jp"], ["encrypted_password", "$2a$04$2P7OnVmBU2dr2xdtoUWAEusEnDZzwh3SxDuR7Zotqva3JzXE5E0xC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_86"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:23.324284' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_39' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_39"], ["created_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_39"], ["title", "message_template_39"], ["updated_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_39' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_87@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_87@example.jp"], ["encrypted_password", "$2a$04$jFwtb2RplZ1PYujZ3XAei.c4tkccLY3S9IekGqiKQiSESzfxyCe2O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_87"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:23.347351' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_88@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_88@example.jp"], ["encrypted_password", "$2a$04$6uuBAZaVu7Oy9EYVtHX9suL6M.nw88VXOpTydl.2sjPVgyckeXRxK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_88"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:23.355825' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_40' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_40"], ["created_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_40"], ["title", "message_template_40"], ["updated_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_40' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_41' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_41"], ["created_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_41"], ["title", "message_template_41"], ["updated_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_9@example.jp"], ["encrypted_password", "$2a$04$WmrtJ9kgy4b.KuoeKwWhYu.M3sv5ZNXqsCxRglij13UforAVumW6i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_9"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:23.382367' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 200 OK in 9ms (Views: 3.6ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position LIMIT 10 OFFSET 0  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (36.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_42' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_42"], ["created_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_42"], ["title", "message_template_42"], ["updated_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_9@example.jp"], ["encrypted_password", "$2a$04$uWpSyTlWPhtJ5mgZk1D7MuuWxj5qvtcLzrZhBt7S7IpKDWuHHcNdu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_9"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:23.445501' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position LIMIT 10 OFFSET 0  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_43' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_43"], ["created_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_43"], ["title", "message_template_43"], ["updated_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_89@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_89@example.jp"], ["encrypted_password", "$2a$04$MrY25F6GlZTiSwGlDc0KAuLqqRFeK/2DS7RXl6sN4LcOBfTCe6d8e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_89"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:23.470440' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "message_templates" WHERE ('t'='f')  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_44' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_44"], ["created_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_44"], ["title", "message_template_44"], ["updated_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms  (0.1ms) SELECT COUNT(*) FROM "message_templates" WHERE ('t'='f') Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_10@example.jp"], ["encrypted_password", "$2a$04$hSnXpyUOdayBPuGdjTDuvOH4deiMRDN1IwPybneNgGfKImKOiab/G"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_10"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:23.530247' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_45' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_45"], ["created_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_45"], ["title", "message_template_45"], ["updated_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 200 OK in 7ms (Views: 1.6ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_10@example.jp"], ["encrypted_password", "$2a$04$lRP1qdLyMilFvZmVfeoqD.qLIKrsX8SHJQS0WtL9MbqyPDNjFE6em"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_10"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:23.552448' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_46' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_46"], ["created_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_46"], ["title", "message_template_46"], ["updated_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_90@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_90@example.jp"], ["encrypted_password", "$2a$04$ZKNzVWnerPBL6h4p0NR1BOkS23ts0E9JLYjOXtRmyEa3FPhSFUmnm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_90"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:23.574230' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_47' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_47"], ["created_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_47"], ["title", "message_template_47"], ["updated_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 1.0ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_48' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_48"], ["created_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_48"], ["title", "message_template_48"], ["updated_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 5ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_11@example.jp"], ["encrypted_password", "$2a$04$oIY79UOdZcrA6et6o6gqTeD7jlHtWXT9l0t/1OmqRVMd90qYrJEWi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_11"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:23.661304' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_11@example.jp"], ["encrypted_password", "$2a$04$6us49lnH7.JHCvMLCQBdFeM4xH1knWyTM0Mz.sDmiGV1/xTOr03xW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_11"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:23.762726' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_91@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_91@example.jp"], ["encrypted_password", "$2a$04$h6Gi9O9NY.FNWUJipU3aDu60tOhNNs5a5HR3tJuje8gmrmeql71H."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_91"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:23.783190' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Processing by MessageTemplatesController#new as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_12@example.jp"], ["encrypted_password", "$2a$04$zXkSSRi5tNmzXc026XpiFeJkN5CrnZGWNqjWyg9Qb8Gl4jeGphXKe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_12"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:23.810471' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_49' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_49"], ["created_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_49"], ["title", "message_template_49"], ["updated_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 200 OK in 6ms (Views: 1.6ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_12@example.jp"], ["encrypted_password", "$2a$04$tsXLe2vnU5BpA6IAtMGJoe6m5SNWSCltAWXF6vev/j7XFwLS4YLGC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_12"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:23.837209' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_50' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_50"], ["created_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_50"], ["title", "message_template_50"], ["updated_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_92@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_92@example.jp"], ["encrypted_password", "$2a$04$4m/VtbM9JBHCNkIh/BYhieYmvHfj40zZolfm8emgh3ZSDSonuiqO6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_92"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:23.889856' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_51' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_51"], ["created_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_51"], ["title", "message_template_51"], ["updated_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_52' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_52"], ["created_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_52"], ["title", "message_template_52"], ["updated_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_13@example.jp"], ["encrypted_password", "$2a$04$FX2/LjIrePIvUQklef2GM.Tcaj1Bn3U2BSXfclMtILq.tumw.JaQC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_13"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:23.948279' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_53", "status"=>"message_template_53", "body"=>"message_template_53"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_53' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (35.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_14@example.jp"], ["encrypted_password", "$2a$04$e0qyP.Sdc7numAMfsrJjtOofARQ5Ir6ayjJmD.RemWV6Fz9vMLn/e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_14"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:24.001528' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_54", "status"=>"message_template_54", "body"=>"message_template_54"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 1.0ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_15@example.jp"], ["encrypted_password", "$2a$04$1ePqW8EBEOdgb7.orhbz3O4s15i9G9AHh6cAdYsV7w1Eezq8ThmRa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_15"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:24.021481' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 8ms (Views: 1.1ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_16@example.jp"], ["encrypted_password", "$2a$04$hao56J48qHaTrJEGzwYR2e3es7xAWB4XSSNTpmiE92jzy8swmBCm6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_16"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:24.049791' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 8ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_13@example.jp"], ["encrypted_password", "$2a$04$DUOEajmkSXPvgN3N2jruk.SL5Jv3fBX6OespN16RpbwyhMVV5dO.q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_13"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:24.071358' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_57", "status"=>"message_template_57", "body"=>"message_template_57"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 8ms (Views: 1.2ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_57' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_14@example.jp"], ["encrypted_password", "$2a$04$epxEfsCIAMCSpijmgJYsyOZdm4IBcpt9HEhfYDGu7mq8gz70ZB/K2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_14"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:24.107534' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_58", "status"=>"message_template_58", "body"=>"message_template_58"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 8ms (Views: 1.0ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_15@example.jp"], ["encrypted_password", "$2a$04$pfHOAdKVwcfNUg7cwZYKfeElOVepYNjgscdaX4JHGwLJqyfnumciu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_15"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:24.156245' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_16@example.jp"], ["encrypted_password", "$2a$04$r0aKB1SM28PYh0l2Lg0q6e91l3TUyNwYtxhgPo/29Sy/qFYcHQOQK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_16"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:24.207194' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 8ms (Views: 1.1ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_93@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_93@example.jp"], ["encrypted_password", "$2a$04$BNlOqydWT8n0DgJqU.LiyOO42FA6gKHQjMJe2UPU4JoJmt9Klj7aW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_93"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["user_id", 11]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:24.269824' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_61", "status"=>"message_template_61", "body"=>"message_template_61"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 8ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_61' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_94@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_94@example.jp"], ["encrypted_password", "$2a$04$r2WlSDbZXyfnDQ08vgNE.eackfr9Po70/aAtY8LSA0ZBQgu4NwWSK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_94"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:24.294960' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_62", "status"=>"message_template_62", "body"=>"message_template_62"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 8ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_95@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_95@example.jp"], ["encrypted_password", "$2a$04$Su39MoBOMAha.Xe4okw.ZOf2wPARTqGY3Ppw0yUvXLTMgIrm9kca."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_95"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:24.318517' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 1.1ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_96@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_96@example.jp"], ["encrypted_password", "$2a$04$8TxkOhjkfotctTzwmyhykupqexOJP5pEkpNFZBGJ0JW19WflZFGmO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_96"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:24.342430' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_65", "status"=>"message_template_65", "body"=>"message_template_65"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 5ms MessageTemplate Load (0.4ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_65' LIMIT 1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_66", "status"=>"message_template_66", "body"=>"message_template_66"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 5ms Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 5ms MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 5ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_69' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_69"], ["created_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_69"], ["title", "message_template_69"], ["updated_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_17@example.jp"], ["encrypted_password", "$2a$04$geCMOxTMeGKBxTocLlM.tut.VVlAeKW9Lf6WZystB4EnPZLu0aYcS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_17"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:24.406006' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_70", "status"=>"message_template_70", "body"=>"message_template_70"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_70' AND "message_templates"."id" != 9) LIMIT 1  (0.1ms) UPDATE "message_templates" SET "title" = 'message_template_70', "status" = 'message_template_70', "body" = 'message_template_70', "updated_at" = '2011-12-17 19:33:24.415246' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates/9 Completed 302 Found in 14ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_71' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_71"], ["created_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_71"], ["title", "message_template_71"], ["updated_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_18@example.jp"], ["encrypted_password", "$2a$04$xHgxNsWode7705x9e8XeleUAXw7yBSUPnizA.SKCuqumk7WArWuJy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_18"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:24.474064' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_72", "status"=>"message_template_72", "body"=>"message_template_72"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_72' AND "message_templates"."id" != 9) LIMIT 1  (0.1ms) UPDATE "message_templates" SET "title" = 'message_template_72', "status" = 'message_template_72', "body" = 'message_template_72', "updated_at" = '2011-12-17 19:33:24.486398' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates/9 Completed 302 Found in 11ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_73' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_73"], ["created_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_73"], ["title", "message_template_73"], ["updated_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_19@example.jp"], ["encrypted_password", "$2a$04$S/LokXm9A9OvD90L8kAkeu6U/MLJzc20oaacLhqEjwrSZOhgQsNRO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_19"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:24.507105' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_74", "status"=>"message_template_74", "body"=>"message_template_74"}, "position"=>"2", "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "message_templates" SET "position" = 0, "updated_at" = '2011-12-17 19:33:24.515945' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "message_templates" SET position = (position - 1) WHERE "message_templates"."id" IN (SELECT "message_templates"."id" FROM "message_templates" WHERE (1 = 1 AND position > 9) ORDER BY position) SQL (0.2ms) UPDATE "message_templates" SET position = (position + 1) WHERE "message_templates"."id" IN (SELECT "message_templates"."id" FROM "message_templates" WHERE (1 = 1 AND position >= 2) ORDER BY position)  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "message_templates" SET "position" = 2, "updated_at" = '2011-12-17 19:33:24.517888' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates Completed 302 Found in 9ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_75' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_75"], ["created_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_75"], ["title", "message_template_75"], ["updated_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_20@example.jp"], ["encrypted_password", "$2a$04$XzUexNq40DdhNdSynXJli.HnGH4.0zDCO.E2XBMXfob67oDKEqNE2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_20"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:24.534191' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = '' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 11ms (Views: 1.1ms | ActiveRecord: 0.0ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_77' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_77"], ["created_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_77"], ["title", "message_template_77"], ["updated_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_17@example.jp"], ["encrypted_password", "$2a$04$szVLwP/akPpeA11T7m5th.f59smM0SQ8FXRm/pBVc37IlsCT7OwAq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_17"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:24.584385' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_78", "status"=>"message_template_78", "body"=>"message_template_78"}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_79' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_79"], ["created_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_79"], ["title", "message_template_79"], ["updated_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_18@example.jp"], ["encrypted_password", "$2a$04$90BBvzqSbFePfsXktIBad.1C5Pma8mG9gTkigVEt1W6vQ9fOcq4Te"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_18"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:24.644972' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_80", "status"=>"message_template_80", "body"=>"message_template_80"}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_81' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_81"], ["created_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_81"], ["title", "message_template_81"], ["updated_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_19@example.jp"], ["encrypted_password", "$2a$04$9sh77clTZL/SKZ0N7/ml7O0LjrA166ULdM3fj8kuuGyP0f0GBAQiy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_19"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:24.693211' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_83' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_83"], ["created_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_83"], ["title", "message_template_83"], ["updated_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_97@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (44.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_97@example.jp"], ["encrypted_password", "$2a$04$jSQiAc8f6nv69E6brwvAou47TuRgFwPSRDXCGo5kaCBThYNAs5Jdi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_97"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:24.784721' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_84", "status"=>"message_template_84", "body"=>"message_template_84"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_85' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_85"], ["created_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_85"], ["title", "message_template_85"], ["updated_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_98@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_98@example.jp"], ["encrypted_password", "$2a$04$uypCt21/Pi2.fqIqTsjIeODefuf6P2bTsKloO4hlngMNoYVDx.i.O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_98"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:24.815946' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_86", "status"=>"message_template_86", "body"=>"message_template_86"}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 1.0ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_87' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_87"], ["created_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_87"], ["title", "message_template_87"], ["updated_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_99@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_99@example.jp"], ["encrypted_password", "$2a$04$fr1igh0ykFV476RABYGicea3p9z9aCwr43nIhsz8QuxrpBpZ7Tb.2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_99"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:24.868997' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_89' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_89"], ["created_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_89"], ["title", "message_template_89"], ["updated_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_90", "status"=>"message_template_90", "body"=>"message_template_90"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_91' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_91"], ["created_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_91"], ["title", "message_template_91"], ["updated_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_92", "status"=>"message_template_92", "body"=>"message_template_92"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_93' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_93"], ["created_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_93"], ["title", "message_template_93"], ["updated_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_95' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_95"], ["created_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_95"], ["title", "message_template_95"], ["updated_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_21@example.jp"], ["encrypted_password", "$2a$04$Sy37qjRpzLgSgjGok9DCFOcPi0PfwfzSjOJSCmdMjWdSi5Qe3D.Bm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_21"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:24.947426' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_96' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_96"], ["created_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_96"], ["title", "message_template_96"], ["updated_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_22@example.jp"], ["encrypted_password", "$2a$04$oLCMT2nHqJOpcOKFEFW2HuKG.p3UTe1Y72u/eR5dhmIYJ/Bbg2I2S"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_22"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:24.979176' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_97' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_97"], ["created_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_97"], ["title", "message_template_97"], ["updated_at", Sat, 17 Dec 2011 19:33:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_20@example.jp"], ["encrypted_password", "$2a$04$jqg7SNA6Gmfax6feEF7YHuM1Qv6lv.bV8Cenw91WN042mSlf/vLYO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_20"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:25 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 19:33:25 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:25.012177' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 66ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_98' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_98"], ["created_at", Sat, 17 Dec 2011 19:33:25 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_98"], ["title", "message_template_98"], ["updated_at", Sat, 17 Dec 2011 19:33:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_21@example.jp"], ["encrypted_password", "$2a$04$8xxctPiAYWNlfDGilpXb0O9LgqB5kkkxS9Cv8xoQEU8Rr.e9sj0uO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_21"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:25 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 19:33:25 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:25.105085' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_99' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_99"], ["created_at", Sat, 17 Dec 2011 19:33:25 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_99"], ["title", "message_template_99"], ["updated_at", Sat, 17 Dec 2011 19:33:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_100@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_100@example.jp"], ["encrypted_password", "$2a$04$cZSE.yAiiXZEJO9V3K1ZLuw.MbTgJVDKv8kBXIcoYEeYl6VD3Ue0y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_100"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:25 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:25 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:25.137891' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_100' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_100"], ["created_at", Sat, 17 Dec 2011 19:33:25 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_100"], ["title", "message_template_100"], ["updated_at", Sat, 17 Dec 2011 19:33:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.3ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_101@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_101@example.jp"], ["encrypted_password", "$2a$04$.CLo5Mepy0l0Yy1EamZK7.ei9JcESeb7zqkzT2JHUn5Zm7jNeiSwa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_101"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:25 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:25 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:25.176214' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_101' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_101"], ["created_at", Sat, 17 Dec 2011 19:33:25 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_101"], ["title", "message_template_101"], ["updated_at", Sat, 17 Dec 2011 19:33:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 10ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_102' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_102"], ["created_at", Sat, 17 Dec 2011 19:33:25 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_102"], ["title", "message_template_102"], ["updated_at", Sat, 17 Dec 2011 19:33:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms Role Load (0.3ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_23@example.jp"], ["encrypted_password", "$2a$04$uRPwlNn4yGkVL/SS54ueFeMJrHftcb2LS4aE3s0Kzq0U4Z37ot8XG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_23"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:26 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 19:33:26 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:26.509653' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 SOLR Request (7.3ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A11&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (5.7ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A11&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 157ms (Views: 6.4ms | ActiveRecord: 0.3ms | Solr: 13.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_24@example.jp"], ["encrypted_password", "$2a$04$xl6y3FSH5N7DTf0O6/DTJuNJ9IbN/9vl/e2egjzKhpnfq7BBvn8UG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_24"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:26 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 19:33:26 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:26.692798' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML Parameters: {"user_id"=>"admin_24"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'admin_24' LIMIT 1 SOLR Request (7.3ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A11&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (4.2ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A11&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 32ms (Views: 1.4ms | ActiveRecord: 0.5ms | Solr: 11.5ms) Role Load (0.3ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_22@example.jp"], ["encrypted_password", "$2a$04$Wz0TxNAO9XmdHIvhQ3rRKu0zEgjlJQiAO9LhtmcK02eOCECC/bFJ2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_22"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:26 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 19:33:26 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:26.751196' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 SOLR Request (3.6ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A11&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (6.7ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A11&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 20ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 10.3ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_23@example.jp"], ["encrypted_password", "$2a$04$oWUXpJr3xsNdhqzpETMZSuAtXH1n4.W7ErMTcR/HI8Ht.qEy0uFeK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_23"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:26 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 19:33:26 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:26.804700' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML Parameters: {"user_id"=>"librarian_23"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'librarian_23' LIMIT 1 SOLR Request (5.5ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A11&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (10.6ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A11&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 27ms (Views: 1.4ms | ActiveRecord: 0.5ms | Solr: 16.2ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 SOLR Request (7.0ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (6.1ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IN (2) Completed 200 OK in 45ms (Views: 1.5ms | ActiveRecord: 0.5ms | Solr: 13.1ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML Parameters: {"query"=>"you"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 SOLR Request (4.2ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&q=you&fl=%2A+score&qf=body_text+subject_text&defType=dismax&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (8.9ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&q=you&fl=%2A+score&qf=body_text+subject_text&defType=dismax&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IN (2) Completed 200 OK in 27ms (Views: 1.4ms | ActiveRecord: 0.6ms | Solr: 13.1ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 SOLR Request (4.3ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (5.5ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Message Load (0.3ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IN (2) Completed 200 OK in 23ms (Views: 1.4ms | ActiveRecord: 0.6ms | Solr: 9.8ms) Processing by MessagesController#index as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 79ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 76ms (Views: 24.1ms | ActiveRecord: 0.6ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 403 Forbidden in 17ms (Views: 7.1ms | ActiveRecord: 0.5ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#show as HTML Parameters: {"id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 3 AND "messages"."id" = ? LIMIT 1 [["id", "2"]]  (0.0ms) SAVEPOINT active_record_1  (0.3ms) UPDATE "messages" SET "read_at" = '2011-12-17 19:33:27.237727', "updated_at" = '2011-12-17 19:33:27.238106' WHERE "messages"."id" = 2 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1  (0.5ms) UPDATE "messages" SET "state" = 'read', "updated_at" = '2011-12-17 19:33:27.251401' WHERE "messages"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 73ms (Views: 3.3ms | ActiveRecord: 1.8ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.3ms | ActiveRecord: 0.6ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (65.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_25@example.jp"], ["encrypted_password", "$2a$04$8bcgcsN00T.s8ld3IoUL4Otl.DdQ4jjF7lx0JaHgLFHSzO8e97d4S"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_25"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:27 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 19:33:27 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:27.515395' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 Completed 200 OK in 24ms (Views: 4.7ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_24@example.jp"], ["encrypted_password", "$2a$04$cZmOsDHBlV0wR.xIzOXSsOgx2rg9COfBM4RtM1xuZl88tNSnvcgKi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_24"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:27 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 19:33:27 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:27.574487' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 Completed 200 OK in 10ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML Parameters: {"parent_id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 18ms (Views: 1.7ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML Parameters: {"parent_id"=>"2"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 14ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Processing by MessagesController#new as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 12ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_26@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (7.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_26@example.jp"], ["encrypted_password", "$2a$04$PbdJTBUQJYQsS3R1tNW/NO5ROhJYyP3hTiIa43L1tiGQqdxlRLACu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_26"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:27 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 19:33:27 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:27.726597' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 11 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 11ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_25@example.jp"], ["encrypted_password", "$2a$04$384M1N5Nbz3IsRjaPwKwAu0D.JY59yl0djJJMRWmB18YyQM68c1Ci"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_25"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:27 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 19:33:27 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:27.761580' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 15ms (Views: 1.3ms | ActiveRecord: 0.6ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_102@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (67.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_102@example.jp"], ["encrypted_password", "$2a$04$DNYQ8TfYANsRIve0x6oEqOZ2NOgWG6qxxfGgCfML5SkTtcc6aOkBy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_102"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:27 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:27 UTC +00:00], ["user_id", 11]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:27.893450' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.2ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_103@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_103@example.jp"], ["encrypted_password", "$2a$04$rgLL3UMawhxc5/Kuu//9tOJNEv0q6SkSLuDCC8RwAk25jNCyl4AJS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_103"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:27 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:27 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:27.907497' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "user_102"]]  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_27@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_27@example.jp"], ["encrypted_password", "$2a$04$xQvmciZmaTSNchcjaUaj1OEmAEChMkOzGdNgKKwpOGR9ZxM2U5qP6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_27"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:27 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 19:33:27 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:27.932907' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}, "user_id"=>"user1"} User Load (7.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 24ms (Views: 4.7ms | ActiveRecord: 7.4ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_28@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_28@example.jp"], ["encrypted_password", "$2a$04$pJ55G0VPdS2Pwl3DM1sCe.hoAc3sSOCiuz9aH8r316akIvfOMbmr2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_28"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:27 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 19:33:27 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:27.979744' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 13ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_29@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_29@example.jp"], ["encrypted_password", "$2a$04$u14CooZG0axBjyekFvz8KO1uxOdb9yWUv36LJjG0BDbu9d.qAny/q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_29"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:28 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 19:33:28 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:28.040958' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 11ms (Views: 1.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_30@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_30@example.jp"], ["encrypted_password", "$2a$04$rxbaJrF.gTYPJl5WKTYFceEaR1fUgXwcNYhT2FYEeocSTpVBxyp4G"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_30"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:28 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 19:33:28 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:28.079616' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 13ms (Views: 1.2ms | ActiveRecord: 0.5ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test", "parent_id"=>"2"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = 2 LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "user2"]]  (0.0ms) SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "user2"]]  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 404 Not Found in 12ms (Views: 1.3ms | ActiveRecord: 0.6ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 0.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test", "parent_id"=>"2"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 8ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 50ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 5ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_104@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_104@example.jp"], ["encrypted_password", "$2a$04$0sIMr9sIK0ipaXxSC3zOKe5OgB2BgyXfh9wLIIkq0DJYo6YIxgXB."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_104"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:28 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:28 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:28.253671' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_105@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (25.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_105@example.jp"], ["encrypted_password", "$2a$04$JpOF08JI84cB8xib.bpptOHzFQ5MAlWDU..8e5Nwu4lwSxA9ZuMmW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_105"]] SQL (21.0ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:28 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:28 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:28.307598' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_104", "sender_id"=>"12", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 7ms (Views: 0.8ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_106@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_106@example.jp"], ["encrypted_password", "$2a$04$AEhbDv9wtSxGB3/VteBGle3CgT9CvTS2XwYmjOVxouqg2fiLsRY3."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_106"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:28 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:28 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:28.393609' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_107@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_107@example.jp"], ["encrypted_password", "$2a$04$Ims8jGOHbYzsUAh0KPJqIemue5e5MuMmYqxeQpWNKwiR2lVzJI0su"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_107"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:28 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:28 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:28.404334' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_106", "sender_id"=>"12", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 7ms (Views: 0.8ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_108@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_108@example.jp"], ["encrypted_password", "$2a$04$sVH.m6JxPajS0mxadhNYPOAEjSftg1Q2enOoQYn85A8P0jZFz9OFO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_108"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:28 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:28 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:28.522807' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_109@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_109@example.jp"], ["encrypted_password", "$2a$04$zUiHFZnrcaJYIflN3aWpoemUuFfYuirDhREamTnK/mV1u/bFdknVW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_109"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:28 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:28 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:28.535076' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 9ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_110@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_110@example.jp"], ["encrypted_password", "$2a$04$jaiqvagNhE2d.aaUEK6qeOgbx7AcZC5mBG56wo4i/6qSPUV2ZGHcq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_110"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:28 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:28 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:28.575400' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_111@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_111@example.jp"], ["encrypted_password", "$2a$04$nhmwl6Avu6tzqOg3p.I3vOe.JfXuX6Uw4GQLQ9AURueJ6lqZGxQkK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_111"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:28 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:28 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:28.584517' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 43ms (Views: 0.8ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_112@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_112@example.jp"], ["encrypted_password", "$2a$04$/214vyCUTppJzSAbzhfja.Xl6EKJnNGkcUiYFj9quTshb/ylysNEK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_112"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:28 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:28 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:28.653713' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_113@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_113@example.jp"], ["encrypted_password", "$2a$04$dbQY7EP6/U8Jc/sRqJJpeeD12QNzjFSNL/G1N39fUUQ4VreZm2roq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_113"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:28 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:28 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:28.662214' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_112", "sender_id"=>"12", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_114@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_114@example.jp"], ["encrypted_password", "$2a$04$0Utj73TiE1YNBFQw4AdDq.Cu/8VLtjfdsWTXSY2f2F.7LgFmOicdS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_114"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:28 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:28 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:28.731177' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_115@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_115@example.jp"], ["encrypted_password", "$2a$04$9iJiBXT4aMkGXW4pkxJvD.jNZFlOdOk/H5ua/0lADxZDVcUDSmN1e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_115"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:28 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:28 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:28.739915' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_114", "sender_id"=>"12", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.8ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_116@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_116@example.jp"], ["encrypted_password", "$2a$04$kGtatchaeGp1iAU0Q2kkdeEueCMtr71jIRf95oMLT8wAB.06r.iai"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_116"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:28 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:28 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:28.794434' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_117@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_117@example.jp"], ["encrypted_password", "$2a$04$/MvklT86s9p4eKAQ6sFqeOdHdrhEXS86Wn/geUoDfSOwVdfbXj08S"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_117"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:28 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:28 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:28.806361' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.8ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_118@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_118@example.jp"], ["encrypted_password", "$2a$04$TkYDhBe3Um4Mxgug4BEgz.CAY0ZqANwyY2WBSuP50uNoaY3Ap/WOa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_118"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:28 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:28 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:28.852791' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_119@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (80.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_119@example.jp"], ["encrypted_password", "$2a$04$4Yz9Czguc73b/VcjdTPS2umaM8nny6u/l8wsdocSorQD4UeGOT5WS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_119"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:28 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:28 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:28.941475' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 0.8ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_120@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (106.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_120@example.jp"], ["encrypted_password", "$2a$04$9L1/sif529mrCY8UQXjxs.AWCpvQsXnDqSVW7Kp8o4IFn4ekOIa5y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_120"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:29 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:29 UTC +00:00], ["user_id", 11]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:29.107406' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_121@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (35.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:29 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_121@example.jp"], ["encrypted_password", "$2a$04$djHngVBZsY0VQUnNhZie8uzQkZK7MUVNzvs0Kg.Xs9sT7/9MVzgNa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:29 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_121"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:29 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:29 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:29.154741' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 2.7ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_122@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:29 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_122@example.jp"], ["encrypted_password", "$2a$04$nemI/.tVpFMXkV6XLYu/KediCzCR05wTBSQfLxJMZTjZ8Mj8dSmEW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:29 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_122"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:29 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:29 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:29.245560' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_123@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:29 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_123@example.jp"], ["encrypted_password", "$2a$04$fc5v.gW3EL3tIK8BNGYCBeQhFdWOlwFVuS2xxS1sqPy01CTzw1e92"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:29 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_123"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:29 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:29 UTC +00:00], ["user_id", 12]]  (0.6ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:29.259250' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_124@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (82.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:29 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_124@example.jp"], ["encrypted_password", "$2a$04$K29yVZYvVUs2Lkfyi/jPM.eNgKQd.NbRTqxohCd60EybBEkE75mKW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:29 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_124"]] SQL (0.4ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:29 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:29 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:29.394725' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_125@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:29 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_125@example.jp"], ["encrypted_password", "$2a$04$AYxXddOjSVk9G.BmAt764.P.ex7gXygmAAkVnWzwrPz1oLH7VPL7i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:29 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_125"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:29 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:29 UTC +00:00], ["user_id", 12]]  (0.4ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:29.412014' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_124", "sender_id"=>"12", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.9ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.2ms | ActiveRecord: 1.1ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_126@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (29.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:29 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_126@example.jp"], ["encrypted_password", "$2a$04$Q/i51g3vb/JZmP6.XEQXcegs/lwaqfaIoKe5JZZ1xpyGPfKURqXfq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:29 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_126"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:29 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:29 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:29.627028' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_127@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:29 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_127@example.jp"], ["encrypted_password", "$2a$04$ahl1oVzedoTf25IUlxEO4eMPdLnDuTKIM024W6y8V7c7eMhhci7w."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:29 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_127"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:29 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:29 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:29.640329' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_126", "sender_id"=>"12", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_128@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:29 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_128@example.jp"], ["encrypted_password", "$2a$04$SIwGFeK1/Wh8Ha/IFgfexes34WrNDNJD/jXIG0pwQeBeMvIvRJIF2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:29 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_128"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:29 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:29 UTC +00:00], ["user_id", 11]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:29.700013' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.2ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_129@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (65.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:29 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_129@example.jp"], ["encrypted_password", "$2a$04$dvx89I/17Tg2UYzsLvROyOTsz8x16aWPKYlVUiF4vdD.qsmlvnxYm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:29 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_129"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:29 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:29 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:29.785273' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_130@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (48.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:29 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_130@example.jp"], ["encrypted_password", "$2a$04$C5lDC0q9o7iCx.2.WNpHj.9rpfFpRsHoCnXu5IJu6vp.TMyZGR5bu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:29 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_130"]] SQL (51.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:29 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:29 UTC +00:00], ["user_id", 11]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:29.949806' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_131@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:29 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_131@example.jp"], ["encrypted_password", "$2a$04$l.3bO9XaoMnKNWS6SsuZ0O8rZWrle8.wSMkr6JEWKzUj6A3sHChAS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:29 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_131"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:29 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:29 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:29.963697' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_132@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:29 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_132@example.jp"], ["encrypted_password", "$2a$04$mywn4Kt7FUmKxaI3lAkR8.V6HZm/XckfD9Gzh/X1JRM6f46yp8G9i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:29 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_132"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:29 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:29 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:29.998563' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (1.8ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_133@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:30 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_133@example.jp"], ["encrypted_password", "$2a$04$CicHb/jDopOhvoK2kxVlI.8pALewhoq.FvqO8sXBzBsdp4OkWrOUa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:33:30 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_133"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:33:30 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:33:30 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:33:30.014563' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 8ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#destroy as HTML Parameters: {"id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 3 AND "messages"."id" = ? LIMIT 1 [["id", "2"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "messages" WHERE ("lft" > 3 AND "rgt" < 4) SQL (27.7ms) UPDATE "messages" SET "lft" = ("lft" - 2) WHERE "messages"."id" IN (SELECT "messages"."id" FROM "messages" WHERE ("lft" > 4) ORDER BY "lft") SQL (0.6ms) UPDATE "messages" SET "rgt" = ("rgt" - 2) WHERE "messages"."id" IN (SELECT "messages"."id" FROM "messages" WHERE ("rgt" > 4) ORDER BY "lft") SQL (0.2ms) DELETE FROM "messages" WHERE "messages"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/messages Completed 302 Found in 43ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 12ms Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms SOLR Request (522.9ms) [ path=# parameters={data: type:Message, headers: {"Content-Type"=>"text/xml"}, method: post, params: {:wt=>:ruby}, query: wt=ruby, path: update, uri: http://localhost:8981/solr/update?wt=ruby} ] SOLR Request (296.6ms) [ path=# parameters={data: Message 1MessageActiveRecord::BaseMessageFirst Message432007-07-04T12:10:47ZfalseAbby, you get the first messageFirst MessageMessage 2MessageActiveRecord::BaseMessageRE: First Message342011-12-15T19:33:19ZfalseThanks Dad! You are the coolest!RE: First MessageMessage 3MessageActiveRecord::BaseMessageSecond Message432011-12-16T19:33:19ZfalseCatie, you get the 2nd messageSecond MessageMessage 6MessageActiveRecord::BaseMessageDad!542011-12-15T19:33:19ZfalseHe is sucha dork.Dad!, headers: {"Content-Type"=>"text/xml"}, method: post, params: {:wt=>:ruby}, query: wt=ruby, path: update, uri: http://localhost:8981/solr/update?wt=ruby} ] SOLR Request (2609.6ms) [ path=# parameters={data: , headers: {"Content-Type"=>"text/xml"}, method: post, params: {:wt=>:ruby}, query: wt=ruby, path: update, uri: http://localhost:8981/solr/update?wt=ruby} ] Fixture Delete (0.4ms) DELETE FROM "message_requests" Fixture Insert (0.2ms) INSERT INTO "message_requests" ("sender_id", "receiver_id", "message_template_id", "state", "created_at", "updated_at", "id") VALUES (1, 1, 1, 'pending', '2011-12-17 19:36:05', '2011-12-17 19:36:05', 980190962) Fixture Insert (0.1ms) INSERT INTO "message_requests" ("sender_id", "receiver_id", "message_template_id", "state", "created_at", "updated_at", "id") VALUES (1, 1, 1, 'pending', '2011-12-17 19:36:05', '2011-12-17 19:36:05', 298486374) Fixture Delete (0.2ms) DELETE FROM "message_templates" Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (1, 'reservation_accepted', 'Reservation accepted', 'Reservation accepted', 1, '2011-12-17 19:36:05', '2011-12-17 19:36:05') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (2, 'item_received', 'Item received', 'Item received', 2, '2011-12-17 19:36:05', '2011-12-17 19:36:05') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (3, 'reservation_expired_for_patron', 'Reservation expired', 'Reservation expired', 3, '2011-12-17 19:36:05', '2011-12-17 19:36:05') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (4, 'reservation_expired_for_library', 'Reservation expired', 'Reservation expired', 4, '2011-12-17 19:36:05', '2011-12-17 19:36:05') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (5, 'reservation_canceled_for_patron', 'Reservation canceled', 'Reservation canceled', 5, '2011-12-17 19:36:05', '2011-12-17 19:36:05') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (6, 'reservation_canceled_for_library', 'Reservation canceled', 'Reservation canceled', 6, '2011-12-17 19:36:05', '2011-12-17 19:36:05') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (7, 'recall_item', 'Recall item', 'Recall item', 7, '2011-12-17 19:36:05', '2011-12-17 19:36:05') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (8, 'recall_overdue_item', 'Recall overdue item', 'Recall overdue item', 8, '2011-12-17 19:36:05', '2011-12-17 19:36:05') Fixture Delete (0.3ms) DELETE FROM "messages" Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "read_at", "state", "lft", "rgt", "updated_at") VALUES (1, 3, 4, 'First Message', 'Abby, you get the first message', '2007-07-04 12:10:47.000000', '2011-12-14 19:36:05.000000', 'unread', 1, 2, '2011-12-17 19:36:05') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (2, 4, 3, 'RE: First Message', 'Thanks Dad! You are the coolest!', '2011-12-15 19:36:05.000000', 'unread', 3, 4, '2011-12-17 19:36:05') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (3, 3, 4, 'Second Message', 'Catie, you get the 2nd message', '2011-12-16 19:36:05.000000', 'unread', 5, 6, '2011-12-17 19:36:05') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (6, 4, 5, 'Dad!', 'He is sucha dork.', '2011-12-15 19:36:05.000000', 'unread', 7, 8, '2011-12-17 19:36:05') Fixture Delete (0.1ms) DELETE FROM "roles" Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Guest', 'Guest', 1, NULL, '2011-12-17 19:36:05', '2011-12-17 19:36:05') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('User', 'User', 2, NULL, '2011-12-17 19:36:05', '2011-12-17 19:36:05') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Librarian', 'Librarian', 3, NULL, '2011-12-17 19:36:05', '2011-12-17 19:36:05') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Administrator', 'Administrator', 4, NULL, '2011-12-17 19:36:05', '2011-12-17 19:36:05') Fixture Delete (0.1ms) DELETE FROM "user_groups" Fixture Insert (0.3ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('(not specified)', '(not specified)', '2007-12-13 12:00:51.564542', 1, '', '2007-12-13 12:00:01.674976', 1) Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('User', 'User', '2007-12-22 18:14:56.836548', 2, '', '2007-12-22 18:14:40.173954', 2) Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('Faculty', 'Faculty', '2007-12-22 18:15:05.134351', 3, '', '2007-12-22 18:15:05.126457', 3) Fixture Delete (0.1ms) DELETE FROM "user_has_roles" Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (1, 4, '2011-12-17 19:36:05', '2011-12-17 19:36:05', 135138680) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (2, 3, '2011-12-17 19:36:05', '2011-12-17 19:36:05', 344583537) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (3, 2, '2011-12-17 19:36:05', '2011-12-17 19:36:05', 206669143) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (4, 3, '2011-12-17 19:36:05', '2011-12-17 19:36:05', 226540757) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (5, 2, '2011-12-17 19:36:05', '2011-12-17 19:36:05', 358143215) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (6, 2, '2011-12-17 19:36:05', '2011-12-17 19:36:05', 576709754) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (7, 2, '2011-12-17 19:36:05', '2011-12-17 19:36:05', 1010528733) Fixture Delete (0.2ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:16:30.163731', '$2a$10$vHohD1WflnTIqAa8zMkF9evwAgIZRw3XuR4d3bi29M.jph/MB/AJi', 2, 1, NULL, 'admin', 'tanabe@kamata.lib.teu.ac.jp', '2007-11-19 07:58:32.111941', 4) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 03:41:16.337474', '$2a$10$9O2VuTccN4gHq36ARg0QReSrb1D7WrBBhZZ759RM9moHbB0W5zCzS', 1, 2, NULL, 'librarian1', 'librarian1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:33.172441', 1) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', '$2a$10$JthS59A0BNkDOoFpCXM0V.GhhffKaoWKbzpPahYp/vTFrOyM7h/uW', 1, 3, NULL, 'user1', 'user1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:23.340575', '$2a$10$YmmTGrYQ1Ir6oc7wXnp.GuNeO1eYLoP3sv8wMSIrTdaGw2BPwRrpS', 1, 4, NULL, 'librarian2', '2008-01-18 03:24:04.222344', 1) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:44.711117', '$2a$10$i7UjJhLVrJM/J7qaTwW39OXw1NiwowUEbtNHVDV0sqMLjX9.UO9ca', 1, 5, NULL, 'user2', '2008-01-18 04:29:06.922728', 2) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 6, NULL, 'user3', 'user3@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 7, NULL, 'user4', 'user4@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.3ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:05 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_1@example.jp"], ["encrypted_password", "$2a$04$zlCYU7GtyGFN6HjOl1osxem.RWHOD3OBzIBWgpB.5HtfG/YubSUe2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:05 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_1"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:05 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 19:36:05 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:05.832508' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Rendered /Users/kosuke/enju_message/app/views/message_requests/index.html.erb within layouts/application (3.5ms) Completed 200 OK in 86ms (Views: 21.9ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.3ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:05 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_1@example.jp"], ["encrypted_password", "$2a$04$CePP.bIqhbu5CZTvQfeFe.naAIa2O/Fi1FBEPKvveiivKjEDgjuGm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:05 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_1"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:05 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 19:36:05 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:05.950508' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 200 OK in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:05 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_1@example.jp"], ["encrypted_password", "$2a$04$u/Azimr0pjbKb6NK/TuC2.LFJmVy9V1QkGqArBqMpmU3EosuvRjGC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:05 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_1"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:05 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:05 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:05.984302' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 16ms (Views: 6.8ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "message_requests" WHERE ('t'='f') Processing by MessageRequestsController#index as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 16ms  (0.1ms) SELECT COUNT(*) FROM "message_requests" WHERE ('t'='f') Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (47.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_2@example.jp"], ["encrypted_password", "$2a$04$38.zuOVpxNw7S2qFQjMXLew6a6NodsQ96jU/qk0zMw04ExbAUrcD6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_2"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:06.088652' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_2@example.jp"], ["encrypted_password", "$2a$04$d9QYLCTYPgXbJctKWfXxve1VcrLBdtdpaeRdwOcXcTs7H3SvPNrZC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_2"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["user_id", 12]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:06.105798' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_3@example.jp"], ["encrypted_password", "$2a$04$AdY6l2skxc41aO1SEikccuTQkPB575BZwXTcl4rn0EuEIYWrPkU3C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_3"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:06.132717' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_1' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_1"], ["created_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_1"], ["title", "message_template_1"], ["updated_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_1' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.2ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 200 OK in 13ms (Views: 3.8ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_2@example.jp"], ["encrypted_password", "$2a$04$HBXHd9lWZdiMxXSVCRGqCuEp.MrR2MxHE7YHq0f3f97/4rcE3kp7y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_2"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:06.195599' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_4@example.jp"], ["encrypted_password", "$2a$04$VgB4M8B.MgLubKOspYmigOOzGLY0FEVvTHIZDaCIyTvDIQ/5cPH4K"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_4"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:06.209435' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.3ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_5@example.jp"], ["encrypted_password", "$2a$04$GwWHs4zyIVsb0m6DC9fBh.cQqi1dn8z.VzkSuLKiVlfYiD40jifUi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_5"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:06.224596' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_2' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_2"], ["created_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_2"], ["title", "message_template_2"], ["updated_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_2' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 200 OK in 11ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_6@example.jp"], ["encrypted_password", "$2a$04$7GNFDwv0BhgEc0gpfds/2OWcmw.RWyWyX0XnliHOBCBndfOiyYX6O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_6"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:06.281383' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_7@example.jp"], ["encrypted_password", "$2a$04$m6HqxqiiXnmejrLqodhz2eH2/ws3bgIaxN0pe1u9KqvZA3o1NHb7S"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_7"]] SQL (0.4ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["user_id", 12]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:06.357886' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_8@example.jp"], ["encrypted_password", "$2a$04$Gexwt5wX8ZHXkTwHRN56OuV5FJyk3ynUTq93yi2LDYm2PwRLiTNIK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_8"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:06.371492' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_3' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_3"], ["created_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_3"], ["title", "message_template_3"], ["updated_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_3' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_9@example.jp"], ["encrypted_password", "$2a$04$PYMHkDEalZs/yz48FzBdSerK11MVQ2AgHD3MQimQfYimeVULld0a2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_9"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:06.418797' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_10@example.jp"], ["encrypted_password", "$2a$04$D0ka3AuxNVogsxDrHkQ8RevQ1mwYaw0Zt9ovke2J90k47Nxj6PtLy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_10"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:06.432820' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_4' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_4"], ["created_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_4"], ["title", "message_template_4"], ["updated_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_4' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.5ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_3@example.jp"], ["encrypted_password", "$2a$04$yJtUhQXdPJ1gG/p9Ep5JteaijCiNOk1.E6XnZWBpCcb9T6ERF7DyC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_3"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:06.472212' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (11.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_11@example.jp"], ["encrypted_password", "$2a$04$SgsUr.VDFI382xqHpe1QrO.xRAhdm7kGOAtQn5i9SPL4lcTYhPOYe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_11"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:06.499196' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_12@example.jp"], ["encrypted_password", "$2a$04$lI5CeIRk/QOhIG/6uScpqu4E.Jvh8R/MNzPxLHdEyS0AHC7xp1nGi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_12"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:06.512317' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_5' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_5"], ["created_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_5"], ["title", "message_template_5"], ["updated_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_5' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 27ms (Views: 8.9ms | ActiveRecord: 0.6ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_3@example.jp"], ["encrypted_password", "$2a$04$HQ1aRCBaWANMI5YzI.HtUOtObZLhW6OzX18mhciaOI6bH4oBvzS1G"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_3"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:06.570963' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (23.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_13@example.jp"], ["encrypted_password", "$2a$04$iQQvB2SpaTgz.xINdggRK.vFRe8EmJ9qs9ODJGfzhsymaq.cmgfvK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_13"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:06.605877' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_14@example.jp"], ["encrypted_password", "$2a$04$t8J4Ec7LjH1I27n4sZUYYeR7BpOp2HVmUpGHrVcchKTst4eV29Pom"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_14"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:06.619688' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_6' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_6"], ["created_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_6"], ["title", "message_template_6"], ["updated_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_6' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 62ms (Views: 1.4ms | ActiveRecord: 0.6ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_15@example.jp"], ["encrypted_password", "$2a$04$EQBWZkk7HRKx6S/bnmlTFO.29tisgzMry.yVTJh5VsWhx4bzhX/Cm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_15"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:06.741205' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_16@example.jp"], ["encrypted_password", "$2a$04$3K92zv4kDJXmlbUJ7R5lOuGN4DkhHkvDka5hmul6K4L5bqQKIedcS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_16"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:06.755573' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_17@example.jp"], ["encrypted_password", "$2a$04$EMx0fU0lLtBfJU4BsD9AreM7/Ynd1TRN.xWH4U/.Y6.IXIJtP8sQq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_17"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:06.769251' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_7' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_7"], ["created_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_7"], ["title", "message_template_7"], ["updated_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_7' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_18@example.jp"], ["encrypted_password", "$2a$04$bP/xNnPopm0ZMpBbwel75.dYcdtvuXOZM372Ox8dTD3zmgLx14aey"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_18"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:06.812392' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_19@example.jp"], ["encrypted_password", "$2a$04$LQovAaIlNGD9jaLKHBGrRuYWKMzK82O1LZEqVaKw519Z6rilESFr6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_19"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:06.826423' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_8' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_8"], ["created_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_8"], ["title", "message_template_8"], ["updated_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_8' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_20@example.jp"], ["encrypted_password", "$2a$04$nZmNovjX8.84ougeedlYfutk9pH8H//3w.mVAdqxFk0BQfhbPMXo2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_20"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:06.863525' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_21@example.jp"], ["encrypted_password", "$2a$04$EE2Iupr80o1eETUqABacHuwTemR2vw0eENML8AVlEI3v9D.p2lu06"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_21"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:06.880063' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_9' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_9"], ["created_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_9"], ["title", "message_template_9"], ["updated_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_9' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_22@example.jp"], ["encrypted_password", "$2a$04$KE.45JL9OmdLnHe1qctaHuMpyBXYWXLer/roxY/VqjuJNWgvRCjU2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_22"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:06.904631' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_23@example.jp"], ["encrypted_password", "$2a$04$8Pv98TU6VEwHccdZlDrNB.asFKvk2WKSIaVfxAYwYl0cod9PUQihS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_23"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:06.917518' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_10' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_10"], ["created_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_10"], ["title", "message_template_10"], ["updated_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (55.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_4@example.jp"], ["encrypted_password", "$2a$04$Dg.tDCSbyKQ9QUHa4KsvkePTq/mVkoEL1R5qALKIf0Uct0vuONUUi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_4"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 19:36:06 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:06.988948' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"13", "receiver_id"=>"14", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 15 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 15 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_10' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 13, "receiver_id" = 14, "message_template_id" = 10, "updated_at" = '2011-12-17 19:36:07.008316' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 20ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_24@example.jp"], ["encrypted_password", "$2a$04$eoER4jGVw0ivLCHwABoh1O9Ip3DssgT4qnx7xXJBJpB2MTFl3OmWu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_24"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:07.028416' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_25@example.jp"], ["encrypted_password", "$2a$04$QgyVPGI.nBVqwRZ.fQEjtelXJtEqhEQ4.XtVag7Zrkfs3docemCxm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_25"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:07.042147' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_11' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_11"], ["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_11"], ["title", "message_template_11"], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_11' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_26@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_26@example.jp"], ["encrypted_password", "$2a$04$XVxCvNZ0fThdWyNQdGBeH.iptzMVrO9JzVXnWe5XyHa4aOf5DEYqK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_26"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:07.066257' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_27@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_27@example.jp"], ["encrypted_password", "$2a$04$6fPaqsaFf7jIh1W/uyf/2.hcGvFova3fl/H7WSEhPrcbESdJXajGq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_27"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:07.079022' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_12' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_12"], ["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_12"], ["title", "message_template_12"], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_5@example.jp"], ["encrypted_password", "$2a$04$LxPuLWNbwubHbICYISIjvuErD5MV1ZAIrJ8kcZzPBwePTz6vB4Iba"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_5"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:07.096118' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"13", "receiver_id"=>"14", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 15 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 15 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_12' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 13, "receiver_id" = 14, "message_template_id" = 10, "updated_at" = '2011-12-17 19:36:07.118922' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 21ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_28@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_28@example.jp"], ["encrypted_password", "$2a$04$tFRaU6bw8TbRU8fQQ/NjAuhfZ8MrvphfEv6teZbwCdGKtu3O5ZlH6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_28"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:07.138291' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_29@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_29@example.jp"], ["encrypted_password", "$2a$04$EXgSLux022RDYrd/GwaZfeoORGixtVQsq4cLrwR90Rjyni3aR3LKO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_29"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:07.152076' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_13' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_13"], ["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_13"], ["title", "message_template_13"], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_13' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_30@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_30@example.jp"], ["encrypted_password", "$2a$04$P8S58MX2i4TplGs1XaX7JumOGYasta1Jdl5dZiJAKxV1G8//sGm1i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_30"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:07.176591' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_31@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_31@example.jp"], ["encrypted_password", "$2a$04$A6zXQes30RqLeMX/KIFANew5IVoO.g2TSHpK9bruuO9B3Fmqjtcq2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_31"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:07.189133' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_14' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_14"], ["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_14"], ["title", "message_template_14"], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (56.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_6@example.jp"], ["encrypted_password", "$2a$04$4XnRH0cFO4myzOVB2TQ6MuNOiUz0HmHe8HqCU5o4PbEyHEn7OINNq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_6"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:07.261704' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 15 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 15 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_13' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 17ms (Views: 1.4ms | ActiveRecord: 1.0ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_32@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_32@example.jp"], ["encrypted_password", "$2a$04$76GedLkwrU8PXl7y6kZ0W.gxguYMQfk4BFaF/03xwfZniiSVdNuvm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_32"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:07.299404' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_33@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_33@example.jp"], ["encrypted_password", "$2a$04$sG507kQrLgXUf5HwNOBHIeIEIu2FiZyMnDPb06ymotYt.MmQXUUKC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_33"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:07.315965' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_15' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_15"], ["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_15"], ["title", "message_template_15"], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_15' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_34@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_34@example.jp"], ["encrypted_password", "$2a$04$zIk7b5YEkcr.C9UiBNrquuzgeZ2b7CvTY527L5Pb6AryBlJm7z4A6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_34"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:07.341383' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_35@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_35@example.jp"], ["encrypted_password", "$2a$04$PbdnJo4lq0RCY2R..BCqBuovz4UCSPTKDt15KO9LEZ0Qw0JU0H5xq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_35"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:07.354706' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_16' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_16"], ["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_16"], ["title", "message_template_16"], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_4@example.jp"], ["encrypted_password", "$2a$04$b7wJ9gCQmpjN8SIcpalzK.N.6Oz/p0uon1w1ei1mwead8DdTXS0ne"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_4"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:07.371654' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"13", "receiver_id"=>"14", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 15 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 15 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_16' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 13, "receiver_id" = 14, "message_template_id" = 10, "updated_at" = '2011-12-17 19:36:07.390395' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 16ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_36@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (5.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_36@example.jp"], ["encrypted_password", "$2a$04$iWSe4hKlVR5z75rArv2F1.Sex8BGcS8m2jVl5qczyqmv1w3CTITLy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_36"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:07.412418' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_37@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_37@example.jp"], ["encrypted_password", "$2a$04$TZotnRxdSe44EfcXxXMzuOtHcrbQzxLeNIhsxqqd7gqRj6Qmb8ZiC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_37"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["user_id", 12]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:07.426504' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_17' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_17"], ["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_17"], ["title", "message_template_17"], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_17' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_38@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_38@example.jp"], ["encrypted_password", "$2a$04$UWhhmeqpBQfj4j5lDK1SceQcjZjhVHRYPpfCBCkJ5ep..nTnS3RjG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_38"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:07.451043' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_39@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (6.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_39@example.jp"], ["encrypted_password", "$2a$04$Mo/qyHrx/PXy4Apb6Pwl6OvmRGg8ENYKOMSjfbVyJ0XsBmE9XLTGS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_39"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:07.468598' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_18' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_18"], ["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_18"], ["title", "message_template_18"], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.3ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_5@example.jp"], ["encrypted_password", "$2a$04$/AdwiFvdXNxwz71qXD4TDuRf74rEVqTiWS2sw82pGfzvaGAYRijfW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_5"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:07.562742' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"13", "receiver_id"=>"14", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 15 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 15 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_18' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 13, "receiver_id" = 14, "message_template_id" = 10, "updated_at" = '2011-12-17 19:36:07.581657' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 18ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_40@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_40@example.jp"], ["encrypted_password", "$2a$04$LNtVQj05JjalYnkoXj7NbOYruDzLqNkDqKTdqyxFzimkDlbHDmTYm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_40"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:07.603010' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_41@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_41@example.jp"], ["encrypted_password", "$2a$04$EU.qTVlA7RzyyidxE4kLk.c4Kl3ZEe837EHzFgT/dfkRNTa3Pk33i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_41"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:07.618452' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.4ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_19' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_19"], ["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_19"], ["title", "message_template_19"], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (1.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_19' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_42@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_42@example.jp"], ["encrypted_password", "$2a$04$j6wl6rYuu1zZ5BDmwJTLH.Wt2/.d7TIHzSd.ofynM2D7jXZfhMoeK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_42"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:07.645816' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_43@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_43@example.jp"], ["encrypted_password", "$2a$04$hZTlqesbra8OcMLvcuUNp.0Y0ZERaFrNBfPX8v9GzkNKB28Y5vm9C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_43"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:07.658606' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_20' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_20"], ["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_20"], ["title", "message_template_20"], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_6@example.jp"], ["encrypted_password", "$2a$04$d/Zy6UemqGsr3LV4EF9RCurqUj21FaIgfQhO2Rp99ZBp.Zkwh6rRG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_6"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:07.686080' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 15 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 15 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_19' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 21ms (Views: 1.3ms | ActiveRecord: 1.0ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_44@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_44@example.jp"], ["encrypted_password", "$2a$04$zwJZsKg7OhWJkzVQmzt/zOWZfZxLcmq7lM5AVF2leAwsjE5lc02fq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_44"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:07.731025' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.3ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_45@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_45@example.jp"], ["encrypted_password", "$2a$04$qcJweYBhhDEmOApF8riueuaJ.xnXq6ka0v3OBC5b4Rvdeo5QA29L6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_45"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:07.746847' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_21' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_21"], ["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_21"], ["title", "message_template_21"], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_21' AND "message_templates"."id" != 9) LIMIT 1 SQL (1.2ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_46@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_46@example.jp"], ["encrypted_password", "$2a$04$JnuVrYJKjLCfhRrrFFTyAu2OkMpAYyvkSfB7Fv0NUuhBWCRqkX.6S"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_46"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:07.771140' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_47@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (53.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_47@example.jp"], ["encrypted_password", "$2a$04$znVks7rDTc9DW9EC48uvqurw8SLZCmTMX4LjBpnbL1cyiIJSOsvCm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_47"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:07.836805' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_22' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_22"], ["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_22"], ["title", "message_template_22"], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_48@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_48@example.jp"], ["encrypted_password", "$2a$04$E0y5tO9UYEHRVStjbxmIZud9rBOjll64AXn.r5.uw818bc9b6Y/B6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_48"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:07.855270' WHERE "roles"."id" = 2  (4.8ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"13", "receiver_id"=>"14", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 15 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 15 LIMIT 1 Completed 403 Forbidden in 14ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_49@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_49@example.jp"], ["encrypted_password", "$2a$04$DEJYPe.S.wqv1/S6eS3/FexANivltOlsXodIPurOA4731/IwGH07W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_49"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:07.894898' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.4ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_50@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_50@example.jp"], ["encrypted_password", "$2a$04$M.kht2ySqMTGOfgHyj835OL1E/X.Tp6AcW9bPZ8qunNm62iKgQ06m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_50"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:07.909196' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_23' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_23"], ["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_23"], ["title", "message_template_23"], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_23' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_51@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_51@example.jp"], ["encrypted_password", "$2a$04$BtRp7DUUjo6lRMMAAu5ws.hmUDoHTo3M24XvJgDgJDxtBLhDvpR/a"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_51"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["user_id", 13]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:07.934252' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_52@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_52@example.jp"], ["encrypted_password", "$2a$04$nCNM3UpENFdB7YZFjOlvz.kFBJynjAayauPv/l3Q1UXk6JAVK1ZS6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_52"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:07.949819' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_24' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_24"], ["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_24"], ["title", "message_template_24"], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_53@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_53@example.jp"], ["encrypted_password", "$2a$04$ZabzZ7.wzdz30N.OlhoSeeQnd4e7IeomLBqgjVv47zKn3CtGyYD92"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_53"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:07.966709' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"13", "receiver_id"=>"14", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 15 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 15 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_54@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_54@example.jp"], ["encrypted_password", "$2a$04$MJXPw2FzIiZh.TWS35A8AehYlSM/aURmm2H/JvT337kErv05CKGIe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_54"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:07 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:08.000951' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_55@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_55@example.jp"], ["encrypted_password", "$2a$04$VUctkGyBZfpFFt56K6kjK.Y5w1dkgamQ6QYPd7s7SfoFUV/umQFRW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_55"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:08.015247' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_25' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_25"], ["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_25"], ["title", "message_template_25"], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_25' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_56@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_56@example.jp"], ["encrypted_password", "$2a$04$1PLtNOKm4/nmVaYNIRCMgOaDXENYwRW0UbD1.iSUFJGzGHp6tPLx."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_56"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:08.044613' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_57@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (54.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_57@example.jp"], ["encrypted_password", "$2a$04$pMEef0ciuVIbERKDfIiK5Oh.V9O9HemaCTbGrQtUoLGX.r9CYrBpG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_57"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:08.110306' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_26' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_26"], ["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_26"], ["title", "message_template_26"], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_58@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_58@example.jp"], ["encrypted_password", "$2a$04$jB7OoLCRCPzYhKV0CH.b8uEtIg3mKM7r/vCnt4XSrQ/EzWikF5qzW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_58"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:08.127094' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 15 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 15 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_59@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_59@example.jp"], ["encrypted_password", "$2a$04$Y9.1QpbnCc9b2hONIUo9y.EifvKnjFbUi5yxyanuuZJgzb9zzzSYq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_59"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:08.156899' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_60@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_60@example.jp"], ["encrypted_password", "$2a$04$kbGxgiCKBBJfTCGNUZjjJ.QXpTx82QV0ip3D58A.SbkD0I.TgzQPK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_60"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:08.169930' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_27' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_27"], ["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_27"], ["title", "message_template_27"], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.8ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_27' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_61@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_61@example.jp"], ["encrypted_password", "$2a$04$EiYjCAhlbJCh1BX6Exvt8.E8W3ve3O5cHjjuwTMH7Bspu3TCmckjC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_61"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:08.195440' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_62@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_62@example.jp"], ["encrypted_password", "$2a$04$FXcL8NEeSs49FEl3GtuaWelOUd88hbB6C7hFwSaKjK5fHtL3yN/D2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_62"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:08.208691' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_28' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_28"], ["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_28"], ["title", "message_template_28"], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"13", "receiver_id"=>"14", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_63@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_63@example.jp"], ["encrypted_password", "$2a$04$RWebMYXWebF0.DsT8DAXROnrS/.moWTdlsOTSejAR4sdf6H4fUhU."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_63"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:08.240875' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_64@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_64@example.jp"], ["encrypted_password", "$2a$04$ilJN2R6VhV3io8LZh9xio.q83NzjAf3XjEbgg5si7hhncpuBDPGRK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_64"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:08.256353' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_29' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_29"], ["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_29"], ["title", "message_template_29"], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_29' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.3ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_65@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_65@example.jp"], ["encrypted_password", "$2a$04$dgkVCHJg8zkIQWG1xuus5.I2f27t.A0samz49q/A7e7H5XvPWwuNy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_65"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:08.282388' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_66@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_66@example.jp"], ["encrypted_password", "$2a$04$dKITuQfBASwAlhAmX2mlnuvNsBrh7VdGDk.LJMEZXqyUtMC3Bgup6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_66"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:08.295034' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_30' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_30"], ["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_30"], ["title", "message_template_30"], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"13", "receiver_id"=>"14", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 8ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_67@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_67@example.jp"], ["encrypted_password", "$2a$04$ZkuGwdd65V0V6bk2LsMAP.ifo7E5aCv6S8VB/X0ga7wLyP2c6hq/K"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_67"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:08.394860' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_68@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_68@example.jp"], ["encrypted_password", "$2a$04$DpFEXcWTH05OPG49nhWkEexiD52.v1.EYCSk8zbxXr767KckSnNoW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_68"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:08.409185' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_31' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_31"], ["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_31"], ["title", "message_template_31"], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_31' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_69@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_69@example.jp"], ["encrypted_password", "$2a$04$8MHSKm/xUoPnJBURb/wbU.bifOZkN1i0glaYkp5qHfzwssdSUBI/q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_69"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:08.435092' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_70@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_70@example.jp"], ["encrypted_password", "$2a$04$W8cyet.NljRZ6HTlptUA8ODxZmkm8ZEIr0N1QH3stxtXcgs7qi5Da"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_70"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:08.448788' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_32' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_32"], ["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_32"], ["title", "message_template_32"], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_71@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_71@example.jp"], ["encrypted_password", "$2a$04$1PSbJY.IRP6H.618HAvW1enIw4YZlmcVgdHzVfZ8gGgTXyJtUhfuq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_71"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:08.483858' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_72@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_72@example.jp"], ["encrypted_password", "$2a$04$fPILpXoSvPsk/f/J5ce4kOHx00FpEt9XBxIlGrGKfsyzNwz.viPQK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_72"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:08.497390' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_33' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_33"], ["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_33"], ["title", "message_template_33"], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_33' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_7@example.jp"], ["encrypted_password", "$2a$04$KoVaDiiDb1/NBm60.JxEYuvmzb0DJL8avA4pEfjC94zfi0d4bwsoa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_7"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:08.520702' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 13 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 10ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_73@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_73@example.jp"], ["encrypted_password", "$2a$04$dsl6doh24PhFw7BlawIHeOkykmAMVnPRKqSOvhL1PUCy44Row9KwO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_73"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:08.545997' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_74@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_74@example.jp"], ["encrypted_password", "$2a$04$Z6tNtxA16Evhazfx4S9.5ea1bpSajNFvFIcZYc2YkpNygHwkyiexu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_74"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:08.559000' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_34' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_34"], ["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_34"], ["title", "message_template_34"], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_34' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_8@example.jp"], ["encrypted_password", "$2a$04$bbEiXugJ76N8U.N6ROTAj.n8C0Q39re4H5Wm1cSpxQiaRWmIGCfda"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_8"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:08.582368' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 13 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 46ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_75@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_75@example.jp"], ["encrypted_password", "$2a$04$efan3Rpjq6xWQFYGSs/MPORheyQvzHd0.y8/khLbgcFjzFTYrt2uO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_75"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:08.641488' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_76@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_76@example.jp"], ["encrypted_password", "$2a$04$kEqGDsAeODcgHPLYu/71heRWjANiCzLWQVDaMl/KW4xjszVE25wBe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_76"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:08.649044' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_35' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_35"], ["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_35"], ["title", "message_template_35"], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_35' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_7@example.jp"], ["encrypted_password", "$2a$04$Z6.EfZDckF9b6GOB1LZO9eiIqiYQPrVh3zSKQLEHGzaZ4esfh7t52"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_7"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:08.662339' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 13 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 5ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_77@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_77@example.jp"], ["encrypted_password", "$2a$04$3yhxAvgKkSIvQGyMN3QUX.3dEh0STJlYo8Ihz.QNhxYFRNtBBOUAC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_77"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:08.678138' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_78@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_78@example.jp"], ["encrypted_password", "$2a$04$ib78jsnhC2C3SR0W6XVXlOjkmCDy7/wQdKNl4xM/UeSCcfawH5PPG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_78"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:08.685716' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_36' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_36"], ["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_36"], ["title", "message_template_36"], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_36' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_8@example.jp"], ["encrypted_password", "$2a$04$vD//C7c9.DXeKXB9uw13lu7HzXzLNN0/hLLKB5Ud8mH0czww.a6da"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_8"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["user_id", 13]]  (0.0ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:08.698838' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 13 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 6ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_79@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_79@example.jp"], ["encrypted_password", "$2a$04$J7CcUB2PstHlGCq7Sb2KZe0AizcyNP9VTtakslqov01wSk6AgyoIm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_79"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:08.715822' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_80@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_80@example.jp"], ["encrypted_password", "$2a$04$kixQx8NgekJSUHUa/iF5BuQsGIa8TK0gBHO9jeS1GHiRRe4yJj1Ia"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_80"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:08.723635' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_37' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_37"], ["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_37"], ["title", "message_template_37"], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_37' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_81@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_81@example.jp"], ["encrypted_password", "$2a$04$tCxXVYQc1DKaWjsG2KkYeOyPAQgFfJ6Wc3mTk728QeD58pZHDStZ."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_81"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:08.736770' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 13 LIMIT 1 Completed 403 Forbidden in 37ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_82@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_82@example.jp"], ["encrypted_password", "$2a$04$JddZyucvD32yMCo41mPxHusB4HQvfVV9Mp0ufkyv9FFCDngjqEHiW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_82"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:08.785128' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_83@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_83@example.jp"], ["encrypted_password", "$2a$04$j4iJYC7uLcHqHPht/dRdK.kZt1z2OCtT83DZqETbs9r15z/SbWdsO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_83"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:08.792637' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_38' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_38"], ["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_38"], ["title", "message_template_38"], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_38' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_84@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_84@example.jp"], ["encrypted_password", "$2a$04$q4tm3l48XmWBQRSVo8OhRunV6DUjFQxguvIs/aTg2Hm4.170BENlK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_84"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:08.806059' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 13 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.7ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_85@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_85@example.jp"], ["encrypted_password", "$2a$04$kU9gbPdau3EXZHQrmLEEseQkze1BMaYp6DOwY99X6YL6gxUzwNMXi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_85"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:08.822690' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_86@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_86@example.jp"], ["encrypted_password", "$2a$04$/Mg8sVFXbC.9qdHKYJFeVu9qQl9C8Efli9csxEYT55uP2jd8fUbcS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_86"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:08.830632' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_39' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_39"], ["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_39"], ["title", "message_template_39"], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_39' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_87@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_87@example.jp"], ["encrypted_password", "$2a$04$bB6zBfc/Zg.5hyOWw4aW8unV8Taca9slZgJt7oV0POeYtoaLgIXTm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_87"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:08.851846' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_88@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_88@example.jp"], ["encrypted_password", "$2a$04$Rybx8ywANSjQ4hkiXaeomOLvRGyflMy5bX5fCrDJvOtA8j5z9yqci"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_88"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:08.859642' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_40' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_40"], ["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_40"], ["title", "message_template_40"], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_40' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_41' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_41"], ["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_41"], ["title", "message_template_41"], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_9@example.jp"], ["encrypted_password", "$2a$04$t4Inrf2JkhIO0HM.tZjuzOn7tCb9JrzpW4IERK6n.49JuBZ1dysbO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_9"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:08.884063' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 200 OK in 8ms (Views: 3.0ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position LIMIT 10 OFFSET 0  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_42' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_42"], ["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_42"], ["title", "message_template_42"], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_9@example.jp"], ["encrypted_password", "$2a$04$qtEwg9qTDK3Ly35IH1TeUe7UOSPGptQjxTxzq6fmg7eCetxmaiLni"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_9"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:08.939791' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position LIMIT 10 OFFSET 0  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_43' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_43"], ["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_43"], ["title", "message_template_43"], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_89@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_89@example.jp"], ["encrypted_password", "$2a$04$Exeeww2Gd0DVCCjBjg1pUu6Gumh71Y7fsyzpXYB6blw2bWcpnb9oK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_89"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:08.959885' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.8ms | ActiveRecord: 0.1ms | Solr: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "message_templates" WHERE ('t'='f')  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_44' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_44"], ["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_44"], ["title", "message_template_44"], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 3ms  (0.1ms) SELECT COUNT(*) FROM "message_templates" WHERE ('t'='f') Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_10@example.jp"], ["encrypted_password", "$2a$04$Qq8ysuJRTh4C1JWaOjJ3c.dqGnbCY.rK5VWjmRiDcsZPb.YHgf8VC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_10"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:08.985172' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_45' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_45"], ["created_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_45"], ["title", "message_template_45"], ["updated_at", Sat, 17 Dec 2011 19:36:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 200 OK in 6ms (Views: 1.6ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_10@example.jp"], ["encrypted_password", "$2a$04$lRC8dWhS9xIAoIr7zUoNiedHWxymF0fhp4PlrXH/ri0qyPBtcMBAy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_10"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:09.005528' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_46' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_46"], ["created_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_46"], ["title", "message_template_46"], ["updated_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_90@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_90@example.jp"], ["encrypted_password", "$2a$04$heGXM8jG5LsiOE/krgmVseq6KiNuOk2uIHafJYSyHARSddFtOw.5a"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_90"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:09.024882' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_47' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_47"], ["created_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_47"], ["title", "message_template_47"], ["updated_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_48' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_48"], ["created_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_48"], ["title", "message_template_48"], ["updated_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 3ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_11@example.jp"], ["encrypted_password", "$2a$04$NIBwzq1kSwqxqSfAIqdwgOmK.36TWheaQw6wjlpfPJx1IIAWSnRT6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_11"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:09.052544' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_11@example.jp"], ["encrypted_password", "$2a$04$BvupEz5zhAfvmTcbP9apr.stA1bLaiW2cuWh4gWW/Nn8eoV5dK9ue"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_11"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:09.104225' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_91@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_91@example.jp"], ["encrypted_password", "$2a$04$Tlpw1LHFgPHbkBDb.I5ZPeOc/b4rW1ROIGg6LZ7mmp5Ol4ctKFnKa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_91"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:09.123110' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.8ms | ActiveRecord: 0.1ms | Solr: 0.0ms) MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Processing by MessageTemplatesController#new as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 3ms MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_12@example.jp"], ["encrypted_password", "$2a$04$6DhQ50tzaZL5K4ja.zXgjOk3wMwvCpNYa/BLKnyYqDt9W2jTHWBuq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_12"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:09.147774' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_49' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_49"], ["created_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_49"], ["title", "message_template_49"], ["updated_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 200 OK in 6ms (Views: 1.5ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_12@example.jp"], ["encrypted_password", "$2a$04$CsI2Z8WPMId2hIASatQbzOaFmxhBYIArBv6P6sFhdQeYlDJOLRR66"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_12"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:09.167093' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_50' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_50"], ["created_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_50"], ["title", "message_template_50"], ["updated_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_92@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_92@example.jp"], ["encrypted_password", "$2a$04$q3oT662CbzZy6sWa2sgVTONyN7ptNKgxPtK9EAelao9ZrioJI.uNm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_92"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:09.185977' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_51' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_51"], ["created_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_51"], ["title", "message_template_51"], ["updated_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_52' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_52"], ["created_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_52"], ["title", "message_template_52"], ["updated_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 3ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_13@example.jp"], ["encrypted_password", "$2a$04$soPwgPGqN4wwWPz.q0HSKOGut/xpPoU8yZ/Cv4ZQQsatrTFZhzFlK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_13"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:09.213670' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_53", "status"=>"message_template_53", "body"=>"message_template_53"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_53' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (34.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_14@example.jp"], ["encrypted_password", "$2a$04$wHC6UQbu2bCNz40XMUJlKe7mfXHUqD2IIUckM39xe9skcfihvOi3u"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_14"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:09.264887' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_54", "status"=>"message_template_54", "body"=>"message_template_54"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_15@example.jp"], ["encrypted_password", "$2a$04$s4nqrMQwLNOtenuLnCYPwObLaguX0FpayJXw3/8Lo3rG87kgq0FW."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_15"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:09.281810' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.8ms | ActiveRecord: 0.1ms | Solr: 0.0ms) MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_16@example.jp"], ["encrypted_password", "$2a$04$8dWnfh9fVAXBRwbomwDdqeBgZaGitPInxZ8M3cwGNrhR5QtE4W.fm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_16"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:09.299052' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_13@example.jp"], ["encrypted_password", "$2a$04$H4zE16mNDfJHi5Mcura/i.rBIammo9cb6B4zMZDJMaeKuE3LAZSAy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_13"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:09.315058' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_57", "status"=>"message_template_57", "body"=>"message_template_57"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_57' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_14@example.jp"], ["encrypted_password", "$2a$04$yJfjSuRsI5BhJgOLBa95Cu5HuNqDKmEfoNxRqCU7uu6dwzn2JrRy."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_14"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:09.332223' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_58", "status"=>"message_template_58", "body"=>"message_template_58"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_15@example.jp"], ["encrypted_password", "$2a$04$Jl2IsM.M4GZGy5khShB2P.L9oB3XHMTn1SPggZNp.GhJ.bMn9bXXu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_15"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:09.347678' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.8ms | ActiveRecord: 0.1ms | Solr: 0.0ms) MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_16@example.jp"], ["encrypted_password", "$2a$04$2wR.bAeM0G3shFu0MyQnfumJ8IiiVncm3Uuh5fO4Du/Bnmv9HQvR6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_16"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:09.365382' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_93@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_93@example.jp"], ["encrypted_password", "$2a$04$M6KtWuAtGP0WavTkag5Xt.FTnxGMDi0LBuWs0j7vS.Eb8UiagVI3a"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_93"]] SQL (32.8ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:09.414439' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_61", "status"=>"message_template_61", "body"=>"message_template_61"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_61' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_94@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_94@example.jp"], ["encrypted_password", "$2a$04$PRBTOyU6lLU9SoNSDKOUzezj4HoF/SHFPmG1x8knIwYCjHjYvEi7O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_94"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:09.432240' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_62", "status"=>"message_template_62", "body"=>"message_template_62"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_95@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_95@example.jp"], ["encrypted_password", "$2a$04$ZXhWHGncgMTvyAp.Tp9/p.NDSUSN0VK6xr0DAeUlZWyIOQVdJtFi."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_95"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:09.447851' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_96@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_96@example.jp"], ["encrypted_password", "$2a$04$uhMQVy.Yhi1bphu455BikeS7XcRDlQTWl4dxSFQVfSEnvTt.NwYa6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_96"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:09.465603' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.8ms | ActiveRecord: 0.1ms | Solr: 0.0ms) Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_65", "status"=>"message_template_65", "body"=>"message_template_65"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 3ms MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_65' LIMIT 1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_66", "status"=>"message_template_66", "body"=>"message_template_66"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 3ms Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 3ms MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 3ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_69' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_69"], ["created_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_69"], ["title", "message_template_69"], ["updated_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_17@example.jp"], ["encrypted_password", "$2a$04$S.GgMl4bKlJpYN5ohhzvCupNFH6YxUWTrZGM9F91sa6km8BpAi3iu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_17"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:09.509392' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_70", "status"=>"message_template_70", "body"=>"message_template_70"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_70' AND "message_templates"."id" != 9) LIMIT 1  (0.1ms) UPDATE "message_templates" SET "title" = 'message_template_70', "status" = 'message_template_70', "body" = 'message_template_70', "updated_at" = '2011-12-17 19:36:09.518490' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates/9 Completed 302 Found in 15ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_71' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_71"], ["created_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_71"], ["title", "message_template_71"], ["updated_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_18@example.jp"], ["encrypted_password", "$2a$04$30zhCeuTaE/9hQVaQBvs2eyNj3/q0xD6XVjzNAd.4Ra/YSnP9uCUS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_18"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:09.574641' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_72", "status"=>"message_template_72", "body"=>"message_template_72"}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_72' AND "message_templates"."id" != 9) LIMIT 1  (0.1ms) UPDATE "message_templates" SET "title" = 'message_template_72', "status" = 'message_template_72', "body" = 'message_template_72', "updated_at" = '2011-12-17 19:36:09.583321' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates/9 Completed 302 Found in 8ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_73' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_73"], ["created_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_73"], ["title", "message_template_73"], ["updated_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_19@example.jp"], ["encrypted_password", "$2a$04$uV0AAnwpcyWNcvQlPewIZeBB58mz4Jmek1pSu/25qqptaOyNacNp2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_19"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:09.598130' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_74", "status"=>"message_template_74", "body"=>"message_template_74"}, "position"=>"2", "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "message_templates" SET "position" = 0, "updated_at" = '2011-12-17 19:36:09.605184' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "message_templates" SET position = (position - 1) WHERE "message_templates"."id" IN (SELECT "message_templates"."id" FROM "message_templates" WHERE (1 = 1 AND position > 9) ORDER BY position) SQL (0.2ms) UPDATE "message_templates" SET position = (position + 1) WHERE "message_templates"."id" IN (SELECT "message_templates"."id" FROM "message_templates" WHERE (1 = 1 AND position >= 2) ORDER BY position)  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "message_templates" SET "position" = 2, "updated_at" = '2011-12-17 19:36:09.606868' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates Completed 302 Found in 7ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_75' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_75"], ["created_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_75"], ["title", "message_template_75"], ["updated_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_20@example.jp"], ["encrypted_password", "$2a$04$S0WKCVKkU1Ctwk9oHsapFue9xp4m85EKdX8.KfU3n.LRo.6xkqo5C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_20"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:09.626010' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = '' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 12ms (Views: 1.1ms | ActiveRecord: 0.0ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_77' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_77"], ["created_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_77"], ["title", "message_template_77"], ["updated_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_17@example.jp"], ["encrypted_password", "$2a$04$QoVuJ3QcBuCnLpwDg4eZKuvuslKysjBCAvDFGH2CDgJWASysm487W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_17"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:09.665809' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_78", "status"=>"message_template_78", "body"=>"message_template_78"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_79' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_79"], ["created_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_79"], ["title", "message_template_79"], ["updated_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_18@example.jp"], ["encrypted_password", "$2a$04$YlLfyUI6eDAo6FnzzF/dzuHoVOLmLo0LT2FJMdUyYHsult7I9s.Km"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_18"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:09.699847' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_80", "status"=>"message_template_80", "body"=>"message_template_80"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_81' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_81"], ["created_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_81"], ["title", "message_template_81"], ["updated_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_19@example.jp"], ["encrypted_password", "$2a$04$wn8BBZ22QfboEPg1ttiKee5Zx3Kl8UmpeGmfFdgV71T7aqsuAIPIG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_19"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:09.734543' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_83' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_83"], ["created_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_83"], ["title", "message_template_83"], ["updated_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_97@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (58.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_97@example.jp"], ["encrypted_password", "$2a$04$IL.Kqv2Pk4TtMVLjeim5SOqnjOdxaCi4EohckNbmKXNAjnQLyvFGW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_97"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:09.824755' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_84", "status"=>"message_template_84", "body"=>"message_template_84"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_85' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_85"], ["created_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_85"], ["title", "message_template_85"], ["updated_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_98@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_98@example.jp"], ["encrypted_password", "$2a$04$WQaH7t0cFCMuiVkwOQXxsOfwiF0l/iBQJBe4kBp8C4EjXKuTVv7Nq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_98"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:09.862475' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_86", "status"=>"message_template_86", "body"=>"message_template_86"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_87' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_87"], ["created_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_87"], ["title", "message_template_87"], ["updated_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_99@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_99@example.jp"], ["encrypted_password", "$2a$04$LTT6pb0T2nfOukTDeAcm6OcQmlnNB6r4l1ZeYk/g02aynX/Vn5/DO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_99"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:09.897690' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.5ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_89' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_89"], ["created_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_89"], ["title", "message_template_89"], ["updated_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_90", "status"=>"message_template_90", "body"=>"message_template_90"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 9ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_91' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_91"], ["created_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_91"], ["title", "message_template_91"], ["updated_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_92", "status"=>"message_template_92", "body"=>"message_template_92"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_93' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_93"], ["created_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_93"], ["title", "message_template_93"], ["updated_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_95' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_95"], ["created_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_95"], ["title", "message_template_95"], ["updated_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_21@example.jp"], ["encrypted_password", "$2a$04$JnCxc6E/6NNCJDLbMOHvhO0jzGR.OK3RDZhhR.ubNnUyXN2zRcRti"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_21"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 19:36:09 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:09.987551' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_96' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_96"], ["created_at", Sat, 17 Dec 2011 19:36:10 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_96"], ["title", "message_template_96"], ["updated_at", Sat, 17 Dec 2011 19:36:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_22@example.jp"], ["encrypted_password", "$2a$04$9qKe25qCftAPkKfyxf0rBuCCoHxlAqnaecijz8Z8hJ/Z.SHgvWbZ."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_22"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:10 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 19:36:10 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:10.026681' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 2.8ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_97' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_97"], ["created_at", Sat, 17 Dec 2011 19:36:10 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_97"], ["title", "message_template_97"], ["updated_at", Sat, 17 Dec 2011 19:36:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_20@example.jp"], ["encrypted_password", "$2a$04$/.9E7c3hy4OgH0vU0.Wl4.PcR5sawMQpUy5ISRt3gK949eXfzSU9O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_20"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:10 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 19:36:10 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:10.065935' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 68ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_98' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_98"], ["created_at", Sat, 17 Dec 2011 19:36:10 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_98"], ["title", "message_template_98"], ["updated_at", Sat, 17 Dec 2011 19:36:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_21@example.jp"], ["encrypted_password", "$2a$04$QlNWTEYwHytSHMe8qRu5jeKr1lb1fai5iX68jF9f1K124q6Ncraou"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_21"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:10 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 19:36:10 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:10.163002' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_99' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_99"], ["created_at", Sat, 17 Dec 2011 19:36:10 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_99"], ["title", "message_template_99"], ["updated_at", Sat, 17 Dec 2011 19:36:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_100@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_100@example.jp"], ["encrypted_password", "$2a$04$zfcpCZGe2aaQHwlI4dPN5.0gINIae1vuMEMQ4HqVPR.FZYuu9osMq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_100"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:10 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:10 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:10.196642' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_100' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_100"], ["created_at", Sat, 17 Dec 2011 19:36:10 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_100"], ["title", "message_template_100"], ["updated_at", Sat, 17 Dec 2011 19:36:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_101@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_101@example.jp"], ["encrypted_password", "$2a$04$6oNNqQPPYGYJb8tk9uxHuODPBJN3hu9qqFt9vnmYIF28f0qQ/Ds2q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_101"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:10 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:10 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:10.231150' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_101' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_101"], ["created_at", Sat, 17 Dec 2011 19:36:10 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_101"], ["title", "message_template_101"], ["updated_at", Sat, 17 Dec 2011 19:36:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_102' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_102"], ["created_at", Sat, 17 Dec 2011 19:36:10 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_102"], ["title", "message_template_102"], ["updated_at", Sat, 17 Dec 2011 19:36:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.4ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.2ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_23@example.jp"], ["encrypted_password", "$2a$04$VcBvbyWoTsBmHIgwqS2gRu8Ow9dT4.TsSKfo5A8YJLF.Ligu13WZW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_23"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:11 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 19:36:11 UTC +00:00], ["user_id", 11]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:11.580274' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 SOLR Request (14.3ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A11&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (14.8ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A11&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 149ms (Views: 12.4ms | ActiveRecord: 0.4ms | Solr: 29.1ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (6.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_24@example.jp"], ["encrypted_password", "$2a$04$SlMq65uKTE7jbbdJ3r6MN.RFi6rPOASR2oE5W/NSTtOfUTrxVr73e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_24"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:11 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 19:36:11 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:11.756450' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML Parameters: {"user_id"=>"admin_24"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'admin_24' LIMIT 1 SOLR Request (8.6ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A11&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (7.0ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A11&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 26ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 15.6ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_22@example.jp"], ["encrypted_password", "$2a$04$CHFB3en.MHNjrT5lUaDfe.JwnopLirmanKef8Jg7swTh1Ayft2Nzi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_22"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:11 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 19:36:11 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:11.804953' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 SOLR Request (5.2ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A11&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (8.5ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A11&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 23ms (Views: 1.5ms | ActiveRecord: 0.3ms | Solr: 13.7ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_23@example.jp"], ["encrypted_password", "$2a$04$pxA9gMgB5dF3V4TNmx0BZeIVwPRporzWfeaGmzPxMF6u/l9MxB/J."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_23"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:11 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 19:36:11 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:11.847157' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML Parameters: {"user_id"=>"librarian_23"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'librarian_23' LIMIT 1 SOLR Request (17.2ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A11&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (11.6ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A11&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 39ms (Views: 1.4ms | ActiveRecord: 0.5ms | Solr: 28.8ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 SOLR Request (14.3ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (11.7ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Message Load (0.3ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IN (2) Completed 200 OK in 58ms (Views: 1.3ms | ActiveRecord: 0.6ms | Solr: 26.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML Parameters: {"query"=>"you"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 SOLR Request (8.0ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&q=you&fl=%2A+score&qf=body_text+subject_text&defType=dismax&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (23.9ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&q=you&fl=%2A+score&qf=body_text+subject_text&defType=dismax&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IN (2) Completed 200 OK in 45ms (Views: 1.4ms | ActiveRecord: 0.5ms | Solr: 31.9ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 SOLR Request (8.2ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (68.2ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IN (2) Completed 200 OK in 89ms (Views: 1.4ms | ActiveRecord: 0.5ms | Solr: 76.4ms) Processing by MessagesController#index as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 47ms (Views: 7.8ms | ActiveRecord: 0.6ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.3ms | ActiveRecord: 0.6ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#show as HTML Parameters: {"id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 3 AND "messages"."id" = ? LIMIT 1 [["id", "2"]]  (0.0ms) SAVEPOINT active_record_1  (0.3ms) UPDATE "messages" SET "read_at" = '2011-12-17 19:36:12.207545', "updated_at" = '2011-12-17 19:36:12.207965' WHERE "messages"."id" = 2 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1  (0.6ms) UPDATE "messages" SET "state" = 'read', "updated_at" = '2011-12-17 19:36:12.215642' WHERE "messages"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 29ms (Views: 2.8ms | ActiveRecord: 1.9ms | Solr: 0.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 403 Forbidden in 25ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_25@example.jp"], ["encrypted_password", "$2a$04$RZ6WK8U4GZWumVezDZbNc.4Hr1VaGIJZtmXotazAB4cfCXXaeFNfq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_25"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:12 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 19:36:12 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:12.344344' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 Completed 200 OK in 25ms (Views: 2.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_24@example.jp"], ["encrypted_password", "$2a$04$zUgVHQmZAPPWGULaQQcaF.ULz9PeG0/F7ICkKR0baceBrokyqLNJq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_24"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:12 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 19:36:12 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:12.391174' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 Completed 200 OK in 13ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 13ms (Views: 2.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 15ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML Parameters: {"parent_id"=>"1"} User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.6ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML Parameters: {"parent_id"=>"2"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 2.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Processing by MessagesController#new as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_26@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_26@example.jp"], ["encrypted_password", "$2a$04$JINiQpPhDmWGjwpTqQ7mrOHs2KK4sIBofl3QmTsqNW7WbHItb/Qgm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_26"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:12 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 19:36:12 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:12.526759' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 11 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 17ms (Views: 1.3ms | ActiveRecord: 0.6ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_25@example.jp"], ["encrypted_password", "$2a$04$TcaDf7GUP/aRZyHGd023t.Uje.9krXUTMHQ81Ads1hTKJh3Ek6sYe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_25"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:12 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 19:36:12 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:12.575362' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 14ms (Views: 1.5ms | ActiveRecord: 0.5ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 2.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_102@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (68.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_102@example.jp"], ["encrypted_password", "$2a$04$S89LACbO43mXL6JUWasbfeY2BOfujldsNM4dfQLxLCxT7Sbh/44cG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_102"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:12 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:12 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:12.699910' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_103@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_103@example.jp"], ["encrypted_password", "$2a$04$4DntbxLFnmxrQ20ycOaoE.mj./mleWjugvHAVpGyFaekQG6Vrobhq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_103"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:12 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:12 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:12.713208' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "user_102"]]  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_27@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_27@example.jp"], ["encrypted_password", "$2a$04$wbd9WPvMbwn.r3v7oKtI2OKGq7X6yp6mxLAVn0gzRLCtfpZpV.Yyu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_27"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:12 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 19:36:12 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:12.734014' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 13ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 0.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_28@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_28@example.jp"], ["encrypted_password", "$2a$04$chZriw3gt6t6PuoslDKhoeaG7ldEO.R0/N863WqxUfMSuiIWPyGEi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_28"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:12 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 19:36:12 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:12.771669' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 12ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 0.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_29@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_29@example.jp"], ["encrypted_password", "$2a$04$SWupxrZyROXeYTCD7MiXPu9qV7qInqDkAghGHqAxH.g46qtYx3sPG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_29"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:12 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 19:36:12 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:12.807606' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 14ms (Views: 2.1ms | ActiveRecord: 0.5ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_30@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_30@example.jp"], ["encrypted_password", "$2a$04$VsqahQKcPrMm3go/G0DpVuDFBkBMmG1q9aqMBVfil11yOoqN.eoJW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_30"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:12 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 19:36:12 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:12.843894' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 11 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 18ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test", "parent_id"=>"2"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = 2 LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "user2"]]  (0.0ms) SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "user2"]]  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 404 Not Found in 21ms (Views: 1.3ms | ActiveRecord: 0.6ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 3.1ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test", "parent_id"=>"2"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 11ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_104@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_104@example.jp"], ["encrypted_password", "$2a$04$wsuGeOsFi4EdemZA48eyreOCfAxXrGI/RM5ZpPfTRlgRTLXzW6oFS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_104"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:13.061350' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_105@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_105@example.jp"], ["encrypted_password", "$2a$04$xpG7tSNxt9qGlJnsufez7.Y1wXYtuaN7zpxv35f9IPT1D5e0m8yBS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_105"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:13.075129' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_104", "sender_id"=>"12", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 11ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_106@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_106@example.jp"], ["encrypted_password", "$2a$04$ioUJ4enJPNBSh4lnF4xwlO77aPSIUBoxr10iqEl7a8o.IdGKhEfxy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_106"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:13.110656' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_107@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_107@example.jp"], ["encrypted_password", "$2a$04$RAfaQOP3WJwRr9rpcz0HQuBCh4D1AOas1SD0A34Sly9X5uuANBOlm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_107"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:13.127241' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_106", "sender_id"=>"12", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 12ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_108@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_108@example.jp"], ["encrypted_password", "$2a$04$q7pnxVDT1F0M7onMDv.aAuZEWTyP9PWWdpXZMzoRZYElWUxL2y8qq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_108"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:13.170272' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_109@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_109@example.jp"], ["encrypted_password", "$2a$04$tBxc10Sb8992ZvDUl5VPaOm4JQBqwfGtqZYGBb3NNaM7LxZz48Kc6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_109"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:13.184823' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 10ms (Views: 1.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_110@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_110@example.jp"], ["encrypted_password", "$2a$04$NUkj6/.Rwfkp61mWYw/cWejb.SWZKgvSGlvPbhVYgyXdU.1Gx1Vhe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_110"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:13.216952' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_111@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_111@example.jp"], ["encrypted_password", "$2a$04$19yhOdBveTufvXeoKoB6/eSHVGRZkf1KCV74Qyrvhm4uuW2GVs1Sq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_111"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:13.230224' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 10ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_112@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_112@example.jp"], ["encrypted_password", "$2a$04$XMGXiokZWIcS7zBMXixxC.lV.3r7AagLFCEdkNYw6AFVynshsh/QS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_112"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:13.325742' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_113@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_113@example.jp"], ["encrypted_password", "$2a$04$ZDRbePDy4J6tDZUgn2EckOVil5lyIf1Xlcyy/Ppslv0sHJ6.2zI.e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_113"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:13.340075' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_112", "sender_id"=>"12", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 14ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_114@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_114@example.jp"], ["encrypted_password", "$2a$04$LIyv59zdvB5Dq/PsAqbgQOdNU9WwS8gck.XHNRejxvSgW7TpmSpfG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_114"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:13.376430' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_115@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_115@example.jp"], ["encrypted_password", "$2a$04$hNJ2Jfnt2WS4wG0h76gbO.5aquNvDFuB8cUAM08KQ9aC8WaDP7tYu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_115"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:13.396767' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_114", "sender_id"=>"12", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 13ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_116@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_116@example.jp"], ["encrypted_password", "$2a$04$VTow1FkiqR4diKZsEfEtueavGyIunAo12EnjxZh1RZd/i8VVZ9qn6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_116"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:13.432731' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_117@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_117@example.jp"], ["encrypted_password", "$2a$04$u/C/1qRdO/vftgZ/11fdreaVpZ20adjuOGdLu3GBYLlczWHL/IL0."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_117"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:13.446176' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_118@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_118@example.jp"], ["encrypted_password", "$2a$04$zVCKsTYiRaWvJYsPwfsFteTLM2cOxWN8OJLp2fkvNpVvz4kPzZ5LG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_118"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:13.484557' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_119@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_119@example.jp"], ["encrypted_password", "$2a$04$IxFJp981JV.0PPKD70xLhOLmmvQ9h0xTzBuqgIwn//cudkRThJh/u"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_119"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:13.498885' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 69ms (Views: 1.4ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_120@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_120@example.jp"], ["encrypted_password", "$2a$04$4dPAf6.90kpUgNazVyXSk.5ZzTm.09dTq95HGky5ihV609loEMrnm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_120"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:13.587535' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_121@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_121@example.jp"], ["encrypted_password", "$2a$04$Y/9dHyr16J.gyXQhpwCbJO2/BdD0R4AOdy8q4uKaoFGCQTP7e6iDG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_121"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:13.600421' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 0.8ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_122@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_122@example.jp"], ["encrypted_password", "$2a$04$fdTxiaXY6cB/8SU2pH.cA.9TfD9AcYUEvJyu8qtjvOmUiNx6.zeMa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_122"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:13.622965' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_123@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_123@example.jp"], ["encrypted_password", "$2a$04$XDDdYvuYHKfd/xHVPJ2qKOi6qIr.sOK83TyGhgA2.1FbvgyEufAp2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_123"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:13.630955' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.7ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_124@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_124@example.jp"], ["encrypted_password", "$2a$04$VhFFF5pSjGwwZfqOZBQKtuAg9MA/x16hNCcDOfGVWSUTU2ZCSP9g2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_124"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:13.648295' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_125@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_125@example.jp"], ["encrypted_password", "$2a$04$xX3NsHojY/ilK.zdZGLBFueKnIJJ6VEl3r9/PYIZeEhoAcDqlxjAu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_125"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:13.655978' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_124", "sender_id"=>"12", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_126@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_126@example.jp"], ["encrypted_password", "$2a$04$ZY6vG5u4vKAbdJ5TxkNapOiWB4lHFDNWgE2dW6/yLrE6loXus65Ji"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_126"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:13.674026' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_127@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_127@example.jp"], ["encrypted_password", "$2a$04$tFenNdAHsvB5f6CcuSS60.LWQRKDGyK17UXuHwo2wTH2Iigpxvi7."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_127"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:13.681649' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_126", "sender_id"=>"12", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.7ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_128@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_128@example.jp"], ["encrypted_password", "$2a$04$.nqugWU2iHdAFQwq3TGL.OnT2Su/n7httvjgwsBzkhzvgsR.UmvYi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_128"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:13.699177' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_129@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (38.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_129@example.jp"], ["encrypted_password", "$2a$04$OPYgwk8yGWW68V90f3Kqh.ej0o1fD0syZZnhYlRQV1wUwnsDL9tXC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_129"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:13.744665' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_130@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_130@example.jp"], ["encrypted_password", "$2a$04$JmJFOELUq3zGTITpRpiIAeghdWIAyJcmOFhFDFuYg.kQ3Q7WH39aG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_130"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:13.762803' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_131@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_131@example.jp"], ["encrypted_password", "$2a$04$WHZ.f39w7Muoc2dGRBDIouPnOCKwRq6SmPZIHP87rYsCgnMwuFs1y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_131"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:13.770320' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.7ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_132@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_132@example.jp"], ["encrypted_password", "$2a$04$DblSUm2FA8oWz.tMqeQ8auDaP9dlQ5Qhyy3eqxvA4EJePaavNVV/C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_132"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:13.787349' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_133@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_133@example.jp"], ["encrypted_password", "$2a$04$nwz9YvHmIq47G7tl2wubk.ZC9J1QuNTqXPTNgL1nlN6uFJPF.C15m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_133"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 19:36:13 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 19:36:13.794815' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"2"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#destroy as HTML Parameters: {"id"=>"2"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 3 AND "messages"."id" = ? LIMIT 1 [["id", "2"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "messages" WHERE ("lft" > 3 AND "rgt" < 4) SQL (0.3ms) UPDATE "messages" SET "lft" = ("lft" - 2) WHERE "messages"."id" IN (SELECT "messages"."id" FROM "messages" WHERE ("lft" > 4) ORDER BY "lft") SQL (0.4ms) UPDATE "messages" SET "rgt" = ("rgt" - 2) WHERE "messages"."id" IN (SELECT "messages"."id" FROM "messages" WHERE ("rgt" > 4) ORDER BY "lft") SQL (0.1ms) DELETE FROM "messages" WHERE "messages"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/messages Completed 302 Found in 8ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms Binary data inserted for `string` type on column `encrypted_password` Binary data inserted for `string` type on column `encrypted_password` Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_1@example.jp' LIMIT 1  (0.1ms) select sqlite_version(*)  (9.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.1ms) PRAGMA index_list("schema_migrations")  (1.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateMessageTemplates (149)  (0.5ms) CREATE TABLE "message_templates" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "status" varchar(255) NOT NULL, "title" text NOT NULL, "body" text NOT NULL, "position" integer, "locale" varchar(255) DEFAULT 'en', "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("message_templates")  (0.5ms) CREATE UNIQUE INDEX "index_message_templates_on_status" ON "message_templates" ("status")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('149') Migrating to CreateMessages (154)  (0.4ms) CREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "read_at" datetime, "receiver_id" integer, "sender_id" integer, "subject" varchar(255) NOT NULL, "body" text, "message_request_id" integer, "state" varchar(255), "parent_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("messages")  (0.1ms) CREATE INDEX "index_messages_on_sender_id" ON "messages" ("sender_id")  (0.0ms) PRAGMA index_list("messages")  (0.0ms) PRAGMA index_info('index_messages_on_sender_id')  (0.1ms) CREATE INDEX "index_messages_on_receiver_id" ON "messages" ("receiver_id")  (0.0ms) PRAGMA index_list("messages")  (0.0ms) PRAGMA index_info('index_messages_on_receiver_id')  (0.0ms) PRAGMA index_info('index_messages_on_sender_id')  (0.1ms) CREATE INDEX "index_messages_on_message_request_id" ON "messages" ("message_request_id")  (0.1ms) PRAGMA index_list("messages")  (0.0ms) PRAGMA index_info('index_messages_on_message_request_id')  (0.0ms) PRAGMA index_info('index_messages_on_receiver_id')  (0.0ms) PRAGMA index_info('index_messages_on_sender_id')  (0.1ms) CREATE INDEX "index_messages_on_parent_id" ON "messages" ("parent_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('154') Migrating to CreateMessageRequests (20080819181903)  (0.5ms) CREATE TABLE "message_requests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sender_id" integer, "receiver_id" integer, "message_template_id" integer, "sent_at" datetime, "deleted_at" datetime, "body" text, "state" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("message_requests")  (0.1ms) CREATE INDEX "index_message_requests_on_state" ON "message_requests" ("state")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080819181903') Migrating to AddLftAndRgtToMessage (20110913115320)  (0.6ms) ALTER TABLE "messages" ADD "lft" integer  (0.2ms) ALTER TABLE "messages" ADD "rgt" integer  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110913115320') Migrating to CreateLanguages (20111201121636)  (0.5ms) CREATE TABLE "languages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "native_name" varchar(255), "display_name" text, "iso_639_1" varchar(255), "iso_639_2" varchar(255), "iso_639_3" varchar(255), "note" text, "position" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201121636') Migrating to CreateRoles (20111201121844)  (0.5ms) CREATE TABLE "roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "display_name" text, "note" text, "position" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201121844') Migrating to CreateUsers (20111201155456)  (0.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_group_id" integer, "required_role_id" integer, "username" varchar(255), "note" text, "locale" varchar(255), "user_number" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201155456') Migrating to AddDeviseToUsers (20111201155513)  (1.1ms) ALTER TABLE "users" ADD "email" varchar(255) DEFAULT '' NOT NULL  (0.2ms) ALTER TABLE "users" ADD "encrypted_password" varchar(128) DEFAULT '' NOT NULL  (0.2ms) ALTER TABLE "users" ADD "reset_password_token" varchar(255)  (0.2ms) ALTER TABLE "users" ADD "reset_password_sent_at" datetime  (0.2ms) ALTER TABLE "users" ADD "remember_created_at" datetime  (0.3ms) ALTER TABLE "users" ADD "sign_in_count" integer DEFAULT 0  (0.2ms) ALTER TABLE "users" ADD "current_sign_in_at" datetime  (0.2ms) ALTER TABLE "users" ADD "last_sign_in_at" datetime  (0.2ms) ALTER TABLE "users" ADD "current_sign_in_ip" varchar(255)  (0.2ms) ALTER TABLE "users" ADD "last_sign_in_ip" varchar(255)  (0.0ms) PRAGMA index_list("users")  (0.1ms) CREATE INDEX "index_users_on_email" ON "users" ("email")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.5ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201155513') Migrating to CreateUserGroups (20111201163342)  (0.5ms) CREATE TABLE "user_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "display_name" text, "note" text, "position" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201163342') Migrating to CreateUserHasRoles (20111201163718)  (0.5ms) CREATE TABLE "user_has_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "role_id" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201163718')  (0.5ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  (0.0ms) PRAGMA index_list("languages")  (0.0ms) PRAGMA index_list("message_requests")  (0.0ms) PRAGMA index_info('index_message_requests_on_state')  (0.0ms) PRAGMA index_list("message_templates")  (0.0ms) PRAGMA index_info('index_message_templates_on_status')  (0.0ms) PRAGMA index_list("messages")  (0.0ms) PRAGMA index_info('index_messages_on_parent_id')  (0.0ms) PRAGMA index_info('index_messages_on_message_request_id')  (0.0ms) PRAGMA index_info('index_messages_on_receiver_id')  (0.0ms) PRAGMA index_info('index_messages_on_sender_id')  (0.0ms) PRAGMA index_list("roles")  (0.0ms) PRAGMA index_list("user_groups")  (0.0ms) PRAGMA index_list("user_has_roles")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')  (0.0ms) PRAGMA index_info('index_users_on_email') Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (1.2ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (53.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:35 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_1@example.jp"], ["encrypted_password", "$2a$04$QtTh0063wbVkmkk65VZj9eZNke7EnrlH3f7.2BnwBF2F92yIgj0i2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:35 UTC +00:00], ["user_group_id", nil], ["user_number", nil], ["username", "user_1"]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1 UserGroup Load (0.4ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:35 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_2@example.jp"], ["encrypted_password", "$2a$04$RBCUSzfzpTz0g2Y/KYz/FOZtwPdX8FyhhKiLmvVdU06uPbduMr2sm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:35 UTC +00:00], ["user_group_id", nil], ["user_number", nil], ["username", "user_2"]] Fixture Delete (0.3ms) DELETE FROM "message_requests" Fixture Insert (0.2ms) INSERT INTO "message_requests" ("sender_id", "receiver_id", "message_template_id", "state", "created_at", "updated_at", "id") VALUES (1, 1, 1, 'pending', '2011-12-17 20:14:35', '2011-12-17 20:14:35', 980190962) Fixture Insert (0.1ms) INSERT INTO "message_requests" ("sender_id", "receiver_id", "message_template_id", "state", "created_at", "updated_at", "id") VALUES (1, 1, 1, 'pending', '2011-12-17 20:14:35', '2011-12-17 20:14:35', 298486374) Fixture Delete (0.1ms) DELETE FROM "message_templates" Fixture Insert (0.2ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (1, 'reservation_accepted', 'Reservation accepted', 'Reservation accepted', 1, '2011-12-17 20:14:35', '2011-12-17 20:14:35') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (2, 'item_received', 'Item received', 'Item received', 2, '2011-12-17 20:14:35', '2011-12-17 20:14:35') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (3, 'reservation_expired_for_patron', 'Reservation expired', 'Reservation expired', 3, '2011-12-17 20:14:35', '2011-12-17 20:14:35') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (4, 'reservation_expired_for_library', 'Reservation expired', 'Reservation expired', 4, '2011-12-17 20:14:35', '2011-12-17 20:14:35') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (5, 'reservation_canceled_for_patron', 'Reservation canceled', 'Reservation canceled', 5, '2011-12-17 20:14:35', '2011-12-17 20:14:35') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (6, 'reservation_canceled_for_library', 'Reservation canceled', 'Reservation canceled', 6, '2011-12-17 20:14:35', '2011-12-17 20:14:35') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (7, 'recall_item', 'Recall item', 'Recall item', 7, '2011-12-17 20:14:35', '2011-12-17 20:14:35') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (8, 'recall_overdue_item', 'Recall overdue item', 'Recall overdue item', 8, '2011-12-17 20:14:35', '2011-12-17 20:14:35') Fixture Delete (0.2ms) DELETE FROM "messages" Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "read_at", "state", "lft", "rgt", "updated_at") VALUES (1, 3, 4, 'First Message', 'Abby, you get the first message', '2007-07-04 12:10:47.000000', '2011-12-14 20:14:35.000000', 'unread', 1, 2, '2011-12-17 20:14:35') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (2, 4, 3, 'RE: First Message', 'Thanks Dad! You are the coolest!', '2011-12-15 20:14:35.000000', 'unread', 3, 4, '2011-12-17 20:14:35') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (3, 3, 4, 'Second Message', 'Catie, you get the 2nd message', '2011-12-16 20:14:35.000000', 'unread', 5, 6, '2011-12-17 20:14:35') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (6, 4, 5, 'Dad!', 'He is sucha dork.', '2011-12-15 20:14:35.000000', 'unread', 7, 8, '2011-12-17 20:14:35') Fixture Delete (0.1ms) DELETE FROM "roles" Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Guest', 'Guest', 1, NULL, '2011-12-17 20:14:35', '2011-12-17 20:14:35') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('User', 'User', 2, NULL, '2011-12-17 20:14:35', '2011-12-17 20:14:35') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Librarian', 'Librarian', 3, NULL, '2011-12-17 20:14:35', '2011-12-17 20:14:35') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Administrator', 'Administrator', 4, NULL, '2011-12-17 20:14:35', '2011-12-17 20:14:35') Fixture Delete (0.1ms) DELETE FROM "user_groups" Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('(not specified)', '(not specified)', '2007-12-13 12:00:51.564542', 1, '', '2007-12-13 12:00:01.674976', 1) Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('User', 'User', '2007-12-22 18:14:56.836548', 2, '', '2007-12-22 18:14:40.173954', 2) Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('Faculty', 'Faculty', '2007-12-22 18:15:05.134351', 3, '', '2007-12-22 18:15:05.126457', 3) Fixture Delete (0.1ms) DELETE FROM "user_has_roles" Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (1, 4, '2011-12-17 20:14:35', '2011-12-17 20:14:35', 135138680) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (2, 3, '2011-12-17 20:14:35', '2011-12-17 20:14:35', 344583537) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (3, 2, '2011-12-17 20:14:35', '2011-12-17 20:14:35', 206669143) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (4, 3, '2011-12-17 20:14:35', '2011-12-17 20:14:35', 226540757) Fixture Insert (1.0ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (5, 2, '2011-12-17 20:14:35', '2011-12-17 20:14:35', 358143215) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (6, 2, '2011-12-17 20:14:35', '2011-12-17 20:14:35', 576709754) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (7, 2, '2011-12-17 20:14:35', '2011-12-17 20:14:35', 1010528733) Fixture Delete (0.2ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:16:30.163731', '$2a$10$vHohD1WflnTIqAa8zMkF9evwAgIZRw3XuR4d3bi29M.jph/MB/AJi', 2, 1, NULL, 'admin', 'tanabe@kamata.lib.teu.ac.jp', '2007-11-19 07:58:32.111941', 4) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 03:41:16.337474', '$2a$10$9O2VuTccN4gHq36ARg0QReSrb1D7WrBBhZZ759RM9moHbB0W5zCzS', 1, 2, NULL, 'librarian1', 'librarian1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:33.172441', 1) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', '$2a$10$JthS59A0BNkDOoFpCXM0V.GhhffKaoWKbzpPahYp/vTFrOyM7h/uW', 1, 3, NULL, 'user1', 'user1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:23.340575', '$2a$10$YmmTGrYQ1Ir6oc7wXnp.GuNeO1eYLoP3sv8wMSIrTdaGw2BPwRrpS', 1, 4, NULL, 'librarian2', '2008-01-18 03:24:04.222344', 1) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:44.711117', '$2a$10$i7UjJhLVrJM/J7qaTwW39OXw1NiwowUEbtNHVDV0sqMLjX9.UO9ca', 1, 5, NULL, 'user2', '2008-01-18 04:29:06.922728', 2) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 6, NULL, 'user3', 'user3@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 7, NULL, 'user4', 'user4@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_1@example.jp"], ["encrypted_password", "$2a$04$.u2y8YmPTNW2RNhA8UteuOZzP0C0fQT4w5skO1NVinsa82W5cHaSe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_1"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:36 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:14:36 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:36.079900' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Rendered /Users/kosuke/enju_message/app/views/message_requests/index.html.erb within layouts/application (8.5ms) Completed 200 OK in 94ms (Views: 66.0ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_1@example.jp"], ["encrypted_password", "$2a$04$FVadx6V8Fn2xI5hHCJpl8e5Nxn44unI/2bunigz6PNhP.jNHzCMsK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_1"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:36 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:14:36 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:36.283858' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 13ms (Views: 1.3ms | ActiveRecord: 0.6ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_3@example.jp"], ["encrypted_password", "$2a$04$5nJ2VaSPKYg0Uxyhr/JSJuBENO0.Ih57SOyk9MI.RutJk2U9swsdW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_3"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:36 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:36 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:36.337772' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "message_requests" WHERE ('t'='f') Processing by MessageRequestsController#index as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 85ms  (0.1ms) SELECT COUNT(*) FROM "message_requests" WHERE ('t'='f') Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_2@example.jp"], ["encrypted_password", "$2a$04$NTlS3HpIdVrlMD35cW.P3uJ2VaZd.DAlXaUN4v80zBna9l7hntize"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_2"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:36 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:14:36 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:36.477248' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_4@example.jp"], ["encrypted_password", "$2a$04$UqflS/uE2I0nDrYZS6FyBeSQD7B0UTHkhaYqKTZH0Y.EyMHu2s4r6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_4"]] SQL (23.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:36 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:36 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:36.514367' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_5@example.jp"], ["encrypted_password", "$2a$04$r/dvFxgEUAFcjCtKsMcLYuFqgh/n6FNq3cBgzI4p.d7KBIAdcO7rm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_5"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:36 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:36 UTC +00:00], ["user_id", 10]]  (0.5ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:36.542868' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_1' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_1"], ["created_at", Sat, 17 Dec 2011 20:14:36 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_1"], ["title", "message_template_1"], ["updated_at", Sat, 17 Dec 2011 20:14:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_1' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:14:36 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:14:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.2ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 27ms (Views: 10.2ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (9.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_2@example.jp"], ["encrypted_password", "$2a$04$9H558xGyU1/cl2Wtl8/5eOa1cvxyRYIWORkw6Og3wBXXLX.0BXeqO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_2"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:36 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:14:36 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:36.637870' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (14.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_6@example.jp"], ["encrypted_password", "$2a$04$I6qYX8aFGxcqqzs.s2IS7OO8T.BYJnzpw9kI6..aBM7nQDUy9ShcO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_6"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:36 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:36 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:36.666040' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_7@example.jp"], ["encrypted_password", "$2a$04$WQgjgeqKxla.uXrmtqSpTeeQj4XyfPM2IZoej8GwTdBaW9VY8fjNa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_7"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:36 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:36 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:36.680888' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_2' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_2"], ["created_at", Sat, 17 Dec 2011 20:14:36 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_2"], ["title", "message_template_2"], ["updated_at", Sat, 17 Dec 2011 20:14:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_2' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:14:36 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:14:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 11ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (49.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_8@example.jp"], ["encrypted_password", "$2a$04$GUTBGiJ1rdMnJtbDEjuOoO0wnX/mTItx/XVSn9KIHgBEmDQT58nXG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_8"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:36 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:36 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:36.796336' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_9@example.jp"], ["encrypted_password", "$2a$04$d4I8qXcR1NGTFZbHTko3IeAhwuFXf3wJXZxoVG0qd3F3VeZz/P7Je"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_9"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:36 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:36 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:36.810136' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_10@example.jp"], ["encrypted_password", "$2a$04$koDeXlKVb8RSINbxsR.IIu46wWnRLKj/AlhRMPjoLKF.unfF/eGqi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_10"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:36 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:36 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:36.822469' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_3' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_3"], ["created_at", Sat, 17 Dec 2011 20:14:36 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_3"], ["title", "message_template_3"], ["updated_at", Sat, 17 Dec 2011 20:14:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_3' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:14:36 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:14:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 20ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.3ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_11@example.jp"], ["encrypted_password", "$2a$04$EiiknxxwTKxm/owf2a/ArObyJlTkXPVLhp0ztUX7dDAfiYarPuBje"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_11"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:36 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:36 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:36.885919' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_12@example.jp"], ["encrypted_password", "$2a$04$VhMpSMXlYV/3LW1Bjmme7uWJUVrqWIcx8GIBhv7xtCAiBqM0flMWa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_12"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:36 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:36 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:36.899371' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (3.5ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_4' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_4"], ["created_at", Sat, 17 Dec 2011 20:14:36 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_4"], ["title", "message_template_4"], ["updated_at", Sat, 17 Dec 2011 20:14:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_4' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:14:36 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:14:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_3@example.jp"], ["encrypted_password", "$2a$04$FddjKLFQpUxeIzNPPUqC4.EUDi0UaS5oDcAdVatYPxX8XMLvlVRg6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_3"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:36 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:14:36 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:36.940873' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_13@example.jp"], ["encrypted_password", "$2a$04$m4zCugcJ1lGcnoFf6TN.BOduqKIQLMxSFUWWQOGUFB6KEOGpXSjr."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_13"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:36 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:36 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:36.957292' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_14@example.jp"], ["encrypted_password", "$2a$04$ciXGqqv0LzszHVGs5hOHRe//dMy5gSwyzNxZMfT/ERx8O.AFpzGZG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_14"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:36 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:36 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:36.971530' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_5' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_5"], ["created_at", Sat, 17 Dec 2011 20:14:36 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_5"], ["title", "message_template_5"], ["updated_at", Sat, 17 Dec 2011 20:14:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_5' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:14:36 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:14:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 15ms (Views: 5.6ms | ActiveRecord: 0.6ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_3@example.jp"], ["encrypted_password", "$2a$04$cxtf9nO7P1CZb9ILBLxoH.lOr1BhcnaZVFxZXOp2FM7BZJ8sQscKy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_3"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:37.029037' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_15@example.jp"], ["encrypted_password", "$2a$04$aSmDXqlvriDeaZRBDPWgZOuhL5P30iw/VzqOa/vSipsfV5XS5hExW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_15"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:37.046228' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (57.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_16@example.jp"], ["encrypted_password", "$2a$04$r.y1pZAbT5ciT4G1OgGWXO8Tbpa9bsatUgvnLGBFSle9HHRKKrixm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_16"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:37.116336' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_6' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_6"], ["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_6"], ["title", "message_template_6"], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_6' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 11ms (Views: 1.7ms | ActiveRecord: 0.6ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_17@example.jp"], ["encrypted_password", "$2a$04$8Mmq4yxLf9aNEbFs.cGx1ef7plk85C5HHLLQ4uvSaKWiuK2c/wAGS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_17"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:37.164034' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.2ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_18@example.jp"], ["encrypted_password", "$2a$04$Of1yfaHuWd15XiKR1s88/OZPwe.sXqQl0XeE8nuFXm6Q7tc1ojBpq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_18"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:37.180614' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.7ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_19@example.jp"], ["encrypted_password", "$2a$04$uFMnfVdSQapuLfCO1ZZEhOpcdtapvCqTn5LaPccCpkEzECL2fz0c."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_19"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:37.195264' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_7' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_7"], ["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_7"], ["title", "message_template_7"], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_7' AND "message_templates"."id" != 9) LIMIT 1 SQL (1.9ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 10], ["sender_id", 9], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_20@example.jp"], ["encrypted_password", "$2a$04$3qeoBC7rQbRQ//dMeGfiTuF6QZvXx2t8g.dlWqwKs.MUsXj8HusoC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_20"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:37.239906' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_21@example.jp"], ["encrypted_password", "$2a$04$d2e2vcGsI8juecybkUdS7OYZOyhqDxZFApqgTbj82KD42XgXChIBi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_21"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:37.253609' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_8' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_8"], ["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_8"], ["title", "message_template_8"], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_8' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 5ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_22@example.jp"], ["encrypted_password", "$2a$04$9y7oSXStNCda169vd32GRutGYQPxsAZoJFIEU.cV6X1Pyab1cSKMG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_22"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:37.282431' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_23@example.jp"], ["encrypted_password", "$2a$04$1w1itu8B4XfV6tl6MUAGPehL4ZNT0hzFJgLEu6zNSgEo5Y8csuypy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_23"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:37.291032' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_9' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_9"], ["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_9"], ["title", "message_template_9"], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_9' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_24@example.jp"], ["encrypted_password", "$2a$04$vmP8tBmwDppBllYwLkDNauzP8EYt/k6LN8mi8AWGkH3AEe5ooMg9e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_24"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:37.307463' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (32.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_25@example.jp"], ["encrypted_password", "$2a$04$aI6/Lsu53/v28EVHzJgvCeKbpSZhdhUrjMS3KVoH3usWQK/KxvzJe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_25"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:37.347788' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_10' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_10"], ["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_10"], ["title", "message_template_10"], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_4@example.jp"], ["encrypted_password", "$2a$04$jlVs9NNpa3eiERCYxFms/e3LXhWnPnQI0VVB.BmADchvJGxv.GR5K"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_4"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:37.358729' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_10' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 10, "receiver_id" = 11, "message_template_id" = 10, "updated_at" = '2011-12-17 20:14:37.369879' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 12ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_26@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_26@example.jp"], ["encrypted_password", "$2a$04$Ba3NdxvBuE4bAml8qiepueM5XFctKxPaFt.ujnmIJHQyUPQ.4Pdxa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_26"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:37.382377' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_27@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_27@example.jp"], ["encrypted_password", "$2a$04$EaFI8yIfClRffEovHwBYvOAlBbIBfD/apELlpIYfAZP846TXC6KCG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_27"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:37.394408' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_11' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_11"], ["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_11"], ["title", "message_template_11"], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_11' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_28@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_28@example.jp"], ["encrypted_password", "$2a$04$G2URSJrmzWEDwQOEc0ySx.insHGGHoxvRZflRDPPaX.diRp/hclLO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_28"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:37.414171' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_29@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_29@example.jp"], ["encrypted_password", "$2a$04$Ia4iyHc.qYSlxI17Uiao0OD.KJR88hSedrAOV20lX94XegaW1QwVK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_29"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:37.422372' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_12' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_12"], ["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_12"], ["title", "message_template_12"], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_5@example.jp"], ["encrypted_password", "$2a$04$CbNvYpWo8xKjsN.dJEgLy.Zhgqxh6EvmJiNye2Pg3OTCpRmG05Mpq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_5"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:37.434838' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_12' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 10, "receiver_id" = 11, "message_template_id" = 10, "updated_at" = '2011-12-17 20:14:37.446158' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 10ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_30@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_30@example.jp"], ["encrypted_password", "$2a$04$EuBAN8pHVWTAR1cNrSgGCOWYK1IHxAnJI.UdmkUp8hYIxh8RvnVhO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_30"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:37.472324' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_31@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_31@example.jp"], ["encrypted_password", "$2a$04$QgN4/JTm09916JUcFH1BPu4OXBGVobfnsuvC.CYyblptznfua37xC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_31"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:37.481014' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_13' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_13"], ["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_13"], ["title", "message_template_13"], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_13' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_32@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_32@example.jp"], ["encrypted_password", "$2a$04$SzpZ43XI6uUf9vKpOWEfvu8H0c4ioxrH5HByMRFoONDMDQjSKRdja"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_32"]] SQL (32.4ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:37.528609' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_33@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_33@example.jp"], ["encrypted_password", "$2a$04$PXNQokMGemIiiwz1mt8OPuA5uzbSNPPfzcg4fgksOriw6RdW70Cv2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_33"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:37.540634' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_14' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_14"], ["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_14"], ["title", "message_template_14"], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_6@example.jp"], ["encrypted_password", "$2a$04$mhs.X/dkZbddoC9B2bB/xe83bWv3BeI2SdBh7.2tUl.TTqbWgDiqC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_6"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:37.552926' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_13' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 10ms (Views: 0.9ms | ActiveRecord: 0.7ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_34@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_34@example.jp"], ["encrypted_password", "$2a$04$TrcD94.RjdIs6JtDVW3B5.KeLWGaYdHUwSl7ZFGt1SK4pHIFu1Yem"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_34"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:37.577238' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_35@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_35@example.jp"], ["encrypted_password", "$2a$04$Vs/4KLYoBy2IyztGw6FpS.5jgW1kryUk2FK.qUjcypLw2/UM6I/kK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_35"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:37.586573' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_15' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_15"], ["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_15"], ["title", "message_template_15"], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_15' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_36@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_36@example.jp"], ["encrypted_password", "$2a$04$sez3ssVT9BIdnqEQkKF/K.uaID7p5bVOSVqffsil6dMPpVSjcbGF."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_36"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:37.601437' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_37@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_37@example.jp"], ["encrypted_password", "$2a$04$L/Az1oNNTub/GxR7XerahucLmR1HqzSGKScNEgjCabS7/4j3mrh7i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_37"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:37.609429' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_16' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_16"], ["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_16"], ["title", "message_template_16"], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_4@example.jp"], ["encrypted_password", "$2a$04$NAPJEYfDoUgKCX2UxUtTyOP1In6mTSfu9i5v512XIN.8MlQfaRmke"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_4"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:37.619990' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_16' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 10, "receiver_id" = 11, "message_template_id" = 10, "updated_at" = '2011-12-17 20:14:37.630371' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 10ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_38@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_38@example.jp"], ["encrypted_password", "$2a$04$M7FdmIdqX3SNwK9mgA8/2.c.r83uAk.EHj3jZ/TBBsR6mZDNqEcV6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_38"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:37.663266' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_39@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_39@example.jp"], ["encrypted_password", "$2a$04$vLPDoPznW5wPnNFBsg5jpO72oXsetmg8h23Hp0wjJcXjgUd/3cI/6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_39"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:37.671883' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_17' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_17"], ["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_17"], ["title", "message_template_17"], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_17' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_40@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (33.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_40@example.jp"], ["encrypted_password", "$2a$04$vcj56oojkPe9QGzirsd.RugH822DPRFzOb9hVp/G436O9exWjfV9e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_40"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:37.720205' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_41@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_41@example.jp"], ["encrypted_password", "$2a$04$dpdJXssJJxjSz9NXsQyS9OLU79Uj5V2kh3RMb94ULZqpdRQsuBwl2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_41"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:37.728619' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_18' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_18"], ["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_18"], ["title", "message_template_18"], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_5@example.jp"], ["encrypted_password", "$2a$04$EAz2x2RdwiEndeQpEUgxlOk2BIXMFcDTjCNKBYHxFfXjKvKaG5Dw2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_5"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:37.739226' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_18' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 10, "receiver_id" = 11, "message_template_id" = 10, "updated_at" = '2011-12-17 20:14:37.767087' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 28ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_42@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_42@example.jp"], ["encrypted_password", "$2a$04$pBg6DWK3ksvNUb2wWPsgduJe/6.HLdNxyqBESP9ALCtJ82i52a0p2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_42"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:37.813126' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_43@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_43@example.jp"], ["encrypted_password", "$2a$04$Uw1KSMH4m1teBKvFn6bwIu./4AQLrenZFH4LWwmxFWScqQrJqtx62"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_43"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:37.821110' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_19' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_19"], ["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_19"], ["title", "message_template_19"], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_19' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_44@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_44@example.jp"], ["encrypted_password", "$2a$04$bXaBuLcESKrQ/4XH72u4QeQ7etk00aSrKS02zJ367031wQf0UK7b2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_44"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:37.835286' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_45@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_45@example.jp"], ["encrypted_password", "$2a$04$WZRCgmxR2wkKdTslLUloieQtWJMSkRTdtK0oZKlCHhi6gHbS42i4."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_45"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:37.842794' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_20' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_20"], ["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_20"], ["title", "message_template_20"], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_6@example.jp"], ["encrypted_password", "$2a$04$OlFVtvexj1olWaiMtp8kMuo4r.SDG1piUnOX5jQI.huZ.0SXQvI0G"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_6"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:37.852542' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_19' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 10ms (Views: 0.9ms | ActiveRecord: 0.6ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_46@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_46@example.jp"], ["encrypted_password", "$2a$04$em9ZcBgsJgAmKEyLIc14vuSx.iMers95.dyHl6oEDifqUPzQ9tuaK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_46"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:37.874385' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_47@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_47@example.jp"], ["encrypted_password", "$2a$04$XMK1wv8v16uU0L4/ONZE1.eHYFOZBy4QFBiAFRCrbt2UCof..t0kC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_47"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:37.882236' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_21' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_21"], ["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_21"], ["title", "message_template_21"], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_21' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_48@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (32.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_48@example.jp"], ["encrypted_password", "$2a$04$XBykVyFsS62Lg4d8LK/PLOcCZkAmLIaM5vYKyFo/xVaqA6UDW4X8i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_48"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:37.928825' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_49@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_49@example.jp"], ["encrypted_password", "$2a$04$fPfbkG9rsjFIqAiTt0lg3OnqCZrqumxb2HM5W/xfdKq7FzQqgvK16"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_49"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:37.942303' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_22' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_22"], ["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_22"], ["title", "message_template_22"], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_50@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_50@example.jp"], ["encrypted_password", "$2a$04$NUjSuqDY35SqAQnXBMshC.ZikWYNLXTrvF3znUsCSuI0u1c6c/Yi2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_50"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:37.952963' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_51@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_51@example.jp"], ["encrypted_password", "$2a$04$HmTGQ7Gmr31Jmx/XcQNbde1Nb8zLCf8GcfVl3BwqyhmSIz/6S5.5G"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_51"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:37.975261' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_52@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_52@example.jp"], ["encrypted_password", "$2a$04$2Cx.6Wt.TEyCaDzS6TQt9umPA.BnkWvipJo/wHtSkQDTgMhjHnpme"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_52"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:37.983355' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_23' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_23"], ["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_23"], ["title", "message_template_23"], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_23' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_53@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_53@example.jp"], ["encrypted_password", "$2a$04$8qTSpKCO97t.PsSGpxtLd.VipvnkPLIpaPFqoyUksZBqxjRXXurqm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_53"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:37 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:37.997392' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_54@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_54@example.jp"], ["encrypted_password", "$2a$04$V9ZvutpG2NkiwMm/WE8mROmevMwtUJyavXssqP4FhuR9nnTRdeaWK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_54"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:38.005195' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_24' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_24"], ["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_24"], ["title", "message_template_24"], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_55@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_55@example.jp"], ["encrypted_password", "$2a$04$pNHFg1kxSfAvF2ofFqQtyOkuNhzaE.VEYKdPT/iqE7/zn1zpFjZVq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_55"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:38.015021' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_56@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_56@example.jp"], ["encrypted_password", "$2a$04$2ek19bNeicFKQx39plNf3.vpKWGu4dkZiTIbP/YdFq15x0uKjcs8G"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_56"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:38.032721' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_57@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_57@example.jp"], ["encrypted_password", "$2a$04$SHlrcn86fGwUn84kY2wATOu0VLd1s92rzgLhWLm0wfWDf4zdJOO9K"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_57"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["user_id", 9]]  (0.3ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:38.041231' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_25' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_25"], ["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_25"], ["title", "message_template_25"], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_25' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_58@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (32.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_58@example.jp"], ["encrypted_password", "$2a$04$fsTUcIF3XsMfIcrnxQtkNOPZHCh41Qy/glmluOU3vgs.Cx4pMaf8K"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_58"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:38.087820' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_59@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_59@example.jp"], ["encrypted_password", "$2a$04$5ZOcYK1nnJTdWj7tnHfwn.S9PPJg2MuquN6dfDu0U5Qibc4ubbcbK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_59"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:38.095970' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_26' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_26"], ["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_26"], ["title", "message_template_26"], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_60@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_60@example.jp"], ["encrypted_password", "$2a$04$Ax2PISQ8Q01Dohbt2KAFa.r1ff2E5qUjDPrhB3JvXnYDdC1ZiFuOm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_60"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:38.105713' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_61@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (47.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_61@example.jp"], ["encrypted_password", "$2a$04$YIjMxDzBgrakiKUJ.MPMe.iPCDsQTY0PJKauJegYmqGFD7hYpKmVK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_61"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:38.205776' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_62@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_62@example.jp"], ["encrypted_password", "$2a$04$xZ7EBJh1eaDlLUu1OANfquJtWtzTD7HNfa9YokD9XG7LSU81jtvBG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_62"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:38.214642' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_27' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_27"], ["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_27"], ["title", "message_template_27"], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_27' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_63@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_63@example.jp"], ["encrypted_password", "$2a$04$vGn.KzdqEqTU1eP2mbkFKejW.mLdwt7v4DJEG4gMwteKb4OGYHK8G"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_63"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:38.231136' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_64@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_64@example.jp"], ["encrypted_password", "$2a$04$8myyysswG46u2aGtRLAp1OyyrN7usXgB64pOTMJguz4eVV08GPJ/q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_64"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:38.240820' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_28' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_28"], ["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_28"], ["title", "message_template_28"], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_65@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_65@example.jp"], ["encrypted_password", "$2a$04$6hP3K9yxTi5U8VEBxJ7T4.bbt5Ae23Zftvi2Li/0Oi5F.lEKfqml2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_65"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:38.262153' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_66@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_66@example.jp"], ["encrypted_password", "$2a$04$9NDFws5gXd57DEpuJCQCoe7PJv3RpUGL6UDHmpG96cK8R2H5qI4we"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_66"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:38.276067' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_29' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_29"], ["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_29"], ["title", "message_template_29"], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_29' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_67@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_67@example.jp"], ["encrypted_password", "$2a$04$Vg2DyztQP6lHIMQztsNo3uXKzn6n125e.Zd8ujMvNKTfEJM3MXrWC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_67"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:38.301365' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.3ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_68@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (53.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_68@example.jp"], ["encrypted_password", "$2a$04$kjx2KPp/u6LIDIhlhNDjkuCdZKvzXwlDuxZwTQL5eN7f5WHuwiP0a"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_68"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:38.367336' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_30' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_30"], ["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_30"], ["title", "message_template_30"], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"10", "receiver_id"=>"11", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_69@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_69@example.jp"], ["encrypted_password", "$2a$04$v.Ye41nsUZl0IZDTjD8HzO/GMLTCp3xhd/qzUM4eR4jSFGbl1hewa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_69"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:38.420012' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_70@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_70@example.jp"], ["encrypted_password", "$2a$04$DAtbQTE2LIjDq98V/xtJN.DldkMcbeeRRBTZlz.3maOlLb4N.5aSe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_70"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:38.433974' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_31' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_31"], ["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_31"], ["title", "message_template_31"], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_31' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_71@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_71@example.jp"], ["encrypted_password", "$2a$04$QSVoVczZSSPOr/3.PuNQTO5ClDr1NyysQMkObs75dc9NmmN.gsA6i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_71"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:38.460611' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_72@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_72@example.jp"], ["encrypted_password", "$2a$04$zMQAlvwtV9pRY72tQHQ9FeXc6lTC1GQYUiGTcsxQQ6f04t55oOpSi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_72"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:38.475639' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_32' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_32"], ["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_32"], ["title", "message_template_32"], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 8ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_73@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (6.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_73@example.jp"], ["encrypted_password", "$2a$04$rYcp7Cd5KwS/.Lnr5wRD9.D/70wL2m/ICtayL57mAHYJ1P.acjqz."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_73"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:38.518625' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_74@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_74@example.jp"], ["encrypted_password", "$2a$04$yUe/L9sDefVmiu3n98GBzuIUeSL7Ub1SGuqgVfkCPdc4HT1EIeHLW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_74"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["user_id", 9]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:38.533318' WHERE "roles"."id" = 2  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_33' LIMIT 1 SQL (1.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_33"], ["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_33"], ["title", "message_template_33"], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_33' AND "message_templates"."id" != 9) LIMIT 1 SQL (1.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_7@example.jp"], ["encrypted_password", "$2a$04$UIPVdVqTTHtCVjbEINjK.OEFOkBBNFqBTyeJyLIapC8JjkNFXkt9e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_7"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:38.562280' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 11ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_75@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_75@example.jp"], ["encrypted_password", "$2a$04$P2OSR8hgOQWihEJsMUTYq.tdvsJ.uTjW/zsenuCwBc.9aNe64UlHy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_75"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:38.594385' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_76@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_76@example.jp"], ["encrypted_password", "$2a$04$C7G5OGrcvP9m4VNMW9//qe7UAzBLu4Q2WcAf/RjJTq4COiJyYfJdS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_76"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:38.611048' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_34' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_34"], ["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_34"], ["title", "message_template_34"], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_34' AND "message_templates"."id" != 9) LIMIT 1 SQL (55.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_8@example.jp"], ["encrypted_password", "$2a$04$F71pk01NhkJc3aV3e5q2XeoC0NZdbPehpyf/ML3EKVaJkqPuuez2G"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_8"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:38.698826' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.2ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 14ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_77@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_77@example.jp"], ["encrypted_password", "$2a$04$DhKdMtKLmWzcKkHL5yj7tuAGJDBEF.HR0K8WVotwZp6ygF2Holg.."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_77"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:38.733057' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_78@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_78@example.jp"], ["encrypted_password", "$2a$04$W0tDjAnltPldMu6wyb6WkeQhztsjCay7OuN7lb3F4/ir46xfDi1g6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_78"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:38.747412' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_35' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_35"], ["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_35"], ["title", "message_template_35"], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_35' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_7@example.jp"], ["encrypted_password", "$2a$04$kU4ecYKOY0UoKPde29cYxeH6WMslJdE6fUzSUjgO8CJTQd4m6Mmmq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_7"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:38.772709' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 9ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_79@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_79@example.jp"], ["encrypted_password", "$2a$04$BrK2y.X5td2c4BWTQCjpb.Ut3Z4c6/G.Sd9EO6G/HswFseupz9ivG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_79"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:38.821210' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_80@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_80@example.jp"], ["encrypted_password", "$2a$04$HJLXWEE.HVHklnEXWMdVxuvxLhJN2G2V9r7SMsHd2rmw0fKNMV3hS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_80"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:38.834805' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_36' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_36"], ["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_36"], ["title", "message_template_36"], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_36' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_8@example.jp"], ["encrypted_password", "$2a$04$0TgOdJTuJx59i6qW6e5Z3OlihFzR9Yt6LbyT.HMG.b.YHu9.DGg16"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_8"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:38.858928' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 9ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_81@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (14.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_81@example.jp"], ["encrypted_password", "$2a$04$RG6HgUnZrgiP6FBvSeMGFOvxQgTdXtZjoTfdJ0ZMSUDPm065EoElS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_81"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:38.899896' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_82@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_82@example.jp"], ["encrypted_password", "$2a$04$qUACw1isJAmBweldfrEEk.F3p4Bc6/zSUPafLRWlVR8VaT.YwYqOO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_82"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:38.913052' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_37' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_37"], ["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_37"], ["title", "message_template_37"], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_37' AND "message_templates"."id" != 9) LIMIT 1 SQL (1.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_83@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_83@example.jp"], ["encrypted_password", "$2a$04$NQdFjS4M78AbxRUMUlctE.NhHMUd.XQQMPwBfdxjbfshP5NBSdArO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_83"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:38 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:38.992796' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_84@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_84@example.jp"], ["encrypted_password", "$2a$04$2oeDFF/wQGCeMzx1F/2oruF4HO4xZ3eni4nQqMpFPhlmNrMhy3wx2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_84"]] SQL (0.6ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:39.024145' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_85@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (15.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_85@example.jp"], ["encrypted_password", "$2a$04$fiwkfMRJyDnepjX3hBj6eOtg/cIX1AeHuKQk7BhKTazqTSSoHC7M2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_85"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:39.052157' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_38' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_38"], ["created_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_38"], ["title", "message_template_38"], ["updated_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_38' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_86@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_86@example.jp"], ["encrypted_password", "$2a$04$l2EloodIjXRhGTL.I1tZ0OO0mJ4A2AaWRaWa2hEP71VS7bHHP1NJq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_86"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:39.076687' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_87@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_87@example.jp"], ["encrypted_password", "$2a$04$6OBd1L5bmBMd/io7JL7N1.7QoZ3dC0cIMJTvEEU/1YH4YcUPDdYsq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_87"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:39.109524' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_88@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_88@example.jp"], ["encrypted_password", "$2a$04$y804kda1T09LBHiHoEOC3Ou7hq3zUzuYieKNglhlxbuhYcywjcO/e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_88"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:39.124059' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_39' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_39"], ["created_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_39"], ["title", "message_template_39"], ["updated_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_39' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_89@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_89@example.jp"], ["encrypted_password", "$2a$04$buyEd0.wIEG1MaQZ.FccKuqCTqqvSKtivkJcdqzVbKTVQscauYEK."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_89"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:39.164950' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_90@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_90@example.jp"], ["encrypted_password", "$2a$04$pAyw7wVgxKN7fjV76OfOOuuI52cuwBsc2B9Mmz/YaJ0oUOUYA4NQK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_90"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00], ["user_id", 9]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:39.179723' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_40' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_40"], ["created_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_40"], ["title", "message_template_40"], ["updated_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 9 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_40' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 9], ["sender_id", 8], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_41' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_41"], ["created_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_41"], ["title", "message_template_41"], ["updated_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (55.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_9@example.jp"], ["encrypted_password", "$2a$04$r9mnDcGoSB3meY/7qpU1re7NZcOeNEUiBSexScICaPkI.4TRQ9jTy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_9"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:39.276511' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 21ms (Views: 7.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position LIMIT 10 OFFSET 0  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_42' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_42"], ["created_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_42"], ["title", "message_template_42"], ["updated_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_9@example.jp"], ["encrypted_password", "$2a$04$ON/PGlkrHYCO/qWLQAtCuO6.2SN13JFk93cvcrYIVX7lNf3GxBLkG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_9"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:39.327081' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 9ms (Views: 1.5ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position LIMIT 10 OFFSET 0  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_43' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_43"], ["created_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_43"], ["title", "message_template_43"], ["updated_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_91@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_91@example.jp"], ["encrypted_password", "$2a$04$D30mL9MQWzXSpo6jR1imte0d7UNf4BVKjGIgIEdr4Zwj5wCOzyZ36"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_91"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:39.368327' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 2.6ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "message_templates" WHERE ('t'='f')  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_44' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_44"], ["created_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_44"], ["title", "message_template_44"], ["updated_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms  (0.1ms) SELECT COUNT(*) FROM "message_templates" WHERE ('t'='f') Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_10@example.jp"], ["encrypted_password", "$2a$04$5RCYpEu7R5kQ19zSZBhjEuB4RHyL37P5vj3tMFkjMIA/4OtXfPrGm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_10"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:39.417112' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_45' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_45"], ["created_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_45"], ["title", "message_template_45"], ["updated_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 10ms (Views: 2.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_10@example.jp"], ["encrypted_password", "$2a$04$xNSCXUNrhGhyVhy6oDyHeeFwVaV7TcRhsgnAF13kVARW.9.a8zrRy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_10"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:39.452204' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_46' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_46"], ["created_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_46"], ["title", "message_template_46"], ["updated_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 10ms (Views: 1.5ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_92@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (8.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_92@example.jp"], ["encrypted_password", "$2a$04$/Zo8SsyLQRyRVp4QAsXYUe3ofqxC7u.jTUBrLkNcNiryPp/INiGFe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_92"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:39.496924' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_47' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_47"], ["created_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_47"], ["title", "message_template_47"], ["updated_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 16ms (Views: 7.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (8.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_48' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_48"], ["created_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_48"], ["title", "message_template_48"], ["updated_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 11ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (57.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_11@example.jp"], ["encrypted_password", "$2a$04$QtLxv1XsL6dobV7kM4YrZuOL6jSLD3VInzLqfRAcVJNWRv/Oh013."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_11"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:39.671779' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_11@example.jp"], ["encrypted_password", "$2a$04$Gk8ZZSbrGey5rAhHtyY4IuuPmesEacTkaFG4ewGF6ixjhLQ2xRm8y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_11"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:39.705809' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (60.9ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_93@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (5.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_93@example.jp"], ["encrypted_password", "$2a$04$9ZEd.YqDCYLxMiM2OFQoIOe.hj0UzjBrWmMCb6r7scev724aKGD6K"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_93"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:39.835537' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Processing by MessageTemplatesController#new as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (8.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_12@example.jp"], ["encrypted_password", "$2a$04$kFXMKV3eHI5njAyONnphae0NK1EF8SvmP64Bqwq4O6U0ZWEe6vNju"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_12"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:39.934031' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_49' LIMIT 1 SQL (6.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_49"], ["created_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_49"], ["title", "message_template_49"], ["updated_at", Sat, 17 Dec 2011 20:14:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 200 OK in 11ms (Views: 3.5ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_12@example.jp"], ["encrypted_password", "$2a$04$gpvOePNon/gBDgESn02Z3OyXEspzLHqbzzH1mSENKnDMKEI77bsOi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_12"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:40 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:14:40 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:40.039680' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_50' LIMIT 1 SQL (4.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_50"], ["created_at", Sat, 17 Dec 2011 20:14:40 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_50"], ["title", "message_template_50"], ["updated_at", Sat, 17 Dec 2011 20:14:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_94@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (43.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_94@example.jp"], ["encrypted_password", "$2a$04$nqW63.MNOImC/nw1UhBAVuXu2B5/OC45Quosd0HTFp8pivQtU6TdC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_94"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:40 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:40 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:40.127212' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_51' LIMIT 1 SQL (2.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_51"], ["created_at", Sat, 17 Dec 2011 20:14:40 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_51"], ["title", "message_template_51"], ["updated_at", Sat, 17 Dec 2011 20:14:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.5ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (60.5ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_52' LIMIT 1 SQL (4.0ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_52"], ["created_at", Sat, 17 Dec 2011 20:14:40 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_52"], ["title", "message_template_52"], ["updated_at", Sat, 17 Dec 2011 20:14:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms Role Load (52.7ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (58.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_13@example.jp"], ["encrypted_password", "$2a$04$zoKEvghTr50lTkVny.Lol.JFLFhOVj1okB8FLp93rEBOE0TtE8fCe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_13"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:40 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:14:40 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:40.352611' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_53", "status"=>"message_template_53", "body"=>"message_template_53"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.5ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_53' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (37.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_14@example.jp"], ["encrypted_password", "$2a$04$yfJcYuc.sGyq5JAGENOXTueUJqPPT.1dXy24Xbsy5EvPx0soSAue6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_14"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:40 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:14:40 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:40.423706' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_54", "status"=>"message_template_54", "body"=>"message_template_54"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (36.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_15@example.jp"], ["encrypted_password", "$2a$04$O9wvClJgt.iCGK5OPp4yZONdgGc4QnY14ke35B4XpaMYx7/YwUc/a"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_15"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:40 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:14:40 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:40.508096' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (3.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.4ms | ActiveRecord: 3.7ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (52.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_16@example.jp"], ["encrypted_password", "$2a$04$Dv.CCOFOFO4n8lX9XesIv.n4lbcSLQjOhppuQ9GgmdeJ/74g7n.Sy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_16"]] SQL (0.4ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:40 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:14:40 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:40.609606' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (43.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_13@example.jp"], ["encrypted_password", "$2a$04$icNzPuh6L.3BOwVXe8CpiOcB6HoHuw0SrVJ2WDaDaXeZSovdnA.bq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_13"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:40 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:14:40 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:40.686469' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_57", "status"=>"message_template_57", "body"=>"message_template_57"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_57' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (43.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_14@example.jp"], ["encrypted_password", "$2a$04$IGunnqh/9hwBI3iULWV0sevwsYy5hZaZXfyY8WnDbnypObfx3A5b."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_14"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:40 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:14:40 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:40.761092' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_58", "status"=>"message_template_58", "body"=>"message_template_58"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (12.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_15@example.jp"], ["encrypted_password", "$2a$04$Ieyo9y07NGtmHwpmNd7Wz.ZvxP1JI7AZYVH4sV/avTHhLvS7U0r6O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_15"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:40 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:14:40 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:40.855777' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 14ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (10.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_16@example.jp"], ["encrypted_password", "$2a$04$2GTYw3U5jg23P/3/NvvW0eL6TZpA0wXJmPoh7CuVk58zk29hROPfK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_16"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:40 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:14:40 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:40.963792' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (69.6ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 82ms (Views: 1.4ms | ActiveRecord: 69.7ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_95@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (50.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_95@example.jp"], ["encrypted_password", "$2a$04$dXCMyqduvmJ7ewkcOgloEun8M/0RWCDnjJNZ6GT40AEPFagcuDD.q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_95"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:41 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:41 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:41.137715' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_61", "status"=>"message_template_61", "body"=>"message_template_61"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_61' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_96@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (39.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_96@example.jp"], ["encrypted_password", "$2a$04$IGWqmSHA.72n/xtyMTPyv.ZdOd8Wp8kmVxzVLX34CxfnLLcU8vb5e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_96"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:41 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:41 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:41.214081' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_62", "status"=>"message_template_62", "body"=>"message_template_62"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_97@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (33.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_97@example.jp"], ["encrypted_password", "$2a$04$ANw/Dbhv.tP.0P8UQCvG5OWz9pzfgWlAEFDZh6I/6hKWwV5JwL4ci"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_97"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:41 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:41 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:41.274702' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_98@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (45.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_98@example.jp"], ["encrypted_password", "$2a$04$4FQv/oQTswx66C.4VuflDeZ.6WHfL/gbcyBSPGitA/d.REX6H3.OG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_98"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:41 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:41 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:41.371453' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_65", "status"=>"message_template_65", "body"=>"message_template_65"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 3ms MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_65' LIMIT 1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_66", "status"=>"message_template_66", "body"=>"message_template_66"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 3ms Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 3ms MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 3ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_69' LIMIT 1 SQL (25.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_69"], ["created_at", Sat, 17 Dec 2011 20:14:41 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_69"], ["title", "message_template_69"], ["updated_at", Sat, 17 Dec 2011 20:14:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_17@example.jp"], ["encrypted_password", "$2a$04$8Tbnnc.ajHk0wxtOrL/Fu.zpNbdU25Aqxwzh7oY8OzZy1xryICW7u"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_17"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:41 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:14:41 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:41.448527' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_70", "status"=>"message_template_70", "body"=>"message_template_70"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_70' AND "message_templates"."id" != 9) LIMIT 1  (0.1ms) UPDATE "message_templates" SET "title" = 'message_template_70', "status" = 'message_template_70', "body" = 'message_template_70', "updated_at" = '2011-12-17 20:14:41.456822' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates/9 Completed 302 Found in 76ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_71' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_71"], ["created_at", Sat, 17 Dec 2011 20:14:41 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_71"], ["title", "message_template_71"], ["updated_at", Sat, 17 Dec 2011 20:14:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_18@example.jp"], ["encrypted_password", "$2a$04$k6t89IuK3oCdkI2lD2fvNeUrW8L2xuzkwg.SP9fGAd8dtFZdx/uD2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_18"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:41 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:14:41 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:41.538958' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_72", "status"=>"message_template_72", "body"=>"message_template_72"}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_72' AND "message_templates"."id" != 9) LIMIT 1  (0.1ms) UPDATE "message_templates" SET "title" = 'message_template_72', "status" = 'message_template_72', "body" = 'message_template_72', "updated_at" = '2011-12-17 20:14:41.547306' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates/9 Completed 302 Found in 8ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_73' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_73"], ["created_at", Sat, 17 Dec 2011 20:14:41 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_73"], ["title", "message_template_73"], ["updated_at", Sat, 17 Dec 2011 20:14:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_19@example.jp"], ["encrypted_password", "$2a$04$BaFtxKEHmNvtOHN7fq0RUOr.6zMO8BFV0pvJ2i/.3.Omcv/14x4Iy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_19"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:41 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:14:41 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:41.561586' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_74", "status"=>"message_template_74", "body"=>"message_template_74"}, "position"=>"2", "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "message_templates" SET "position" = 0, "updated_at" = '2011-12-17 20:14:41.568942' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "message_templates" SET position = (position - 1) WHERE "message_templates"."id" IN (SELECT "message_templates"."id" FROM "message_templates" WHERE (1 = 1 AND position > 9) ORDER BY position) SQL (0.1ms) UPDATE "message_templates" SET position = (position + 1) WHERE "message_templates"."id" IN (SELECT "message_templates"."id" FROM "message_templates" WHERE (1 = 1 AND position >= 2) ORDER BY position)  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "message_templates" SET "position" = 2, "updated_at" = '2011-12-17 20:14:41.570528' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates Completed 302 Found in 7ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_75' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_75"], ["created_at", Sat, 17 Dec 2011 20:14:41 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_75"], ["title", "message_template_75"], ["updated_at", Sat, 17 Dec 2011 20:14:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_20@example.jp"], ["encrypted_password", "$2a$04$z2bl3xZkFkXIrlc54ZEw6uCk2HHtNqU4GA1GNm/muMQ5g4XsUNXRS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_20"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:41 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:14:41 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:41.583670' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = '' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 0.7ms | ActiveRecord: 0.0ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_77' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_77"], ["created_at", Sat, 17 Dec 2011 20:14:41 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_77"], ["title", "message_template_77"], ["updated_at", Sat, 17 Dec 2011 20:14:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_17@example.jp"], ["encrypted_password", "$2a$04$4ZRoe3Psb3866DQWcv0Qbeyxwd4chU9GNIZFiAPBSr/0HNl1JHofi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_17"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:41 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:14:41 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:41.605124' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_78", "status"=>"message_template_78", "body"=>"message_template_78"}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_79' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_79"], ["created_at", Sat, 17 Dec 2011 20:14:41 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_79"], ["title", "message_template_79"], ["updated_at", Sat, 17 Dec 2011 20:14:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_18@example.jp"], ["encrypted_password", "$2a$04$DN/KCVkIEKZ42nzHzfsdYOJrfLLUAJEdqdAFuDO8uxyK3YsiJv9PO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_18"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:41 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:14:41 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:41.625004' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_80", "status"=>"message_template_80", "body"=>"message_template_80"}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_81' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_81"], ["created_at", Sat, 17 Dec 2011 20:14:41 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_81"], ["title", "message_template_81"], ["updated_at", Sat, 17 Dec 2011 20:14:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_19@example.jp"], ["encrypted_password", "$2a$04$uRqb1VWx7craW15PkubZlOXY/.v3k6WB8jg4PbMQG8f0PoOrKyLLu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_19"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:41 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:14:41 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:41.645500' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 40ms (Views: 0.8ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (3.8ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_83' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_83"], ["created_at", Sat, 17 Dec 2011 20:14:41 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_83"], ["title", "message_template_83"], ["updated_at", Sat, 17 Dec 2011 20:14:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_99@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_99@example.jp"], ["encrypted_password", "$2a$04$X7U05hlszfyZXJ0aBss7j.Lr8e0tv9lhUVjwkTnbjoWRvoEYWMVV."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_99"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:41 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:41 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:41.711374' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_84", "status"=>"message_template_84", "body"=>"message_template_84"}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_85' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_85"], ["created_at", Sat, 17 Dec 2011 20:14:41 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_85"], ["title", "message_template_85"], ["updated_at", Sat, 17 Dec 2011 20:14:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_100@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (31.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_100@example.jp"], ["encrypted_password", "$2a$04$cmeYzNLcVq9qOwS/GbTLeeOBgbPnF2b0YzH1SRN6zfH0bev6fll6q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_100"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:41 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:41 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:41.763023' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_86", "status"=>"message_template_86", "body"=>"message_template_86"}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_87' LIMIT 1 SQL (64.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_87"], ["created_at", Sat, 17 Dec 2011 20:14:41 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_87"], ["title", "message_template_87"], ["updated_at", Sat, 17 Dec 2011 20:14:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_101@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (48.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_101@example.jp"], ["encrypted_password", "$2a$04$Lq0qM5wIhH4sPspFN3G2CeXRkHfjLFI2OuyL5jqVyPcv93Ttvrw72"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_101"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:41 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:41 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:41.939750' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_89' LIMIT 1 SQL (54.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_89"], ["created_at", Sat, 17 Dec 2011 20:14:41 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_89"], ["title", "message_template_89"], ["updated_at", Sat, 17 Dec 2011 20:14:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_90", "status"=>"message_template_90", "body"=>"message_template_90"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_91' LIMIT 1 SQL (50.1ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_91"], ["created_at", Sat, 17 Dec 2011 20:14:42 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_91"], ["title", "message_template_91"], ["updated_at", Sat, 17 Dec 2011 20:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_92", "status"=>"message_template_92", "body"=>"message_template_92"}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_93' LIMIT 1 SQL (1.8ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_93"], ["created_at", Sat, 17 Dec 2011 20:14:42 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_93"], ["title", "message_template_93"], ["updated_at", Sat, 17 Dec 2011 20:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_95' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_95"], ["created_at", Sat, 17 Dec 2011 20:14:42 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_95"], ["title", "message_template_95"], ["updated_at", Sat, 17 Dec 2011 20:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (39.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_21@example.jp"], ["encrypted_password", "$2a$04$gsYTnCFN5DfxePIVQEGhsOymy7zMgsKv./h0jfVnClnRFTedrZfrW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_21"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:42 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:14:42 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:42.196440' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_96' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_96"], ["created_at", Sat, 17 Dec 2011 20:14:42 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_96"], ["title", "message_template_96"], ["updated_at", Sat, 17 Dec 2011 20:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (43.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_22@example.jp"], ["encrypted_password", "$2a$04$t5IlSlaOovf4dfhZczLhCeqfp7cEituAqFnBIGXPcB7jJc72XPClO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_22"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:42 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:14:42 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:42.319156' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 69ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_97' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_97"], ["created_at", Sat, 17 Dec 2011 20:14:42 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_97"], ["title", "message_template_97"], ["updated_at", Sat, 17 Dec 2011 20:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_20@example.jp"], ["encrypted_password", "$2a$04$feyl8vUjt4NVg7Ppa13nJOyovQTCPxqn.r1MxGpLrx0h3.MtPjBKi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_20"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:42 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:14:42 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:42.413122' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_98' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_98"], ["created_at", Sat, 17 Dec 2011 20:14:42 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_98"], ["title", "message_template_98"], ["updated_at", Sat, 17 Dec 2011 20:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_21@example.jp"], ["encrypted_password", "$2a$04$a5GcqE0cPV.p0exykBWlO.f0AZTN27ESrzpNKtnc4LTGV0rTfMViG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_21"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:42 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:14:42 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:42.464984' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_99' LIMIT 1 SQL (0.9ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_99"], ["created_at", Sat, 17 Dec 2011 20:14:42 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_99"], ["title", "message_template_99"], ["updated_at", Sat, 17 Dec 2011 20:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_102@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (40.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_102@example.jp"], ["encrypted_password", "$2a$04$OBRY/uKYQSbx3MTyqlKz2.9WSgrY2rwM1S.oU10VHlx2o/aJRUeey"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_102"]] SQL (0.4ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:42 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:42 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:42.569630' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_100' LIMIT 1 SQL (1.0ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_100"], ["created_at", Sat, 17 Dec 2011 20:14:42 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_100"], ["title", "message_template_100"], ["updated_at", Sat, 17 Dec 2011 20:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_103@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_103@example.jp"], ["encrypted_password", "$2a$04$4owsT7ELYdLvvGp5lhVDde.hC7poECHOze1m3s2.DnIe4nndFl/AG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_103"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:42 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:14:42 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:42.615402' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_101' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_101"], ["created_at", Sat, 17 Dec 2011 20:14:42 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_101"], ["title", "message_template_101"], ["updated_at", Sat, 17 Dec 2011 20:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_102' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_102"], ["created_at", Sat, 17 Dec 2011 20:14:42 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_102"], ["title", "message_template_102"], ["updated_at", Sat, 17 Dec 2011 20:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_23@example.jp"], ["encrypted_password", "$2a$04$XVQwA7tQRckd5WAqe/CJwOkTIiL8bz77WNYY0NGBbVxIhe0aaspNy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_23"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:43 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:14:43 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:43.963844' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 SOLR Request (15.5ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A8&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (5.1ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A8&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 132ms (Views: 8.2ms | ActiveRecord: 0.4ms | Solr: 20.7ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_24@example.jp"], ["encrypted_password", "$2a$04$wEJqO.xd.IqeYbwaE7TQteqONgkm6n.HZvQTFAhlvfQnTmG/fEXG2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_24"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:44 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:14:44 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:44.194454' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML Parameters: {"user_id"=>"admin_24"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'admin_24' LIMIT 1 SOLR Request (8.6ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A8&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (9.5ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A8&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 30ms (Views: 1.5ms | ActiveRecord: 0.5ms | Solr: 18.1ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_22@example.jp"], ["encrypted_password", "$2a$04$yaCZ8mTLL/.TLOBXw4S52.99Ean1r3Vec4AJh/u3QenGvW9XfLE5C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_22"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:44 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:14:44 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:44.265705' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 SOLR Request (3.0ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A8&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (6.8ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A8&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 21ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 9.8ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_23@example.jp"], ["encrypted_password", "$2a$04$7B/T.k.6/NS.koqs0.4RaOBBExYFbGl0DLpG/o0eqisAoNbZ96Xb6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_23"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:44 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:14:44 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:44.373610' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML Parameters: {"user_id"=>"librarian_23"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'librarian_23' LIMIT 1 SOLR Request (4.0ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A8&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (7.3ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A8&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 22ms (Views: 1.9ms | ActiveRecord: 0.4ms | Solr: 11.3ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 SOLR Request (5.1ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (4.6ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IN (2) Completed 200 OK in 38ms (Views: 1.4ms | ActiveRecord: 0.5ms | Solr: 9.8ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML Parameters: {"query"=>"you"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 SOLR Request (9.8ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&q=you&fl=%2A+score&qf=body_text+subject_text&defType=dismax&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (67.5ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&q=you&fl=%2A+score&qf=body_text+subject_text&defType=dismax&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IN (2) Completed 200 OK in 91ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 77.4ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 SOLR Request (4.4ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (5.3ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IN (2) Completed 200 OK in 23ms (Views: 1.3ms | ActiveRecord: 0.6ms | Solr: 9.7ms) Processing by MessagesController#index as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 80ms (Views: 2.7ms | ActiveRecord: 0.6ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 403 Forbidden in 13ms (Views: 1.2ms | ActiveRecord: 0.5ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#show as HTML Parameters: {"id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 3 AND "messages"."id" = ? LIMIT 1 [["id", "2"]]  (0.0ms) SAVEPOINT active_record_1  (0.4ms) UPDATE "messages" SET "read_at" = '2011-12-17 20:14:44.851524', "updated_at" = '2011-12-17 20:14:44.851891' WHERE "messages"."id" = 2 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1  (0.5ms) UPDATE "messages" SET "state" = 'read', "updated_at" = '2011-12-17 20:14:44.859949' WHERE "messages"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 43ms (Views: 18.4ms | ActiveRecord: 1.7ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 403 Forbidden in 74ms (Views: 1.3ms | ActiveRecord: 0.6ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_25@example.jp"], ["encrypted_password", "$2a$04$QoGddlwL7.blp52OwNfZUu.Qca5u79riVoZWf3kqZgCuoFRSJTGWu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_25"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:44 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:14:44 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:44.989088' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 Completed 200 OK in 20ms (Views: 6.4ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (43.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_24@example.jp"], ["encrypted_password", "$2a$04$A7fnClalgoVHpvBcVTxJ2.3UMhYt07bUETOF1QM1ArXo2XbACE45C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_24"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:45 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:14:45 UTC +00:00], ["user_id", 8]]  (4.0ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:45.073361' WHERE "roles"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 Completed 200 OK in 51ms (Views: 1.4ms | ActiveRecord: 0.5ms | Solr: 0.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 19ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.8ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML Parameters: {"parent_id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML Parameters: {"parent_id"=>"2"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Processing by MessagesController#new as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 14ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_26@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (22.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_26@example.jp"], ["encrypted_password", "$2a$04$2jpuJS2ohZPVJfOehu2wOeVS8VlC73Ea7q3oViaXbjMftzg.zXkQq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_26"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:45 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:14:45 UTC +00:00], ["user_id", 8]]  (9.6ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:45.317047' WHERE "roles"."id" = 4  (0.1ms) RELEASE SAVEPOINT active_record_1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 8 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 14ms (Views: 1.3ms | ActiveRecord: 0.6ms | Solr: 0.0ms) Role Load (0.3ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_25@example.jp"], ["encrypted_password", "$2a$04$MxXFTntkM3oIUrW7WMY4b.xZksCGZDPMUebP8s6shBJSjjOzyJGcm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_25"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:45 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:14:45 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:45.377607' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 37ms (Views: 1.6ms | ActiveRecord: 0.6ms | Solr: 0.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "user_1"]]  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_27@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_27@example.jp"], ["encrypted_password", "$2a$04$95U4r0rHA5cnEpQX6L7MAuyQsrj6CG07q8pmgI/Xz8dmP/7g2y4XO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_27"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:45 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:14:45 UTC +00:00], ["user_id", 8]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:45.517784' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (1.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 14ms (Views: 1.3ms | ActiveRecord: 1.6ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_28@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_28@example.jp"], ["encrypted_password", "$2a$04$qMhkjy1/nxUd75AKPw6exeYfllzCEOPLbaSgehI9W.dOKl.UpiQLe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_28"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:45 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:14:45 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:45.556519' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 18ms (Views: 1.2ms | ActiveRecord: 0.5ms | Solr: 0.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_29@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_29@example.jp"], ["encrypted_password", "$2a$04$9xPnsM0/3SA5rl9hghIqxeREmM8vCd4JsWBJR71dH9lSiyAeC4d1a"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_29"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:45 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:14:45 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:45.600142' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 18ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_30@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_30@example.jp"], ["encrypted_password", "$2a$04$zvwtd8OBX9ntYga//A6rTudxKDd.TusnG9gbCVhjGT4Plh8KaAfiy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:14:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_30"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:14:45 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:14:45 UTC +00:00], ["user_id", 8]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:14:45.640509' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 8 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 13ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test", "parent_id"=>"2"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = 2 LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "user2"]]  (0.0ms) SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "user2"]]  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 404 Not Found in 13ms (Views: 1.2ms | ActiveRecord: 0.6ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test", "parent_id"=>"2"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 81ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 11ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 8ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_1", "sender_id"=>"2", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 13ms (Views: 3.0ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_1", "sender_id"=>"2", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 13ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 10ms (Views: 1.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 11ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_1", "sender_id"=>"2", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_1", "sender_id"=>"2", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 17ms (Views: 5.0ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.2ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 15ms (Views: 1.2ms | ActiveRecord: 0.6ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (1.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.3ms | ActiveRecord: 1.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_1", "sender_id"=>"2", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 69ms (Views: 59.8ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_1", "sender_id"=>"2", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 2.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#destroy as HTML Parameters: {"id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 3 AND "messages"."id" = ? LIMIT 1 [["id", "2"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "messages" WHERE ("lft" > 3 AND "rgt" < 4) SQL (0.5ms) UPDATE "messages" SET "lft" = ("lft" - 2) WHERE "messages"."id" IN (SELECT "messages"."id" FROM "messages" WHERE ("lft" > 4) ORDER BY "lft") SQL (0.5ms) UPDATE "messages" SET "rgt" = ("rgt" - 2) WHERE "messages"."id" IN (SELECT "messages"."id" FROM "messages" WHERE ("rgt" > 4) ORDER BY "lft") SQL (0.2ms) DELETE FROM "messages" WHERE "messages"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/messages Completed 302 Found in 15ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.1ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1[0m [["id", "1"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 9ms Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 10ms Binary data inserted for `string` type on column `encrypted_password` Binary data inserted for `string` type on column `encrypted_password` Fixture Delete (5.2ms) DELETE FROM "message_requests" Fixture Insert (0.2ms) INSERT INTO "message_requests" ("sender_id", "receiver_id", "message_template_id", "state", "created_at", "updated_at", "id") VALUES (1, 1, 1, 'pending', '2011-12-17 20:17:12', '2011-12-17 20:17:12', 980190962) Fixture Insert (0.1ms) INSERT INTO "message_requests" ("sender_id", "receiver_id", "message_template_id", "state", "created_at", "updated_at", "id") VALUES (1, 1, 1, 'pending', '2011-12-17 20:17:12', '2011-12-17 20:17:12', 298486374) Fixture Delete (0.1ms) DELETE FROM "message_templates" Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (1, 'reservation_accepted', 'Reservation accepted', 'Reservation accepted', 1, '2011-12-17 20:17:12', '2011-12-17 20:17:12') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (2, 'item_received', 'Item received', 'Item received', 2, '2011-12-17 20:17:12', '2011-12-17 20:17:12') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (3, 'reservation_expired_for_patron', 'Reservation expired', 'Reservation expired', 3, '2011-12-17 20:17:12', '2011-12-17 20:17:12') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (4, 'reservation_expired_for_library', 'Reservation expired', 'Reservation expired', 4, '2011-12-17 20:17:12', '2011-12-17 20:17:12') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (5, 'reservation_canceled_for_patron', 'Reservation canceled', 'Reservation canceled', 5, '2011-12-17 20:17:12', '2011-12-17 20:17:12') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (6, 'reservation_canceled_for_library', 'Reservation canceled', 'Reservation canceled', 6, '2011-12-17 20:17:12', '2011-12-17 20:17:12') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (7, 'recall_item', 'Recall item', 'Recall item', 7, '2011-12-17 20:17:12', '2011-12-17 20:17:12') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (8, 'recall_overdue_item', 'Recall overdue item', 'Recall overdue item', 8, '2011-12-17 20:17:12', '2011-12-17 20:17:12') Fixture Delete (0.3ms) DELETE FROM "messages" Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "read_at", "state", "lft", "rgt", "updated_at") VALUES (1, 3, 4, 'First Message', 'Abby, you get the first message', '2007-07-04 12:10:47.000000', '2011-12-14 20:17:12.000000', 'unread', 1, 2, '2011-12-17 20:17:12') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (2, 4, 3, 'RE: First Message', 'Thanks Dad! You are the coolest!', '2011-12-15 20:17:12.000000', 'unread', 3, 4, '2011-12-17 20:17:12') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (3, 3, 4, 'Second Message', 'Catie, you get the 2nd message', '2011-12-16 20:17:12.000000', 'unread', 5, 6, '2011-12-17 20:17:12') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (6, 4, 5, 'Dad!', 'He is sucha dork.', '2011-12-15 20:17:12.000000', 'unread', 7, 8, '2011-12-17 20:17:12') Fixture Delete (0.1ms) DELETE FROM "roles" Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Guest', 'Guest', 1, NULL, '2011-12-17 20:17:13', '2011-12-17 20:17:13') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('User', 'User', 2, NULL, '2011-12-17 20:17:13', '2011-12-17 20:17:13') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Librarian', 'Librarian', 3, NULL, '2011-12-17 20:17:13', '2011-12-17 20:17:13') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Administrator', 'Administrator', 4, NULL, '2011-12-17 20:17:13', '2011-12-17 20:17:13') Fixture Delete (3.8ms) DELETE FROM "user_groups" Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('(not specified)', '(not specified)', '2007-12-13 12:00:51.564542', 1, '', '2007-12-13 12:00:01.674976', 1) Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('User', 'User', '2007-12-22 18:14:56.836548', 2, '', '2007-12-22 18:14:40.173954', 2) Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('Faculty', 'Faculty', '2007-12-22 18:15:05.134351', 3, '', '2007-12-22 18:15:05.126457', 3) Fixture Delete (0.4ms) DELETE FROM "user_has_roles" Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (1, 4, '2011-12-17 20:17:13', '2011-12-17 20:17:13', 135138680) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (2, 3, '2011-12-17 20:17:13', '2011-12-17 20:17:13', 344583537) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (3, 2, '2011-12-17 20:17:13', '2011-12-17 20:17:13', 206669143) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (4, 3, '2011-12-17 20:17:13', '2011-12-17 20:17:13', 226540757) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (5, 2, '2011-12-17 20:17:13', '2011-12-17 20:17:13', 358143215) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (6, 2, '2011-12-17 20:17:13', '2011-12-17 20:17:13', 576709754) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (7, 2, '2011-12-17 20:17:13', '2011-12-17 20:17:13', 1010528733) Fixture Delete (0.7ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:16:30.163731', '$2a$10$vHohD1WflnTIqAa8zMkF9evwAgIZRw3XuR4d3bi29M.jph/MB/AJi', 2, 1, NULL, 'admin', 'tanabe@kamata.lib.teu.ac.jp', '2007-11-19 07:58:32.111941', 4) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 03:41:16.337474', '$2a$10$9O2VuTccN4gHq36ARg0QReSrb1D7WrBBhZZ759RM9moHbB0W5zCzS', 1, 2, NULL, 'librarian1', 'librarian1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:33.172441', 1) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', '$2a$10$JthS59A0BNkDOoFpCXM0V.GhhffKaoWKbzpPahYp/vTFrOyM7h/uW', 1, 3, NULL, 'user1', 'user1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:23.340575', '$2a$10$YmmTGrYQ1Ir6oc7wXnp.GuNeO1eYLoP3sv8wMSIrTdaGw2BPwRrpS', 1, 4, NULL, 'librarian2', '2008-01-18 03:24:04.222344', 1) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:44.711117', '$2a$10$i7UjJhLVrJM/J7qaTwW39OXw1NiwowUEbtNHVDV0sqMLjX9.UO9ca', 1, 5, NULL, 'user2', '2008-01-18 04:29:06.922728', 2) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 6, NULL, 'user3', 'user3@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 7, NULL, 'user4', 'user4@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_1@example.jp"], ["encrypted_password", "$2a$04$//6Jhs66K0z.alTKeernXu6dXHH1C7VDULajTAXWrO2poRn.ySdDm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_1"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:13 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:17:13 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:13.450368' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Rendered /Users/kosuke/enju_message/app/views/message_requests/index.html.erb within layouts/application (3.3ms) Completed 200 OK in 90ms (Views: 22.6ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_1@example.jp"], ["encrypted_password", "$2a$04$3bXo8pce226CCVTmlHJNMu/qNrpUnQM5kBYNpNLYIUof68dbzcsuK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_1"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:13 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:17:13 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:13.581111' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 200 OK in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_1@example.jp"], ["encrypted_password", "$2a$04$usFsNHGeaOVWfcjzb7QHZO7UMV8I6VlL5ZeyPAUQom.5PnlWvvTHC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_1"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:13 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:13.611760' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 3.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "message_requests" WHERE ('t'='f') Processing by MessageRequestsController#index as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 13ms  (0.1ms) SELECT COUNT(*) FROM "message_requests" WHERE ('t'='f') Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (53.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_2@example.jp"], ["encrypted_password", "$2a$04$l5pKHzSQkr37YGg1ClmPF.l.pGeYCHFhG1yWG3EElmysPPxcN43Ay"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_2"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:13 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:17:13 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:13.716106' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (24.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_2@example.jp"], ["encrypted_password", "$2a$04$N4M9haYZ6TvvTclm2QAn4us9qjQyonfKslMAvIOR.bPtzjuSA5D8q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_2"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:13 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:13.752247' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_3@example.jp"], ["encrypted_password", "$2a$04$jhwAKMz14EN.ZcRO7Xt8N.i8qldiwJL22QGLhlejOXADOJ8z3V90."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_3"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:13 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:13.777983' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_1' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_1"], ["created_at", Sat, 17 Dec 2011 20:17:13 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_1"], ["title", "message_template_1"], ["updated_at", Sat, 17 Dec 2011 20:17:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_1' AND "message_templates"."id" != 9) LIMIT 1 SQL (1.3ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:17:13 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:17:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.2ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 200 OK in 18ms (Views: 6.9ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_2@example.jp"], ["encrypted_password", "$2a$04$qdDoRr47izJp.9z2CEScIejB/ywn8ciA9366qzc9DtaJmDrnonvN2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_2"]] SQL (1.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:13 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:17:13 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:13.847580' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_4@example.jp"], ["encrypted_password", "$2a$04$MEsKrMLW9ojkuAsvVRElfuyVALJbeGLMJoZ/t8409.8N/UjtPzJye"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_4"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:13 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:13.864252' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_5@example.jp"], ["encrypted_password", "$2a$04$GF8lmayInqf5q7kj.2xszObM1Psk/rfrdFTNKzbOh0lcj7/Lmwlrq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_5"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:13 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:13.881735' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_2' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_2"], ["created_at", Sat, 17 Dec 2011 20:17:13 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_2"], ["title", "message_template_2"], ["updated_at", Sat, 17 Dec 2011 20:17:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_2' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:17:13 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:17:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 200 OK in 10ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (9.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_6@example.jp"], ["encrypted_password", "$2a$04$IuVcPh1KB6peIMbHEOZQHu45rd6sngMjyYjGyBsVUEoZNmKHBqMEq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_6"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:13 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:13.928845' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_7@example.jp"], ["encrypted_password", "$2a$04$335NaS/2xmUU1e6byIHHRuGjx9wzFJG8g2fqtLlQpG8MS6GyzMSme"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_7"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:13 UTC +00:00], ["user_id", 11]]  (0.6ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:13.997137' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_8@example.jp"], ["encrypted_password", "$2a$04$WSIFZF8/XtZuKOMuZLfjp.KFdHO8DfOtfLop9jGA5HURronoNoT7i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_8"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:14.013974' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_3' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_3"], ["created_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_3"], ["title", "message_template_3"], ["updated_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_3' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_9@example.jp"], ["encrypted_password", "$2a$04$UaCt5ePx1eQ/5xBreFKxw.Lk4v8/x6HiueJoGf2Vo0seFvaqRCOCq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_9"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:14.063244' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_10@example.jp"], ["encrypted_password", "$2a$04$sWnQeD.bivL8DRMgkK.XAupyYbj/LV4obTgtINB5xFdRBhwH7wjnW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_10"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:14.076354' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_4' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_4"], ["created_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_4"], ["title", "message_template_4"], ["updated_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_4' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 8ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (6.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_3@example.jp"], ["encrypted_password", "$2a$04$7n.PH3OI5gAGxuPHnnyHyuDvREj71bBx1pAyaOQNUno6wjymwyMTa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_3"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:14.121226' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_11@example.jp"], ["encrypted_password", "$2a$04$kObfsXMT7Sqnw4jaAhrdSOZeEtK7IZh8yUUmqJm1vwpyZ54iY/onm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_11"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:14.134554' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_12@example.jp"], ["encrypted_password", "$2a$04$4./3CCDPLwvJDBOI.lfIfu1B4oZ3IVzVIQqLRAsUGNPfj6PuiBkC2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_12"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:14.151519' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_5' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_5"], ["created_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_5"], ["title", "message_template_5"], ["updated_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_5' AND "message_templates"."id" != 9) LIMIT 1 SQL (1.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (2.7ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 18ms (Views: 5.5ms | ActiveRecord: 3.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_3@example.jp"], ["encrypted_password", "$2a$04$Na4vwYYnz6eiONqlTlYPEuhwac3wOZYn9F7URiIllbLrWeubI4l96"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_3"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["user_id", 10]]  (0.6ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:14.203168' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_13@example.jp"], ["encrypted_password", "$2a$04$mpE/voaScJU8DE.L0dplpudj7BA2Yl6eQZCbG.wJb/XC1hyvsiaWi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_13"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:14.216638' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_14@example.jp"], ["encrypted_password", "$2a$04$vLPq9CDIyUzREvOtzXttmOyol.wmeVGdXUQ9VC2.7FcMDBTkUdUsi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_14"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:14.230202' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_6' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_6"], ["created_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_6"], ["title", "message_template_6"], ["updated_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_6' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 64ms (Views: 1.4ms | ActiveRecord: 0.7ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_15@example.jp"], ["encrypted_password", "$2a$04$MekP0KRqDE1Y6M5/f5UUhOuZM/xpBQAAYttRInXmq.DSR9YFC39/W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_15"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:14.330707' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_16@example.jp"], ["encrypted_password", "$2a$04$Iqp7xm1ug8YliGjvwDb89eH0rCFGHImF/XDCEyZoCniaqgYD7ND3."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_16"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:14.344932' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_17@example.jp"], ["encrypted_password", "$2a$04$y.ONO/ReUTEvgDQXD.ujV.yLveY3acUddWF9GVclouZAtEfoAP3Hi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_17"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:14.358842' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_7' LIMIT 1 SQL (2.0ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_7"], ["created_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_7"], ["title", "message_template_7"], ["updated_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_7' AND "message_templates"."id" != 9) LIMIT 1 SQL (20.6ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_18@example.jp"], ["encrypted_password", "$2a$04$3EZvJlWaNe1iXbhaLXOip.uqUwvlvcXYAzZaoGeLfi8Hiix7F0gCm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_18"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:14.438673' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_19@example.jp"], ["encrypted_password", "$2a$04$tMOdHSaU67xqhenWYDioTet4eKXeqpAl/gmgOt0k6ah0v3KvYq7pu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_19"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:14.452080' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_8' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_8"], ["created_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_8"], ["title", "message_template_8"], ["updated_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_8' AND "message_templates"."id" != 9) LIMIT 1 SQL (3.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_20@example.jp"], ["encrypted_password", "$2a$04$eXhHa2.vQcj3teQPheTTQuFZSHuzbG6g3hbbxaa/chmOWuTAENdua"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_20"]] SQL (2.6ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:14.504033' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_21@example.jp"], ["encrypted_password", "$2a$04$vAHb933j3BW7xfXPdfHoE.pektMBwNZ0WjVf4x2.R3TDbmKb2zkGS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_21"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:14.520938' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_9' LIMIT 1 SQL (2.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_9"], ["created_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_9"], ["title", "message_template_9"], ["updated_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_9' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_22@example.jp"], ["encrypted_password", "$2a$04$akisPBSdu7.Z3Uok8dcCHu8EhQns8cBy2yGMWmtIqAHqO4QqcNYue"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_22"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:14.547822' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_23@example.jp"], ["encrypted_password", "$2a$04$FN44KB3eYAml7q.VubbAoePjUX4jTYj5p3T20tyB0ZqUfF6n6GvUu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_23"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:14.576127' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_10' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_10"], ["created_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_10"], ["title", "message_template_10"], ["updated_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (56.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_4@example.jp"], ["encrypted_password", "$2a$04$cpIbvoAAJjR7j/IylzBUu.C9GEf9m/7oqxjau3q86LMcgRjzYMMDy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_4"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:14.652456' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"12", "receiver_id"=>"13", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_10' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 12, "receiver_id" = 13, "message_template_id" = 10, "updated_at" = '2011-12-17 20:17:14.673524' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 22ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_24@example.jp"], ["encrypted_password", "$2a$04$CH4/6MpmXuz.97.WQIWCqerwtXQlKxgH34qIooDJR75kCexCoxQNy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_24"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["user_id", 10]]  (1.0ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:14.697884' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_25@example.jp"], ["encrypted_password", "$2a$04$BsoYeVuorQ8wneduRWz6IeT1UbTtq0jAi67q5V1E5SSIXZXBYFAl2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_25"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:14.711605' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_11' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_11"], ["created_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_11"], ["title", "message_template_11"], ["updated_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_11' AND "message_templates"."id" != 9) LIMIT 1 SQL (2.3ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_26@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_26@example.jp"], ["encrypted_password", "$2a$04$pWl8W4dIJyQqkhRl7/80se0zHDSOtzKxXrPung5BoleNrMSyEKWH."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_26"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:14.737494' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_27@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_27@example.jp"], ["encrypted_password", "$2a$04$HhUE5EZFXnQ6g1HlNxI88u57TfpCzYXzx/dHD.ILrEnzjcyCZ1c72"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_27"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:14.753512' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_12' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_12"], ["created_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_12"], ["title", "message_template_12"], ["updated_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_5@example.jp"], ["encrypted_password", "$2a$04$OzIpJlowxm.34J8.wvjRsupl7D1pqLDZn.e/CP0aiMDXM37VRU4xy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_5"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:14.769428' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"12", "receiver_id"=>"13", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_12' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 12, "receiver_id" = 13, "message_template_id" = 10, "updated_at" = '2011-12-17 20:17:14.791838' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 17ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_28@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_28@example.jp"], ["encrypted_password", "$2a$04$hyPhqjjejCun2Qh7s52XBe1IzA6H1YViIWPHOGDYyB2aIFabNbdDe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_28"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:14.818559' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_29@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_29@example.jp"], ["encrypted_password", "$2a$04$SVRhOfjGxOOQeknUJJfmBeHizCYXKxLdhAG0L0hA43IjeAOG6kiMS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_29"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:14.837080' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_13' LIMIT 1 SQL (17.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_13"], ["created_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_13"], ["title", "message_template_13"], ["updated_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_13' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_30@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_30@example.jp"], ["encrypted_password", "$2a$04$MzlLkFPXKq.iFUlr43um8eKHklLjwvXB2RNwkbnH55lV31NnmxGhC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_30"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:14.886227' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_31@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_31@example.jp"], ["encrypted_password", "$2a$04$UxrTaVDNLykiZ6ZIDjYD.e/YToRHBCAj3fYCf/LzcSPF2xCwK/qPm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_31"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:14.899315' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_14' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_14"], ["created_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_14"], ["title", "message_template_14"], ["updated_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (57.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_6@example.jp"], ["encrypted_password", "$2a$04$IN8/BAdcvxiax.Wtk3uBfuF7c8Hiq6pD0fmTi2PnWurjNlu5URDhW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_6"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:17:14 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:14.973924' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (1.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_13' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 17ms (Views: 1.3ms | ActiveRecord: 1.9ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_32@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_32@example.jp"], ["encrypted_password", "$2a$04$IBYABsOodyhc1/XsCz.IPe3n4YuxpoDMwoJun1fIwMUuOHZTjW0x."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_32"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:15.018613' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_33@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_33@example.jp"], ["encrypted_password", "$2a$04$m.2xopecvtSEPPPSjvXRZ.1sB33ZuAUGYF6PkMjGdX4CFTuAbIhCW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_33"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:15.031088' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_15' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_15"], ["created_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_15"], ["title", "message_template_15"], ["updated_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_15' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_34@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_34@example.jp"], ["encrypted_password", "$2a$04$tAcImhWjGWBsvAgGl18fk.DetLJTzYLfKcCA2n2QoZl3ENU1r6Fji"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_34"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:15.055202' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_35@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_35@example.jp"], ["encrypted_password", "$2a$04$rL0QO5TjjorZsLpqpwbNSORMATT8zuSIi.qtOiZhCNdxCeio1OedS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_35"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:15.067777' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_16' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_16"], ["created_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_16"], ["title", "message_template_16"], ["updated_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_4@example.jp"], ["encrypted_password", "$2a$04$nPX1VNbAQu0FBiljvnmNpuoGTdo4L.1rJhTBc4Ga6uRfiY1v2e5Ki"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_4"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:15.085529' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"12", "receiver_id"=>"13", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_16' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 12, "receiver_id" = 13, "message_template_id" = 10, "updated_at" = '2011-12-17 20:17:15.103366' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 18ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_36@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_36@example.jp"], ["encrypted_password", "$2a$04$jbkzKwuXEDWoDy1.YRWbFOlGmMH..kzO/RDQfR5XWVGZZD1OSax8G"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_36"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:15.120843' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.2ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_37@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_37@example.jp"], ["encrypted_password", "$2a$04$8WNSdag1ggg7v/9w5PcqcuvSFaa.9E6Lh2AL25obNsNBYg3RSlKDq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_37"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["user_id", 11]]  (0.9ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:15.134249' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_17' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_17"], ["created_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_17"], ["title", "message_template_17"], ["updated_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_17' AND "message_templates"."id" != 9) LIMIT 1 SQL (38.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_38@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_38@example.jp"], ["encrypted_password", "$2a$04$eQakjv3ZshKxjuV3rG0URu2lE8MkZF/.eCRcLfUk8pZGYw6XVaHLm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_38"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:15.212198' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_39@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_39@example.jp"], ["encrypted_password", "$2a$04$7UXOtce4M7LEjcxY8DG3Ru3tvsbJ.xCfzQUQmxwLVnbJJTmJ3ZIme"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_39"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:15.224386' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_18' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_18"], ["created_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_18"], ["title", "message_template_18"], ["updated_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_5@example.jp"], ["encrypted_password", "$2a$04$A6kdj9fxsLItWLAXOhg2y.M9qVckhv307JLGxaCFFfS/CZur6JYwu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_5"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:15.292631' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"12", "receiver_id"=>"13", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_18' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 12, "receiver_id" = 13, "message_template_id" = 10, "updated_at" = '2011-12-17 20:17:15.309151' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 16ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_40@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_40@example.jp"], ["encrypted_password", "$2a$04$JiCNwHBlzMfaXgjopcLvCu3hTBOGYUui/p/f/qaGnsPCwpWjwghae"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_40"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["user_id", 10]]  (1.0ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:15.346049' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_41@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (6.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_41@example.jp"], ["encrypted_password", "$2a$04$D.DBVOIVEKswvkgxgzrz3Oz3I9MhIjWbK5vC6.bwfCq0jWu3TOlm6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_41"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:15.365033' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_19' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_19"], ["created_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_19"], ["title", "message_template_19"], ["updated_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_19' AND "message_templates"."id" != 9) LIMIT 1 SQL (1.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_42@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_42@example.jp"], ["encrypted_password", "$2a$04$wFHqd/k1RcMWuFNnqJ0sP.Y531xFZWpqzyocZN/6Vkpmun2WHKTnK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_42"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:15.389106' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_43@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_43@example.jp"], ["encrypted_password", "$2a$04$eYoqpJpBcxTav7.8sqw/0O9Y9GwHl2AxjUqGbOTDSOofJV9aEQrBa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_43"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:15.401256' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_20' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_20"], ["created_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_20"], ["title", "message_template_20"], ["updated_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_6@example.jp"], ["encrypted_password", "$2a$04$xFUUwmvOBke3HT8pK8.3o.69tgzxIMCH02PeWdWjEM9.60SD8Yrvu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_6"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:15.423592' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_19' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 18ms (Views: 1.2ms | ActiveRecord: 1.0ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_44@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_44@example.jp"], ["encrypted_password", "$2a$04$PzW6cqrTBDOEP6ZOL9j7WOYa/yip7pz6WnZ3wBml1vm142xoy5FsG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_44"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:15.467219' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_45@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_45@example.jp"], ["encrypted_password", "$2a$04$T2wssfT5.ctgFouQLoJCCeTcq6aVfLViQ.6MURyfdbRD.ILISKoty"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_45"]] SQL (2.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:15.482815' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_21' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_21"], ["created_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_21"], ["title", "message_template_21"], ["updated_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (2.5ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_21' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.9ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_46@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_46@example.jp"], ["encrypted_password", "$2a$04$aYK9DnaAL7dk6DOrRrfkZ.XUJmER8j.kIJ0.c82Kb6IwR1JaqU5lS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_46"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:15.509756' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_47@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (69.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_47@example.jp"], ["encrypted_password", "$2a$04$6JwVLiu2DIZ74GiiBPwRHuo9bF6jQUIXWlbDX6aghp6ukYkaTiPeG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_47"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:15.601434' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_22' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_22"], ["created_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_22"], ["title", "message_template_22"], ["updated_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_48@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_48@example.jp"], ["encrypted_password", "$2a$04$ntxhIDbPmVVQzskFYmhUl.OEyN5Yjf0g4qtNjF3iExfftwjNko19q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_48"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:15.621855' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"12", "receiver_id"=>"13", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 2.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_49@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_49@example.jp"], ["encrypted_password", "$2a$04$63LhJfhZvRJt.iSlmXb/ieTMvP0bq.Y6XG/vn.F/pL70FW3IiMg6K"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_49"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:15.658119' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_50@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_50@example.jp"], ["encrypted_password", "$2a$04$n7.UKXCmnl36F69MS0FUeOdP/e0DbTBr5cCYG0ojOU46avXMSna9q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_50"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:15.674284' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_23' LIMIT 1 SQL (1.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_23"], ["created_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_23"], ["title", "message_template_23"], ["updated_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_23' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_51@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_51@example.jp"], ["encrypted_password", "$2a$04$DMNfGdVXVrudjUJAYv5MHujs8t5icL4LULsEFVb9LsBMEcQw0nuVu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_51"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:15.701087' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_52@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_52@example.jp"], ["encrypted_password", "$2a$04$Y2PIJwhSaVjNkMjRBQOISOPNKaZorBY9obpiWMXxNqORiO4t9l9Iu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_52"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:15.714023' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_24' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_24"], ["created_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_24"], ["title", "message_template_24"], ["updated_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_53@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_53@example.jp"], ["encrypted_password", "$2a$04$FVfajeV0Jgq20bl10TDa/Ory1.b3/zhvL1JDwgLUOcIo8OFKZ9lPG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_53"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:15.731906' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"12", "receiver_id"=>"13", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_54@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_54@example.jp"], ["encrypted_password", "$2a$04$9a.A66hWS2C8.llk5pCWr.g/BEuuqvAHIAm3yFX7BUI4lQ/5Y1vcm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_54"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:15.766698' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_55@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_55@example.jp"], ["encrypted_password", "$2a$04$SLGWE0HWwD.7ZLrZG/sxXezfjdrd1t9hBcaT8NeI8GYvO246r.XaS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_55"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:15.782781' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_25' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_25"], ["created_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_25"], ["title", "message_template_25"], ["updated_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_25' AND "message_templates"."id" != 9) LIMIT 1 SQL (1.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_56@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_56@example.jp"], ["encrypted_password", "$2a$04$momISwvrB833wHmYn8d.v.SzXaDCGNOJFiLYKnMGGwqpAOnIdgOVW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_56"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:15.811320' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_57@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (58.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_57@example.jp"], ["encrypted_password", "$2a$04$.70xjR9Zyfb1HwYGGpbrHuelR8AEL2xF8VCoXwPJB/uYaK8ZPs.jq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_57"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:15.881991' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_26' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_26"], ["created_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_26"], ["title", "message_template_26"], ["updated_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_58@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_58@example.jp"], ["encrypted_password", "$2a$04$32RFe0YwNRLNhdLpFJcNbuU5mbdRcrZ/puFRhwlq9ZdoZlKzwO9xK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_58"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:15.900169' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_59@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (5.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_59@example.jp"], ["encrypted_password", "$2a$04$EcyT5cKWIOkoJUc1LOZA6ehh9D6P5L4r2CYLQj/QZOsEUu5rPNpS2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_59"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:15.931743' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_60@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_60@example.jp"], ["encrypted_password", "$2a$04$h7APKRlCaQEjD8/wJbTvp.OuUtQPO.kBDiyzcgPgbLNe8dL2VLkWa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_60"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:15.945758' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_27' LIMIT 1 SQL (1.1ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_27"], ["created_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_27"], ["title", "message_template_27"], ["updated_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_27' AND "message_templates"."id" != 9) LIMIT 1 SQL (1.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_61@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_61@example.jp"], ["encrypted_password", "$2a$04$BmIHfuiwGKq7MYoP7eDOKOQIHcFEXgUGnmTyej0UkcaJVAwMBQUYm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_61"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:15.976211' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_62@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_62@example.jp"], ["encrypted_password", "$2a$04$LwdsvY1kxZfSFmsQn3q8z.1PrXtihp.dCjoSRBW6N/vXbep3XuguK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:15 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_62"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:16.002183' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_28' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_28"], ["created_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_28"], ["title", "message_template_28"], ["updated_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"12", "receiver_id"=>"13", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_63@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_63@example.jp"], ["encrypted_password", "$2a$04$4rK6wsW2CN4Sf0mFzjlDRukbAYPHzvLYSeZfdjdjMVI4gQ3IfLWLu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_63"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["user_id", 10]]  (0.7ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:16.032971' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_64@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (6.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_64@example.jp"], ["encrypted_password", "$2a$04$fEsZmUvsUOBHQLDSVeidb.ZGSfksMWnAsMkTP0lOI3XVNlGxBkyJS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_64"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:16.050969' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_29' LIMIT 1 SQL (3.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_29"], ["created_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_29"], ["title", "message_template_29"], ["updated_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_29' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_65@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_65@example.jp"], ["encrypted_password", "$2a$04$0BQYWBlepvpckXTe0PAluu.71LoITpFxq2XKFWd0S9kGdT67IUDOK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_65"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:16.078667' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_66@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_66@example.jp"], ["encrypted_password", "$2a$04$56fLPm9rHibJ2ySFYLqKPu.2BxAT4tqiOus/eL0xiyPzmALpzee5S"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_66"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:16.091656' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_30' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_30"], ["created_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_30"], ["title", "message_template_30"], ["updated_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"12", "receiver_id"=>"13", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (53.5ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_67@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (15.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_67@example.jp"], ["encrypted_password", "$2a$04$IUsfWIcZgVnd9IQqhWY6xuGs6wXR69Wvw/dCS2og.EKFfdpo6lLX."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_67"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:16.197619' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_68@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (8.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_68@example.jp"], ["encrypted_password", "$2a$04$0UVpp2b7LGALWnbk/V1wVeuiBRedgAPIPA.rpXvjrRj4QJrWt6N82"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_68"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["user_id", 11]]  (8.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:16.217608' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_31' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_31"], ["created_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_31"], ["title", "message_template_31"], ["updated_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_31' AND "message_templates"."id" != 9) LIMIT 1 SQL (10.0ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_69@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_69@example.jp"], ["encrypted_password", "$2a$04$WP6EHCbnpeD5qZHGe2Aso.VyKbtTsO50KiwKgDS84pq8GLszcZcUq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_69"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:16.262055' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_70@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_70@example.jp"], ["encrypted_password", "$2a$04$0.FvfW/nCCshT64fLFAqq.2Dl/f4F7DlWCRkSXRSaHMJGrYUgcIm6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_70"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:16.279314' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_32' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_32"], ["created_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_32"], ["title", "message_template_32"], ["updated_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_71@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_71@example.jp"], ["encrypted_password", "$2a$04$LQ3oSPkEoIia5KEohgSjzeTidlNH4d45hfLyi5D816zFkOCk5R6X."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_71"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:16.308663' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_72@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_72@example.jp"], ["encrypted_password", "$2a$04$30gSXTal8.JLUJ1WFPPn/.CCVZ7o79TdhuxnuMEnRVwGe.SGbMny6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_72"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:16.321732' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_33' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_33"], ["created_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_33"], ["title", "message_template_33"], ["updated_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_33' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_7@example.jp"], ["encrypted_password", "$2a$04$y1GBw3dtEOfD/qf7HfHR7e./6m8KUNfPpyfrU4nQ5owkqxKFwiFay"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_7"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:16.345842' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 9ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_73@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_73@example.jp"], ["encrypted_password", "$2a$04$6pgLbRHndUVS8/qSJCPvIuNrroct9MiWnqkfolOUIGkL72HVPy71a"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_73"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:16.386535' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_74@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (26.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_74@example.jp"], ["encrypted_password", "$2a$04$k2MbQ5tGMRzjjSOn4UgfQu64kXOsKR6fgT7GyjRpKtDlhBrVv/jii"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_74"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:16.426003' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_34' LIMIT 1 SQL (7.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_34"], ["created_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_34"], ["title", "message_template_34"], ["updated_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_34' AND "message_templates"."id" != 9) LIMIT 1 SQL (13.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_8@example.jp"], ["encrypted_password", "$2a$04$AKv3m7wneGRIisuEy/AaKOsz7IbF1IUPHODI9FduWKYi6GlpYafMC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_8"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:16.469827' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 62ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_75@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (39.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_75@example.jp"], ["encrypted_password", "$2a$04$V4P/xBpgM5CzfJFaPSln2eLJ.wPK92ZPEe403FP1n0/GWI8sM5dpO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_75"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:16.603346' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_76@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_76@example.jp"], ["encrypted_password", "$2a$04$AqIImV5qNKFedAh5qt0WkenL7ni7TAiJuM3VMx13wCtAameAuQ6B."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_76"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["user_id", 11]]  (4.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:16.617575' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_35' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_35"], ["created_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_35"], ["title", "message_template_35"], ["updated_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_35' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_7@example.jp"], ["encrypted_password", "$2a$04$45R8R9gugmZ92c6jhwtOvuUgohdxK18Isl2gFCst8ge2Nj9lxC5xS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_7"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:16.646111' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 11ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_77@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (40.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_77@example.jp"], ["encrypted_password", "$2a$04$WqPNx5zPCEXMlb7m2CSFjurPKE2jUAeo884LCUwD1d43j4MbuEQ5C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_77"]] SQL (9.4ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:16.728740' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_78@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_78@example.jp"], ["encrypted_password", "$2a$04$hv9TNkUAV7no9/pPU9h0.uMBsaujrOGYdMLuh54jGbfqd/cWgtvU."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_78"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:16.744701' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_36' LIMIT 1 SQL (12.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_36"], ["created_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_36"], ["title", "message_template_36"], ["updated_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_36' AND "message_templates"."id" != 9) LIMIT 1 SQL (10.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_8@example.jp"], ["encrypted_password", "$2a$04$SE5bCIVdq3vcCmbGGzoPGeFBapt78GaEwkJpgfcAwyE6Xx8X.KDUm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_8"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:16.790881' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.6ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 10ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_79@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (6.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_79@example.jp"], ["encrypted_password", "$2a$04$eHBddYMyT4KrCTZJFphAmeQDKoZO1dBLxU1FDdfllQxaux7pfpm2C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_79"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:16.828590' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_80@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_80@example.jp"], ["encrypted_password", "$2a$04$7QCj6RZg83Z0uyFv0kxeqOEYtbFppHzMJLObEWmSD5u5l8OtMPlLy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_80"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:16.843639' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_37' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_37"], ["created_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_37"], ["title", "message_template_37"], ["updated_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_37' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_81@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_81@example.jp"], ["encrypted_password", "$2a$04$.bEUNiWiNiODQjrgMeLumOW1AwbdkVxram/49GdI0RonI8BRdtQD2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_81"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:16.868331' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 69ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_82@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_82@example.jp"], ["encrypted_password", "$2a$04$xNVDCR63/B5f4Fodkm6qdeH8OtPRHJmZNoL2mFwwPFgYJ/ch6SeUu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_82"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:16.956141' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_83@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_83@example.jp"], ["encrypted_password", "$2a$04$wSoUfbGthUzlM.Yaq8QDJOf93JCxThPq2y50lhNKc28Sxin87FnjS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_83"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["user_id", 11]]  (0.3ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:16.969136' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_38' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_38"], ["created_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_38"], ["title", "message_template_38"], ["updated_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_38' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_84@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_84@example.jp"], ["encrypted_password", "$2a$04$Hmn1NjSvBRW6KC12BpAzXuz3doa1It9EtvTj8hA0nbD7neznbh6La"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_84"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:16.984563' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_85@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_85@example.jp"], ["encrypted_password", "$2a$04$rNNaEpAgsgHfZmWOP9amB.5jbON3WC5fKBjZtUf6YdRlvrDPTqXFm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:16 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_85"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:17 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:17 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:17.001526' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_86@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:17 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_86@example.jp"], ["encrypted_password", "$2a$04$d8JBmaBSjQ2B77XLXxVTz.9IOCGIQ3ukXneq9481EcPQ5LolZu/gW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:17 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_86"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:17 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:17 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:17.009345' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_39' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_39"], ["created_at", Sat, 17 Dec 2011 20:17:17 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_39"], ["title", "message_template_39"], ["updated_at", Sat, 17 Dec 2011 20:17:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_39' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:17:17 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:17:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_87@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:17 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_87@example.jp"], ["encrypted_password", "$2a$04$ja9E/SfiMoy1khZ6xmiFhO477sGwNVkLFhekYpXfMjvoATWUminvy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:17 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_87"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:17 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:17 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:17.030622' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_88@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:17 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_88@example.jp"], ["encrypted_password", "$2a$04$tMhFxtuPkt4DokwBD3UDTuCUfhGQMQJ1U0mpn5Q4/H7kFk505nY22"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:17 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_88"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:17 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:17 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:17.038839' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_40' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_40"], ["created_at", Sat, 17 Dec 2011 20:17:17 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_40"], ["title", "message_template_40"], ["updated_at", Sat, 17 Dec 2011 20:17:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_40' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:17:17 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:17:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_41' LIMIT 1 SQL (50.0ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_41"], ["created_at", Sat, 17 Dec 2011 20:17:17 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_41"], ["title", "message_template_41"], ["updated_at", Sat, 17 Dec 2011 20:17:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (5.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:17 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_9@example.jp"], ["encrypted_password", "$2a$04$ZGCalajuH/zGUsdCQklK8.uyn4v1vq4Xxs0lZiHSIXhaJsLmLB4zG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:17 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_9"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:17 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:17:17 UTC +00:00], ["user_id", 10]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:17.156782' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 200 OK in 8ms (Views: 3.1ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position LIMIT 10 OFFSET 0  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (32.5ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_42' LIMIT 1 SQL (8.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_42"], ["created_at", Sat, 17 Dec 2011 20:17:17 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_42"], ["title", "message_template_42"], ["updated_at", Sat, 17 Dec 2011 20:17:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (8.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:17 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_9@example.jp"], ["encrypted_password", "$2a$04$HdOaMZsslJtvB667Iny3ROe/YHeVhFNWtF1EJ/dYXcunpqKPKcx92"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:17 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_9"]] SQL (21.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:17 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:17:17 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:17.338222' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position LIMIT 10 OFFSET 0  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_43' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_43"], ["created_at", Sat, 17 Dec 2011 20:17:17 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_43"], ["title", "message_template_43"], ["updated_at", Sat, 17 Dec 2011 20:17:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_89@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:17 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_89@example.jp"], ["encrypted_password", "$2a$04$URW/7viE8ibGTa9Y3QZdIOaEWhHpjXF8tokznctcvBl30fE3cQv9e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:17 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_89"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:17 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:17 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:17.359638' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "message_templates" WHERE ('t'='f')  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_44' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_44"], ["created_at", Sat, 17 Dec 2011 20:17:17 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_44"], ["title", "message_template_44"], ["updated_at", Sat, 17 Dec 2011 20:17:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms  (0.1ms) SELECT COUNT(*) FROM "message_templates" WHERE ('t'='f') Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:17 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_10@example.jp"], ["encrypted_password", "$2a$04$d3qJdWdZIFSMh1tpfVKXzeEi89m1WBKdar4afj8QEcsGS5DcoAxeO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:17 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_10"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:17 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:17:17 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:17.386680' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_45' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_45"], ["created_at", Sat, 17 Dec 2011 20:17:17 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_45"], ["title", "message_template_45"], ["updated_at", Sat, 17 Dec 2011 20:17:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 200 OK in 7ms (Views: 1.8ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (50.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:17 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_10@example.jp"], ["encrypted_password", "$2a$04$vIGNaFfnLe.VQAebnTSCr.shu09nkMemdjjdi6k2C/v090LI99ILm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:17 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_10"]] SQL (23.7ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:17 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:17:17 UTC +00:00], ["user_id", 10]]  (20.4ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:17.504174' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_46' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_46"], ["created_at", Sat, 17 Dec 2011 20:17:17 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_46"], ["title", "message_template_46"], ["updated_at", Sat, 17 Dec 2011 20:17:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 200 OK in 5ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_90@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (45.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:17 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_90@example.jp"], ["encrypted_password", "$2a$04$oisHCl0aqR9KPzY4vvl7XurjBW.f.avNZWG5Wzcvei67V/mD1ljHS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:17 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_90"]] SQL (20.0ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:17 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:17 UTC +00:00], ["user_id", 10]]  (17.3ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:17.623079' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_47' LIMIT 1 SQL (1.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_47"], ["created_at", Sat, 17 Dec 2011 20:17:17 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_47"], ["title", "message_template_47"], ["updated_at", Sat, 17 Dec 2011 20:17:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_48' LIMIT 1 SQL (49.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_48"], ["created_at", Sat, 17 Dec 2011 20:17:17 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_48"], ["title", "message_template_48"], ["updated_at", Sat, 17 Dec 2011 20:17:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:17 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_11@example.jp"], ["encrypted_password", "$2a$04$Fh055Whlq/EaUCjFBh7TL.EWto5ILNLhwfKVrAn89jCnBYUE.usxu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:17 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_11"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:17 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:17:17 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:17.728949' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (34.6ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (14.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:17 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_11@example.jp"], ["encrypted_password", "$2a$04$krhqGQB835Ld791dOYh2IuFRh4k0Qwd6tBDb4jOFq.KV5E9UQ7JvK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:17 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_11"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:17 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:17:17 UTC +00:00], ["user_id", 10]]  (22.3ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:17.833310' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 27ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_91@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (52.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:17 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_91@example.jp"], ["encrypted_password", "$2a$04$2YBy03wLZZ2FoyHDR4LQ1efBYFlXnRo2nCYWj0WXWme4yNYcviWVm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:17 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_91"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:17 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:17 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:17.951209' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Processing by MessageTemplatesController#new as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 5ms MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (30.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:17 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_12@example.jp"], ["encrypted_password", "$2a$04$GaU4Fn2Ntw.ZkvZhLY3RmuakiCaJsGx9vTfTBzb4wpvKsG9qiV9F2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:17 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_12"]] SQL (7.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:18 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:17:18 UTC +00:00], ["user_id", 10]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:18.021828' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_49' LIMIT 1 SQL (4.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_49"], ["created_at", Sat, 17 Dec 2011 20:17:18 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_49"], ["title", "message_template_49"], ["updated_at", Sat, 17 Dec 2011 20:17:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 200 OK in 10ms (Views: 2.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (42.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_12@example.jp"], ["encrypted_password", "$2a$04$MXNSDOcuGz.kO7F8qqNTt.eIIvcE61kgV9gzTsQciqfi.vxb1.di."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_12"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:18 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:17:18 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:18.106196' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_50' LIMIT 1 SQL (5.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_50"], ["created_at", Sat, 17 Dec 2011 20:17:18 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_50"], ["title", "message_template_50"], ["updated_at", Sat, 17 Dec 2011 20:17:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_92@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (43.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_92@example.jp"], ["encrypted_password", "$2a$04$HQRSrpDqta7mQy2pmAZXJeCApWBQWkAEqUrLz6Gjdwwnz7bw81IrO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_92"]] SQL (56.4ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:18 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:18 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:18.256208' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_51' LIMIT 1 SQL (4.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_51"], ["created_at", Sat, 17 Dec 2011 20:17:18 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_51"], ["title", "message_template_51"], ["updated_at", Sat, 17 Dec 2011 20:17:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_52' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_52"], ["created_at", Sat, 17 Dec 2011 20:17:18 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_52"], ["title", "message_template_52"], ["updated_at", Sat, 17 Dec 2011 20:17:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_13@example.jp"], ["encrypted_password", "$2a$04$JfI3/tFRFj3fyRSPT1KeAuhG4bMudiGIu68nf6ki8VOSTovr3M7AK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_13"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:18 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:17:18 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:18.373046' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_53", "status"=>"message_template_53", "body"=>"message_template_53"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_53' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (58.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_14@example.jp"], ["encrypted_password", "$2a$04$3vzKxJSiMsXmrenVNJP/fO2GhfSfY5q.yGxHAPcx8hOYwGC2DB1um"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_14"]] SQL (6.9ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:18 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:17:18 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:18.493795' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_54", "status"=>"message_template_54", "body"=>"message_template_54"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (39.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_15@example.jp"], ["encrypted_password", "$2a$04$XfzJh9EaWudkil8lvH/SRO9DpRgx0VshXmR6ROnYG3q/1JySN55jy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_15"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:18 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:17:18 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:18.601228' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_16@example.jp"], ["encrypted_password", "$2a$04$A1qFU/MD0tLjhNCRk1gxdekycOqgKvIxlWwWLXUNDaSUAm00LGxVC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_16"]] SQL (2.6ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:18 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:17:18 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:18.682406' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.3ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (43.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_13@example.jp"], ["encrypted_password", "$2a$04$Taa6WevYI9.jRhVtkGRSq.LduUcarKx5jKNDPC3/2EKLEWn2fb1Si"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_13"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:18 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:17:18 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:18.765796' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_57", "status"=>"message_template_57", "body"=>"message_template_57"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_57' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (39.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_14@example.jp"], ["encrypted_password", "$2a$04$rUchZn/eQpnoHdyXIRCFUOtX8Rj45UUzJI07N198fn.ElDxizSxv2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_14"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:18 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:17:18 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:18.834361' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_58", "status"=>"message_template_58", "body"=>"message_template_58"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 8ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (6.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_15@example.jp"], ["encrypted_password", "$2a$04$oY6hXZ0k42WrJEGq3UaIs.43sfbTRVNlk3atbHs1mfqSbIx3MsgUW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_15"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:18 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:17:18 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:18.923560' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (45.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_16@example.jp"], ["encrypted_password", "$2a$04$Pzqsru5JtTEUiEmtEWZ27.d0HTPRNyG6ByjkdP5IssfTIKmDTMGNK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_16"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:19 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:17:19 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:19.008415' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_93@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (34.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_93@example.jp"], ["encrypted_password", "$2a$04$blW4r8T0pJrCAP/Y7KpfDOoRTKIBSSGwb8CUB7MYcG2Fb3PXQvWEW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_93"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:19 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:19 UTC +00:00], ["user_id", 10]]  (67.6ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:19.076205' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_61", "status"=>"message_template_61", "body"=>"message_template_61"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_61' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_94@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (42.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_94@example.jp"], ["encrypted_password", "$2a$04$iFJtKlrF.UJu1ne2gWXVQusl7pt5ossl.X9mE3cz7dpdKsxjWS4Ne"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_94"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:19 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:19 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:19.223130' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_62", "status"=>"message_template_62", "body"=>"message_template_62"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_95@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (43.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_95@example.jp"], ["encrypted_password", "$2a$04$CZSgGqgJ4MFLA7.x09YqYeB4TlLezVrnj//OyiWWttH.q616fo3rm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_95"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:19 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:19 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:19.292672' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_96@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_96@example.jp"], ["encrypted_password", "$2a$04$cdTCTaMXt9jswf7QSh..ju48pnE0tZBpwQWndw5uiDDDPUOvexOJm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_96"]] SQL (0.6ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:19 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:19 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:19.327108' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_65", "status"=>"message_template_65", "body"=>"message_template_65"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms MessageTemplate Load (0.4ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_65' LIMIT 1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_66", "status"=>"message_template_66", "body"=>"message_template_66"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_69' LIMIT 1 SQL (2.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_69"], ["created_at", Sat, 17 Dec 2011 20:17:19 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_69"], ["title", "message_template_69"], ["updated_at", Sat, 17 Dec 2011 20:17:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (65.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_17@example.jp"], ["encrypted_password", "$2a$04$4DawH10BSWzImBBvSq0VSOTiMu68TqsAcEBelt2oMgyOGaam32ufC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_17"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:19 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:17:19 UTC +00:00], ["user_id", 10]]  (13.8ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:19.541219' WHERE "roles"."id" = 4  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_70", "status"=>"message_template_70", "body"=>"message_template_70"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.6ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_70' AND "message_templates"."id" != 9) LIMIT 1  (0.1ms) UPDATE "message_templates" SET "title" = 'message_template_70', "status" = 'message_template_70', "body" = 'message_template_70', "updated_at" = '2011-12-17 20:17:19.569640' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates/9 Completed 302 Found in 44ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_71' LIMIT 1 SQL (12.8ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_71"], ["created_at", Sat, 17 Dec 2011 20:17:19 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_71"], ["title", "message_template_71"], ["updated_at", Sat, 17 Dec 2011 20:17:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (21.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_18@example.jp"], ["encrypted_password", "$2a$04$9I7KLFJLN6GI3bgJruoXx.Whph/xY97Zb2B.kq/rTvFmTbtIsVBcK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_18"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:19 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:17:19 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:19.712271' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_72", "status"=>"message_template_72", "body"=>"message_template_72"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_72' AND "message_templates"."id" != 9) LIMIT 1  (0.2ms) UPDATE "message_templates" SET "title" = 'message_template_72', "status" = 'message_template_72', "body" = 'message_template_72', "updated_at" = '2011-12-17 20:17:19.727677' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates/9 Completed 302 Found in 14ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_73' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_73"], ["created_at", Sat, 17 Dec 2011 20:17:19 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_73"], ["title", "message_template_73"], ["updated_at", Sat, 17 Dec 2011 20:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_19@example.jp"], ["encrypted_password", "$2a$04$.YqCaT3c.Vj7EFmNU2hIsOH29p1zxXwnbowpQ56mNn.7Cp.dVD3cS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_19"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:19 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:17:19 UTC +00:00], ["user_id", 10]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:19.829191' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_74", "status"=>"message_template_74", "body"=>"message_template_74"}, "position"=>"2", "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "message_templates" SET "position" = 0, "updated_at" = '2011-12-17 20:17:19.840940' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "message_templates" SET position = (position - 1) WHERE "message_templates"."id" IN (SELECT "message_templates"."id" FROM "message_templates" WHERE (1 = 1 AND position > 9) ORDER BY position) SQL (0.2ms) UPDATE "message_templates" SET position = (position + 1) WHERE "message_templates"."id" IN (SELECT "message_templates"."id" FROM "message_templates" WHERE (1 = 1 AND position >= 2) ORDER BY position)  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "message_templates" SET "position" = 2, "updated_at" = '2011-12-17 20:17:19.843369' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates Completed 302 Found in 12ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_75' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_75"], ["created_at", Sat, 17 Dec 2011 20:17:19 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_75"], ["title", "message_template_75"], ["updated_at", Sat, 17 Dec 2011 20:17:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_20@example.jp"], ["encrypted_password", "$2a$04$RPcaE4XjWS3bchTBaOqBlOCHFEaGExWiiYZ9viqTq7ZGDwwsUlOUG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_20"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:19 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:17:19 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:19.875782' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = '' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 16ms (Views: 1.2ms | ActiveRecord: 0.0ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_77' LIMIT 1 SQL (29.0ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_77"], ["created_at", Sat, 17 Dec 2011 20:17:19 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_77"], ["title", "message_template_77"], ["updated_at", Sat, 17 Dec 2011 20:17:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (36.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_17@example.jp"], ["encrypted_password", "$2a$04$2l6xixUq0O4GfjW/AjAXuOzJLk1pShfaR8AIyG0YSjpq89JAEAVtm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_17"]] SQL (43.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:19 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:17:19 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:20.022405' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_78", "status"=>"message_template_78", "body"=>"message_template_78"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_79' LIMIT 1 SQL (1.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_79"], ["created_at", Sat, 17 Dec 2011 20:17:20 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_79"], ["title", "message_template_79"], ["updated_at", Sat, 17 Dec 2011 20:17:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (31.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_18@example.jp"], ["encrypted_password", "$2a$04$GjjGEoXO8Rhxmoa6oxbwleuoADqSN8X15jN/6mfMIpOa10Odx0Vx2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_18"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:20 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:17:20 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:20.200757' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_80", "status"=>"message_template_80", "body"=>"message_template_80"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_81' LIMIT 1 SQL (38.1ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_81"], ["created_at", Sat, 17 Dec 2011 20:17:20 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_81"], ["title", "message_template_81"], ["updated_at", Sat, 17 Dec 2011 20:17:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (41.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_19@example.jp"], ["encrypted_password", "$2a$04$IMIy9T8rCu1cvNE.9xfIz.oXEsEKaigCoKnwDqD6FtLnLCDEOO11W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_19"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:20 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:17:20 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:20.348830' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_83' LIMIT 1 SQL (48.9ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_83"], ["created_at", Sat, 17 Dec 2011 20:17:20 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_83"], ["title", "message_template_83"], ["updated_at", Sat, 17 Dec 2011 20:17:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_97@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (69.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_97@example.jp"], ["encrypted_password", "$2a$04$Dt1cedK795FmkEO3YqPpluMcPa6uNMwo.N30Vz2KtosLUTbnUEwau"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_97"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:20 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:20 UTC +00:00], ["user_id", 10]]  (10.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:20.543543' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_84", "status"=>"message_template_84", "body"=>"message_template_84"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 2.5ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_85' LIMIT 1 SQL (50.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_85"], ["created_at", Sat, 17 Dec 2011 20:17:20 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_85"], ["title", "message_template_85"], ["updated_at", Sat, 17 Dec 2011 20:17:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_98@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (9.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_98@example.jp"], ["encrypted_password", "$2a$04$UOiw3djoCGdXtFFviqGAPeHJ1qIYskdYdSH9UgpDz548YfhVSSx2y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_98"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:20 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:20 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:20.653485' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_86", "status"=>"message_template_86", "body"=>"message_template_86"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_87' LIMIT 1 SQL (44.9ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_87"], ["created_at", Sat, 17 Dec 2011 20:17:20 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_87"], ["title", "message_template_87"], ["updated_at", Sat, 17 Dec 2011 20:17:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_99@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (9.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_99@example.jp"], ["encrypted_password", "$2a$04$NxZLADfFy3UFB19msQRF2eGI4WNgEC8SMr5TpO5Hn32O7YouIClKC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_99"]] SQL (14.6ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:20 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:20 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:20.764654' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_89' LIMIT 1 SQL (3.9ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_89"], ["created_at", Sat, 17 Dec 2011 20:17:20 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_89"], ["title", "message_template_89"], ["updated_at", Sat, 17 Dec 2011 20:17:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_90", "status"=>"message_template_90", "body"=>"message_template_90"}, "id"=>"9"} MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_91' LIMIT 1 SQL (49.8ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_91"], ["created_at", Sat, 17 Dec 2011 20:17:20 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_91"], ["title", "message_template_91"], ["updated_at", Sat, 17 Dec 2011 20:17:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_92", "status"=>"message_template_92", "body"=>"message_template_92"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 9ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_93' LIMIT 1 SQL (47.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_93"], ["created_at", Sat, 17 Dec 2011 20:17:20 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_93"], ["title", "message_template_93"], ["updated_at", Sat, 17 Dec 2011 20:17:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_95' LIMIT 1 SQL (46.0ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_95"], ["created_at", Sat, 17 Dec 2011 20:17:21 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_95"], ["title", "message_template_95"], ["updated_at", Sat, 17 Dec 2011 20:17:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (18.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_21@example.jp"], ["encrypted_password", "$2a$04$AMOkKTdpmUAiavWE5Y1WWepJ9vm0FaTFLI6mIEaizKoTQz5iRTKkm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_21"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:21 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:17:21 UTC +00:00], ["user_id", 10]]  (5.8ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:21.086649' WHERE "roles"."id" = 4  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_96' LIMIT 1 SQL (6.0ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_96"], ["created_at", Sat, 17 Dec 2011 20:17:21 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_96"], ["title", "message_template_96"], ["updated_at", Sat, 17 Dec 2011 20:17:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (11.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_22@example.jp"], ["encrypted_password", "$2a$04$4kn7TzX8GFx48pHTPm9eAu74jpC8dGP.NRp2PtReVyWXN53m8kbWu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_22"]] SQL (10.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:21 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:17:21 UTC +00:00], ["user_id", 10]]  (7.9ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:21.213124' WHERE "roles"."id" = 4  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_97' LIMIT 1 SQL (5.1ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_97"], ["created_at", Sat, 17 Dec 2011 20:17:21 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_97"], ["title", "message_template_97"], ["updated_at", Sat, 17 Dec 2011 20:17:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (31.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_20@example.jp"], ["encrypted_password", "$2a$04$XWTUDtVU8/DxCrD5OBeiiulCE8HSxzooVS8OA2Woaws/xU1Cixo8a"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_20"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:21 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:17:21 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:21.298456' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 67ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_98' LIMIT 1 SQL (37.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_98"], ["created_at", Sat, 17 Dec 2011 20:17:21 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_98"], ["title", "message_template_98"], ["updated_at", Sat, 17 Dec 2011 20:17:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (13.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_21@example.jp"], ["encrypted_password", "$2a$04$SvVQPa2qjDX0IvWsSGg6NeyRddT3p6WMnwFS3bR7ybzVUyFzoXeXu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_21"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:21 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:17:21 UTC +00:00], ["user_id", 10]]  (9.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:21.445996' WHERE "roles"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_99' LIMIT 1 SQL (2.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_99"], ["created_at", Sat, 17 Dec 2011 20:17:21 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_99"], ["title", "message_template_99"], ["updated_at", Sat, 17 Dec 2011 20:17:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_100@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (34.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_100@example.jp"], ["encrypted_password", "$2a$04$PbP7uh1l8RK1uASlBldQfOyiK3Njvei3Q28fK1qbpjad/DU1.D.Q2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_100"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:21 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:21 UTC +00:00], ["user_id", 10]]  (8.7ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:21.533432' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_100' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_100"], ["created_at", Sat, 17 Dec 2011 20:17:21 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_100"], ["title", "message_template_100"], ["updated_at", Sat, 17 Dec 2011 20:17:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.5ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.5ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_101@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (33.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_101@example.jp"], ["encrypted_password", "$2a$04$ItMXs3XtJegY/nlcuP0HN.aw3m9hKOCGNekfD1pRiId4KHJP70/eG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_101"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:21 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:21 UTC +00:00], ["user_id", 10]]  (13.9ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:21.610283' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_101' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_101"], ["created_at", Sat, 17 Dec 2011 20:17:21 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_101"], ["title", "message_template_101"], ["updated_at", Sat, 17 Dec 2011 20:17:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_102' LIMIT 1 SQL (31.8ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_102"], ["created_at", Sat, 17 Dec 2011 20:17:21 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_102"], ["title", "message_template_102"], ["updated_at", Sat, 17 Dec 2011 20:17:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.2ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (8.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_23@example.jp"], ["encrypted_password", "$2a$04$J9MhfjzDWCM3//8KBwewoup6U71jUDcaQZbq/pUkjcc32h/VBrhFW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_23"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:23 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:17:23 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:23.008725' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 SOLR Request (7.6ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A10&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (20.7ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A10&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 128ms (Views: 6.0ms | ActiveRecord: 0.5ms | Solr: 28.3ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_24@example.jp"], ["encrypted_password", "$2a$04$6KbgAq2zar9rAGyYDe9LK.UHez3X4e6jXNfODSCqwC4RmQ4Hz5KAK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_24"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:23 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:17:23 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:23.158351' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML Parameters: {"user_id"=>"admin_24"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'admin_24' LIMIT 1 SOLR Request (4.0ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A10&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (7.8ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A10&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 21ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 11.8ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_22@example.jp"], ["encrypted_password", "$2a$04$vettwRVMXvZJf9FmrsHHh.iaBDYNhOzMGs04lOIzGM5sW6SOvOHMG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_22"]] SQL (0.5ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:23 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:17:23 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:23.201686' WHERE "roles"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 SOLR Request (9.8ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A10&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (17.8ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A10&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 38ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 27.6ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_23@example.jp"], ["encrypted_password", "$2a$04$Xhynr3MhOGD70XWDfhtt2uAlG0seIIVji8d8h/Q.F9/xv9fdfbpY2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_23"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:23 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:17:23 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:23.263994' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML Parameters: {"user_id"=>"librarian_23"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'librarian_23' LIMIT 1 SOLR Request (7.5ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A10&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (3.4ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A10&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 21ms (Views: 1.5ms | ActiveRecord: 0.5ms | Solr: 10.9ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 SOLR Request (4.2ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (15.3ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Message Load (0.3ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IN (2) Completed 200 OK in 60ms (Views: 1.3ms | ActiveRecord: 0.6ms | Solr: 19.5ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML Parameters: {"query"=>"you"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 SOLR Request (7.9ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&q=you&fl=%2A+score&qf=body_text+subject_text&defType=dismax&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (4.1ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&q=you&fl=%2A+score&qf=body_text+subject_text&defType=dismax&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Message Load (0.3ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IN (2) Completed 200 OK in 30ms (Views: 1.5ms | ActiveRecord: 0.6ms | Solr: 12.1ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 SOLR Request (6.2ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (16.0ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IN (2) Completed 200 OK in 35ms (Views: 1.4ms | ActiveRecord: 0.6ms | Solr: 22.2ms) Processing by MessagesController#index as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 5ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 44ms (Views: 2.0ms | ActiveRecord: 0.6ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#show as HTML Parameters: {"id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 3 AND "messages"."id" = ? LIMIT 1 [["id", "2"]]  (0.0ms) SAVEPOINT active_record_1  (0.3ms) UPDATE "messages" SET "read_at" = '2011-12-17 20:17:23.593256', "updated_at" = '2011-12-17 20:17:23.593684' WHERE "messages"."id" = 2 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1  (0.4ms) UPDATE "messages" SET "state" = 'read', "updated_at" = '2011-12-17 20:17:23.604570' WHERE "messages"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 36ms (Views: 4.0ms | ActiveRecord: 1.7ms | Solr: 0.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 403 Forbidden in 16ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (59.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_25@example.jp"], ["encrypted_password", "$2a$04$9fACX46h6q3Fr5SB08ZPEOAJJWBupNxuuFNBeyPlZIiPGbWfg1LY6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_25"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:23 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:17:23 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:23.730963' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 Completed 200 OK in 16ms (Views: 3.0ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_24@example.jp"], ["encrypted_password", "$2a$04$aeO6jMIjR3tq1c78wA3YkuhsZAwl6z2WhxBUbHZptOkTt1HTtY7Re"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_24"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:23 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:17:23 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:23.768232' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 Completed 200 OK in 11ms (Views: 1.4ms | ActiveRecord: 0.5ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 13ms (Views: 3.8ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML Parameters: {"parent_id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 13ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML Parameters: {"parent_id"=>"2"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Processing by MessagesController#new as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_26@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_26@example.jp"], ["encrypted_password", "$2a$04$OUKucCFWV344KAMm55fUGu3ayCITrOIDYok2aqOgw2MnQDBIGtweu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_26"]] SQL (5.8ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:23 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:17:23 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:23.898866' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 10 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 14ms (Views: 1.4ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (8.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_25@example.jp"], ["encrypted_password", "$2a$04$zK.o07xr4KLmhG.KOk/FbOQ1bJn0Yd6hbfDiCARbLJufvNUxDVKse"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_25"]] SQL (3.8ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:23 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:17:23 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:23.947202' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 14ms (Views: 1.2ms | ActiveRecord: 0.5ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_102@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (63.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_102@example.jp"], ["encrypted_password", "$2a$04$uPpNBCu1dSjAeGY.YMFH3.ppnZXPQ2KUMcd9mWUM3yjc0PRuvrRlG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_102"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:24 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:24 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:24.075777' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_103@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_103@example.jp"], ["encrypted_password", "$2a$04$fXyVBpVMiY3eAnFqwvOnDuB7P.xswLZryrHpar3c.G.tbs2LpiT.W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_103"]] SQL (3.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:24 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:24 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:24.093067' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "user_102"]]  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_27@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_27@example.jp"], ["encrypted_password", "$2a$04$0MwAnlc7KJwJzgZuP6CZaeocoL8tZcbhNHBy/dXu0WaH1RO8TpJye"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_27"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:24 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:17:24 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:24.114880' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 17ms (Views: 2.3ms | ActiveRecord: 0.5ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_28@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_28@example.jp"], ["encrypted_password", "$2a$04$98aZM550VMsSqSbajUQC6exhbujcUfeDFV7YFUEkRMxv2y/0zdHJ6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_28"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:24 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:17:24 UTC +00:00], ["user_id", 10]]  (0.6ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:24.154522' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 13ms (Views: 1.2ms | ActiveRecord: 0.5ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_29@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (6.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_29@example.jp"], ["encrypted_password", "$2a$04$okDu7fv5P4svLoy85H1b.ufE/kbLHR14S8o.XeJltQlFwhrx85JAS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_29"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:24 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:17:24 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:24.194233' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 15ms (Views: 1.2ms | ActiveRecord: 0.5ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_30@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_30@example.jp"], ["encrypted_password", "$2a$04$Z7AJdsQJxYtedOQ4LCKrmOf5Tlm3itbxNGK8N6jGpDhRvq5g7Bq6K"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_30"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:24 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:17:24 UTC +00:00], ["user_id", 10]]  (2.7ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:24.232827' WHERE "roles"."id" = 4  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 12ms (Views: 1.2ms | ActiveRecord: 0.5ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test", "parent_id"=>"2"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = 2 LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "user2"]]  (0.0ms) SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "user2"]]  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 404 Not Found in 14ms (Views: 1.2ms | ActiveRecord: 0.6ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test", "parent_id"=>"2"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 9ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 72ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_104@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_104@example.jp"], ["encrypted_password", "$2a$04$frxyU/F8DVrkIVhHRXW0KeIJX2JGxDCP/yQLtEAwgPgdN8btGstdK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_104"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:24 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:24 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:24.439822' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_105@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_105@example.jp"], ["encrypted_password", "$2a$04$JWreYV2IzdBuLy.RUO5hvuFU2PDaZ6HLoTHWTrBp5qwq87KoIELhu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_105"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:24 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:24 UTC +00:00], ["user_id", 11]]  (0.9ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:24.452869' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_104", "sender_id"=>"11", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 11ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_106@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_106@example.jp"], ["encrypted_password", "$2a$04$TL7jbX7NzdaDh6U1GPhBUe0BlSZt4wGEZnRnSezuSr6fKqCGA1M3y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_106"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:24 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:24 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:24.485794' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_107@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_107@example.jp"], ["encrypted_password", "$2a$04$2jD0KSBRBJKOm9lPIUOjHuiWccfHhBXtFj0DiJLq2YJePNcEzv9ES"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_107"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:24 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:24 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:24.501293' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_106", "sender_id"=>"11", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 11ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_108@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_108@example.jp"], ["encrypted_password", "$2a$04$0vkF0NFnW5QtpgOapDlwYeAL6aEG0dExaxdetMeHFCj9wat2QKPo2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_108"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:24 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:24 UTC +00:00], ["user_id", 10]]  (3.6ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:24.537438' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_109@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (6.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_109@example.jp"], ["encrypted_password", "$2a$04$0EIfV.GRUmcIIZBO1cKhAOIfmikWikPcSJOrNblBAT5dUG6vkIhLG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_109"]] SQL (26.5ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:24 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:24 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:24.586687' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 10ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_110@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (10.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_110@example.jp"], ["encrypted_password", "$2a$04$H8i/5KI6hDlfCpM8QVxqXemJ/f3rlvyUi8BEEWmDD2BKJQbVmsJHq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_110"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:24 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:24 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:24.643569' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_111@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (8.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_111@example.jp"], ["encrypted_password", "$2a$04$OyUphKHaxaPgZwxXon/zPOxVybhXwzanqQ3m30aCrbAGLBtfdO01C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_111"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:24 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:24 UTC +00:00], ["user_id", 11]]  (0.3ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:24.665410' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 68ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_112@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (5.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_112@example.jp"], ["encrypted_password", "$2a$04$UkyjfDXUP3z.jIIiGfVzaOcxWvUgiaQxvlJfLwYiF5Y2sS1IL.nfm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_112"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:24 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:24 UTC +00:00], ["user_id", 10]]  (2.8ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:24.769746' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_113@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (25.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_113@example.jp"], ["encrypted_password", "$2a$04$QEkB3.iqR1OmPkyIBLU/qu/k928GES3XYk.T.yYyQ5m.UBjijgJMu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_113"]] SQL (17.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:24 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:24 UTC +00:00], ["user_id", 11]]  (2.9ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:24.826217' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_112", "sender_id"=>"11", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.2ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_114@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (5.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_114@example.jp"], ["encrypted_password", "$2a$04$kv4mrPKu19uXFOlAir38ZuAeGFitewbpbjV.YsGnCeeRugdpMhZAW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_114"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:24 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:24 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:24.866359' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_115@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_115@example.jp"], ["encrypted_password", "$2a$04$qRkKuBt57VCPlVooXxpRxe02nRl5NsOVoJ8CAPFYlmx6X/bBv/5sS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_115"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:24 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:24 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:24.880477' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_114", "sender_id"=>"11", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.2ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_116@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_116@example.jp"], ["encrypted_password", "$2a$04$MeVxDwJQl1Dkh2onYMkSdeRfo2QTUiBI6hGS8eOEblVIZ6OgNu58y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_116"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:24 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:24 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:24.925489' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_117@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_117@example.jp"], ["encrypted_password", "$2a$04$Fy8u5pppET19R9vNezuxOOvpPhTUIZVsbWDLStHipoFzUUfKsFRY2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_117"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:24 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:24 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:24.938872' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_118@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (22.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_118@example.jp"], ["encrypted_password", "$2a$04$jbmOnSmuaDhWmFG2CcXNFOsi18acxaUMzfszoKQVcY8p3Qrethstu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_118"]] SQL (1.6ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:24 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:24 UTC +00:00], ["user_id", 10]]  (6.5ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:24.993352' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_119@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_119@example.jp"], ["encrypted_password", "$2a$04$LSe1zPfaG13RhQvdOVI93ON5r0/6CsLx4V2WaP6t97gJWqmy46KlK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_119"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:25 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:25 UTC +00:00], ["user_id", 11]]  (2.4ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:25.013303' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.2ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_120@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_120@example.jp"], ["encrypted_password", "$2a$04$k5uQ1GH/Hm2Z2e8DssMrjeTvSbf1O.yxm8.3QP2iijF./9F0qDdda"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_120"]] SQL (1.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:25 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:25 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:25.107286' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_121@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_121@example.jp"], ["encrypted_password", "$2a$04$Cw.aFN.qRJkbh9KQd/1bFuVJ9wYEK52KhJjivwaoPPMkhFb3AGtz2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_121"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:25 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:25 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:25.121376' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 2.6ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_122@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_122@example.jp"], ["encrypted_password", "$2a$04$SYG/sZ.UkHD3aeGWHQvrr.IBzGB0CP3etZuxfD5ucgyXCibBE3ncy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_122"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:25 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:25 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:25.159124' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_123@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_123@example.jp"], ["encrypted_password", "$2a$04$4d7.48jnxUsSJ/RINJI3JOupt8bCseFOQnI18WMtQfH6jaS8QBTyS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_123"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:25 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:25 UTC +00:00], ["user_id", 11]]  (1.7ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:25.175261' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (2.0ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.2ms | ActiveRecord: 2.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_124@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_124@example.jp"], ["encrypted_password", "$2a$04$ENgbHmznmbh0GcOoaqLDfebvXK0YOE29MgANX70NEn1EtLMZNx91S"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_124"]] SQL (2.9ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:25 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:25 UTC +00:00], ["user_id", 10]]  (4.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:25.216426' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_125@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_125@example.jp"], ["encrypted_password", "$2a$04$JAi/5QN/fPn6xiY5tRNYZuAEw2BKPF4cSQWgbEP1voWUAnjPx/f1y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_125"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:25 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:25 UTC +00:00], ["user_id", 11]]  (7.8ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:25.235504' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_124", "sender_id"=>"11", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_126@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_126@example.jp"], ["encrypted_password", "$2a$04$WOIS43Bsfe/c/j3LQsSVIuPF1KJQvJl682SFhe3PI0ZaOBP4fmz.K"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_126"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:25 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:25 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:25.275519' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_127@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_127@example.jp"], ["encrypted_password", "$2a$04$twL1G2RIqaoNKiPHWI3Y3Of2i7byZabnruyp5ji7BGkVNnx1rsMPK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_127"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:25 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:25 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:25.289411' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_126", "sender_id"=>"11", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_128@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_128@example.jp"], ["encrypted_password", "$2a$04$Fy/gyaL/F3uO8p08YW8wQ.NFZXWKxe4W95w7IGY/HCXwhE90yQQQ6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_128"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:25 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:25 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:25.324218' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_129@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (67.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_129@example.jp"], ["encrypted_password", "$2a$04$8UI2FeIBKnhOzpp4mZOYz.TN5aDccVmszqwythIX.9NLXUBXTJlrS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_129"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:25 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:25 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:25.405570' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_130@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_130@example.jp"], ["encrypted_password", "$2a$04$zDvjrD8m3xTaCoNIP6b4HOE.5SA35vKaBIpJ8a05Gmv8zVFNV7DMa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_130"]] SQL (0.8ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:25 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:25 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:25.439567' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_131@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_131@example.jp"], ["encrypted_password", "$2a$04$Az9EMW4AA1ZDlj53T/fI3OHLgxvBzT/u9TR1R0xukrA/olvxJJCxe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_131"]] SQL (1.6ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:25 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:25 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:25.453688' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.8ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.2ms | ActiveRecord: 1.0ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_132@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_132@example.jp"], ["encrypted_password", "$2a$04$CFrLemZ5eZqaAkuvheQIwujM0kT/FFrhbV5HFh9YiXofkaS0jwmWq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_132"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:25 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:25 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:25.484047' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_133@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_133@example.jp"], ["encrypted_password", "$2a$04$5wRhSWUffsiFBo/HWuobwuaU6ePeV/p2kLOraRcvc38ojFCQPHqaC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:17:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_133"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:17:25 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:17:25 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:17:25.505551' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#destroy as HTML Parameters: {"id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 3 AND "messages"."id" = ? LIMIT 1 [["id", "2"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "messages" WHERE ("lft" > 3 AND "rgt" < 4) SQL (3.8ms) UPDATE "messages" SET "lft" = ("lft" - 2) WHERE "messages"."id" IN (SELECT "messages"."id" FROM "messages" WHERE ("lft" > 4) ORDER BY "lft") SQL (2.7ms) UPDATE "messages" SET "rgt" = ("rgt" - 2) WHERE "messages"."id" IN (SELECT "messages"."id" FROM "messages" WHERE ("rgt" > 4) ORDER BY "lft") SQL (0.2ms) DELETE FROM "messages" WHERE "messages"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/messages Completed 302 Found in 20ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.3ms | ActiveRecord: 0.6ms | Solr: 0.0ms) Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 11ms Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Fixture Delete (0.4ms) DELETE FROM "message_requests" Fixture Insert (0.6ms) INSERT INTO "message_requests" ("sender_id", "receiver_id", "message_template_id", "state", "created_at", "updated_at", "id") VALUES (1, 1, 1, 'pending', '2011-12-17 20:19:08', '2011-12-17 20:19:08', 980190962) Fixture Insert (0.1ms) INSERT INTO "message_requests" ("sender_id", "receiver_id", "message_template_id", "state", "created_at", "updated_at", "id") VALUES (1, 1, 1, 'pending', '2011-12-17 20:19:08', '2011-12-17 20:19:08', 298486374) Fixture Delete (0.1ms) DELETE FROM "message_templates" Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (1, 'reservation_accepted', 'Reservation accepted', 'Reservation accepted', 1, '2011-12-17 20:19:08', '2011-12-17 20:19:08') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (2, 'item_received', 'Item received', 'Item received', 2, '2011-12-17 20:19:08', '2011-12-17 20:19:08') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (3, 'reservation_expired_for_patron', 'Reservation expired', 'Reservation expired', 3, '2011-12-17 20:19:08', '2011-12-17 20:19:08') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (4, 'reservation_expired_for_library', 'Reservation expired', 'Reservation expired', 4, '2011-12-17 20:19:08', '2011-12-17 20:19:08') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (5, 'reservation_canceled_for_patron', 'Reservation canceled', 'Reservation canceled', 5, '2011-12-17 20:19:08', '2011-12-17 20:19:08') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (6, 'reservation_canceled_for_library', 'Reservation canceled', 'Reservation canceled', 6, '2011-12-17 20:19:08', '2011-12-17 20:19:08') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (7, 'recall_item', 'Recall item', 'Recall item', 7, '2011-12-17 20:19:08', '2011-12-17 20:19:08') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (8, 'recall_overdue_item', 'Recall overdue item', 'Recall overdue item', 8, '2011-12-17 20:19:08', '2011-12-17 20:19:08') Fixture Delete (0.2ms) DELETE FROM "messages" Fixture Insert (0.2ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "read_at", "state", "lft", "rgt", "updated_at") VALUES (1, 3, 4, 'First Message', 'Abby, you get the first message', '2007-07-04 12:10:47.000000', '2011-12-14 20:19:08.000000', 'unread', 1, 2, '2011-12-17 20:19:08') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (2, 4, 3, 'RE: First Message', 'Thanks Dad! You are the coolest!', '2011-12-15 20:19:08.000000', 'unread', 3, 4, '2011-12-17 20:19:08') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (3, 3, 4, 'Second Message', 'Catie, you get the 2nd message', '2011-12-16 20:19:08.000000', 'unread', 5, 6, '2011-12-17 20:19:08') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (6, 4, 5, 'Dad!', 'He is sucha dork.', '2011-12-15 20:19:08.000000', 'unread', 7, 8, '2011-12-17 20:19:08') Fixture Delete (0.1ms) DELETE FROM "roles" Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Guest', 'Guest', 1, NULL, '2011-12-17 20:19:08', '2011-12-17 20:19:08') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('User', 'User', 2, NULL, '2011-12-17 20:19:08', '2011-12-17 20:19:08') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Librarian', 'Librarian', 3, NULL, '2011-12-17 20:19:08', '2011-12-17 20:19:08') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Administrator', 'Administrator', 4, NULL, '2011-12-17 20:19:08', '2011-12-17 20:19:08') Fixture Delete (9.8ms) DELETE FROM "user_groups" Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('(not specified)', '(not specified)', '2007-12-13 12:00:51.564542', 1, '', '2007-12-13 12:00:01.674976', 1) Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('User', 'User', '2007-12-22 18:14:56.836548', 2, '', '2007-12-22 18:14:40.173954', 2) Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('Faculty', 'Faculty', '2007-12-22 18:15:05.134351', 3, '', '2007-12-22 18:15:05.126457', 3) Fixture Delete (0.1ms) DELETE FROM "user_has_roles" Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (1, 4, '2011-12-17 20:19:08', '2011-12-17 20:19:08', 135138680) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (2, 3, '2011-12-17 20:19:08', '2011-12-17 20:19:08', 344583537) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (3, 2, '2011-12-17 20:19:08', '2011-12-17 20:19:08', 206669143) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (4, 3, '2011-12-17 20:19:08', '2011-12-17 20:19:08', 226540757) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (5, 2, '2011-12-17 20:19:08', '2011-12-17 20:19:08', 358143215) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (6, 2, '2011-12-17 20:19:08', '2011-12-17 20:19:08', 576709754) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (7, 2, '2011-12-17 20:19:08', '2011-12-17 20:19:08', 1010528733) Fixture Delete (0.2ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:16:30.163731', '$2a$10$vHohD1WflnTIqAa8zMkF9evwAgIZRw3XuR4d3bi29M.jph/MB/AJi', 2, 1, NULL, 'admin', 'tanabe@kamata.lib.teu.ac.jp', '2007-11-19 07:58:32.111941', 4) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 03:41:16.337474', '$2a$10$9O2VuTccN4gHq36ARg0QReSrb1D7WrBBhZZ759RM9moHbB0W5zCzS', 1, 2, NULL, 'librarian1', 'librarian1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:33.172441', 1) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', '$2a$10$JthS59A0BNkDOoFpCXM0V.GhhffKaoWKbzpPahYp/vTFrOyM7h/uW', 1, 3, NULL, 'user1', 'user1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:23.340575', '$2a$10$YmmTGrYQ1Ir6oc7wXnp.GuNeO1eYLoP3sv8wMSIrTdaGw2BPwRrpS', 1, 4, NULL, 'librarian2', '2008-01-18 03:24:04.222344', 1) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:44.711117', '$2a$10$i7UjJhLVrJM/J7qaTwW39OXw1NiwowUEbtNHVDV0sqMLjX9.UO9ca', 1, 5, NULL, 'user2', '2008-01-18 04:29:06.922728', 2) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 6, NULL, 'user3', 'user3@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 7, NULL, 'user4', 'user4@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_1@example.jp"], ["encrypted_password", "$2a$04$RHLdzDjeht0HLXdG6wQJLu.uoY5b4Rq4T/zig19ngxjIsqTE4VVQ6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:08 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_1"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:08 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:19:08 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:08.504647' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Rendered /Users/kosuke/enju_message/app/views/message_requests/index.html.erb within layouts/application (2.1ms) Completed 200 OK in 49ms (Views: 13.6ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_1@example.jp"], ["encrypted_password", "$2a$04$CdVrkZXcVvrUWi/STllM4.b8BhgfsPWBJwcenqbTX6cEjW.qUqoku"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:08 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_1"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:08 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:19:08 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:08.574593' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_1@example.jp"], ["encrypted_password", "$2a$04$8ezE53fZPbVyKMK.nXaCVePIApBMqrZw6Xk9plWsHeAceDbzZbCWa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:08 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_1"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:08 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:08 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:08.593617' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 1.3ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "message_requests" WHERE ('t'='f') Processing by MessageRequestsController#index as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms  (0.1ms) SELECT COUNT(*) FROM "message_requests" WHERE ('t'='f') Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (29.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_2@example.jp"], ["encrypted_password", "$2a$04$lMz7ZOWuRQm1YcM5Wfxx7eW7K2h./a2DrScgUdQ2m1gmqXC8e9dVm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:08 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_2"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:08 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:19:08 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:08.648293' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (13.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_2@example.jp"], ["encrypted_password", "$2a$04$/02A7zQ.jEa2Yszfu3sCvelpB.7KG0ecdbPHdLQNWAFkJflZ6DFUS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:08 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_2"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:08 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:08 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:08.669052' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_3@example.jp"], ["encrypted_password", "$2a$04$dutnwKXVycu2sek/TomNC.fF16fW35BL.gC8WApVI0B/rZ2/px/Nm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:08 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_3"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:08 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:08 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:08.683816' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_1' LIMIT 1 SQL (1.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_1"], ["created_at", Sat, 17 Dec 2011 20:19:08 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_1"], ["title", "message_template_1"], ["updated_at", Sat, 17 Dec 2011 20:19:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_1' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:19:08 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:19:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 200 OK in 6ms (Views: 1.5ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (43.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_2@example.jp"], ["encrypted_password", "$2a$04$DIeDqr0Cu/sseslftgZL0uh3I2daVz3PXgw6cPJW1Qdm5xXU63tH2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:08 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_2"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:08 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:19:08 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:08.765154' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (11.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_4@example.jp"], ["encrypted_password", "$2a$04$mX9zIVWaFrSxe5.DGziR/.G6DWhQR7qjuPH04gjUsgjP92I3piD0y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:08 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_4"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:08 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:08 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:08.783817' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_5@example.jp"], ["encrypted_password", "$2a$04$kOY7Umr2q/coVytEZG7zf.xPx98ofuB0zuh6AtIhmwGLHEDe/sbHG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:08 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_5"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:08 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:08 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:08.791303' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_2' LIMIT 1 SQL (4.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_2"], ["created_at", Sat, 17 Dec 2011 20:19:08 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_2"], ["title", "message_template_2"], ["updated_at", Sat, 17 Dec 2011 20:19:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_2' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:19:08 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:19:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 200 OK in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_6@example.jp"], ["encrypted_password", "$2a$04$jRKmwmx17CK/BNAcA5UPHu8p6MYxaO0NMGtHUmGw03b5CNGJdpnZq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:08 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_6"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:08 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:08 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:08.825025' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (43.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_7@example.jp"], ["encrypted_password", "$2a$04$VG0rjHJTUQLO8bBENEMiyuG8Z30J3HC.VaLhx2v/VgpTBu72G6MFW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:08 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_7"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:08 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:08 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:08.906838' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_8@example.jp"], ["encrypted_password", "$2a$04$K9mk.NIFq0NKivRxbGFfIO3pABrzbqonlzJt5lUw0lgAuEeuRuXZW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:08 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_8"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:08 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:08 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:08.914757' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_3' LIMIT 1 SQL (4.0ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_3"], ["created_at", Sat, 17 Dec 2011 20:19:08 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_3"], ["title", "message_template_3"], ["updated_at", Sat, 17 Dec 2011 20:19:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_3' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:19:08 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:19:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_9@example.jp"], ["encrypted_password", "$2a$04$Vy19A3NH0piTY5MYqPLXB.kiIuLJXE/puaV63SGIQWUKm1bZBdjWC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:08 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_9"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:08 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:08 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:08.942559' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (44.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_10@example.jp"], ["encrypted_password", "$2a$04$Mw.see2vLB0oEnGO870Ae..MJ.CSHNoMiowXlz.AOPlIkbmK0tqaG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:08 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_10"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:08 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:08 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:08.993563' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_4' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_4"], ["created_at", Sat, 17 Dec 2011 20:19:08 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_4"], ["title", "message_template_4"], ["updated_at", Sat, 17 Dec 2011 20:19:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_4' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (50.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_3@example.jp"], ["encrypted_password", "$2a$04$EQmWj0k1asm5Ym.GvLR5mOyznKq8tk97.DVybx52GiNDtzaui.C0W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_3"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:09.068226' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_11@example.jp"], ["encrypted_password", "$2a$04$AGtInJe3vCHv0GEyBlIG2OpszscV1cS79.dFOCaj/c1c25nzEMzJC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_11"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["user_id", 11]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:09.076585' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_12@example.jp"], ["encrypted_password", "$2a$04$uPQ1F6ivY10BNGxNxpCoQ.8HWuBLrFytODY8Pn9MUOtC38aP.Wiyq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_12"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:09.084318' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_5' LIMIT 1 SQL (5.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_5"], ["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_5"], ["title", "message_template_5"], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_5' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 7ms (Views: 1.5ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_3@example.jp"], ["encrypted_password", "$2a$04$SgLoJ2f9s/uf2fFaU113G.oZvkWp3LKN.9Praqy.rHC89LhsWlXfq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_3"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:09.121277' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_13@example.jp"], ["encrypted_password", "$2a$04$Ib0mfiFJekB6tdfwRWrLL.yOLMMuSKsb4cF1/FcPY931nma7RBUO2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_13"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:09.129663' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_14@example.jp"], ["encrypted_password", "$2a$04$ls.vOmdyf6dhGxbaBM4ZNeoGPD4hVd6uqO4820mFW3xPZmL9l2WkK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_14"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:09.137410' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_6' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_6"], ["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_6"], ["title", "message_template_6"], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_6' AND "message_templates"."id" != 9) LIMIT 1 SQL (33.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 36ms (Views: 0.9ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_15@example.jp"], ["encrypted_password", "$2a$04$HnagIBGiVScV.mGQl5zEHui1bPiqZko6qwK7VCiAcq5hEqXhJoXXO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_15"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:09.225269' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_16@example.jp"], ["encrypted_password", "$2a$04$ncxt.7wLXO3s/gEF0I53vOzTRTxX0lOGTjKM41ITsiwbcL6Whyayq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_16"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:09.233751' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_17@example.jp"], ["encrypted_password", "$2a$04$TJGYtBWDEZmwe7boybM2OOVnauV4MTGfOQ/KWdGm415BNy8n8y7Ba"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_17"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:09.274385' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_7' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_7"], ["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_7"], ["title", "message_template_7"], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_7' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_18@example.jp"], ["encrypted_password", "$2a$04$6AuegrdJ0NcR2jC/SmwbluUYAR9XragNZ2.UBDwDvCV0KqJatfi52"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_18"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:09.297774' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_19@example.jp"], ["encrypted_password", "$2a$04$eBoQxZ3pA6l9GMZHzJ5bNOhDLOvQ.kMga/0irOiKEOyfdV.FMcGrC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_19"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:09.305995' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_8' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_8"], ["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_8"], ["title", "message_template_8"], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_8' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (44.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_20@example.jp"], ["encrypted_password", "$2a$04$rc.SzDzqE2dPR39p.ku6nO18WT8saYvBYBSy9gEejlP5B9vetwnrq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_20"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:09.392808' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_21@example.jp"], ["encrypted_password", "$2a$04$dn.ZGKBtHYMWGsH2XSH2W.Qv9U/7KGV/ZIWIgftxFClIfMor4rLpW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_21"]] SQL (0.4ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:09.406939' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_9' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_9"], ["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_9"], ["title", "message_template_9"], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_9' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_22@example.jp"], ["encrypted_password", "$2a$04$m622TR2cmZzrjcw3lxE6V.ZciT5QDaDPiA3cvDlVlyGYnfNC3g4V."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_22"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:09.436784' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_23@example.jp"], ["encrypted_password", "$2a$04$KOkd0sMrjz08Iy0HxZq65Ou3/OXYX8VXBExmbEtQvzSzTY6.Uqjf6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_23"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:09.449604' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_10' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_10"], ["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_10"], ["title", "message_template_10"], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (50.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_4@example.jp"], ["encrypted_password", "$2a$04$4nVkcYvGX/P7BYQn7wC84OlT0NM7ClGYAphCw10xX01oPKJ3neB1O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_4"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:09.514513' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"12", "receiver_id"=>"13", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_10' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 12, "receiver_id" = 13, "message_template_id" = 10, "updated_at" = '2011-12-17 20:19:09.531428' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 18ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (5.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_24@example.jp"], ["encrypted_password", "$2a$04$6WN3tyrpX1T4/CRl/RsKk.u/bjUUY7jGDOjdrT..ZVhy0V7WE7eoW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_24"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:09.554630' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_25@example.jp"], ["encrypted_password", "$2a$04$QQwNp5PcZvJ6YXaijNs7OefHlQp.mBRA1wOZYZkMOiW3DtHURn3mC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_25"]] SQL (0.5ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:09.569151' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_11' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_11"], ["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_11"], ["title", "message_template_11"], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.4ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_11' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_26@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_26@example.jp"], ["encrypted_password", "$2a$04$sbO7hihXFQlS/yimYXDPKetkeUyUWlNjW1Kz9Y121Eoxi7/H6WY5q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_26"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:09.593155' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_27@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_27@example.jp"], ["encrypted_password", "$2a$04$UvneO4PT.oGBOw1RfkQO2eefbAdxrlael1XVXYelJPvfjRcIdIEti"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_27"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:09.604727' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_12' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_12"], ["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_12"], ["title", "message_template_12"], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_5@example.jp"], ["encrypted_password", "$2a$04$TNPqm8zbNaEUSRzgT2UBieYYA87Kl5pAmX3mvq/7xtNQiGC6IcP.u"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_5"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:09.621598' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"12", "receiver_id"=>"13", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_12' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 12, "receiver_id" = 13, "message_template_id" = 10, "updated_at" = '2011-12-17 20:19:09.640296' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 17ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_28@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_28@example.jp"], ["encrypted_password", "$2a$04$LKeM/xXg/IK2nM2Sgat9TejlDvAe/oQif4TmcGJwcDTNdwzWBGUH6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_28"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:09.661059' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_29@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_29@example.jp"], ["encrypted_password", "$2a$04$M4JhlxmOB3e/ACzqbG4dHutl8I7fjWIpUU2Y2zm6esAVqrHRoiWFu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_29"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:09.677688' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_13' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_13"], ["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_13"], ["title", "message_template_13"], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_13' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_30@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_30@example.jp"], ["encrypted_password", "$2a$04$Iwg1qqydjGOs9nYb66Agd.1d2MXbPUWbTZWTNsULQhyBeUCXb6Nv2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_30"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:09.702122' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_31@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_31@example.jp"], ["encrypted_password", "$2a$04$uNtqp2N4aWIgoKb6YOku1ulgD6K3Z3XeI6P2NW6C7g9tCRkv32vUW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_31"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:09.714065' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_14' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_14"], ["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_14"], ["title", "message_template_14"], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (56.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_6@example.jp"], ["encrypted_password", "$2a$04$lYETeyOGwov1lL68dVmrLutQCVbhl9GhHnUxuBFftgJGqnBskSlCO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_6"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:09.786989' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_13' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 16ms (Views: 1.2ms | ActiveRecord: 0.9ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_32@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_32@example.jp"], ["encrypted_password", "$2a$04$QeWp0udy9dN92KYJChcbWeejMk8upxNdYu0gVfG4gxvopCU.WCWXq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_32"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:09.844483' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_33@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_33@example.jp"], ["encrypted_password", "$2a$04$xfeyuCxwbxx/RGE2xip8AeTVMIWqjqc1MlED3Kp4IAfxTqU0kUDCG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_33"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:09.858352' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_15' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_15"], ["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_15"], ["title", "message_template_15"], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_15' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.9ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_34@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_34@example.jp"], ["encrypted_password", "$2a$04$NjUXn0RUoIZKHXvQnnzv7e/FbpSdkrGc1XG8BBJclGQI0.q6mQIsC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_34"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:09.883504' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_35@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_35@example.jp"], ["encrypted_password", "$2a$04$4mstbLABhWH9I3pR0kVbY.zBkIr4f77Bf37tAmpblcEhOTyCjaNfe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_35"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:09.895757' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_16' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_16"], ["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_16"], ["title", "message_template_16"], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_4@example.jp"], ["encrypted_password", "$2a$04$Ly6XRVSU3h3ROGJcjBgWPuk6P9fXuB6xI5ZtTyzh/voEtykv55Kfi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_4"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:09.913574' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"12", "receiver_id"=>"13", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_16' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 12, "receiver_id" = 13, "message_template_id" = 10, "updated_at" = '2011-12-17 20:19:09.931322' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 17ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_36@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_36@example.jp"], ["encrypted_password", "$2a$04$7Vfbo9aiBISCDT5O6j.b9OScWOigEHqzBiahL7i7GM8sQxOyP7COi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_36"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:09.950174' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_37@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_37@example.jp"], ["encrypted_password", "$2a$04$1oCxtM3UEFQMB535WFfJ..ZHcvrPu55nfeVM7jdl9CP03uVa0p3vG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_37"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:09.962479' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_17' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_17"], ["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_17"], ["title", "message_template_17"], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_17' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_38@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_38@example.jp"], ["encrypted_password", "$2a$04$BJJt0oUYyO2lzoACXuJ2e.9WlFfsJU1Z.vUx.IbQpD0X.XJx4HKhe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_38"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:09.985587' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_39@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_39@example.jp"], ["encrypted_password", "$2a$04$8zOBbkDMghLup3qQW8keB.hxKV32X4QwHCS45UavBm/KrO2f4vrFm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_39"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:09 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:09.997612' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_18' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_18"], ["created_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_18"], ["title", "message_template_18"], ["updated_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_5@example.jp"], ["encrypted_password", "$2a$04$Dbxt92yac21TSOEfMQEYZelnmvCPr5u5jTl/oMtKBrgvtcMxdwjzi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_5"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:10.082172' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"12", "receiver_id"=>"13", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_18' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 12, "receiver_id" = 13, "message_template_id" = 10, "updated_at" = '2011-12-17 20:19:10.103292' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 19ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_40@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_40@example.jp"], ["encrypted_password", "$2a$04$Dhi1BBl8tC1PF6NYT9Ug5e63h3wSppDVPzE9CwCJtEGJsGjDbCY5a"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_40"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:10.123156' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_41@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_41@example.jp"], ["encrypted_password", "$2a$04$V84zm/ZFSLmGyteM8T45deeltqctWasytKhDxKXKoBo8x9OgDgg9."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_41"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:10.135820' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_19' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_19"], ["created_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_19"], ["title", "message_template_19"], ["updated_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_19' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_42@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_42@example.jp"], ["encrypted_password", "$2a$04$rFoOVzowx.m5K0Mln3zFOeaJF6U.NomNRr5jGVl4fz.BT4TpnseJS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_42"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:10.158145' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_43@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_43@example.jp"], ["encrypted_password", "$2a$04$SVY529X6NbG0OhxTMRyN5uLffZBjgsBwamNhAZf.a19bxqiHb.kHi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_43"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:10.178823' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_20' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_20"], ["created_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_20"], ["title", "message_template_20"], ["updated_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_6@example.jp"], ["encrypted_password", "$2a$04$lCq3t0kAcaU7N2Oc9d1x1.XO0O9.i7tQOeF4EvhWk1JurV/6XhrtK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_6"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:10.195689' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_19' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 17ms (Views: 1.2ms | ActiveRecord: 1.0ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_44@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (41.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_44@example.jp"], ["encrypted_password", "$2a$04$h2cLoHJZfCYgfcCLD9HIm.qYVnYdrn83N7cZ7l3PhW7bFWXkDEBtS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_44"]] SQL (1.9ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:10.278845' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_45@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (6.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_45@example.jp"], ["encrypted_password", "$2a$04$5zp25ukK5iiJpmxPMDvoWu5aUwGkb0.Q8ra6GiinWuCiwPpWg3zRe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_45"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["user_id", 11]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:10.296068' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_21' LIMIT 1 SQL (6.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_21"], ["created_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_21"], ["title", "message_template_21"], ["updated_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_21' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_46@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_46@example.jp"], ["encrypted_password", "$2a$04$rNTQUFAA4J57ehUrLcn/Pu2s.dE/M/x5qQa.gdlWMZ4mdG7lCT53."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_46"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:10.329596' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_47@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (53.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_47@example.jp"], ["encrypted_password", "$2a$04$MGxXdzA6hRwNCdXsriEUbOWcDneALHUoNY9FuKuB0lDomkPwl2n/."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_47"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:10.394159' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_22' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_22"], ["created_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_22"], ["title", "message_template_22"], ["updated_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_48@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_48@example.jp"], ["encrypted_password", "$2a$04$LaYE4jI19kcyEMxYOXiVsOWYEst7KURTdrwDlTrqGKZftzR4XeeiK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_48"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:10.410935' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"12", "receiver_id"=>"13", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_49@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (45.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_49@example.jp"], ["encrypted_password", "$2a$04$IkJCWnhVrCzH/UjynlE4/O1s4tjG17Jd3jYU39kwChcI/fFc9KWZa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_49"]] SQL (6.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["user_id", 10]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:10.499058' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_50@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_50@example.jp"], ["encrypted_password", "$2a$04$0rMKtYxrx1RRGp39Tgy7feJCXs7/I6whKZhXFjz3vwKOIGMMD6QkS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_50"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:10.512242' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_23' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_23"], ["created_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_23"], ["title", "message_template_23"], ["updated_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.5ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_23' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_51@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_51@example.jp"], ["encrypted_password", "$2a$04$8Cb/zUsNWr7LvIwHjaoQZuBzqZ6OtoNKIVaRjZiQDTa88ShB6ujda"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_51"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:10.535038' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_52@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_52@example.jp"], ["encrypted_password", "$2a$04$LWYMJiHr.N4sfTzY.DTymu325Wh31SjqOOsGWy5Z9B89zZci65hM."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_52"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:10.557019' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_24' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_24"], ["created_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_24"], ["title", "message_template_24"], ["updated_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_53@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_53@example.jp"], ["encrypted_password", "$2a$04$PNkljZ003r/QghEGx6ZF5uqMWifWo9QHUPuwKCJWyjmvOCSqA8TNS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_53"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:10.575880' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"12", "receiver_id"=>"13", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_54@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_54@example.jp"], ["encrypted_password", "$2a$04$3ph4he63AIaOyJ3pmbNEEu4yRFkOdKOhM0ogTHw78UddCI/Ceavy2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_54"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:10.628190' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_55@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_55@example.jp"], ["encrypted_password", "$2a$04$Wpt/mgjhjIT/7Fat6r/BeujVobdTryhAvpXkL1bPzc14d3QjuVlJG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_55"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:10.643311' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_25' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_25"], ["created_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_25"], ["title", "message_template_25"], ["updated_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_25' AND "message_templates"."id" != 9) LIMIT 1 SQL (14.9ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_56@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_56@example.jp"], ["encrypted_password", "$2a$04$m/oihItSL8dYjKDc.4IoL.22K2toCjNPq9vtW7uAR3nNNvYG/0zDi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_56"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:10.682155' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_57@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (53.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_57@example.jp"], ["encrypted_password", "$2a$04$V1C3mFMYAmY556PPQOX4w.0AV1vqqkDMb0dzgTfXHvv1Ke/Dp4pHW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_57"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:10.750446' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_26' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_26"], ["created_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_26"], ["title", "message_template_26"], ["updated_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_58@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_58@example.jp"], ["encrypted_password", "$2a$04$Ns23Svp94CobtTnVddZO5ef/jaVdsWtVjDkZGMaru.D4BOjqNFIYq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_58"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:10.770611' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_59@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_59@example.jp"], ["encrypted_password", "$2a$04$Iab/QO3ZpzjHFiIR1QZXi.CxR6q8C0DihxZ37lo3m5G7QGU7Iot0i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_59"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:10.810089' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_60@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_60@example.jp"], ["encrypted_password", "$2a$04$MLU8smZavSoETOwc.IPAIejOXzDtQj79I5mVa5EBgFXjLdaTq4//6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_60"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:10.825497' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_27' LIMIT 1 SQL (28.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_27"], ["created_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_27"], ["title", "message_template_27"], ["updated_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_27' AND "message_templates"."id" != 9) LIMIT 1 SQL (13.3ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_61@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_61@example.jp"], ["encrypted_password", "$2a$04$ldzQHVmqB1i1HiwWeGacxe19wKeaWnUycOd/xp8Uy8OT7lia6Przq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_61"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:10.891544' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_62@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_62@example.jp"], ["encrypted_password", "$2a$04$LqacjOjOfMbHyZQ2/.rw4uAdjuNwbSPI.aS1Q1mdWSr5tY.IZoQJK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_62"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:10.905602' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_28' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_28"], ["created_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_28"], ["title", "message_template_28"], ["updated_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"12", "receiver_id"=>"13", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_63@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (45.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_63@example.jp"], ["encrypted_password", "$2a$04$6kUTxVuy4wRx1sYKIktENevp4NznN0AkcqtTBE6Sikn.G.A1wYTVy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_63"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:10.978306' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_64@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_64@example.jp"], ["encrypted_password", "$2a$04$oOnqwsIO7dyRoY62mHHXsOcIocKIU.LmlBwgrsTbo8RSZUgH2yC.6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_64"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:10.993862' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_29' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_29"], ["created_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_29"], ["title", "message_template_29"], ["updated_at", Sat, 17 Dec 2011 20:19:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_29' AND "message_templates"."id" != 9) LIMIT 1 SQL (5.1ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_65@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_65@example.jp"], ["encrypted_password", "$2a$04$NAQbQg5EkpK.ZADqPVbDZur0JERKak/NCywCLhet0mQdpW5LyfAFS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_65"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:11.033162' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_66@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_66@example.jp"], ["encrypted_password", "$2a$04$lT8W41kHVC11Y6Kr1SYABuupqSazWZUqkghuZHAjQczo1RA2PG/Tm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_66"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:11.046365' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_30' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_30"], ["created_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_30"], ["title", "message_template_30"], ["updated_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"12", "receiver_id"=>"13", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_67@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_67@example.jp"], ["encrypted_password", "$2a$04$yjBPLYgYCylgp8zyXQs9Oei6/EQargZPjwhWKf9godrhY8tOe3Qm2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_67"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:11.144422' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_68@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (21.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_68@example.jp"], ["encrypted_password", "$2a$04$zVy16EQ/ib3Zb3prIdIwA.MNSsrLzfXnIdAzK.gEP0h2Wgz4s25N2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_68"]] SQL (4.6ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:11.181417' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_31' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_31"], ["created_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_31"], ["title", "message_template_31"], ["updated_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_31' AND "message_templates"."id" != 9) LIMIT 1 SQL (10.2ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_69@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_69@example.jp"], ["encrypted_password", "$2a$04$0jyJDoTXGMwMEezd/xI.CubdDXAWY/EmJgtZqI7ZSDlbPVZgeI.ty"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_69"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:11.222120' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_70@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_70@example.jp"], ["encrypted_password", "$2a$04$x.hEBvTCfyHjODc9Il6xQONNt2XSHZmTd.0AqWpPGMAIdS4wnydKu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_70"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:11.235950' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_32' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_32"], ["created_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_32"], ["title", "message_template_32"], ["updated_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_71@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_71@example.jp"], ["encrypted_password", "$2a$04$RsFCujI9n6yXoofE1bOZqe3ySmJbsRewbjG7GvJ5CjX0BKFN5pF9a"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_71"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:11.268096' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_72@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_72@example.jp"], ["encrypted_password", "$2a$04$wu.v7jLltWxfcN8JtLQFyudaMoB5LrMq2a7mwobApMKlPBe4ZwFO2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_72"]] SQL (4.0ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["user_id", 11]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:11.286560' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_33' LIMIT 1 SQL (2.8ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_33"], ["created_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_33"], ["title", "message_template_33"], ["updated_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_33' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_7@example.jp"], ["encrypted_password", "$2a$04$UAd8LMnfs3qfONzeb8l51uCkB7MBpGQz0dn5u9AMrcfghPy7kdv7q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_7"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:11.313463' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 10ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_73@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (10.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_73@example.jp"], ["encrypted_password", "$2a$04$MJWdOrERE2jD/Zi7DeKWsOx4mbQORAxSPckVnxJkRSWyJR1eFpg4K"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_73"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:11.351586' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_74@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (6.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_74@example.jp"], ["encrypted_password", "$2a$04$j9OhfpscK.RzPURYzSZgSOtM9mPZhPrlSTHpb5DxBnzz5poRBJWGK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_74"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:11.369416' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_34' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_34"], ["created_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_34"], ["title", "message_template_34"], ["updated_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_34' AND "message_templates"."id" != 9) LIMIT 1 SQL (41.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_8@example.jp"], ["encrypted_password", "$2a$04$6twJPj4/c9Mp68SyhOP/jexHDmNmOtO9UwGlLi9P2LTsSdmI4IFDa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_8"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:11.447708' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 68ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_75@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_75@example.jp"], ["encrypted_password", "$2a$04$mVF6xF3xkJNE2VQyr5IzleiNBrejZGnw4ms/lh1YsuP1c.FwzBNKW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_75"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:11.540582' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_76@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_76@example.jp"], ["encrypted_password", "$2a$04$MjPl1DQGkazUCHD9UeTT5uvroGA5UN854qufrirgRwh1qqdJ4b9k2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_76"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:11.554831' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_35' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_35"], ["created_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_35"], ["title", "message_template_35"], ["updated_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_35' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_7@example.jp"], ["encrypted_password", "$2a$04$pMvWaX2rQbitQrHbzzNl4OO3APbW9H4s/TUrjdqMKlkHe45Ak.YbO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_7"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:11.582942' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 9ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_77@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (22.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_77@example.jp"], ["encrypted_password", "$2a$04$mtyoDvwIfNMEcKIemP17kubqMwLzkbh7uhZoyuiXq/C0GDl0j4VeC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_77"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:11.637017' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_78@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_78@example.jp"], ["encrypted_password", "$2a$04$G1D/A/7.PgOTEuZ1Bi23AOpyokzivp4639q3ey6jMAaDNXa9ULClm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_78"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:11.650697' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_36' LIMIT 1 SQL (3.1ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_36"], ["created_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_36"], ["title", "message_template_36"], ["updated_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_36' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.3ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_8@example.jp"], ["encrypted_password", "$2a$04$NJDRu.jNjWxseDWRUPj0lumrTdcZmk5usJeL53Z1/ozC60hm/EwL6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_8"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:11.680276' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 9ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_79@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_79@example.jp"], ["encrypted_password", "$2a$04$WJO3YDnoSWrBHNg6Ma1kc.graaZ8OxBVfQ8By8zTU6yILmKQD6DuS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_79"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:11.732295' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_80@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_80@example.jp"], ["encrypted_password", "$2a$04$Zto9TWE/VY9KNIFdBxDFF.wHsmZi9K9kw5a8Fv6PjUr3XhIO83vy6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_80"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:11.744769' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_37' LIMIT 1 SQL (3.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_37"], ["created_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_37"], ["title", "message_template_37"], ["updated_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_37' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_81@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_81@example.jp"], ["encrypted_password", "$2a$04$52/r.yzF2kdTX.Gpk.wIq.r37jveH36a/ORm2UbJ.eME1OZKrzQgC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_81"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["user_id", 12]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:11.777790' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 71ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_82@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (41.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_82@example.jp"], ["encrypted_password", "$2a$04$yPm8snl7JfHRCKxVD1hkJ.KjNXwPotJP37Tj3ivHVz1bnE8MxzVKW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_82"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:11.915803' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_83@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_83@example.jp"], ["encrypted_password", "$2a$04$ADXqSsApOHu6smKKXfxlyO87MZY2IvD6rQlmuIx/ivGUlkftVRPi."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_83"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:11.939588' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_38' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_38"], ["created_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_38"], ["title", "message_template_38"], ["updated_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_38' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_84@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_84@example.jp"], ["encrypted_password", "$2a$04$V6PfA29dlVV3g/BcknrkluxfALjWYWL9z3LHSYNl1KEW5MOnK0qeC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_84"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:11.965000' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_85@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_85@example.jp"], ["encrypted_password", "$2a$04$MRkZDBL8xIx/omwYl2miWOA3Tmzu7/YKoVVQAdvpU/fSnELFJfXpu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_85"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:11 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:11.997912' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_86@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (20.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_86@example.jp"], ["encrypted_password", "$2a$04$M9XleHcFI.zX4BGxBkbM3uF2Tmz3qWuajMHQyPviaDKpM4eKx2NV."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_86"]] SQL (0.9ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:12 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:12 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:12.033433' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_39' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_39"], ["created_at", Sat, 17 Dec 2011 20:19:12 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_39"], ["title", "message_template_39"], ["updated_at", Sat, 17 Dec 2011 20:19:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_39' AND "message_templates"."id" != 9) LIMIT 1 SQL (10.9ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:19:12 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:19:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_87@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (11.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_87@example.jp"], ["encrypted_password", "$2a$04$OnJ1cswQYhGwc1L5n8vNeuA08u9NLRIX8pwzeOgQf5u8mj5EZO2/a"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_87"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:12 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:12 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:12.089567' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_88@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_88@example.jp"], ["encrypted_password", "$2a$04$V.m.Mpy3EeeZtCjjqXbha./z8l8Yf0ty8WbCc8bXEhcRVdo/YZPsO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_88"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:12 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:12 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:12.103449' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_40' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_40"], ["created_at", Sat, 17 Dec 2011 20:19:12 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_40"], ["title", "message_template_40"], ["updated_at", Sat, 17 Dec 2011 20:19:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_40' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:19:12 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:19:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_41' LIMIT 1 SQL (48.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_41"], ["created_at", Sat, 17 Dec 2011 20:19:12 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_41"], ["title", "message_template_41"], ["updated_at", Sat, 17 Dec 2011 20:19:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (9.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_9@example.jp"], ["encrypted_password", "$2a$04$QT5ktOvBu6phQ1kSS6Ldcu19ftmuT8VfldBBSA.M57K71zvXZzXOi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_9"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:12 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:19:12 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:12.230296' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 200 OK in 15ms (Views: 6.0ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position LIMIT 10 OFFSET 0  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (54.8ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_42' LIMIT 1 SQL (2.0ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_42"], ["created_at", Sat, 17 Dec 2011 20:19:12 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_42"], ["title", "message_template_42"], ["updated_at", Sat, 17 Dec 2011 20:19:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_9@example.jp"], ["encrypted_password", "$2a$04$qU/jMjyjFkEh4SVf6GGl3uedeT4pgnn/JA4Js3Lb0TZTKcPiHH5Bm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_9"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:12 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:19:12 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:12.337973' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 200 OK in 9ms (Views: 1.5ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position LIMIT 10 OFFSET 0  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_43' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_43"], ["created_at", Sat, 17 Dec 2011 20:19:12 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_43"], ["title", "message_template_43"], ["updated_at", Sat, 17 Dec 2011 20:19:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_89@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_89@example.jp"], ["encrypted_password", "$2a$04$gAGaf7nwOzRE8Nvrm19QGujeRz9xjynlqQNseATJlyOeE/MyCprtS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_89"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:12 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:12 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:12.379304' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 8ms (Views: 1.3ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "message_templates" WHERE ('t'='f')  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_44' LIMIT 1 SQL (26.1ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_44"], ["created_at", Sat, 17 Dec 2011 20:19:12 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_44"], ["title", "message_template_44"], ["updated_at", Sat, 17 Dec 2011 20:19:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms  (0.1ms) SELECT COUNT(*) FROM "message_templates" WHERE ('t'='f') Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_10@example.jp"], ["encrypted_password", "$2a$04$W6uASfI9kKjXTW85wadGxurgJWa3xJ4DWGIX04V3lUXW5AcRgrLsG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_10"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:12 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:19:12 UTC +00:00], ["user_id", 10]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:12.445289' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_45' LIMIT 1 SQL (30.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_45"], ["created_at", Sat, 17 Dec 2011 20:19:12 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_45"], ["title", "message_template_45"], ["updated_at", Sat, 17 Dec 2011 20:19:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 200 OK in 7ms (Views: 1.5ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (46.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_10@example.jp"], ["encrypted_password", "$2a$04$OzVp7RqlBwlspH8ce81F7uz.U/6zjk4hFFffAfNM5gi1F1vCYEdUW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_10"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:12 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:19:12 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:12.544184' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_46' LIMIT 1 SQL (26.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_46"], ["created_at", Sat, 17 Dec 2011 20:19:12 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_46"], ["title", "message_template_46"], ["updated_at", Sat, 17 Dec 2011 20:19:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 200 OK in 5ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_90@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_90@example.jp"], ["encrypted_password", "$2a$04$RNAXtwdHKlQuujAmTRAW7.mXuWW6l6RF6Pm.aF8Xf9GBRcQZ.Z88a"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_90"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:12 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:12 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:12.594185' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_47' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_47"], ["created_at", Sat, 17 Dec 2011 20:19:12 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_47"], ["title", "message_template_47"], ["updated_at", Sat, 17 Dec 2011 20:19:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_48' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_48"], ["created_at", Sat, 17 Dec 2011 20:19:12 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_48"], ["title", "message_template_48"], ["updated_at", Sat, 17 Dec 2011 20:19:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 3ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_11@example.jp"], ["encrypted_password", "$2a$04$xG9f7blI2ru7mIahB.seg.AJidKFa70xrlmTs0hbbQrYe44d2hXVu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_11"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:12 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:19:12 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:12.622835' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (14.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_11@example.jp"], ["encrypted_password", "$2a$04$MmyiurvT9/27T796qXlVruEwKwlHIQVMONbSeiwrdB.28ddCrF4vy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_11"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:12 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:19:12 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:12.689227' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_91@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (59.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_91@example.jp"], ["encrypted_password", "$2a$04$sSGb1o7aZsR3D50.zn4KqOeIQ97SO/9kjfXl1U379EQQlt6uul/pW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_91"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:12 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:12 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:12.767031' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Processing by MessageTemplatesController#new as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 3ms MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (39.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_12@example.jp"], ["encrypted_password", "$2a$04$YZnpyAyJrdqP93qlRzBSK.lBL/0tczWvIZ39di97W5yEK/qIs/uhK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_12"]] SQL (8.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:12 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:19:12 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:12.839966' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_49' LIMIT 1 SQL (6.8ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_49"], ["created_at", Sat, 17 Dec 2011 20:19:12 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_49"], ["title", "message_template_49"], ["updated_at", Sat, 17 Dec 2011 20:19:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 200 OK in 6ms (Views: 1.6ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (52.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_12@example.jp"], ["encrypted_password", "$2a$04$/I39CjPbn2BQjrlJPLzs1.Z.Bt0ZBipzF2AyePvFyqdkpLGEcOLHG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_12"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:12 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:19:12 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:12.918712' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_50' LIMIT 1 SQL (1.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_50"], ["created_at", Sat, 17 Dec 2011 20:19:12 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_50"], ["title", "message_template_50"], ["updated_at", Sat, 17 Dec 2011 20:19:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_92@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_92@example.jp"], ["encrypted_password", "$2a$04$eYlquyLWoUvr1Nyl6yLG.Ogiy/C8Md.iRJN6kAfwbgp2Dm7Un.Q02"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_92"]] SQL (50.0ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:12 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:12 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:12.997521' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_51' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_51"], ["created_at", Sat, 17 Dec 2011 20:19:13 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_51"], ["title", "message_template_51"], ["updated_at", Sat, 17 Dec 2011 20:19:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_52' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_52"], ["created_at", Sat, 17 Dec 2011 20:19:13 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_52"], ["title", "message_template_52"], ["updated_at", Sat, 17 Dec 2011 20:19:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (41.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_13@example.jp"], ["encrypted_password", "$2a$04$rnIl/RXGO7ln71JeiOtmte6VXoWwILteLtnkGEWlNZJiTrgU6CvM2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_13"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:13 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:19:13 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:13.068405' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_53", "status"=>"message_template_53", "body"=>"message_template_53"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_53' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (36.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_14@example.jp"], ["encrypted_password", "$2a$04$ylaEFq5q08ixNLjAqnqE2ePQpIrrdjHJMQ.Q6OtMOHxS7XK.exEQ2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_14"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:13 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:19:13 UTC +00:00], ["user_id", 10]]  (27.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:13.123013' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_54", "status"=>"message_template_54", "body"=>"message_template_54"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_15@example.jp"], ["encrypted_password", "$2a$04$g3YVk3VSgdGOADh6YEvx5uz62APSjg0GfZvxTlFbcbeTmw4nJiBBe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_15"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:13 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:19:13 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:13.168352' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (27.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_16@example.jp"], ["encrypted_password", "$2a$04$LBB4S13y72WnHS8B.FZw8OIt4vVff3236MkXpZXRJQ6bW9aaSzVzO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_16"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:13 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:19:13 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:13.213551' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_13@example.jp"], ["encrypted_password", "$2a$04$SaJxShqRIaeh4mEg6AZkmOyK4nix/yip6ZSeLZ5uxthw6DHWpaJbq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_13"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:13 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:19:13 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:13.230629' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_57", "status"=>"message_template_57", "body"=>"message_template_57"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_57' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_14@example.jp"], ["encrypted_password", "$2a$04$3EsYR/H.NIIS7SnNBd1npuguP/sVYlBZ/LrsdtiD1RlxE4URfM2fq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_14"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:13 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:19:13 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:13.248532' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_58", "status"=>"message_template_58", "body"=>"message_template_58"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_15@example.jp"], ["encrypted_password", "$2a$04$QAjfIm3a6tDynTJTlzmAJex1tsayXrxKxVHp3.353tx05hTWkfQ7."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_15"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:13 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:19:13 UTC +00:00], ["user_id", 10]]  (44.8ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:13.291946' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_16@example.jp"], ["encrypted_password", "$2a$04$IWLmz7ev44t9QlfEfR1iZenAjDpiZ9vlvIMXWIb6EItUHoDofJbAm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_16"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:13 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:19:13 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:13.355408' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_93@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_93@example.jp"], ["encrypted_password", "$2a$04$NEPvhVers959qzY0OZmimOu3srea4aMEK3nRP2X6KyveraayAG4vi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_93"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:13 UTC +00:00], ["user_id", 10]]  (0.6ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:13.408618' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_61", "status"=>"message_template_61", "body"=>"message_template_61"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 8ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_61' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_94@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (40.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_94@example.jp"], ["encrypted_password", "$2a$04$0VgYWm2OJREvsyuV3XOSaelItqeYfT1ZFyXYUBxXjwW4cY5DGCSKW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_94"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:13 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:13.523251' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_62", "status"=>"message_template_62", "body"=>"message_template_62"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_95@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (45.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_95@example.jp"], ["encrypted_password", "$2a$04$Kd.0d44bddNby5NZ48dRmeI4lChJkCmker748H6ck6WytkbDw47Ji"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_95"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:13 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:13.595022' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_96@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_96@example.jp"], ["encrypted_password", "$2a$04$.t9nyR6dQT62iLmUHWGumuwHJyPxs3pz.kCj5owE0ThFok7dmSIOO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_96"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:13 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:13.625514' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_65", "status"=>"message_template_65", "body"=>"message_template_65"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 5ms MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_65' LIMIT 1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_66", "status"=>"message_template_66", "body"=>"message_template_66"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 5ms MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 5ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_69' LIMIT 1 SQL (12.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_69"], ["created_at", Sat, 17 Dec 2011 20:19:13 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_69"], ["title", "message_template_69"], ["updated_at", Sat, 17 Dec 2011 20:19:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (31.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_17@example.jp"], ["encrypted_password", "$2a$04$XABUeZCSoqVa1zghLiBtwe6Ougvl8lBoE5QQFiZNt6g0ge0Z0e1aS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_17"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:13 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:19:13 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:13.768026' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_70", "status"=>"message_template_70", "body"=>"message_template_70"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_70' AND "message_templates"."id" != 9) LIMIT 1  (0.1ms) UPDATE "message_templates" SET "title" = 'message_template_70', "status" = 'message_template_70', "body" = 'message_template_70', "updated_at" = '2011-12-17 20:19:13.781712' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates/9 Completed 302 Found in 23ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_71' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_71"], ["created_at", Sat, 17 Dec 2011 20:19:13 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_71"], ["title", "message_template_71"], ["updated_at", Sat, 17 Dec 2011 20:19:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_18@example.jp"], ["encrypted_password", "$2a$04$iQBHyT9eepus53ia8l.dCuU2ITO6g.NSPyXxyJH8HWIZc45vdcqGi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_18"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:13 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:19:13 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:13.867779' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_72", "status"=>"message_template_72", "body"=>"message_template_72"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_72' AND "message_templates"."id" != 9) LIMIT 1  (0.2ms) UPDATE "message_templates" SET "title" = 'message_template_72', "status" = 'message_template_72', "body" = 'message_template_72', "updated_at" = '2011-12-17 20:19:13.881815' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates/9 Completed 302 Found in 13ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_73' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_73"], ["created_at", Sat, 17 Dec 2011 20:19:13 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_73"], ["title", "message_template_73"], ["updated_at", Sat, 17 Dec 2011 20:19:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_19@example.jp"], ["encrypted_password", "$2a$04$uZjTn/wzunpldtYYV3MU8e5MVokjfnQbUDSMvGluwqXOd/faxmuJu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_19"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:13 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:19:13 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:13.904375' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_74", "status"=>"message_template_74", "body"=>"message_template_74"}, "position"=>"2", "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "message_templates" SET "position" = 0, "updated_at" = '2011-12-17 20:19:13.915714' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "message_templates" SET position = (position - 1) WHERE "message_templates"."id" IN (SELECT "message_templates"."id" FROM "message_templates" WHERE (1 = 1 AND position > 9) ORDER BY position) SQL (0.2ms) UPDATE "message_templates" SET position = (position + 1) WHERE "message_templates"."id" IN (SELECT "message_templates"."id" FROM "message_templates" WHERE (1 = 1 AND position >= 2) ORDER BY position)  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "message_templates" SET "position" = 2, "updated_at" = '2011-12-17 20:19:13.918170' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates Completed 302 Found in 12ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_75' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_75"], ["created_at", Sat, 17 Dec 2011 20:19:13 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_75"], ["title", "message_template_75"], ["updated_at", Sat, 17 Dec 2011 20:19:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_20@example.jp"], ["encrypted_password", "$2a$04$AEJlNKPQ4Ixbrpe5Rs/od.afOQ5bO/ZhZMmY7XrQsrNqNNYnz0E7y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_20"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:13 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:19:13 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:13.939145' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = '' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 13ms (Views: 1.1ms | ActiveRecord: 0.0ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_77' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_77"], ["created_at", Sat, 17 Dec 2011 20:19:13 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_77"], ["title", "message_template_77"], ["updated_at", Sat, 17 Dec 2011 20:19:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_17@example.jp"], ["encrypted_password", "$2a$04$mIfOpZjYNgrZlHnT5WIQx.yGQa/29zwnvISl7REUfJ570cTNrPp9W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_17"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:13 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:19:13 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:13.974620' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_78", "status"=>"message_template_78", "body"=>"message_template_78"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_79' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_79"], ["created_at", Sat, 17 Dec 2011 20:19:13 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_79"], ["title", "message_template_79"], ["updated_at", Sat, 17 Dec 2011 20:19:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_18@example.jp"], ["encrypted_password", "$2a$04$jSF3l0nldXLd.XrzCJEHvu6rr6XbJKvu8vhOstctTwYHD0fVXsoya"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_18"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:14 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:19:14 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:14.008446' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_80", "status"=>"message_template_80", "body"=>"message_template_80"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_81' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_81"], ["created_at", Sat, 17 Dec 2011 20:19:14 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_81"], ["title", "message_template_81"], ["updated_at", Sat, 17 Dec 2011 20:19:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_19@example.jp"], ["encrypted_password", "$2a$04$nppKcP3s1tLXw9DHlJg9peRij3a1Ldd9EIJZa1mcP2BPQAFwSNPDG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_19"]] SQL (22.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:14 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:19:14 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:14.065577' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_83' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_83"], ["created_at", Sat, 17 Dec 2011 20:19:14 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_83"], ["title", "message_template_83"], ["updated_at", Sat, 17 Dec 2011 20:19:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_97@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (56.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_97@example.jp"], ["encrypted_password", "$2a$04$q1k48GIYZHzNMj3De2h4../fKSVqzs0LdeC/KJSv2weZOOs5TgO6e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_97"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:14 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:14 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:14.151680' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_84", "status"=>"message_template_84", "body"=>"message_template_84"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 2.0ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_85' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_85"], ["created_at", Sat, 17 Dec 2011 20:19:14 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_85"], ["title", "message_template_85"], ["updated_at", Sat, 17 Dec 2011 20:19:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_98@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (34.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_98@example.jp"], ["encrypted_password", "$2a$04$loWG1i1DjwaWa8YT0GKyg.PbrXRZxPaHC282ArwuF1xx6pVeK/63a"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_98"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:14 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:14 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:14.217340' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_86", "status"=>"message_template_86", "body"=>"message_template_86"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_87' LIMIT 1 SQL (42.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_87"], ["created_at", Sat, 17 Dec 2011 20:19:14 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_87"], ["title", "message_template_87"], ["updated_at", Sat, 17 Dec 2011 20:19:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.3ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_99@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_99@example.jp"], ["encrypted_password", "$2a$04$7eJNYM3pC97yesxPfMhxRueDLiEWSlECGXNmF2daU3N0R2vUPVa1y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_99"]] SQL (0.4ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:14 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:14 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:14.299695' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_89' LIMIT 1 SQL (81.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_89"], ["created_at", Sat, 17 Dec 2011 20:19:14 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_89"], ["title", "message_template_89"], ["updated_at", Sat, 17 Dec 2011 20:19:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_90", "status"=>"message_template_90", "body"=>"message_template_90"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_91' LIMIT 1 SQL (22.0ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_91"], ["created_at", Sat, 17 Dec 2011 20:19:14 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_91"], ["title", "message_template_91"], ["updated_at", Sat, 17 Dec 2011 20:19:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_92", "status"=>"message_template_92", "body"=>"message_template_92"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_93' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_93"], ["created_at", Sat, 17 Dec 2011 20:19:14 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_93"], ["title", "message_template_93"], ["updated_at", Sat, 17 Dec 2011 20:19:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_95' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_95"], ["created_at", Sat, 17 Dec 2011 20:19:14 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_95"], ["title", "message_template_95"], ["updated_at", Sat, 17 Dec 2011 20:19:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_21@example.jp"], ["encrypted_password", "$2a$04$bKAsHcwqj6M4ThK7AaUSc.QQc7xEI1c18/V8pxcMKeaqw0VtBl/kC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_21"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:14 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:19:14 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:14.648918' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_96' LIMIT 1 SQL (7.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_96"], ["created_at", Sat, 17 Dec 2011 20:19:14 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_96"], ["title", "message_template_96"], ["updated_at", Sat, 17 Dec 2011 20:19:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_22@example.jp"], ["encrypted_password", "$2a$04$JzWiMqtGA2EX2vY/Az9Al.FVHNrmx3M02eK45hprAjkf5sFvGkUSa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_22"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:14 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:19:14 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:14.721655' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_97' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_97"], ["created_at", Sat, 17 Dec 2011 20:19:14 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_97"], ["title", "message_template_97"], ["updated_at", Sat, 17 Dec 2011 20:19:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_20@example.jp"], ["encrypted_password", "$2a$04$o7Dox6RHElpfcG7b5zN17Okgs44k4E3HBN49b0bbFLAsxCVaPC4xS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_20"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:14 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:19:14 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:14.754085' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 67ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_98' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_98"], ["created_at", Sat, 17 Dec 2011 20:19:14 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_98"], ["title", "message_template_98"], ["updated_at", Sat, 17 Dec 2011 20:19:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_21@example.jp"], ["encrypted_password", "$2a$04$zIFHhynGIHWYkiDLkLtiR.Y3xoz2dSGAdp3mGZRbOzHeCpkDlXWNa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_21"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:14 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:19:14 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:14.843580' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_99' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_99"], ["created_at", Sat, 17 Dec 2011 20:19:14 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_99"], ["title", "message_template_99"], ["updated_at", Sat, 17 Dec 2011 20:19:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_100@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_100@example.jp"], ["encrypted_password", "$2a$04$UAC5M8A6uSy5UV9HkC2z2OejXt6NMlM3DLO5qiaL5YDkTqAU30iRC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_100"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:14 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:14 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:14.875539' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_100' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_100"], ["created_at", Sat, 17 Dec 2011 20:19:14 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_100"], ["title", "message_template_100"], ["updated_at", Sat, 17 Dec 2011 20:19:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_101@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (32.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_101@example.jp"], ["encrypted_password", "$2a$04$kT9EgXqJN2mi0.IWofz4ZeEOoem7EAR2EKpNPSdfyT6.u15bpEnJ6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_101"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:14 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:14 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:14.938233' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.6ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.4ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_101' LIMIT 1 SQL (50.9ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_101"], ["created_at", Sat, 17 Dec 2011 20:19:14 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_101"], ["title", "message_template_101"], ["updated_at", Sat, 17 Dec 2011 20:19:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_102' LIMIT 1 SQL (2.9ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_102"], ["created_at", Sat, 17 Dec 2011 20:19:15 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_102"], ["title", "message_template_102"], ["updated_at", Sat, 17 Dec 2011 20:19:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms Role Load (0.3ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (16.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:16 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_23@example.jp"], ["encrypted_password", "$2a$04$W8EyCR/.rbhf5sZsx4dj6uRksgVGqYLqRK7gLxW76MrewJvSDSMn2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:16 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_23"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:16 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:19:16 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:16.404965' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 SOLR Request (9.1ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A10&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (3.4ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A10&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 128ms (Views: 10.8ms | ActiveRecord: 0.3ms | Solr: 12.5ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:16 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_24@example.jp"], ["encrypted_password", "$2a$04$.LrkniewpsAGsgPWgDg6g.HCx2nOKC0L4dlLayxHr2VFw7365fl2e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:16 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_24"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:16 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:19:16 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:16.563638' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML Parameters: {"user_id"=>"admin_24"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'admin_24' LIMIT 1 SOLR Request (5.3ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A10&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (4.2ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A10&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 21ms (Views: 1.6ms | ActiveRecord: 0.4ms | Solr: 9.5ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (5.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:16 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_22@example.jp"], ["encrypted_password", "$2a$04$gnis6RYg4B.g0oyIbGsFd.I0FF2pBp9Hpw3gOA1uCmUCYXzJN.MOW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:16 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_22"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:16 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:19:16 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:16.606805' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 SOLR Request (11.4ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A10&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (4.0ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A10&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 27ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 15.4ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:16 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_23@example.jp"], ["encrypted_password", "$2a$04$7Prk0.mBSHYaRBwY4k3oDOD25qei2I8f.u4y5Y0SAAdYEZFlHTu6m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:16 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_23"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:16 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:19:16 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:16.652803' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML Parameters: {"user_id"=>"librarian_23"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'librarian_23' LIMIT 1 SOLR Request (9.9ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A10&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (12.6ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A10&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 34ms (Views: 1.4ms | ActiveRecord: 0.5ms | Solr: 22.5ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 SOLR Request (9.6ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (13.2ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Message Load (0.3ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IN (2) Completed 200 OK in 56ms (Views: 1.4ms | ActiveRecord: 0.6ms | Solr: 22.8ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML Parameters: {"query"=>"you"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 SOLR Request (6.5ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&q=you&fl=%2A+score&qf=body_text+subject_text&defType=dismax&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (11.8ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&q=you&fl=%2A+score&qf=body_text+subject_text&defType=dismax&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IN (2) Completed 200 OK in 33ms (Views: 1.4ms | ActiveRecord: 0.6ms | Solr: 18.4ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 SOLR Request (10.3ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (7.6ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IN (2) Completed 200 OK in 36ms (Views: 6.4ms | ActiveRecord: 0.5ms | Solr: 17.9ms) Processing by MessagesController#index as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 41ms (Views: 1.9ms | ActiveRecord: 0.6ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.1ms | ActiveRecord: 0.5ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#show as HTML Parameters: {"id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 3 AND "messages"."id" = ? LIMIT 1 [["id", "2"]]  (0.1ms) SAVEPOINT active_record_1  (1.4ms) UPDATE "messages" SET "read_at" = '2011-12-17 20:19:16.993587', "updated_at" = '2011-12-17 20:19:16.993968' WHERE "messages"."id" = 2 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1  (2.0ms) UPDATE "messages" SET "state" = 'read', "updated_at" = '2011-12-17 20:19:17.002728' WHERE "messages"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 37ms (Views: 2.3ms | ActiveRecord: 4.4ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.3ms | ActiveRecord: 0.7ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (59.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:17 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_25@example.jp"], ["encrypted_password", "$2a$04$tOBKSSaRUMqOwc.2Ls/x3uQ2Yk4Nb4d5pyLvCf00A.FfethhVXbpO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:17 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_25"]] SQL (0.4ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:17 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:19:17 UTC +00:00], ["user_id", 10]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:17.177188' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 Completed 200 OK in 23ms (Views: 2.9ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:17 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_24@example.jp"], ["encrypted_password", "$2a$04$Q7YR7YjrjBFZV8TuUzQEoeOs5r8R8uJFJYyHHhkZJwDmCKM1TU6Mm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:17 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_24"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:17 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:19:17 UTC +00:00], ["user_id", 10]]  (6.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:17.231875' WHERE "roles"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 Completed 200 OK in 13ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.7ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML Parameters: {"parent_id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML Parameters: {"parent_id"=>"2"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Processing by MessagesController#new as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_26@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:17 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_26@example.jp"], ["encrypted_password", "$2a$04$2ToT49bVbKuQiSAAHS.7QeWDI3cck0sxLYNQbr/OL7OwJ9wkC87Be"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:17 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_26"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:17 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:19:17 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:17.370143' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 10 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 11ms (Views: 1.2ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:17 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_25@example.jp"], ["encrypted_password", "$2a$04$vTn.QBArVf1OC3.twlkoWe45ztIXOKKDR74RgXpd/s4SF1ze2Z1ka"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:17 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_25"]] SQL (4.6ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:17 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:19:17 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:17.410601' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 15ms (Views: 1.2ms | ActiveRecord: 0.5ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms) User Load (0.3ms) SELECT "users".* FROM "users" LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_102@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (73.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:17 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_102@example.jp"], ["encrypted_password", "$2a$04$YxUY01UIvi60nJyjli.oTuvxfYcEmXdrlYmJb.SWb7VSF5I7nre6e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:17 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_102"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:17 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:17 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:17.538826' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "admin"]]  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_27@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (36.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:17 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_27@example.jp"], ["encrypted_password", "$2a$04$CBm2rFB9Y7Lq/rslrid/X.tTbs5gEXwuDrYCew3a3Ea44O.QqXOwq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:17 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_27"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:17 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:19:17 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:17.594896' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 15ms (Views: 1.4ms | ActiveRecord: 0.6ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_28@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:17 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_28@example.jp"], ["encrypted_password", "$2a$04$1n.o4UlcNIX0OMATeLU0mu8np/13Yu9nXB7ey30.6Waa93suZJUw6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:17 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_28"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:17 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:19:17 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:17.653121' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 13ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 0.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_29@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:17 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_29@example.jp"], ["encrypted_password", "$2a$04$1e1pLS1Hi3IA4vT1aWdnD.re5RR9ICig4ICGh6uYjkVykaHI0sxqu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:17 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_29"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:17 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:19:17 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:17.697951' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 26ms (Views: 3.1ms | ActiveRecord: 0.5ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_30@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:17 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_30@example.jp"], ["encrypted_password", "$2a$04$IfBsSLYtWztTIydyGBNutevqIzK0QDM9YGUImkF9.TFDpvcPKmyzO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:17 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_30"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:17 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:19:17 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:17.746478' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 24ms (Views: 9.2ms | ActiveRecord: 0.5ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test", "parent_id"=>"2"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = 2 LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "user2"]]  (0.0ms) SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "user2"]]  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 404 Not Found in 14ms (Views: 1.3ms | ActiveRecord: 0.6ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test", "parent_id"=>"2"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 8ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 73ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_103@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (8.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:17 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_103@example.jp"], ["encrypted_password", "$2a$04$F52XRyUQri3j.jK0aH5sMO1lq4JqQ0Uk6qbvEjsLUrXFHd6wBCeDS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:17 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_103"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:17 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:17 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:17.968422' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"admin", "sender_id"=>"10", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 13ms (Views: 1.3ms | ActiveRecord: 0.6ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_104@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_104@example.jp"], ["encrypted_password", "$2a$04$sWLc9pddq0HNrqaSLF54buQyjMO9lKUi.21k1pp71icbugVoxB8qG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_104"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:18 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:18 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:18.074825' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"admin", "sender_id"=>"10", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 10ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_105@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (35.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_105@example.jp"], ["encrypted_password", "$2a$04$pXzCwMEwjZkrHyOz00Eqg.wIrHyvkxSsLNLCLOFMLe3MD25khCx9i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_105"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:18 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:18 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:18.154227' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 11ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (44.8ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_106@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (22.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_106@example.jp"], ["encrypted_password", "$2a$04$.TQMTrR1WbxHxThNV/oNteHXYns33pdAQSTqs9ZLmWU3nHJYz2egG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_106"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:18 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:18 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:18.300040' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 11ms (Views: 1.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_107@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_107@example.jp"], ["encrypted_password", "$2a$04$3UQTqFuYRx.7mQbaLF9FaeW3b84KsncxD2dkMYIN2hzItkruzhYBW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_107"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:18 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:18 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:18.339363' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"admin", "sender_id"=>"10", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.1ms | ActiveRecord: 0.6ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_108@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_108@example.jp"], ["encrypted_password", "$2a$04$CkjGmpRhPs97rGz2Q.2tnejPHFZojmB4ThZIt6bn8pfu0wmozeJ/m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_108"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:18 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:18 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:18.371604' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"admin", "sender_id"=>"10", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 64ms (Views: 1.0ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_109@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (44.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_109@example.jp"], ["encrypted_password", "$2a$04$J96lVG9shWwa9rGMRkNr0uDF/pRqNKvpo73QiiVzPoJNFJdXrpClW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_109"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:18 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:18 UTC +00:00], ["user_id", 10]]  (4.7ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:18.500405' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.8ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_110@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_110@example.jp"], ["encrypted_password", "$2a$04$ohUdN3YoycOf2zU21AjxY.SRS10SA7gaSxaMjXElYAfWZVO7Esp0e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_110"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:18 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:18 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:18.524835' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_111@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (27.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_111@example.jp"], ["encrypted_password", "$2a$04$zT2NymVVa7F0EDYK2feS7On8reIzyThwsoE4bORAN.vG6rtgleJWm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_111"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:18 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:18 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:18.569910' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"2"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.7ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_112@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_112@example.jp"], ["encrypted_password", "$2a$04$20iUBD0Bg9/IDEiXUZblv.ZdOzavF2/I8yL9SwQilgm0uG3cIGuZO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_112"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:18 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:18 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:18.635538' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_113@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (32.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_113@example.jp"], ["encrypted_password", "$2a$04$RG/W60mMm8NUsdofL6sTQOBdX2bg2u7caSVdAPZ3NFG2GolNBj5Vq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_113"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:18 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:18 UTC +00:00], ["user_id", 10]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:18.684914' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"admin", "sender_id"=>"10", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_114@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_114@example.jp"], ["encrypted_password", "$2a$04$TOxZDzvQPolE4OAkzbhw6OJYR6kwyUcKVc/an06M38.2DxQ.1FHAa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_114"]] SQL (0.5ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:18 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:18 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:18.704439' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"admin", "sender_id"=>"10", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_115@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (38.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_115@example.jp"], ["encrypted_password", "$2a$04$T2TjC4004oipM1PVX1LCVOyKWRogZtZ1iu62VUD3.G3PCRI3McJmy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_115"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:18 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:18 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:18.787080' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_116@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (46.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_116@example.jp"], ["encrypted_password", "$2a$04$ZyclsFTjuocElUpm3R0dhOSBLAZJJ2sLXGQEKpeZFoXBaJwiri.E2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_116"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:18 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:18 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:18.869827' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_117@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_117@example.jp"], ["encrypted_password", "$2a$04$N7KHtXesv6AXGc12.SQvPO58PXAvg2vJ03f9GHwb9ez2KEemZyWHS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:19:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_117"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:19:18 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:19:18 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:19:18.888210' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"2"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#destroy as HTML Parameters: {"id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 3 AND "messages"."id" = ? LIMIT 1 [["id", "2"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "messages" WHERE ("lft" > 3 AND "rgt" < 4) SQL (27.9ms) UPDATE "messages" SET "lft" = ("lft" - 2) WHERE "messages"."id" IN (SELECT "messages"."id" FROM "messages" WHERE ("lft" > 4) ORDER BY "lft") SQL (51.1ms) UPDATE "messages" SET "rgt" = ("rgt" - 2) WHERE "messages"."id" IN (SELECT "messages"."id" FROM "messages" WHERE ("rgt" > 4) ORDER BY "lft") SQL (0.1ms) DELETE FROM "messages" WHERE "messages"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/messages Completed 302 Found in 87ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.8ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms Fixture Delete (7.7ms) DELETE FROM "message_requests" Fixture Insert (0.2ms) INSERT INTO "message_requests" ("sender_id", "receiver_id", "message_template_id", "state", "created_at", "updated_at", "id") VALUES (1, 1, 1, 'pending', '2011-12-17 20:21:44', '2011-12-17 20:21:44', 980190962) Fixture Insert (0.1ms) INSERT INTO "message_requests" ("sender_id", "receiver_id", "message_template_id", "state", "created_at", "updated_at", "id") VALUES (1, 1, 1, 'pending', '2011-12-17 20:21:44', '2011-12-17 20:21:44', 298486374) Fixture Delete (1.4ms) DELETE FROM "message_templates" Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (1, 'reservation_accepted', 'Reservation accepted', 'Reservation accepted', 1, '2011-12-17 20:21:44', '2011-12-17 20:21:44') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (2, 'item_received', 'Item received', 'Item received', 2, '2011-12-17 20:21:44', '2011-12-17 20:21:44') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (3, 'reservation_expired_for_patron', 'Reservation expired', 'Reservation expired', 3, '2011-12-17 20:21:44', '2011-12-17 20:21:44') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (4, 'reservation_expired_for_library', 'Reservation expired', 'Reservation expired', 4, '2011-12-17 20:21:44', '2011-12-17 20:21:44') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (5, 'reservation_canceled_for_patron', 'Reservation canceled', 'Reservation canceled', 5, '2011-12-17 20:21:44', '2011-12-17 20:21:44') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (6, 'reservation_canceled_for_library', 'Reservation canceled', 'Reservation canceled', 6, '2011-12-17 20:21:44', '2011-12-17 20:21:44') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (7, 'recall_item', 'Recall item', 'Recall item', 7, '2011-12-17 20:21:44', '2011-12-17 20:21:44') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (8, 'recall_overdue_item', 'Recall overdue item', 'Recall overdue item', 8, '2011-12-17 20:21:44', '2011-12-17 20:21:44') Fixture Delete (0.3ms) DELETE FROM "messages" Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "read_at", "state", "lft", "rgt", "updated_at") VALUES (1, 3, 4, 'First Message', 'Abby, you get the first message', '2007-07-04 12:10:47.000000', '2011-12-14 20:21:44.000000', 'unread', 1, 2, '2011-12-17 20:21:44') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (2, 4, 3, 'RE: First Message', 'Thanks Dad! You are the coolest!', '2011-12-15 20:21:44.000000', 'unread', 3, 4, '2011-12-17 20:21:44') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (3, 3, 4, 'Second Message', 'Catie, you get the 2nd message', '2011-12-16 20:21:44.000000', 'unread', 5, 6, '2011-12-17 20:21:44') Fixture Insert (0.2ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (6, 4, 5, 'Dad!', 'He is sucha dork.', '2011-12-15 20:21:44.000000', 'unread', 7, 8, '2011-12-17 20:21:44') Fixture Delete (0.1ms) DELETE FROM "roles" Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Guest', 'Guest', 1, NULL, '2011-12-17 20:21:44', '2011-12-17 20:21:44') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('User', 'User', 2, NULL, '2011-12-17 20:21:44', '2011-12-17 20:21:44') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Librarian', 'Librarian', 3, NULL, '2011-12-17 20:21:44', '2011-12-17 20:21:44') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Administrator', 'Administrator', 4, NULL, '2011-12-17 20:21:44', '2011-12-17 20:21:44') Fixture Delete (0.1ms) DELETE FROM "user_groups" Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('(not specified)', '(not specified)', '2007-12-13 12:00:51.564542', 1, '', '2007-12-13 12:00:01.674976', 1) Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('User', 'User', '2007-12-22 18:14:56.836548', 2, '', '2007-12-22 18:14:40.173954', 2) Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('Faculty', 'Faculty', '2007-12-22 18:15:05.134351', 3, '', '2007-12-22 18:15:05.126457', 3) Fixture Delete (0.1ms) DELETE FROM "user_has_roles" Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (1, 4, '2011-12-17 20:21:44', '2011-12-17 20:21:44', 135138680) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (2, 3, '2011-12-17 20:21:44', '2011-12-17 20:21:44', 344583537) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (3, 2, '2011-12-17 20:21:44', '2011-12-17 20:21:44', 206669143) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (4, 3, '2011-12-17 20:21:44', '2011-12-17 20:21:44', 226540757) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (5, 2, '2011-12-17 20:21:44', '2011-12-17 20:21:44', 358143215) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (6, 2, '2011-12-17 20:21:44', '2011-12-17 20:21:44', 576709754) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (7, 2, '2011-12-17 20:21:44', '2011-12-17 20:21:44', 1010528733) Fixture Delete (0.2ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:16:30.163731', '$2a$10$vHohD1WflnTIqAa8zMkF9evwAgIZRw3XuR4d3bi29M.jph/MB/AJi', 2, 1, NULL, 'admin', 'tanabe@kamata.lib.teu.ac.jp', '2007-11-19 07:58:32.111941', 4) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 03:41:16.337474', '$2a$10$9O2VuTccN4gHq36ARg0QReSrb1D7WrBBhZZ759RM9moHbB0W5zCzS', 1, 2, NULL, 'librarian1', 'librarian1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:33.172441', 1) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', '$2a$10$JthS59A0BNkDOoFpCXM0V.GhhffKaoWKbzpPahYp/vTFrOyM7h/uW', 1, 3, NULL, 'user1', 'user1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:23.340575', '$2a$10$YmmTGrYQ1Ir6oc7wXnp.GuNeO1eYLoP3sv8wMSIrTdaGw2BPwRrpS', 1, 4, NULL, 'librarian2', '2008-01-18 03:24:04.222344', 1) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:44.711117', '$2a$10$i7UjJhLVrJM/J7qaTwW39OXw1NiwowUEbtNHVDV0sqMLjX9.UO9ca', 1, 5, NULL, 'user2', '2008-01-18 04:29:06.922728', 2) Fixture Insert (0.2ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 6, NULL, 'user3', 'user3@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 7, NULL, 'user4', 'user4@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_1@example.jp"], ["encrypted_password", "$2a$04$YdLRJcSubI/a.TLP96cay.olbQC6jcxnDdswwvaalFmdupl/68XWK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_1"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:45 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:21:45 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:45.359729' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Rendered /Users/kosuke/enju_message/app/views/message_requests/index.html.erb within layouts/application (3.2ms) Completed 200 OK in 115ms (Views: 88.0ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_1@example.jp"], ["encrypted_password", "$2a$04$tU6Kdn7zXM66aDCCnGdrFOG/Ikcpd2crs3Xh9PCrJPUSb2miCGFya"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_1"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:45 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:21:45 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:45.559035' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 200 OK in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (42.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_1@example.jp"], ["encrypted_password", "$2a$04$1paf1M/1QrkKmgeDaSQoaui9hFs5mfWqusl04nMDiD1saR9a48ykC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_1"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:45 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:45 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:45.651173' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 14ms (Views: 5.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "message_requests" WHERE ('t'='f') Processing by MessageRequestsController#index as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 44ms  (0.1ms) SELECT COUNT(*) FROM "message_requests" WHERE ('t'='f') Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (59.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_2@example.jp"], ["encrypted_password", "$2a$04$MOdca7s965KrSuxp7cjO9.EHyNupw1JNpOhIqaMQfWhAa2pgb2W9G"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_2"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:45 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:21:45 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:45.788201' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_2@example.jp"], ["encrypted_password", "$2a$04$OkCGxQUOmZtk689OBsRIAeydCXEjvWtSO5yETpqStJnZ4Rs2Kshyu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_2"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:45 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:45 UTC +00:00], ["user_id", 11]]  (9.8ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:45.804715' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_3@example.jp"], ["encrypted_password", "$2a$04$w64cVlxBWa9H.uI5T7lm3eQZ/8W5Xf.MImhQ1QswRPyI85E9IAN6S"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_3"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:45 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:45 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:45.843455' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_1' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_1"], ["created_at", Sat, 17 Dec 2011 20:21:45 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_1"], ["title", "message_template_1"], ["updated_at", Sat, 17 Dec 2011 20:21:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_1' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:21:45 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:21:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.2ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 200 OK in 11ms (Views: 3.1ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_2@example.jp"], ["encrypted_password", "$2a$04$fntoYHvkfv.6OVjf2uy/tOY54A3aom0veV1P9qzympJ0VXR3Lahr2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_2"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:45 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:21:45 UTC +00:00], ["user_id", 10]]  (1.8ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:45.908930' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (22.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_4@example.jp"], ["encrypted_password", "$2a$04$5LXrbatKPVGT7ei8Z2Ad6uOyUZmUvZ48sOs5Zv/ah6torjBAshfGi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_4"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:45 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:45 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:45.945113' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_5@example.jp"], ["encrypted_password", "$2a$04$wEdT0pqO3xAnBqstC9yCuOMalOLlJEdVREyeT/swaUTsfZWVA2BSO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_5"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:45 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:45 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:45.957617' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_2' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_2"], ["created_at", Sat, 17 Dec 2011 20:21:45 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_2"], ["title", "message_template_2"], ["updated_at", Sat, 17 Dec 2011 20:21:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_2' AND "message_templates"."id" != 9) LIMIT 1 SQL (1.0ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:21:45 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:21:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 200 OK in 10ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_6@example.jp"], ["encrypted_password", "$2a$04$fZARijueV6RGAZkTBlOpc.HhjmmeY6odL/LRiSI8cFtmFp4s5PCzK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_6"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["user_id", 10]]  (21.4ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:46.023035' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (55.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_7@example.jp"], ["encrypted_password", "$2a$04$oLa.xC/rmKs8Rcj6WXlzN.MHWoEfjfOHEg4p5rRvsScc3qVVLAVuW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_7"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:46.111788' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_8@example.jp"], ["encrypted_password", "$2a$04$g6QUQiYMEp4BodjDycVVg.tksIpwyu4JccEp6jBbBZw0c4EIgRnSu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_8"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:46.125105' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_3' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_3"], ["created_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_3"], ["title", "message_template_3"], ["updated_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_3' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 25ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (54.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_9@example.jp"], ["encrypted_password", "$2a$04$BKP6RcIfvRc9SChgq.zwIeTgACQoV.624IFSCJ/wAfDdjjXILy/Vq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_9"]] SQL (22.4ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["user_id", 10]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:46.271529' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_10@example.jp"], ["encrypted_password", "$2a$04$bZVtoDP73PcRmKsSvTHsIupJykePwBRw3qNjP3Gc2O9iw9ZjNI95W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_10"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:46.284824' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_4' LIMIT 1 SQL (42.8ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_4"], ["created_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_4"], ["title", "message_template_4"], ["updated_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_4' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.6ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 9ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_3@example.jp"], ["encrypted_password", "$2a$04$XRNzIFgoAYwdVmemI.rgjuIBfLRC5XCtCmZTicYp8askUKgRDQo96"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_3"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["user_id", 10]]  (0.9ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:46.376088' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_11@example.jp"], ["encrypted_password", "$2a$04$iShNQevBoqvST.k5Q/3dL.8LRhMPnFmK1kmgH3fxO1rBi9QDDao5."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_11"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:46.390618' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_12@example.jp"], ["encrypted_password", "$2a$04$Qb9bRxKAHofB47qm/kMthesUjZ0K286D0jWsp1oITkA06zydi7mp6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_12"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:46.427725' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_5' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_5"], ["created_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_5"], ["title", "message_template_5"], ["updated_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_5' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 21ms (Views: 10.6ms | ActiveRecord: 0.6ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_3@example.jp"], ["encrypted_password", "$2a$04$PqTg00n8cllcQ0zDLXTK1eRGP8ZA89c76hAzMwGcoP9EIPTgw3B22"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_3"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["user_id", 10]]  (0.4ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:46.485411' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_13@example.jp"], ["encrypted_password", "$2a$04$pCWyWpKBTQwqZhgCUboU4uKZnWy06urqJVRdp1GzsHP1GuZyv9J8y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_13"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:46.503318' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_14@example.jp"], ["encrypted_password", "$2a$04$/Zn0OGJNpPZJSRtmJuM4IukfYPKBWLXkUt0NFwBMZFFaRxRQX0dM6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_14"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:46.516776' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_6' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_6"], ["created_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_6"], ["title", "message_template_6"], ["updated_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_6' AND "message_templates"."id" != 9) LIMIT 1 SQL (1.0ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 10ms (Views: 1.4ms | ActiveRecord: 0.6ms | Solr: 0.0ms) Role Load (0.4ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_15@example.jp"], ["encrypted_password", "$2a$04$FUt22ZIySUpMJxZloO09iOeLxSYeU5nPWyKb8qUCXeepFB51e5i7O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_15"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:46.614972' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_16@example.jp"], ["encrypted_password", "$2a$04$WL8PzQUQ9XmwxyJtId19NuVbslzfPXeo65YEraiezwDl2jMfbYwtW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_16"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:46.630982' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_17@example.jp"], ["encrypted_password", "$2a$04$4KsUo/XRoEtBJwODYXcVJOSU2hOJhDgstXhhUX1uPVEOk63rTWIrO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_17"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:46.645086' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_7' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_7"], ["created_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_7"], ["title", "message_template_7"], ["updated_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_7' AND "message_templates"."id" != 9) LIMIT 1 SQL (3.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 13ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (42.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_18@example.jp"], ["encrypted_password", "$2a$04$IvKL/Tj2qlywTMKiTEf.R.vRMSGTu8pfUF/ZlPA0nTE0OdTWKY822"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_18"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["user_id", 10]]  (0.8ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:46.740412' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (19.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_19@example.jp"], ["encrypted_password", "$2a$04$fXZSOaFWz56EceHXM4odY.ue6HTaQjm5yhvEvCNXlemwguJU3x8ei"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_19"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:46.772300' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_8' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_8"], ["created_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_8"], ["title", "message_template_8"], ["updated_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_8' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.9ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (6.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_20@example.jp"], ["encrypted_password", "$2a$04$FaR3Xa0arXUDpGuKI9qN5eeolYihjwGt3Tc8yWTmf2rcKHPq4oGam"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_20"]] SQL (1.4ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:46.817798' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_21@example.jp"], ["encrypted_password", "$2a$04$a0jvj1RhJp3RnD.CNv8RB.wrGqR9mxW7aXjIndFKsLq61R03caYXO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_21"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:46.830574' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_9' LIMIT 1 SQL (1.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_9"], ["created_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_9"], ["title", "message_template_9"], ["updated_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_9' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_22@example.jp"], ["encrypted_password", "$2a$04$gejEwbduugln2Ps9wnr2.OwidtFC/dEb9tSXzmqLbGailqgbU8YpW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_22"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:46.856276' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_23@example.jp"], ["encrypted_password", "$2a$04$DlD58S4MnhT22qSkSHV6y.ML8Ex/zf8VUpfGrJ4FUXeZKTgiyTLtC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_23"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:46.874258' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_10' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_10"], ["created_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_10"], ["title", "message_template_10"], ["updated_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (67.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_4@example.jp"], ["encrypted_password", "$2a$04$79T5Wgf7OQzGAVUMRmJQcuwHGmi2yOLzrTbG6agqK0fhWFti0Kmpq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_4"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:21:46 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:46.967278' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"12", "receiver_id"=>"13", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_10' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 12, "receiver_id" = 13, "message_template_id" = 10, "updated_at" = '2011-12-17 20:21:46.985835' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 20ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_24@example.jp"], ["encrypted_password", "$2a$04$MZ4hbwad6LMr5yw7QtF0BuNoLdvQ1B9l.Sd1q5EKPV6uF1NeyZ4z."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_24"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:47 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:47 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:47.007702' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_25@example.jp"], ["encrypted_password", "$2a$04$ztPw63m03UIzw0ayfq7geuHKZQHmMz9sKcpI.7Ec5F7V8KOngmC4S"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_25"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:47 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:47 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:47.021097' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_11' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_11"], ["created_at", Sat, 17 Dec 2011 20:21:47 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_11"], ["title", "message_template_11"], ["updated_at", Sat, 17 Dec 2011 20:21:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_11' AND "message_templates"."id" != 9) LIMIT 1 SQL (2.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:21:47 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:21:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_26@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_26@example.jp"], ["encrypted_password", "$2a$04$ZaFsqCs3UP791a6DtlxydOqPR2ogEzENsN9d/dPVLsvVRwe4feSHa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_26"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:47 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:47 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:47.049742' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_27@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_27@example.jp"], ["encrypted_password", "$2a$04$tUvY/PXPRRjOdPiE0PXNFObVyDFsTStmxl0PljR0DA7K0Co8.cSpG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_27"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:47 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:47 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:47.075960' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_12' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_12"], ["created_at", Sat, 17 Dec 2011 20:21:47 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_12"], ["title", "message_template_12"], ["updated_at", Sat, 17 Dec 2011 20:21:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_5@example.jp"], ["encrypted_password", "$2a$04$hdsNpavUtyZXftHQjgv3x..2IvssU8T8/2H2ZA/PNdo.BLgx.Wqqe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_5"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:47 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:21:47 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:47.094533' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"12", "receiver_id"=>"13", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_12' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 12, "receiver_id" = 13, "message_template_id" = 10, "updated_at" = '2011-12-17 20:21:47.192251' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 86ms Role Load (8.9ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_28@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (51.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_28@example.jp"], ["encrypted_password", "$2a$04$kft8BwyP.SI6TJywkpQb2ewb6SqLgsdATTaLaLqtm0wTwxRBfEo7m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_28"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:47 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:47 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:47.279351' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_29@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (25.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_29@example.jp"], ["encrypted_password", "$2a$04$LnS6Z0p7ZFl1p9i4vcFPv.m9dtp2ZqN.bc7rXiZUJ/Kd93DKmu3nW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_29"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:47 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:47 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:47.409691' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_13' LIMIT 1 SQL (215.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_13"], ["created_at", Sat, 17 Dec 2011 20:21:47 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_13"], ["title", "message_template_13"], ["updated_at", Sat, 17 Dec 2011 20:21:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_13' AND "message_templates"."id" != 9) LIMIT 1 SQL (157.3ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:21:47 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:21:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_30@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_30@example.jp"], ["encrypted_password", "$2a$04$UXfvp8E8ZhFmgBRxS78A8OTk1FsszmNUlRN1N3fgTP9w.V/nXxfQW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_30"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:47 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:47 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:47.807888' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_31@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_31@example.jp"], ["encrypted_password", "$2a$04$Wo1dxqhU4VSBUoNN6ShKiu.MI9F/ZYZ7urs2.KRrjRqO4r7Tq7vTy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_31"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:47 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:47 UTC +00:00], ["user_id", 13]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:47.824585' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_14' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_14"], ["created_at", Sat, 17 Dec 2011 20:21:47 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_14"], ["title", "message_template_14"], ["updated_at", Sat, 17 Dec 2011 20:21:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_6@example.jp"], ["encrypted_password", "$2a$04$N3TGmPkRu5OxqIOUlVEb7eLMwQ8SMm0dmHkknGbywKjR0OaPFhqvK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_6"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:47 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:21:47 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:47.915285' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_13' AND "message_templates"."id" != 9) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 17ms (Views: 1.4ms | ActiveRecord: 1.1ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_32@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (128.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_32@example.jp"], ["encrypted_password", "$2a$04$Rm9t93c/mKz.9YeMM4T7iexn0qomhfXdSfR2Qt08VDCy4VKErao0e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_32"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:48 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:48 UTC +00:00], ["user_id", 10]]  (21.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:48.243323' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_33@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_33@example.jp"], ["encrypted_password", "$2a$04$IzfWiD2rzsemblxGTyWxouw5fcyfwG4dNhtDRb4SLSq.OVAQPZa7q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_33"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:48 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:48 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:48.273233' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_15' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_15"], ["created_at", Sat, 17 Dec 2011 20:21:48 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_15"], ["title", "message_template_15"], ["updated_at", Sat, 17 Dec 2011 20:21:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_15' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:21:48 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:21:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_34@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_34@example.jp"], ["encrypted_password", "$2a$04$Yyk08YgKsHHsbee8t8sCEO/zaIEjx2UR5sU90W1bMDE5E7JJy1Wn6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_34"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:48 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:48 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:48.288441' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_35@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_35@example.jp"], ["encrypted_password", "$2a$04$NIyUv5pVShzPHI3j1INw.u4Jr4.DrUv1snenLvxiAIUQWEbbJh0oO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_35"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:48 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:48 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:48.296334' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_16' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_16"], ["created_at", Sat, 17 Dec 2011 20:21:48 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_16"], ["title", "message_template_16"], ["updated_at", Sat, 17 Dec 2011 20:21:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_4@example.jp"], ["encrypted_password", "$2a$04$98m74aB4vMQ/tSFcaOYn0OoED5oJ/5y5JFpT5OBirX1BtOywMtLk6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_4"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:48 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:21:48 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:48.307581' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"12", "receiver_id"=>"13", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_16' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 12, "receiver_id" = 13, "message_template_id" = 10, "updated_at" = '2011-12-17 20:21:48.317766' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 10ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_36@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (46.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_36@example.jp"], ["encrypted_password", "$2a$04$i8d4iNWPaGINWwWef/jZKeu1KjAj2DxYqBebRkTI4qCxatLyW169e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_36"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:48 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:48 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:48.488792' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_37@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (125.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_37@example.jp"], ["encrypted_password", "$2a$04$pvwoMEuk9pbKUfJIh7F2SOGWBm99KawT7U39zfyS7XlZ419jrZm8C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_37"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:48 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:48 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:48.653199' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_17' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_17"], ["created_at", Sat, 17 Dec 2011 20:21:48 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_17"], ["title", "message_template_17"], ["updated_at", Sat, 17 Dec 2011 20:21:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_17' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:21:48 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:21:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_38@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_38@example.jp"], ["encrypted_password", "$2a$04$T0U1r72qraOaUwVVa67vVu0Rp35DojUg2KBqkl76aoPpt9eHydjVS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_38"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:48 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:48 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:48.667780' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_39@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (31.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_39@example.jp"], ["encrypted_password", "$2a$04$bmH30Y30dD/sIeuOsbKoiOVitdbHpuDk0KQRwD.qujwvQkjTWN2UO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_39"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:48 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:48 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:48.706816' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_18' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_18"], ["created_at", Sat, 17 Dec 2011 20:21:48 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_18"], ["title", "message_template_18"], ["updated_at", Sat, 17 Dec 2011 20:21:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_5@example.jp"], ["encrypted_password", "$2a$04$4tTRmVrTBtcsSnfXdvoXx.4O87BldPEs2AV2FeXJycI93MGIo1flW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_5"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:48 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:21:48 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:48.717337' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"12", "receiver_id"=>"13", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_18' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 12, "receiver_id" = 13, "message_template_id" = 10, "updated_at" = '2011-12-17 20:21:48.728179' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 22ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_40@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_40@example.jp"], ["encrypted_password", "$2a$04$UmTj2RlgS3nDtKMvv.vuY.AsoY.2a.4X/Cp6fUd4/fRdJMCYOUyRy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_40"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:48 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:48 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:48.822604' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_41@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_41@example.jp"], ["encrypted_password", "$2a$04$SvHlFiTMjZMruT1O5dT3nOEkfRLYGBdt9NLMtgYMn2lV94DdtOlnO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_41"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:48 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:48 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:48.830517' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_19' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_19"], ["created_at", Sat, 17 Dec 2011 20:21:48 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_19"], ["title", "message_template_19"], ["updated_at", Sat, 17 Dec 2011 20:21:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_19' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:21:48 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:21:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_42@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_42@example.jp"], ["encrypted_password", "$2a$04$PU6WhIClWnvkKR94/EhNuuVM0j6c6Q5PVjtR01d1uXg/lTua32ab6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_42"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:48 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:48 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:48.844878' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_43@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_43@example.jp"], ["encrypted_password", "$2a$04$rESaS9XbrkxFLSZPiPutjOahZ7JOFuAjbq9wRVhHb0uHMYVrjOB3W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_43"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:48 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:48 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:48.852363' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_20' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_20"], ["created_at", Sat, 17 Dec 2011 20:21:48 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_20"], ["title", "message_template_20"], ["updated_at", Sat, 17 Dec 2011 20:21:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_6@example.jp"], ["encrypted_password", "$2a$04$c.QldPP/AQ7L/Je.P6VhX.hFlFuoxg5crN.fXpqsOf2sJb5zmw51S"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_6"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:48 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:21:48 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:48.862094' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_19' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 10ms (Views: 0.8ms | ActiveRecord: 0.6ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_44@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_44@example.jp"], ["encrypted_password", "$2a$04$5tOhiPsa/UmN9cLBQ47gl.YkwVuQI.f4WgdUVpexeyxHgXK8L2Hsa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_44"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:48 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:48 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:48.927295' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_45@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_45@example.jp"], ["encrypted_password", "$2a$04$aUE7DTQz4iPKXOJfrwalTeDoarp2PkbMfxgMfhdCaFcV0HFRd6Vuy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_45"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:48 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:48 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:48.935491' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_21' LIMIT 1 SQL (105.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_21"], ["created_at", Sat, 17 Dec 2011 20:21:48 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_21"], ["title", "message_template_21"], ["updated_at", Sat, 17 Dec 2011 20:21:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_21' AND "message_templates"."id" != 9) LIMIT 1 SQL (2.1ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_46@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_46@example.jp"], ["encrypted_password", "$2a$04$K2H01tmbh3nYXo1u00feNeAnUGvlqvq0xFgM0zksBpjtDSt/3/EPO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_46"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:49.060884' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_47@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (51.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_47@example.jp"], ["encrypted_password", "$2a$04$bmCOArMQVma8yqb7oQO1eu6fUUsEKzJ4tPFOUbyopwNWRT9uVwo/2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_47"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:49.122614' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_22' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_22"], ["created_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_22"], ["title", "message_template_22"], ["updated_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_48@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_48@example.jp"], ["encrypted_password", "$2a$04$//J.8bWnSu.1w7hurK8ZjutU2Gi.7F6qsDvAtOeYssPbGUiouX3hi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_48"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:49.139255' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"12", "receiver_id"=>"13", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1 Completed 403 Forbidden in 93ms (Views: 2.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (29.0ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_49@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (26.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_49@example.jp"], ["encrypted_password", "$2a$04$rHzxW2nD11eTDW7rtBA08.GyDu4mne4bXSE/zDvfrG3/UbbTiQBEC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_49"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:49.304614' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_50@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (22.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_50@example.jp"], ["encrypted_password", "$2a$04$jryrfRtqliGjYDYbStKRTOIgK3B7uDJ8JhEpaEcxVlVW4Vl/aQR46"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_50"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:49.338548' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_23' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_23"], ["created_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_23"], ["title", "message_template_23"], ["updated_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_23' AND "message_templates"."id" != 9) LIMIT 1 SQL (1.6ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_51@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_51@example.jp"], ["encrypted_password", "$2a$04$Fl3fyHkjATbZaYYB7vEg8OfJNA5iU1r52gFdHqKdvq0AL9YFZkJ3S"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_51"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:49.381288' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_52@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (7.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_52@example.jp"], ["encrypted_password", "$2a$04$mSDf8868RljZ0JbrOpfMiuAni2TUtx3DxFxgZT4iRsGu59RERcSUq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_52"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:49.399853' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_24' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_24"], ["created_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_24"], ["title", "message_template_24"], ["updated_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_53@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_53@example.jp"], ["encrypted_password", "$2a$04$.XPI40oP6PArRfeZtH/gH.DnD8pSiDobg1GuoUfTGfNXQwrbeEo.i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_53"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:49.419265' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"12", "receiver_id"=>"13", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_54@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (11.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_54@example.jp"], ["encrypted_password", "$2a$04$jdy2X16rH3DgqjdzutyTiehjhtSSQGD9.JWtt07TFbDGfw5AWMOO."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_54"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["user_id", 10]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:49.458804' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_55@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_55@example.jp"], ["encrypted_password", "$2a$04$1gP.zmm0ZliUSSrculAKHORSEdNGw8pNr0aIt32r5J8xeQJx1lnUe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_55"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:49.479637' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_25' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_25"], ["created_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_25"], ["title", "message_template_25"], ["updated_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_25' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.9ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_56@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_56@example.jp"], ["encrypted_password", "$2a$04$pVKNbHdbONhK51XEQfxeqOxPiALP8LBBdMgdO3rPZtGDKl66nM3tK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_56"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:49.517895' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_57@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (55.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_57@example.jp"], ["encrypted_password", "$2a$04$xMyMJo3L7/YTru0X/nz5SeanzrPUezFl8lRM8vQxquXtgqd4z0P7S"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_57"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:49.584959' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_26' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_26"], ["created_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_26"], ["title", "message_template_26"], ["updated_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_58@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_58@example.jp"], ["encrypted_password", "$2a$04$sTWuFHqwM.rjUhfMB9CJkeIlJGAjCdFSQ0R4QP92E5vWU9b3W.oD."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_58"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:49.602061' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_59@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_59@example.jp"], ["encrypted_password", "$2a$04$f7K1Xix27IPdpUgmCmSzQeReA5uonLCr6dNT6RE4DgAqfVP52nxnq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_59"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:49.654312' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_60@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (24.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_60@example.jp"], ["encrypted_password", "$2a$04$4OHfx47VaI03GulntFmouuJD.tTDNvm/LNI7j1l7Wrn6Iw7l/o/vO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_60"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["user_id", 11]]  (34.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:49.690107' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_27' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_27"], ["created_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_27"], ["title", "message_template_27"], ["updated_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_27' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_61@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_61@example.jp"], ["encrypted_password", "$2a$04$x03.EPFqs7o.o9FVi08lbOcb4BcZlbW6dqxeQGfHtiDUYMVmogz26"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_61"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:49.752033' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_62@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_62@example.jp"], ["encrypted_password", "$2a$04$c7TCg5LRcjRaZU8GNua5yuamLQDrMg0L2KidmRXnMwnvO81LFS4cq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_62"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:49.793587' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.5ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_28' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_28"], ["created_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_28"], ["title", "message_template_28"], ["updated_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"12", "receiver_id"=>"13", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_63@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_63@example.jp"], ["encrypted_password", "$2a$04$3k3gF2jyD6FiI0b80b.vhuUqNhRG/lJjtN/rcAx3AXlOAMg9lRNCS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_63"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:49.859873' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_64@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (17.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_64@example.jp"], ["encrypted_password", "$2a$04$lYy1.99hsBKRzSxUkyonuuOFFPLJNzCv3Mqsi4r5aGbBbZX/SMJJ."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_64"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:49.888460' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_29' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_29"], ["created_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_29"], ["title", "message_template_29"], ["updated_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_29' AND "message_templates"."id" != 9) LIMIT 1 SQL (25.0ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_65@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_65@example.jp"], ["encrypted_password", "$2a$04$X6mTEE0V/IL6RzlyxrZFX.VpplMZQ67z7rVTj5uBJK3uISaJfMoEy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_65"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:49.937370' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_66@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_66@example.jp"], ["encrypted_password", "$2a$04$mJB/3LgIou3DpPWVx.TONOaQprylOOUNaBzqfd6Hx/DGttsB2t9ze"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_66"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:50.006102' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_30' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_30"], ["created_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_30"], ["title", "message_template_30"], ["updated_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"12", "receiver_id"=>"13", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 59ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_67@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_67@example.jp"], ["encrypted_password", "$2a$04$R.vD2LgOHGHoHMPqkMgk5eNoju1HHn26BFrQxCk7E1HXT8quGBQ.m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_67"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:50.116137' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_68@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_68@example.jp"], ["encrypted_password", "$2a$04$Oi69on/S5u4.hJNwL.R.4ezqQGsn6x9vuC8bdGiUlJqdDkeRqc2y6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_68"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:50.128668' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_31' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_31"], ["created_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_31"], ["title", "message_template_31"], ["updated_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_31' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_69@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_69@example.jp"], ["encrypted_password", "$2a$04$KY7FIj34bPeUYQMqvWiCGuWttVcv4GHoFiVgYDfsBCaaQoBW7hCii"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_69"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:50.152444' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_70@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_70@example.jp"], ["encrypted_password", "$2a$04$Hh7NAFVc58O7vIfrLSgQpOzjx/vJc5CcpjYDMkiQyLngQWC0a9nLS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_70"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:50.165046' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_32' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_32"], ["created_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_32"], ["title", "message_template_32"], ["updated_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_71@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_71@example.jp"], ["encrypted_password", "$2a$04$ZzGjRBzNgcyh0Y8yQ4.meerB6kCHc8uG3rOmK4z9fe5WJflsYcKxi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_71"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:50.202858' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_72@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_72@example.jp"], ["encrypted_password", "$2a$04$lIs3OIbtEP5D0GhnKaSAz.QyDPGx585sy227hGD83NdoUnNvSGZxC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_72"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:50.215193' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_33' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_33"], ["created_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_33"], ["title", "message_template_33"], ["updated_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_33' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_7@example.jp"], ["encrypted_password", "$2a$04$.54KHVnOQpR.oZL8ShAfl.qMXYNUVmD1serF13KMJxZ8xKkTjYi82"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_7"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:50.241393' WHERE "roles"."id" = 4  (0.3ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 10ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_73@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_73@example.jp"], ["encrypted_password", "$2a$04$QHXxn2cXquRW8rOtF4olQuPkz8mzGvvO0.Gih8bZsMGC9Ped5dRjy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_73"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:50.280352' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_74@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_74@example.jp"], ["encrypted_password", "$2a$04$dd7nJZA43PSVXzxr8JbRz..B.hIuxHiA/9zgev1tU5a3K6tFFPsJG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_74"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:50.297842' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.4ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_34' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_34"], ["created_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_34"], ["title", "message_template_34"], ["updated_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_34' AND "message_templates"."id" != 9) LIMIT 1 SQL (1.9ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (9.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_8@example.jp"], ["encrypted_password", "$2a$04$MdbSsQhQIJOncbmm4U0k8eoV8Bcgc84IaByLLeBVJ78Z/ShdHdNZu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_8"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:50.333988' WHERE "roles"."id" = 4  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 14ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_75@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_75@example.jp"], ["encrypted_password", "$2a$04$xIDd347B5o.kbWwAHYU59OjasAIx10RXYaQvDCumB0cKWZYRFlyS2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_75"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:50.564676' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_76@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_76@example.jp"], ["encrypted_password", "$2a$04$ayfBJdLOaNkWOiEF8at.luy6A/lNp3y4ucceZaX4hjR/XhsGWNQgS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_76"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:50.578433' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_35' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_35"], ["created_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_35"], ["title", "message_template_35"], ["updated_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_35' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_7@example.jp"], ["encrypted_password", "$2a$04$mViXQ8todq3FHS.t/43LZ.olRgI858WiFNzgZfd67BD3xqLnL2nge"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_7"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:50.602852' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 9ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_77@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_77@example.jp"], ["encrypted_password", "$2a$04$LGX3BhX51mrhT6EdMj7PGO4zvjXdzTYrF6QxFTtEkCFzUv8AkMLKe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_77"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:50.681334' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_78@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_78@example.jp"], ["encrypted_password", "$2a$04$nh0Ucy1l8.CwxgNP20J4pu8xpCN.shH8WLZhY16hDb2jXAomfhHFa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_78"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:50.693581' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_36' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_36"], ["created_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_36"], ["title", "message_template_36"], ["updated_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_36' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_8@example.jp"], ["encrypted_password", "$2a$04$y6tHLUHvUnJ6SESdENlKku.6f8s6G1Op3XXYEgGMhsVmqGhjD/xWW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_8"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:50.716892' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 9ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_79@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_79@example.jp"], ["encrypted_password", "$2a$04$DdaCCA.Ugy8vKGxRUTgi/.k7eENxV91Keap9EWVm9659GillkChWu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_79"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:50.966785' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_80@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_80@example.jp"], ["encrypted_password", "$2a$04$piK2ylb/bIlIzvCWSgb47O/RnU4fPw3GrhYZNnFaQan2CpBl3/.wK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_80"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:50.981085' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_37' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_37"], ["created_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_37"], ["title", "message_template_37"], ["updated_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_37' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:21:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_81@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_81@example.jp"], ["encrypted_password", "$2a$04$P0heSLG.88K65Ci5H0ux/.vroMHK5sgw6x5u/WG5ozuxw0YLagF36"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_81"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:51 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:51 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:51.004954' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 63ms (Views: 1.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_82@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_82@example.jp"], ["encrypted_password", "$2a$04$L4zQo5xNLgRCs7Gv9zi7RemsQJUOvnYo857hccRyzY/dtYxMGmvfi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_82"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:51 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:51 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:51.111898' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_83@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_83@example.jp"], ["encrypted_password", "$2a$04$hHF6PzVhmuFWlqiw2CRqxO2.jTU8JqoYPuA3/Zfz42EoLddzzs0Qu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_83"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:51 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:51 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:51.125659' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_38' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_38"], ["created_at", Sat, 17 Dec 2011 20:21:51 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_38"], ["title", "message_template_38"], ["updated_at", Sat, 17 Dec 2011 20:21:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_38' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:21:51 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:21:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_84@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_84@example.jp"], ["encrypted_password", "$2a$04$vJ5TOMROorV55JSa0aghN.34TRpEIkXjZvjGGKMLpzfS7V.3i/2bK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_84"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:51 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:51 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:51.149623' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 13ms (Views: 3.8ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_85@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_85@example.jp"], ["encrypted_password", "$2a$04$qwqD/p9FvghVHfRoj7G1seexuSJvUHcB8EOaTPGMHJ.k2khPdn9Ie"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_85"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:51 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:51 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:51.213410' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_86@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_86@example.jp"], ["encrypted_password", "$2a$04$o0Ad4CtqOiTQ0e5YL.kdnOeB3CxhqjyvEcVO4ea2XX5OsR3rB8yCW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_86"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:51 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:51 UTC +00:00], ["user_id", 11]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:51.227135' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_39' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_39"], ["created_at", Sat, 17 Dec 2011 20:21:51 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_39"], ["title", "message_template_39"], ["updated_at", Sat, 17 Dec 2011 20:21:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_39' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:21:51 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:21:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.2ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_87@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_87@example.jp"], ["encrypted_password", "$2a$04$NMXkYi4IMfjMonAlh9WGGuxOanwXphl82D45gbXJvCTiV6RDWH5Pu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_87"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:51 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:51 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:51.288902' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_88@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (8.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_88@example.jp"], ["encrypted_password", "$2a$04$Ed.KcixWCGaTc24wYAxDieGrgRhvyLbz08PclEfM5wPrymFpnrG9G"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_88"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:51 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:51 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:51.309701' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_40' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_40"], ["created_at", Sat, 17 Dec 2011 20:21:51 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_40"], ["title", "message_template_40"], ["updated_at", Sat, 17 Dec 2011 20:21:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_40' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:21:51 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:21:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 8ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_41' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_41"], ["created_at", Sat, 17 Dec 2011 20:21:51 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_41"], ["title", "message_template_41"], ["updated_at", Sat, 17 Dec 2011 20:21:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.2ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_9@example.jp"], ["encrypted_password", "$2a$04$dXkrayFdSECGapH.WAHqNegLjKfAjKmS89Z.iQWPk4r3UM21bKgba"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_9"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:51 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:21:51 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:51.378837' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 200 OK in 81ms (Views: 71.6ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position LIMIT 10 OFFSET 0  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_42' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_42"], ["created_at", Sat, 17 Dec 2011 20:21:51 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_42"], ["title", "message_template_42"], ["updated_at", Sat, 17 Dec 2011 20:21:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_9@example.jp"], ["encrypted_password", "$2a$04$j6vx3YVapYMaxMYha9r6WeOOMqgbOo8a29PCCjYKlJlYTA8BcKWHy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_9"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:51 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:21:51 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:51.493441' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 200 OK in 9ms (Views: 1.5ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position LIMIT 10 OFFSET 0  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_43' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_43"], ["created_at", Sat, 17 Dec 2011 20:21:51 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_43"], ["title", "message_template_43"], ["updated_at", Sat, 17 Dec 2011 20:21:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_89@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_89@example.jp"], ["encrypted_password", "$2a$04$zAEzxjazgBPbkjjBVPKXn.WrbiiSuUPA7ELlTZh5s0OLgESw8utsW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_89"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:51 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:51 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:51.534971' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.4ms) SELECT COUNT(*) FROM "message_templates" WHERE ('t'='f')  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_44' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_44"], ["created_at", Sat, 17 Dec 2011 20:21:51 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_44"], ["title", "message_template_44"], ["updated_at", Sat, 17 Dec 2011 20:21:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms  (0.1ms) SELECT COUNT(*) FROM "message_templates" WHERE ('t'='f') Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_10@example.jp"], ["encrypted_password", "$2a$04$qafAyc7v073qu8B6egYj4OBUEYTcPTx50DR5wp4HBOOo5abc3yR.G"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_10"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:51 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:21:51 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:51.615983' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_45' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_45"], ["created_at", Sat, 17 Dec 2011 20:21:51 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_45"], ["title", "message_template_45"], ["updated_at", Sat, 17 Dec 2011 20:21:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 200 OK in 12ms (Views: 4.5ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_10@example.jp"], ["encrypted_password", "$2a$04$/JOyeKrKvszP2nekjnL3P.9QTBO5Da8rxX1tvCxBHKvfSx1XJVr5W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_10"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:51 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:21:51 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:51.671752' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_46' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_46"], ["created_at", Sat, 17 Dec 2011 20:21:51 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_46"], ["title", "message_template_46"], ["updated_at", Sat, 17 Dec 2011 20:21:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 200 OK in 9ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_90@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_90@example.jp"], ["encrypted_password", "$2a$04$uSih6s123z.AtdnBd3q5QO2gi27MxbmeoC8qhbZJW8g.yP/s2IpvC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_90"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:51 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:51 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:51.707571' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_47' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_47"], ["created_at", Sat, 17 Dec 2011 20:21:51 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_47"], ["title", "message_template_47"], ["updated_at", Sat, 17 Dec 2011 20:21:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_48' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_48"], ["created_at", Sat, 17 Dec 2011 20:21:51 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_48"], ["title", "message_template_48"], ["updated_at", Sat, 17 Dec 2011 20:21:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (3.8ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_11@example.jp"], ["encrypted_password", "$2a$04$VUN/779CiH2X/31f/yctfePNbo.gOU6rzmTaIDq.AuF8NBbDHxKhW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_11"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:51 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:21:51 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:51.814202' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 68ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:52 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_11@example.jp"], ["encrypted_password", "$2a$04$hd24QoF13YaBMs8XeY/qTORsyV4l4QWj2jYC/Zzgp4vLXDGOklbrq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:52 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_11"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:52 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:21:52 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:52.046364' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_91@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:52 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_91@example.jp"], ["encrypted_password", "$2a$04$ZOc61n5yGaQJse0aGM1ZKOgsUDwnaUMlcqJhKJl6.vlW33CioP/t2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:52 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_91"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:52 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:52 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:52.089586' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.5ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Processing by MessageTemplatesController#new as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 5ms MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:52 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_12@example.jp"], ["encrypted_password", "$2a$04$qjvuHu0PdC/d1r9.anY6o.aLFJ0Js.llhT39GmOv4tcFOyWmlp.4i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:52 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_12"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:52 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:21:52 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:52.154754' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_49' LIMIT 1 SQL (2.0ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_49"], ["created_at", Sat, 17 Dec 2011 20:21:52 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_49"], ["title", "message_template_49"], ["updated_at", Sat, 17 Dec 2011 20:21:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 200 OK in 13ms (Views: 4.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:52 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_12@example.jp"], ["encrypted_password", "$2a$04$Cy/V06UhMLodoYRKCTFXGOgkIxJgJLEOWTk1FP6UXtPHHboenIwTq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:52 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_12"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:52 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:21:52 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:52.194423' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_50' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_50"], ["created_at", Sat, 17 Dec 2011 20:21:52 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_50"], ["title", "message_template_50"], ["updated_at", Sat, 17 Dec 2011 20:21:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 2.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_92@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:52 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_92@example.jp"], ["encrypted_password", "$2a$04$au7XEasOZspIbDbxq3rV1.jiTA5sEXuiZYg20lL.Rj/lIiF9i2c72"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:52 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_92"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:52 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:52 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:52.264119' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_51' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_51"], ["created_at", Sat, 17 Dec 2011 20:21:52 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_51"], ["title", "message_template_51"], ["updated_at", Sat, 17 Dec 2011 20:21:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_52' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_52"], ["created_at", Sat, 17 Dec 2011 20:21:52 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_52"], ["title", "message_template_52"], ["updated_at", Sat, 17 Dec 2011 20:21:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:52 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_13@example.jp"], ["encrypted_password", "$2a$04$o1x0IRdJQciM8X5.X2iXNOnaYHz85zQKSo8vwBGQo55nFcKujOn5S"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:52 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_13"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:52 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:21:52 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:52.562161' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_53", "status"=>"message_template_53", "body"=>"message_template_53"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 71ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_53' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:52 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_14@example.jp"], ["encrypted_password", "$2a$04$tLpYnamplXvMb.86l2EXmeBrMzEmdBdaAXa2xUBmsXAPqf7L4we1u"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:52 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_14"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:52 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:21:52 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:52.959629' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_54", "status"=>"message_template_54", "body"=>"message_template_54"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 61ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_15@example.jp"], ["encrypted_password", "$2a$04$NNBNT9pP.qvGe34S8tp4fu0bC5qRQZHphzwd8dAfE6ncb9ur7EeUi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_15"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:53 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:21:53 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:53.055764' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_16@example.jp"], ["encrypted_password", "$2a$04$8JKrUVMK5.ZXdJnNmDmk2OAAbuu2K/oHUNx5wNk3Z5yZshTeAhfM6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_16"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:53 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:21:53 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:53.108978' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_13@example.jp"], ["encrypted_password", "$2a$04$ceeEuuVTHr/6h4U4D6k8JO3ta9j0kc7Dodajz.V8Myfl3bhIAbade"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_13"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:53 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:21:53 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:53.246338' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_57", "status"=>"message_template_57", "body"=>"message_template_57"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_57' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_14@example.jp"], ["encrypted_password", "$2a$04$beEksyUOQKESCgYK6.ghDOa8kjLRBx22Xm4Uwoy/2j01kUC8xIPXO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_14"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:53 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:21:53 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:53.274667' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_58", "status"=>"message_template_58", "body"=>"message_template_58"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_15@example.jp"], ["encrypted_password", "$2a$04$1kDzqBb7jo4t8xzPPsuNCuuNK/D9fZiwGE9Kzg5eVvB8Bn9.ZK16O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_15"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:53 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:21:53 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:53.316159' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_16@example.jp"], ["encrypted_password", "$2a$04$xHPv9wJbBdbG3BBniQ79GeIyM0MVJPrV/FQdraQwf73FkjDU84LCy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_16"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:53 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:21:53 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:53.446173' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_93@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (35.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_93@example.jp"], ["encrypted_password", "$2a$04$HhKLAoHzntkX3eEFvisNgeWvE1Qj4pSj4RfdHO1INR4hTQkseLQR."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_93"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:53 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:53 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:53.549706' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_61", "status"=>"message_template_61", "body"=>"message_template_61"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_61' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_94@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_94@example.jp"], ["encrypted_password", "$2a$04$KE0udusmwg0Aga7Mp767u.PnCbknZGj50iZkok4KqvYfzKNGZ76xi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_94"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:53 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:53 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:53.597689' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_62", "status"=>"message_template_62", "body"=>"message_template_62"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_95@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_95@example.jp"], ["encrypted_password", "$2a$04$Tqp2bhPrStS54ALcQP93CuYN.PfWzYxSQ2pY3yVZeyeB7VX.s1KJ."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_95"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:53 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:53 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:53.625885' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.8ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_96@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_96@example.jp"], ["encrypted_password", "$2a$04$tNjFJFKAMV2rqHtmsofHbeImDf0b5aq15zho51WvXhHrp.8hKDGq6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_96"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:53 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:53 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:53.655298' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_65", "status"=>"message_template_65", "body"=>"message_template_65"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 3ms MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_65' LIMIT 1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_66", "status"=>"message_template_66", "body"=>"message_template_66"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 3ms MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 3ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_69' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_69"], ["created_at", Sat, 17 Dec 2011 20:21:53 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_69"], ["title", "message_template_69"], ["updated_at", Sat, 17 Dec 2011 20:21:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_17@example.jp"], ["encrypted_password", "$2a$04$3p56Oj3tzo7aGeAEQUOVzOL06Oipa2FYx/IiGVE9KZWWBW7ohLzdS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_17"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:53 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:21:53 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:53.723827' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_70", "status"=>"message_template_70", "body"=>"message_template_70"}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_70' AND "message_templates"."id" != 9) LIMIT 1  (0.1ms) UPDATE "message_templates" SET "title" = 'message_template_70', "status" = 'message_template_70', "body" = 'message_template_70', "updated_at" = '2011-12-17 20:21:53.750393' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates/9 Completed 302 Found in 66ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_71' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_71"], ["created_at", Sat, 17 Dec 2011 20:21:53 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_71"], ["title", "message_template_71"], ["updated_at", Sat, 17 Dec 2011 20:21:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_18@example.jp"], ["encrypted_password", "$2a$04$.XQyczNgyTFsvgR941rNxuVFudcOLICifiK79rq4RkX63Zbbnobki"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_18"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:53 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:21:53 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:53.804696' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_72", "status"=>"message_template_72", "body"=>"message_template_72"}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_72' AND "message_templates"."id" != 9) LIMIT 1  (0.1ms) UPDATE "message_templates" SET "title" = 'message_template_72', "status" = 'message_template_72', "body" = 'message_template_72', "updated_at" = '2011-12-17 20:21:53.813354' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates/9 Completed 302 Found in 8ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_73' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_73"], ["created_at", Sat, 17 Dec 2011 20:21:53 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_73"], ["title", "message_template_73"], ["updated_at", Sat, 17 Dec 2011 20:21:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_19@example.jp"], ["encrypted_password", "$2a$04$G2exFzeNSKu.nBSlrCqF1eue5W59DqhXcHcd6GiQI0bnZdebHIJ5."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_19"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:53 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:21:53 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:53.835544' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_74", "status"=>"message_template_74", "body"=>"message_template_74"}, "position"=>"2", "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "message_templates" SET "position" = 0, "updated_at" = '2011-12-17 20:21:53.842355' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "message_templates" SET position = (position - 1) WHERE "message_templates"."id" IN (SELECT "message_templates"."id" FROM "message_templates" WHERE (1 = 1 AND position > 9) ORDER BY position) SQL (0.2ms) UPDATE "message_templates" SET position = (position + 1) WHERE "message_templates"."id" IN (SELECT "message_templates"."id" FROM "message_templates" WHERE (1 = 1 AND position >= 2) ORDER BY position)  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "message_templates" SET "position" = 2, "updated_at" = '2011-12-17 20:21:53.844002' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates Completed 302 Found in 7ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_75' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_75"], ["created_at", Sat, 17 Dec 2011 20:21:53 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_75"], ["title", "message_template_75"], ["updated_at", Sat, 17 Dec 2011 20:21:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_20@example.jp"], ["encrypted_password", "$2a$04$8y/I.Flb1JuhgCZaH.C5ceCEklYgUKnDxg4lbx28OGK7FA3s8qBwu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_20"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:53 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:21:53 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:53.871993' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = '' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 0.7ms | ActiveRecord: 0.0ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_77' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_77"], ["created_at", Sat, 17 Dec 2011 20:21:53 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_77"], ["title", "message_template_77"], ["updated_at", Sat, 17 Dec 2011 20:21:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_17@example.jp"], ["encrypted_password", "$2a$04$A17babkCqewSRjru7.yL6.RMyhmqHO4snR7nK5/6VRTA44D3wboA6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_17"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:53 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:21:53 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:53.902490' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_78", "status"=>"message_template_78", "body"=>"message_template_78"}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_79' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_79"], ["created_at", Sat, 17 Dec 2011 20:21:53 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_79"], ["title", "message_template_79"], ["updated_at", Sat, 17 Dec 2011 20:21:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_18@example.jp"], ["encrypted_password", "$2a$04$aWeijlDREPX3eYMB/0GYhuRGDcAdtKphZ90RsrHfU.Kp1py4uv0J6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_18"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:53 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:21:53 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:53.955277' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_80", "status"=>"message_template_80", "body"=>"message_template_80"}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_81' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_81"], ["created_at", Sat, 17 Dec 2011 20:21:54 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_81"], ["title", "message_template_81"], ["updated_at", Sat, 17 Dec 2011 20:21:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_19@example.jp"], ["encrypted_password", "$2a$04$jybkS2MlaaUmpPY2xHTKEumfTlsulp9doYmzaCesUY7ZaFeDRCiZq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_19"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:54 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:21:54 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:54.010055' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_83' LIMIT 1 SQL (51.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_83"], ["created_at", Sat, 17 Dec 2011 20:21:54 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_83"], ["title", "message_template_83"], ["updated_at", Sat, 17 Dec 2011 20:21:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_97@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_97@example.jp"], ["encrypted_password", "$2a$04$nadABJHzuYtFdivROD7J6O30LhnxrsEVKxPDCY4HtPtVTo6Won/R."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_97"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:54 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:54 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:54.123782' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_84", "status"=>"message_template_84", "body"=>"message_template_84"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_85' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_85"], ["created_at", Sat, 17 Dec 2011 20:21:54 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_85"], ["title", "message_template_85"], ["updated_at", Sat, 17 Dec 2011 20:21:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_98@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_98@example.jp"], ["encrypted_password", "$2a$04$TIRNdrIf3Uii21hvXoxym.REPTTH5grTsrht1CCDz1gLV1KK/TcYK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_98"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:54 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:54 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:54.173081' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_86", "status"=>"message_template_86", "body"=>"message_template_86"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_87' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_87"], ["created_at", Sat, 17 Dec 2011 20:21:54 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_87"], ["title", "message_template_87"], ["updated_at", Sat, 17 Dec 2011 20:21:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_99@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_99@example.jp"], ["encrypted_password", "$2a$04$GMryvZ2IMd8WE6FSAhBUi..ij/fxHHsu6ZCcKL.URm8W4Nvuj0O3C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_99"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:54 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:54 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:54.223650' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_89' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_89"], ["created_at", Sat, 17 Dec 2011 20:21:54 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_89"], ["title", "message_template_89"], ["updated_at", Sat, 17 Dec 2011 20:21:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_90", "status"=>"message_template_90", "body"=>"message_template_90"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_91' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_91"], ["created_at", Sat, 17 Dec 2011 20:21:54 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_91"], ["title", "message_template_91"], ["updated_at", Sat, 17 Dec 2011 20:21:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_92", "status"=>"message_template_92", "body"=>"message_template_92"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_93' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_93"], ["created_at", Sat, 17 Dec 2011 20:21:54 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_93"], ["title", "message_template_93"], ["updated_at", Sat, 17 Dec 2011 20:21:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_95' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_95"], ["created_at", Sat, 17 Dec 2011 20:21:54 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_95"], ["title", "message_template_95"], ["updated_at", Sat, 17 Dec 2011 20:21:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_21@example.jp"], ["encrypted_password", "$2a$04$mlD.uz7cikm3FROUb.4tX.3UN2vwo8Gms6Sr3hDKVdAoDl1ve/MJS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_21"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:54 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:21:54 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:54.694446' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_96' LIMIT 1 SQL (1.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_96"], ["created_at", Sat, 17 Dec 2011 20:21:54 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_96"], ["title", "message_template_96"], ["updated_at", Sat, 17 Dec 2011 20:21:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_22@example.jp"], ["encrypted_password", "$2a$04$gN2GuUbbGzBmBls.hOxbEuoJcr8vsiJtwuHtlSCR6KxvcuF0s99Re"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_22"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:54 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:21:54 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:54.749974' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.5ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_97' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_97"], ["created_at", Sat, 17 Dec 2011 20:21:54 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_97"], ["title", "message_template_97"], ["updated_at", Sat, 17 Dec 2011 20:21:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (59.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_20@example.jp"], ["encrypted_password", "$2a$04$Kk/sB7u000zvkMboqqXEquEkQhnDUtlcVjBIX0wXzKvL2YMMBYD92"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_20"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:54 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:21:54 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:54.853813' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_98' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_98"], ["created_at", Sat, 17 Dec 2011 20:21:54 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_98"], ["title", "message_template_98"], ["updated_at", Sat, 17 Dec 2011 20:21:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_21@example.jp"], ["encrypted_password", "$2a$04$9ZJLBVThc8Ukj0l1ij1of.Wm2J26AqhTeYzP.MQzSlg2W2RBIq2L6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_21"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:54 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:21:54 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:54.891031' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_99' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_99"], ["created_at", Sat, 17 Dec 2011 20:21:54 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_99"], ["title", "message_template_99"], ["updated_at", Sat, 17 Dec 2011 20:21:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_100@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_100@example.jp"], ["encrypted_password", "$2a$04$2.5Sj5..zK.f9ji3N9YnZe/ygnRzH2IPm0NXrKYgS7rN0vCzrLQdm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_100"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:54 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:54 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:54.976632' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.4ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_100' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_100"], ["created_at", Sat, 17 Dec 2011 20:21:55 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_100"], ["title", "message_template_100"], ["updated_at", Sat, 17 Dec 2011 20:21:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.4ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_101@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:55 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_101@example.jp"], ["encrypted_password", "$2a$04$.7UAeLebwxjnL0ERL/r35ujtGQWelyTAP3yF20Lqyn9zwUPGD5EM6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:55 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_101"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:55 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:55 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:55.024337' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_101' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_101"], ["created_at", Sat, 17 Dec 2011 20:21:55 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_101"], ["title", "message_template_101"], ["updated_at", Sat, 17 Dec 2011 20:21:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_102' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_102"], ["created_at", Sat, 17 Dec 2011 20:21:55 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_102"], ["title", "message_template_102"], ["updated_at", Sat, 17 Dec 2011 20:21:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 14ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (37.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_23@example.jp"], ["encrypted_password", "$2a$04$rQTKNIG7Xa8lgGFNpoij6umbO.wroOSw5nA.iiBySgpexcvV4QQMe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_23"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:56 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:21:56 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:56.473162' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 SOLR Request (3.4ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A10&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (11.6ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A10&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 118ms (Views: 7.3ms | ActiveRecord: 0.4ms | Solr: 15.1ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_24@example.jp"], ["encrypted_password", "$2a$04$HLYRl6/z/CRSRhzH4tQZN.JwCwyOQ6gRkkPZia4cRVQr3vitbkaUW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_24"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:56 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:21:56 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:56.653808' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML Parameters: {"user_id"=>"admin_24"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'admin_24' LIMIT 1 SOLR Request (6.7ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A10&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (4.3ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A10&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 21ms (Views: 1.5ms | ActiveRecord: 0.4ms | Solr: 11.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_22@example.jp"], ["encrypted_password", "$2a$04$10n0LpCB/gczPGI0OpdHQeu.C3HJUM9yTiyK2lJeead3DL3VtsZlW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_22"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:56 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:21:56 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:56.717870' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML User Load (0.8ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 SOLR Request (8.8ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A10&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (14.3ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A10&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 36ms (Views: 1.4ms | ActiveRecord: 0.9ms | Solr: 23.2ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_23@example.jp"], ["encrypted_password", "$2a$04$SOk7/nTAkdEK/TTEvz3UyOnc/kgBNKu2qKdxlS0KU.2NmRXF6bAja"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_23"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:56 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:21:56 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:56.809184' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML Parameters: {"user_id"=>"librarian_23"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'librarian_23' LIMIT 1 SOLR Request (7.5ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A10&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (12.1ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A10&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 63ms (Views: 4.9ms | ActiveRecord: 0.4ms | Solr: 19.7ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 SOLR Request (7.0ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (9.0ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IN (2) Completed 200 OK in 46ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 16.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML Parameters: {"query"=>"you"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 SOLR Request (12.2ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&q=you&fl=%2A+score&qf=body_text+subject_text&defType=dismax&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (3.7ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&q=you&fl=%2A+score&qf=body_text+subject_text&defType=dismax&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IN (2) Completed 200 OK in 29ms (Views: 1.5ms | ActiveRecord: 0.5ms | Solr: 15.9ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 SOLR Request (10.1ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (59.0ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IN (2) Completed 200 OK in 82ms (Views: 1.4ms | ActiveRecord: 0.5ms | Solr: 69.1ms) Processing by MessagesController#index as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 50ms (Views: 4.0ms | ActiveRecord: 0.6ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.2ms | ActiveRecord: 0.5ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#show as HTML Parameters: {"id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 3 AND "messages"."id" = ? LIMIT 1 [["id", "2"]]  (0.0ms) SAVEPOINT active_record_1  (1.8ms) UPDATE "messages" SET "read_at" = '2011-12-17 20:21:57.207741', "updated_at" = '2011-12-17 20:21:57.208134' WHERE "messages"."id" = 2 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1  (6.5ms) UPDATE "messages" SET "state" = 'read', "updated_at" = '2011-12-17 20:21:57.217910' WHERE "messages"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 45ms (Views: 9.1ms | ActiveRecord: 9.2ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_25@example.jp"], ["encrypted_password", "$2a$04$R8MvPHrnwvfP8J2h9sB32ONqntNU4V8nIBCPycy3nNAAPAhf6JHqe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:57 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_25"]] SQL (4.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:57 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:21:57 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:57.357617' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 Completed 200 OK in 27ms (Views: 12.1ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (12.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_24@example.jp"], ["encrypted_password", "$2a$04$/MsriwOOmGEUAll8RrMtGO5fY72qG0bArD.qRbtw.Yt0OrHxE5rsW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:57 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_24"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:57 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:21:57 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:57.424036' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 Completed 200 OK in 13ms (Views: 1.4ms | ActiveRecord: 0.5ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.5ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML Parameters: {"parent_id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 14ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML Parameters: {"parent_id"=>"2"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 13ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Processing by MessagesController#new as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_26@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_26@example.jp"], ["encrypted_password", "$2a$04$oQcx/VK2G2ElhR1khW3OM.hp.t9xbQyWGS1uDXbDcouimYg4YFG8u"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:57 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_26"]] SQL (5.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:57 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:21:57 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:57.554289' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 10 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 22ms (Views: 1.2ms | ActiveRecord: 0.6ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (14.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_25@example.jp"], ["encrypted_password", "$2a$04$SlaT5i0hfTjE/5/d3XQ8XOkjU4ZesQGmrAo6pepnSpieO7NL4Htqm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:57 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_25"]] SQL (1.9ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:57 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:21:57 UTC +00:00], ["user_id", 10]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:57.614244' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 14ms (Views: 1.5ms | ActiveRecord: 0.6ms | Solr: 0.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 14ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (1.4ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_102@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_102@example.jp"], ["encrypted_password", "$2a$04$F1.uQWm7q0eBv8XHtc/7DuUuSfR7lIzMSaCRYDPRvtsLTQX5shUBO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:57 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_102"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:57 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:57 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:57.751444' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_103@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_103@example.jp"], ["encrypted_password", "$2a$04$HXUXe09xeUaIvcveKjk/M.Jgy2UKSO.DVThEO3.UX2JZVRvXKnhrW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:57 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_103"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:57 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:57 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:57.764932' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user_102' LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" ORDER BY "rgt" desc LIMIT 1 SQL (0.9ms) INSERT INTO "messages" ("body", "created_at", "lft", "message_request_id", "parent_id", "read_at", "receiver_id", "rgt", "sender_id", "state", "subject", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "new message body is really short"], ["created_at", Sat, 17 Dec 2011 20:21:57 UTC +00:00], ["lft", 9], ["message_request_id", nil], ["parent_id", nil], ["read_at", nil], ["receiver_id", 10], ["rgt", 10], ["sender_id", 11], ["state", "unread"], ["subject", "new message"], ["updated_at", Sat, 17 Dec 2011 20:21:57 UTC +00:00]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 User Load (9.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_27@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_27@example.jp"], ["encrypted_password", "$2a$04$yrLLG3glxNcEZg0bxrzM/elrRRc6wCdp4tA9XyZFCQh9QG2OCTW2y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:57 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_27"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:57 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:21:57 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:57.803359' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 14ms (Views: 1.2ms | ActiveRecord: 0.6ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_28@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_28@example.jp"], ["encrypted_password", "$2a$04$0QPMqG0QNW7uE/6n4J9eXe7WRxI8sKBN1TU2YPoBji5iORf2vQXC."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:57 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_28"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:57 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:21:57 UTC +00:00], ["user_id", 10]]  (0.5ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:57.840448' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 14ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 0.0ms) User Load (3.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_29@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (22.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_29@example.jp"], ["encrypted_password", "$2a$04$kZyIYvBH5a2NztVWT4fIguvH6J59mKssFeQIf1mUQ8dig7qz20TUK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:57 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_29"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:57 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:21:57 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:57.904886' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 13ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_30@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (35.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_30@example.jp"], ["encrypted_password", "$2a$04$0oJqIV2/E3SUosZD2n2/ruUQKdQ9pB3K0eYGWYnCkMwfWAksM/eMG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:57 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_30"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:57 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:21:57 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:57.982390' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 13ms (Views: 1.2ms | ActiveRecord: 0.5ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test", "parent_id"=>"2"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user2' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user2' LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" ORDER BY "rgt" desc LIMIT 1 SQL (19.7ms) INSERT INTO "messages" ("body", "created_at", "lft", "message_request_id", "parent_id", "read_at", "receiver_id", "rgt", "sender_id", "state", "subject", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "test"], ["created_at", Sat, 17 Dec 2011 20:21:58 UTC +00:00], ["lft", 9], ["message_request_id", nil], ["parent_id", 2], ["read_at", nil], ["receiver_id", 5], ["rgt", 10], ["sender_id", 2], ["state", "unread"], ["subject", "test"], ["updated_at", Sat, 17 Dec 2011 20:21:58 UTC +00:00]] Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? ORDER BY "lft" LIMIT 1 [["id", 2]] Message Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 7]] SQL (0.5ms) UPDATE "messages" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 7 THEN 2 ELSE "parent_id" END WHERE "messages"."id" IN (SELECT "messages"."id" FROM "messages" ORDER BY "lft") Message Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 2]] Message Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/messages Completed 302 Found in 38ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test", "parent_id"=>"2"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 81ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_104@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_104@example.jp"], ["encrypted_password", "$2a$04$kZF6p1RWp6fU9CE5O6N00uK7g/UYMOO09sjKOTqhftTDTBHfKQUTi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_104"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:58 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:58 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:58.240690' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_105@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (8.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_105@example.jp"], ["encrypted_password", "$2a$04$uwycz6jl3iGotR8NHWwFtOHxAxUm.coJKp4493TefXJUCHX6T79hC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_105"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:58 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:58 UTC +00:00], ["user_id", 11]]  (2.7ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:58.260651' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_104", "sender_id"=>"11", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 12ms (Views: 1.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.8ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_106@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_106@example.jp"], ["encrypted_password", "$2a$04$Zvkqqv77T5l4QJQc5VrtxeU6y9oUm92LgrTmtVFuCpBS0u5u0czLu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_106"]] SQL (2.4ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:58 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:58 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:58.299322' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_107@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_107@example.jp"], ["encrypted_password", "$2a$04$l1ViuQinth.MeeBvskKwuuxXpLW.yhHVarHVD39mo08y7o.YCYO7G"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_107"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:58 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:58 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:58.317149' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_106", "sender_id"=>"11", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 11ms (Views: 1.1ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_108@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_108@example.jp"], ["encrypted_password", "$2a$04$FEmkI5532WzbW.d4HvaryelyrZrpgR476ZxYfR/l0h6Kl9ekckCHq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_108"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:58 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:58 UTC +00:00], ["user_id", 10]]  (0.5ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:58.364859' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_109@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (15.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_109@example.jp"], ["encrypted_password", "$2a$04$LYGmbL5j9Q9D5qdhI4ss8.33xFoln7MicP70vyDyG.qRxCm.hqUaq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_109"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:58 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:58 UTC +00:00], ["user_id", 11]]  (2.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:58.392208' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 10ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_110@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (12.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_110@example.jp"], ["encrypted_password", "$2a$04$212sZe6xbzNN8BSVExyNF.xXs1Ir55aqrzWUq8LYonEn1GpcjzUfC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_110"]] SQL (4.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:58 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:58 UTC +00:00], ["user_id", 10]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:58.547198' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_111@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (5.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_111@example.jp"], ["encrypted_password", "$2a$04$AWB4HYWD.x6VRBcr/wRIpuFgIEBJI30BNaF.1TiHJYma.C9NgCHk."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_111"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:58 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:58 UTC +00:00], ["user_id", 11]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:58.563834' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 10ms (Views: 1.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_112@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (37.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_112@example.jp"], ["encrypted_password", "$2a$04$ELCIiGQrLI/RxZOB/f4PM./bVByJrT78u1E1mnN.e4K0rQndrhjAO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_112"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:58 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:58 UTC +00:00], ["user_id", 10]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:58.630352' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_113@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_113@example.jp"], ["encrypted_password", "$2a$04$YJYisr3MrR..vjpHUoytCuaoeEXTCbkEubtZUGjUPbBst./3ebJrq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_113"]] SQL (1.7ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:58 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:58 UTC +00:00], ["user_id", 11]]  (5.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:58.648089' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_112", "sender_id"=>"11", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.2ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.2ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_114@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_114@example.jp"], ["encrypted_password", "$2a$04$V0yh8oTVm5zX8JgJG0bf6evjL4qoy.GESGNE8x7NnB7Y.2026k7m."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_114"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:58 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:58 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:58.692124' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_115@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_115@example.jp"], ["encrypted_password", "$2a$04$2nJ9hF0wX0ZZk9IIp030B.EtWijUCP36fLp/bY0IYcPybGEHGBoF."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_115"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:58 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:58 UTC +00:00], ["user_id", 11]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:58.706602' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_114", "sender_id"=>"11", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 13ms (Views: 1.2ms | ActiveRecord: 0.9ms | Solr: 0.0ms) Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_116@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_116@example.jp"], ["encrypted_password", "$2a$04$YtvT4Don0Y.69MgI2TxVR.9LES0amaIsKv2TTxMr3X3Fkj4Iz1H4G"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_116"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:58 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:58 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:58.742713' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_117@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_117@example.jp"], ["encrypted_password", "$2a$04$1t2HpuYe1wJxoqTsV4e5sezBUw9qrujW20/Z4X7Ulc9tn4Od1/ncq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_117"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:58 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:58 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:58.758355' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 15ms (Views: 1.4ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (2.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_118@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_118@example.jp"], ["encrypted_password", "$2a$04$JajwzhMLpCS4MtyojrUiyez4RJ3ICumEYCIOCnxzruHJoDlRsRWzi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_118"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:58 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:58 UTC +00:00], ["user_id", 10]]  (18.5ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:58.795852' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_119@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (68.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_119@example.jp"], ["encrypted_password", "$2a$04$8DLcarbjwijf0LRunVIxz.E/.ZnFNRnnsGkNaSssamWkhJ4OsGJ5y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_119"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:58 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:58 UTC +00:00], ["user_id", 11]]  (0.6ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:58.895528' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.2ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_120@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_120@example.jp"], ["encrypted_password", "$2a$04$stwXcVTeX9l1NlJ0s.lONOGAZZLot1nc3cG/54UfkKmOXgDIJqWM2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_120"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:58 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:58 UTC +00:00], ["user_id", 10]]  (4.9ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:58.931199' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_121@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_121@example.jp"], ["encrypted_password", "$2a$04$IYagQjDw8ur3ZUvi5S42weR97YrwPvHv3tpxdUvC7p/mEGEj7lk3S"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_121"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:58 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:58 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:58.951835' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_122@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_122@example.jp"], ["encrypted_password", "$2a$04$w.VNBA6X5oPMbOX061mISO049MaOpvte8vX6PbxqQgpPYYSoixNLC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_122"]] SQL (2.9ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:58 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:58 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:58.992984' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.2ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_123@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (6.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_123@example.jp"], ["encrypted_password", "$2a$04$hrvVZ0cOaMDNNpbdJevXHOYJKmJ9rbM6IDdbbqGm1MiltAE53AUcO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:59 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_123"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:59 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:59 UTC +00:00], ["user_id", 11]]  (1.7ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:59.011561' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_124@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_124@example.jp"], ["encrypted_password", "$2a$04$XSNc0apAzIZV4wbbxIVotekxxO1uLGPB0180AY6jNo0GclANz3UZu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:59 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_124"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:59 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:59 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:59.067311' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_125@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_125@example.jp"], ["encrypted_password", "$2a$04$OLfpqcI4Gyhxs8tEm0bb7ucE4fScuz2uqErtvhHtTsXSOpcq48zni"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:59 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_125"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:59 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:59 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:59.080822' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_124", "sender_id"=>"11", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_126@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (35.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_126@example.jp"], ["encrypted_password", "$2a$04$u0cyobRT6pQmybb25x6peurJqaWQQ8p048k1wiyHX5p1SJdWXZVgq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:59 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_126"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:59 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:59 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:59.166775' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_127@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_127@example.jp"], ["encrypted_password", "$2a$04$uR40parCr8PIdvzvauIkLO/0XsaXtBca45eyNsOIbEFMhqK/7ohJi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:59 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_127"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:59 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:59 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:59.176508' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_126", "sender_id"=>"11", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_128@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (35.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_128@example.jp"], ["encrypted_password", "$2a$04$XMCM0H6Ump9csshr4fDq.eLgljA73B3U7n9oU6xwgLahE06c91Vo."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:59 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_128"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:59 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:59 UTC +00:00], ["user_id", 10]]  (19.0ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:59.230131' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_129@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_129@example.jp"], ["encrypted_password", "$2a$04$HbcSP9WrTRYBUazE56mBTOLRk0zhzE0KkbbovinLcSA/BeHkwxPim"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:59 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_129"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:59 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:59 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:59.260188' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_130@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_130@example.jp"], ["encrypted_password", "$2a$04$xrrFHiPpz/kK7L1EC3PY9ec5HSX.Y40YhNu.2X5z8mRkYsHHYSMB6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:59 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_130"]] SQL (0.6ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:59 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:59 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:59.278437' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_131@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_131@example.jp"], ["encrypted_password", "$2a$04$3PXDqRskBKfUTjCy3fXRueoj8EfSHw76YBlQPypNpxipvd1WK4piG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:59 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_131"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:59 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:59 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:59.286389' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_132@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (17.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_132@example.jp"], ["encrypted_password", "$2a$04$9gOPNR9gbSWGmcdR4zWCq.XscyWAykD0g4WcsVPqARHkdzi0VUyK6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:59 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_132"]] SQL (19.6ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:59 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:59 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:59.340286' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_133@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (17.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_133@example.jp"], ["encrypted_password", "$2a$04$ida.hlCMmDntcvHYSW85U.FcyRFRt8t5V4FWe9Cn9D2Rf3yXD5QdC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:21:59 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_133"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:21:59 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:21:59 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:21:59.364148' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"2"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#destroy as HTML Parameters: {"id"=>"2"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 3 AND "messages"."id" = ? LIMIT 1 [["id", "2"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "messages" WHERE ("lft" > 3 AND "rgt" < 4) SQL (0.3ms) UPDATE "messages" SET "lft" = ("lft" - 2) WHERE "messages"."id" IN (SELECT "messages"."id" FROM "messages" WHERE ("lft" > 4) ORDER BY "lft") SQL (0.4ms) UPDATE "messages" SET "rgt" = ("rgt" - 2) WHERE "messages"."id" IN (SELECT "messages"."id" FROM "messages" WHERE ("rgt" > 4) ORDER BY "lft") SQL (0.1ms) DELETE FROM "messages" WHERE "messages"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/messages Completed 302 Found in 8ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 3ms  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateLibraryGroups (80)  (0.0ms) select sqlite_version(*)  (0.5ms) CREATE TABLE "library_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "short_name" varchar(255) NOT NULL, "email" varchar(255), "my_networks" text, "use_dsbl" boolean DEFAULT 'f' NOT NULL, "dsbl_list" text, "login_banner" text, "note" text, "valid_period_for_new_user" integer DEFAULT 365 NOT NULL, "post_to_union_catalog" boolean DEFAULT 'f' NOT NULL, "country_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("library_groups")  (0.1ms) CREATE INDEX "index_library_groups_on_short_name" ON "library_groups" ("short_name")  (147.7ms) INSERT INTO "schema_migrations" ("version") VALUES ('80') Migrating to CreateMessageTemplates (149) Migrating to CreateMessages (154) Migrating to CreateMessageRequests (20080819181903) Migrating to AddAdminNetworksToLibraryGroup (20100211105551)  (1.2ms) ALTER TABLE "library_groups" ADD "admin_networks" text  (48.4ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100211105551') Migrating to AddAllowBookmarkExternalUrlToLibraryGroup (20100222124420)  (5.2ms) ALTER TABLE "library_groups" ADD "allow_bookmark_external_url" boolean DEFAULT 'f' NOT NULL  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100222124420') Migrating to AddPositionToLibraryGroup (20110115022329)  (86.4ms) ALTER TABLE "library_groups" ADD "position" integer  (1.7ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110115022329') Migrating to AddUrlToLibraryGroup (20110222073537)  (1.4ms) ALTER TABLE "library_groups" ADD "url" varchar(255) DEFAULT 'http://localhost:3000/'  (3.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110222073537') Migrating to AddLftAndRgtToMessage (20110913115320) Migrating to RemoveDsblFromLibraryGroup (20111020063828)  (133.5ms) CREATE TEMPORARY TABLE "altered_library_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "short_name" varchar(255) NOT NULL, "email" varchar(255), "my_networks" text, "use_dsbl" boolean DEFAULT 'f' NOT NULL, "dsbl_list" text, "login_banner" text, "note" text, "valid_period_for_new_user" integer DEFAULT 365 NOT NULL, "post_to_union_catalog" boolean DEFAULT 'f' NOT NULL, "country_id" integer, "created_at" datetime, "updated_at" datetime, "admin_networks" text, "allow_bookmark_external_url" boolean DEFAULT 'f' NOT NULL, "position" integer, "url" varchar(255) DEFAULT 'http://localhost:3000/')   (0.1ms) PRAGMA index_list("library_groups")  (0.0ms) PRAGMA index_info('index_library_groups_on_short_name')  (0.1ms) PRAGMA index_list("altered_library_groups")  (0.2ms) CREATE INDEX "temp_index_altered_library_groups_on_short_name" ON "altered_library_groups" ("short_name")  (0.2ms) SELECT * FROM "library_groups"  (0.4ms) DROP TABLE "library_groups"  (0.3ms) CREATE TABLE "library_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "short_name" varchar(255) NOT NULL, "email" varchar(255), "my_networks" text, "dsbl_list" text, "login_banner" text, "note" text, "valid_period_for_new_user" integer DEFAULT 365 NOT NULL, "post_to_union_catalog" boolean DEFAULT 'f' NOT NULL, "country_id" integer, "created_at" datetime, "updated_at" datetime, "admin_networks" text, "allow_bookmark_external_url" boolean DEFAULT 'f' NOT NULL, "position" integer, "url" varchar(255) DEFAULT 'http://localhost:3000/')  (0.0ms) PRAGMA index_list("altered_library_groups")  (0.0ms) PRAGMA index_info('temp_index_altered_library_groups_on_short_name')  (0.1ms) PRAGMA index_list("library_groups")  (0.2ms) CREATE INDEX "index_library_groups_on_short_name" ON "library_groups" ("short_name")  (0.1ms) SELECT * FROM "altered_library_groups"  (0.6ms) DROP TABLE "altered_library_groups"  (0.2ms) CREATE TEMPORARY TABLE "altered_library_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "short_name" varchar(255) NOT NULL, "email" varchar(255), "my_networks" text, "dsbl_list" text, "login_banner" text, "note" text, "valid_period_for_new_user" integer DEFAULT 365 NOT NULL, "post_to_union_catalog" boolean DEFAULT 'f' NOT NULL, "country_id" integer, "created_at" datetime, "updated_at" datetime, "admin_networks" text, "allow_bookmark_external_url" boolean DEFAULT 'f' NOT NULL, "position" integer, "url" varchar(255) DEFAULT 'http://localhost:3000/')   (0.0ms) PRAGMA index_list("library_groups")  (0.0ms) PRAGMA index_info('index_library_groups_on_short_name')  (0.1ms) PRAGMA index_list("altered_library_groups")  (0.2ms) CREATE INDEX "temp_index_altered_library_groups_on_short_name" ON "altered_library_groups" ("short_name")  (0.1ms) SELECT * FROM "library_groups"  (38.0ms) DROP TABLE "library_groups"  (0.2ms) CREATE TABLE "library_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "short_name" varchar(255) NOT NULL, "email" varchar(255), "my_networks" text, "login_banner" text, "note" text, "valid_period_for_new_user" integer DEFAULT 365 NOT NULL, "post_to_union_catalog" boolean DEFAULT 'f' NOT NULL, "country_id" integer, "created_at" datetime, "updated_at" datetime, "admin_networks" text, "allow_bookmark_external_url" boolean DEFAULT 'f' NOT NULL, "position" integer, "url" varchar(255) DEFAULT 'http://localhost:3000/')  (0.0ms) PRAGMA index_list("altered_library_groups")  (0.0ms) PRAGMA index_info('temp_index_altered_library_groups_on_short_name')  (0.1ms) PRAGMA index_list("library_groups")  (0.2ms) CREATE INDEX "index_library_groups_on_short_name" ON "library_groups" ("short_name")  (0.1ms) SELECT * FROM "altered_library_groups"  (0.2ms) DROP TABLE "altered_library_groups"  (22.4ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111020063828') Migrating to CreateLanguages (20111201121636) Migrating to CreateRoles (20111201121844) Migrating to CreateUsers (20111201155456) Migrating to AddDeviseToUsers (20111201155513) Migrating to CreateUserGroups (20111201163342) Migrating to CreateUserHasRoles (20111201163718)  (0.6ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.0ms) PRAGMA index_list("languages")  (0.0ms) PRAGMA index_list("library_groups")  (0.0ms) PRAGMA index_info('index_library_groups_on_short_name')  (0.0ms) PRAGMA index_list("message_requests")  (0.0ms) PRAGMA index_info('index_message_requests_on_state')  (0.0ms) PRAGMA index_list("message_templates")  (0.0ms) PRAGMA index_info('index_message_templates_on_status')  (0.1ms) PRAGMA index_list("messages")  (0.0ms) PRAGMA index_info('index_messages_on_parent_id')  (0.0ms) PRAGMA index_info('index_messages_on_message_request_id')  (0.0ms) PRAGMA index_info('index_messages_on_receiver_id')  (0.0ms) PRAGMA index_info('index_messages_on_sender_id')  (0.0ms) PRAGMA index_list("roles")  (0.0ms) PRAGMA index_list("user_groups")  (0.0ms) PRAGMA index_list("user_has_roles")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')  (0.0ms) PRAGMA index_info('index_users_on_email') LibraryGroup Load (3.1ms) SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]] LibraryGroup Load (9.4ms) SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]] Fixture Delete (11.5ms) DELETE FROM "library_groups" Fixture Insert (19.9ms) INSERT INTO "library_groups" ("id", "name", "display_name", "short_name", "email", "note", "my_networks", "url", "created_at", "updated_at") VALUES (1, 'unknown', 'unknown', 'unknown', 'next-l@library.example.jp', NULL, '0.0.0.0/0', 'http://localhost:3000/', '2011-12-17 20:35:54', '2011-12-17 20:35:54') Fixture Delete (12.8ms) DELETE FROM "message_requests" Fixture Insert (0.1ms) INSERT INTO "message_requests" ("sender_id", "receiver_id", "message_template_id", "state", "created_at", "updated_at", "id") VALUES (1, 1, 1, 'pending', '2011-12-17 20:35:54', '2011-12-17 20:35:54', 980190962) Fixture Insert (0.1ms) INSERT INTO "message_requests" ("sender_id", "receiver_id", "message_template_id", "state", "created_at", "updated_at", "id") VALUES (1, 1, 1, 'pending', '2011-12-17 20:35:54', '2011-12-17 20:35:54', 298486374) Fixture Delete (23.0ms) DELETE FROM "message_templates" Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (1, 'reservation_accepted', 'Reservation accepted', 'Reservation accepted', 1, '2011-12-17 20:35:54', '2011-12-17 20:35:54') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (2, 'item_received', 'Item received', 'Item received', 2, '2011-12-17 20:35:54', '2011-12-17 20:35:54') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (3, 'reservation_expired_for_patron', 'Reservation expired', 'Reservation expired', 3, '2011-12-17 20:35:54', '2011-12-17 20:35:54') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (4, 'reservation_expired_for_library', 'Reservation expired', 'Reservation expired', 4, '2011-12-17 20:35:54', '2011-12-17 20:35:54') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (5, 'reservation_canceled_for_patron', 'Reservation canceled', 'Reservation canceled', 5, '2011-12-17 20:35:54', '2011-12-17 20:35:54') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (6, 'reservation_canceled_for_library', 'Reservation canceled', 'Reservation canceled', 6, '2011-12-17 20:35:54', '2011-12-17 20:35:54') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (7, 'recall_item', 'Recall item', 'Recall item', 7, '2011-12-17 20:35:54', '2011-12-17 20:35:54') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (8, 'recall_overdue_item', 'Recall overdue item', 'Recall overdue item', 8, '2011-12-17 20:35:54', '2011-12-17 20:35:54') Fixture Delete (73.6ms) DELETE FROM "messages" Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "read_at", "state", "lft", "rgt", "updated_at") VALUES (1, 3, 4, 'First Message', 'Abby, you get the first message', '2007-07-04 12:10:47.0', '2011-12-14 20:35:54', 'unread', 1, 2, '2011-12-17 20:35:54') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (2, 4, 3, 'RE: First Message', 'Thanks Dad! You are the coolest!', '2011-12-15 20:35:54', 'unread', 3, 4, '2011-12-17 20:35:54') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (3, 3, 4, 'Second Message', 'Catie, you get the 2nd message', '2011-12-16 20:35:54', 'unread', 5, 6, '2011-12-17 20:35:54') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (6, 4, 5, 'Dad!', 'He is sucha dork.', '2011-12-15 20:35:54', 'unread', 7, 8, '2011-12-17 20:35:54') Fixture Delete (11.4ms) DELETE FROM "roles" Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Guest', 'Guest', 1, NULL, '2011-12-17 20:35:54', '2011-12-17 20:35:54') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('User', 'User', 2, NULL, '2011-12-17 20:35:54', '2011-12-17 20:35:54') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Librarian', 'Librarian', 3, NULL, '2011-12-17 20:35:54', '2011-12-17 20:35:54') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Administrator', 'Administrator', 4, NULL, '2011-12-17 20:35:54', '2011-12-17 20:35:54') Fixture Delete (17.6ms) DELETE FROM "user_groups" Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('(not specified)', '(not specified)', '2007-12-13 12:00:51.564542', 1, '', '2007-12-13 12:00:01.674976', 1) Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('User', 'User', '2007-12-22 18:14:56.836548', 2, '', '2007-12-22 18:14:40.173954', 2) Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('Faculty', 'Faculty', '2007-12-22 18:15:05.134351', 3, '', '2007-12-22 18:15:05.126457', 3) Fixture Delete (16.7ms) DELETE FROM "user_has_roles" Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (1, 4, '2011-12-17 20:35:54', '2011-12-17 20:35:54', 135138680) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (2, 3, '2011-12-17 20:35:54', '2011-12-17 20:35:54', 344583537) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (3, 2, '2011-12-17 20:35:54', '2011-12-17 20:35:54', 206669143) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (4, 3, '2011-12-17 20:35:54', '2011-12-17 20:35:54', 226540757) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (5, 2, '2011-12-17 20:35:54', '2011-12-17 20:35:54', 358143215) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (6, 2, '2011-12-17 20:35:54', '2011-12-17 20:35:54', 576709754) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (7, 2, '2011-12-17 20:35:54', '2011-12-17 20:35:54', 1010528733) Fixture Delete (9.1ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:16:30.163731', '$2a$10$vHohD1WflnTIqAa8zMkF9evwAgIZRw3XuR4d3bi29M.jph/MB/AJi', 2, 1, NULL, 'admin', 'tanabe@kamata.lib.teu.ac.jp', '2007-11-19 07:58:32.111941', 4) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 03:41:16.337474', '$2a$10$9O2VuTccN4gHq36ARg0QReSrb1D7WrBBhZZ759RM9moHbB0W5zCzS', 1, 2, NULL, 'librarian1', 'librarian1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:33.172441', 1) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', '$2a$10$JthS59A0BNkDOoFpCXM0V.GhhffKaoWKbzpPahYp/vTFrOyM7h/uW', 1, 3, NULL, 'user1', 'user1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:23.340575', '$2a$10$YmmTGrYQ1Ir6oc7wXnp.GuNeO1eYLoP3sv8wMSIrTdaGw2BPwRrpS', 1, 4, NULL, 'librarian2', '2008-01-18 03:24:04.222344', 1) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:44.711117', '$2a$10$i7UjJhLVrJM/J7qaTwW39OXw1NiwowUEbtNHVDV0sqMLjX9.UO9ca', 1, 5, NULL, 'user2', '2008-01-18 04:29:06.922728', 2) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 6, NULL, 'user3', 'user3@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 7, NULL, 'user4', 'user4@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:55 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_1@example.jp"], ["encrypted_password", "$2a$04$r1pudkOCZaxk/9cJgNLkGupR0uN7JmSvCB8EJsPGW1EltGDWYOqRW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:35:55 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_1"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:55 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:35:55 UTC +00:00], ["user_id", 10]]  (14.4ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:35:55.290792' WHERE "roles"."id" = 4  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Rendered /Users/kosuke/enju_message/app/views/message_requests/index.html.erb within layouts/application (61.1ms) Completed 200 OK in 161ms (Views: 143.6ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:55 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_1@example.jp"], ["encrypted_password", "$2a$04$BOS7wYVE.od2xQrdTz1JMuyj.WLf6.3eMZ.FCoymLKqSLcuzYH2ZW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:35:55 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_1"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:55 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:35:55 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:35:55.616225' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 200 OK in 12ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:55 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_1@example.jp"], ["encrypted_password", "$2a$04$yxUnUgoMJnIlwDWvGURLaOZMLbHaLgHU4PHN4zOpk5zG0Pz0puHKu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:35:55 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_1"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:55 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:35:55 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:35:55.653427' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 22ms (Views: 13.1ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "message_requests" WHERE ('t'='f') Processing by MessageRequestsController#index as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 64ms  (0.1ms) SELECT COUNT(*) FROM "message_requests" WHERE ('t'='f') Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (6.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:55 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_2@example.jp"], ["encrypted_password", "$2a$04$CutlAFJLprpgj2m0wNSwKOH43npwX5DpXsboaxJzf958op45B7FCG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:35:55 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_2"]] SQL (4.9ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:55 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:35:55 UTC +00:00], ["user_id", 10]]  (4.0ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:35:55.772059' WHERE "roles"."id" = 4  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (54.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:55 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_2@example.jp"], ["encrypted_password", "$2a$04$rxPbPmgMxbBuLDUdV61gouk3i10R/w0Yen4xjibdk6Xz0ochaFA1O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:35:55 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_2"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:55 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:35:55 UTC +00:00], ["user_id", 11]]  (131.6ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:35:55.842483' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_3@example.jp"], ["encrypted_password", "$2a$04$A0OaYksVfA1LFjivwOgtce4D7Y019BMkgr.6WWM3r5vlAzxZXtX1K"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:35:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_3"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:56 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:35:56 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:35:56.018316' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_1' LIMIT 1 SQL (18.0ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_1"], ["created_at", Sat, 17 Dec 2011 20:35:56 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_1"], ["title", "message_template_1"], ["updated_at", Sat, 17 Dec 2011 20:35:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.3ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_1' AND "message_templates"."id" != 9) LIMIT 1 SQL (10.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:35:56 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:35:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.2ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 200 OK in 70ms (Views: 10.8ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_2@example.jp"], ["encrypted_password", "$2a$04$IosLU/pQ3C1RF.HNgNRdYuaDK7A1u40EoUG0q45jjUXqvsSBYiudy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:35:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_2"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:56 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:35:56 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:35:56.254118' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (24.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_4@example.jp"], ["encrypted_password", "$2a$04$WD3g2jnbckhqucrp/HfpKOVDNpbL4RvuLNT5wSksk8sL9FpbXTK3q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:35:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_4"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:56 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:35:56 UTC +00:00], ["user_id", 11]]  (9.4ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:35:56.289931' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_5@example.jp"], ["encrypted_password", "$2a$04$liLIQyXNgwT1ncRU8RZYyeyFGwCv1w3oDl5Sr17KyGna62WcOr1JS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:35:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_5"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:56 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:35:56 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:35:56.313654' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_2' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_2"], ["created_at", Sat, 17 Dec 2011 20:35:56 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_2"], ["title", "message_template_2"], ["updated_at", Sat, 17 Dec 2011 20:35:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_2' AND "message_templates"."id" != 9) LIMIT 1 SQL (37.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:35:56 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:35:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 200 OK in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (32.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_6@example.jp"], ["encrypted_password", "$2a$04$.MsY9lPirRnjAAth3FJI0OEy86Zjpo8UqbRfoZR.ZCPeMKQHjL9JS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:35:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_6"]] SQL (1.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:56 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:35:56 UTC +00:00], ["user_id", 10]]  (0.4ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:35:56.464392' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_7@example.jp"], ["encrypted_password", "$2a$04$1teDdqeRjNXMztEAh3c8p.SvM0mQlTMBxnKnmd3nEkrolfcRP/OH."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:35:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_7"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:56 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:35:56 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:35:56.479020' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_8@example.jp"], ["encrypted_password", "$2a$04$zwXECl.8qRL9FXXbGQnvcOCZqY6Yet1ll5oEMxissi0TZweN0LOZe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:35:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_8"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:56 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:35:56 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:35:56.493620' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_3' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_3"], ["created_at", Sat, 17 Dec 2011 20:35:56 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_3"], ["title", "message_template_3"], ["updated_at", Sat, 17 Dec 2011 20:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_3' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:35:56 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:35:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (47.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_9@example.jp"], ["encrypted_password", "$2a$04$fS0IWm5SoorsuSC.6mun8eXWUa6OvoJr1JCjIg0cFTQO1Bpf/gRbi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:35:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_9"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:56 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:35:56 UTC +00:00], ["user_id", 10]]  (4.7ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:35:56.580215' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (36.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_10@example.jp"], ["encrypted_password", "$2a$04$4XhpfbAWoEdZCZisRwldVe2dWXCRogL60vlJLN6yj97zpz2ibV1o2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:35:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_10"]] SQL (0.9ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:56 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:35:56 UTC +00:00], ["user_id", 11]]  (25.3ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:35:56.653594' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_4' LIMIT 1 SQL (27.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_4"], ["created_at", Sat, 17 Dec 2011 20:35:56 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_4"], ["title", "message_template_4"], ["updated_at", Sat, 17 Dec 2011 20:35:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_4' AND "message_templates"."id" != 9) LIMIT 1 SQL (45.2ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:35:56 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:35:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (48.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_3@example.jp"], ["encrypted_password", "$2a$04$vJ8u0XIhu2ei2TGzT21V/.w2ZGA2fLMZ0liU5pdDJrzYHOHwSI7bi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:35:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_3"]] SQL (25.5ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:56 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:35:56 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:35:56.916851' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (95.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_11@example.jp"], ["encrypted_password", "$2a$04$tBF8WayY01L78ZaNOSFgfOQofZj/3q2X7gmMBiA/liwAWprAnFhza"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:35:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_11"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:35:57.026176' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_12@example.jp"], ["encrypted_password", "$2a$04$cIeNaivpGbbAxZ1w8zVyIu8gUs0ZVcFej9rzXVdVcJFf1Kq.v2i/m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_12"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:35:57.039317' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_5' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_5"], ["created_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_5"], ["title", "message_template_5"], ["updated_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_5' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 14ms (Views: 4.0ms | ActiveRecord: 0.6ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_3@example.jp"], ["encrypted_password", "$2a$04$58sUE.M4oicVkbo9RhMkK.vMU4P3U1bdk0Sfd/LQBOOf8k2SPxmpS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_3"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:35:57.083211' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.3ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_13@example.jp"], ["encrypted_password", "$2a$04$OI4vl4L9nAB0K52khM8T9uqi4QhYbSPtRZ9RnWffGGgy4kbdR1FJK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_13"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:35:57.096736' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_14@example.jp"], ["encrypted_password", "$2a$04$DcFR3/4I07xRGIONs/7GdOHneipnXfOFlAaCQxEcVpaUyI1MByZq2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_14"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:35:57.109225' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_6' LIMIT 1 SQL (25.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_6"], ["created_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_6"], ["title", "message_template_6"], ["updated_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_6' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 MessageTemplate Load (0.7ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 14ms (Views: 1.5ms | ActiveRecord: 1.0ms | Solr: 0.0ms) Role Load (0.3ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (9.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_15@example.jp"], ["encrypted_password", "$2a$04$kJjjwqXA4umuoT6TQu5gguVw8GA6sofSTfmckJIo2jK9OWhpQEkDq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_15"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:35:57.249246' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (10.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_16@example.jp"], ["encrypted_password", "$2a$04$LlNDjMSQzqVQpMwm0MExl.zJ.5srfCCDNMCgR9Ux.TyTSJLWGAu3a"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_16"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:35:57.277209' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_17@example.jp"], ["encrypted_password", "$2a$04$Qb1yqo6bp9F8nWomY.7oMOFI2KHkEmylj1ukEeslmk3xgMqOiibZK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_17"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:35:57.290071' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_7' LIMIT 1 SQL (90.8ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_7"], ["created_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_7"], ["title", "message_template_7"], ["updated_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_7' AND "message_templates"."id" != 9) LIMIT 1 SQL (37.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_18@example.jp"], ["encrypted_password", "$2a$04$2RCLqHp1w/1ba4iMtMsmIubkCJSuEv5gYCvypVWfIlXdlBm.BE40q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_18"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:35:57.589784' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.3ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (8.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_19@example.jp"], ["encrypted_password", "$2a$04$pq/.3xPbWUEgkTdPar5Mmek51G9owUTcLFses8M.QMhzc48CiUEJK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_19"]] SQL (4.8ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:35:57.615844' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_8' LIMIT 1 SQL (60.9ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_8"], ["created_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_8"], ["title", "message_template_8"], ["updated_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_8' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_20@example.jp"], ["encrypted_password", "$2a$04$j.YcKGJdK9wEHx0S8jrVpeNPX6dQa7hvzwade1uHrGZgkwodh3IGS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_20"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:35:57.722913' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (32.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_21@example.jp"], ["encrypted_password", "$2a$04$IZopFa6ihpnZcCjCjqg3qOy72pszgZyHunPROQa.KSrK/otW9US8."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_21"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:35:57.765335' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_9' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_9"], ["created_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_9"], ["title", "message_template_9"], ["updated_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_9' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_22@example.jp"], ["encrypted_password", "$2a$04$Arw74NPOUlcpp37Cn/5cJuIKa0TgWzTcLx8v92TMnpGl6Vg1dut4u"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_22"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:35:57.786216' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_23@example.jp"], ["encrypted_password", "$2a$04$mVxXcmjlRaGV9ZtaziIj3uOvTVbZRhPQlz9vQDIN8kqkTPDzMpq66"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_23"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:35:57.795240' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_10' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_10"], ["created_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_10"], ["title", "message_template_10"], ["updated_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_4@example.jp"], ["encrypted_password", "$2a$04$nVs4aJMPIlVFqPEXF5b//Oh4KmpJL6gTjS6eIUpTFH9ysXLDN8atW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_4"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:35:57.816418' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"12", "receiver_id"=>"13", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_10' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 12, "receiver_id" = 13, "message_template_id" = 10, "updated_at" = '2011-12-17 20:35:57.827305' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 11ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (11.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_24@example.jp"], ["encrypted_password", "$2a$04$Acnx5.8nCSfdxS1vcYs/LufpVncSYo.dFhh4B.O9b77ih7B.dUdl6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_24"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["user_id", 10]]  (0.4ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:35:57.852048' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (37.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_25@example.jp"], ["encrypted_password", "$2a$04$AKjzJaTDHA072YjFWW4pgeiADu02zEupOPR3dJTxyW.WQlW//SvKy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_25"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:35:57.897184' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_11' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_11"], ["created_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_11"], ["title", "message_template_11"], ["updated_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_11' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_26@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_26@example.jp"], ["encrypted_password", "$2a$04$gvonarpJUcGrZPJzDBXuGuUWWW3qihRAWP8IFehT/MXk01Jv0fdj2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_26"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:35:57.911773' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_27@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_27@example.jp"], ["encrypted_password", "$2a$04$1v1ggcaS08pFy4jGla4rguaI4gNCwQuVr7pVK7JVqthAmJK0GvrkC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_27"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:35:57.919336' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_12' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_12"], ["created_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_12"], ["title", "message_template_12"], ["updated_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (32.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_5@example.jp"], ["encrypted_password", "$2a$04$mj8zj.QLIWBg.onYe7LdwuvFzkAPWkOPTLXFzBOtwUvOyP1xfPWAO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_5"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:35:57 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:35:57.961633' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"12", "receiver_id"=>"13", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_12' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 12, "receiver_id" = 13, "message_template_id" = 10, "updated_at" = '2011-12-17 20:35:57.981928' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 10ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_28@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (51.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_28@example.jp"], ["encrypted_password", "$2a$04$zaAiscnD/CEpU3PI6sW3F.cKn5DJAi9q8SkevyR8RphW059y1pV6i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_28"]] SQL (17.6ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:35:58.150834' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_29@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_29@example.jp"], ["encrypted_password", "$2a$04$A1OjZYTzwvm2gyKMIzr/l.1IepI8rpVpn.29atjhgfkBKZFVs3Gxe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_29"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:35:58.163741' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_13' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_13"], ["created_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_13"], ["title", "message_template_13"], ["updated_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_13' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_30@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_30@example.jp"], ["encrypted_password", "$2a$04$Zs2hmRPX0uSHOsWMAXIKMOnyuuWYlijhtNMW0N3//N2t4spRCaBY6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_30"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:35:58.217114' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_31@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_31@example.jp"], ["encrypted_password", "$2a$04$/CM.Yv7cLnVhQLiheNu2cOrX8lcuxheu77.5PcmS082wKO4UmFh8i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_31"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:35:58.224543' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_14' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_14"], ["created_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_14"], ["title", "message_template_14"], ["updated_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_6@example.jp"], ["encrypted_password", "$2a$04$B7vXOLdk2lHlFGoQJu94Iu4a1y/wx3vyxjyo.dlafBk4wUABQoJua"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_6"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:35:58.236156' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_13' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 10ms (Views: 0.9ms | ActiveRecord: 0.6ms | Solr: 0.0ms) Role Load (42.7ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_32@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_32@example.jp"], ["encrypted_password", "$2a$04$19O2mZWy8K9by8FqKNxKh.L4CxKHwWgFofqpOw790xDjCv.KhbC/a"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_32"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:35:58.373585' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_33@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_33@example.jp"], ["encrypted_password", "$2a$04$t8bZbEsQ9CX.ZtRwWqh5jenYs9X3IIrNerfHTSAwIqVQNP//zq6aS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_33"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:35:58.381958' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_15' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_15"], ["created_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_15"], ["title", "message_template_15"], ["updated_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_15' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_34@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_34@example.jp"], ["encrypted_password", "$2a$04$0I1F5MFCr5ybWM.k2RFL5.DxMNmXNaO.NREBxSmuJ/0GcBHfXazjq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_34"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:35:58.399067' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_35@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_35@example.jp"], ["encrypted_password", "$2a$04$VzbgSInOyez4llZ7OTYAUOYd.2vr.wKkp6Ai5v57/e1HQS.bqJJP2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_35"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:35:58.407294' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_16' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_16"], ["created_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_16"], ["title", "message_template_16"], ["updated_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (32.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_4@example.jp"], ["encrypted_password", "$2a$04$4/X26q2alUQyH./VKaG.i.2RfY8lMrCDL8AYKi8F2nbnFTSA21onu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_4"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:35:58.482992' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"12", "receiver_id"=>"13", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_16' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 12, "receiver_id" = 13, "message_template_id" = 10, "updated_at" = '2011-12-17 20:35:58.493379' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 10ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_36@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (41.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_36@example.jp"], ["encrypted_password", "$2a$04$4VLtmT6Wz8zCXMHmHz8IO.ZdXbk6Z6auvvjxEJ5w1Io080cL5uHEC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_36"]] SQL (6.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:35:58.623614' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_37@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (20.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_37@example.jp"], ["encrypted_password", "$2a$04$o9uwZ6W2HcMYLE524sKizeDEknzDD3xjychHcWSVG01gn5kPXdoVW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_37"]] SQL (80.6ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:35:58.735801' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_17' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_17"], ["created_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_17"], ["title", "message_template_17"], ["updated_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_17' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_38@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_38@example.jp"], ["encrypted_password", "$2a$04$gAbTx9jrX.pkXKn5xSLBY.tZ6Hxf7VfgZ51AWUoyvn.ieZ38xaIR."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_38"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:35:58.759343' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_39@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_39@example.jp"], ["encrypted_password", "$2a$04$RpJW5FhjyqCSAhcse8b64.1Y.UcawA3Zlt9iVkoB6g6PUaVnyzUWO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_39"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:35:58.770748' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_18' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_18"], ["created_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_18"], ["title", "message_template_18"], ["updated_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_5@example.jp"], ["encrypted_password", "$2a$04$8L3B5KNRpTNTqhY8yiALpuBeIfQdqn1sefJjL/u3gn8cNpFBn/jhK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_5"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:35:58.786028' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"12", "receiver_id"=>"13", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_18' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 12, "receiver_id" = 13, "message_template_id" = 10, "updated_at" = '2011-12-17 20:35:58.825542' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 39ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_40@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (13.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_40@example.jp"], ["encrypted_password", "$2a$04$Qqxkx8l3KV85jpLy5APaKu3CVRdpU/B7m6oY39Qcg3PYyxAo2ZA5y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_40"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:35:58.857078' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_41@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_41@example.jp"], ["encrypted_password", "$2a$04$T5WeuZhJDNP6dB46rMBkS.jdyf9Lm03lKL7m3aHJsljVOE0OBHODe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_41"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:35:58.872327' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_19' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_19"], ["created_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_19"], ["title", "message_template_19"], ["updated_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_19' AND "message_templates"."id" != 9) LIMIT 1 SQL (1.1ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_42@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_42@example.jp"], ["encrypted_password", "$2a$04$7YNdqc4Y0Dxh.2bvVe4iweM2bt3.dqwbJjC096ZVXVD5moTjB6w5m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_42"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:35:58.899374' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_43@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_43@example.jp"], ["encrypted_password", "$2a$04$dbPPMf3DDUOEBYuBvvF/WOIRXPvlnIXHwEOgpTXV529gf2vwfHy8u"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_43"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:35:58.968630' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_20' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_20"], ["created_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_20"], ["title", "message_template_20"], ["updated_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_6@example.jp"], ["encrypted_password", "$2a$04$wIf5iKSygIMU3ZubBCnGme/wJRxp2sALa8c/tn0yMdQhTWfbSsmuO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_6"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:35:58 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:35:58.985709' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_19' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 16ms (Views: 1.3ms | ActiveRecord: 1.0ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_44@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_44@example.jp"], ["encrypted_password", "$2a$04$MAaY4RdaOBdQXxdJF1GJP.18maIsWPPb8o9mUjRgmMZQQxRztMfMK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:35:59 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_44"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:59 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:35:59 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:35:59.075173' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_45@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_45@example.jp"], ["encrypted_password", "$2a$04$1IKmrUP0hwnz3fkrSAAeVey1aPDwqcz1w3Xyd8gslwCONbCBBOnC2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:35:59 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_45"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:59 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:35:59 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:35:59.088659' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_21' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_21"], ["created_at", Sat, 17 Dec 2011 20:35:59 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_21"], ["title", "message_template_21"], ["updated_at", Sat, 17 Dec 2011 20:35:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_21' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:35:59 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:35:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_46@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_46@example.jp"], ["encrypted_password", "$2a$04$Yf54M6A3g7o..97LEZeDleGFNslTaFLjiMLhq7/TbK5tUmoxL.Mmu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:35:59 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_46"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:59 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:35:59 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:35:59.111904' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_47@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_47@example.jp"], ["encrypted_password", "$2a$04$EeKx1O8pVE.So.Z05eI9HeAsqu7zAVJr4k8W3AKYxjEpew3Oet0ti"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:35:59 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_47"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:59 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:35:59 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:35:59.125146' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_22' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_22"], ["created_at", Sat, 17 Dec 2011 20:35:59 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_22"], ["title", "message_template_22"], ["updated_at", Sat, 17 Dec 2011 20:35:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_48@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_48@example.jp"], ["encrypted_password", "$2a$04$1OQWV5VVNTTMjAWIxgHtNeUpXOtst10iV0rTQSoO1UFtBnFC5z9o2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:35:59 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_48"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:59 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:35:59 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:35:59.148854' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"12", "receiver_id"=>"13", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1 Completed 403 Forbidden in 16ms (Views: 1.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_49@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (26.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_49@example.jp"], ["encrypted_password", "$2a$04$WRI8ngS1e4SVEL/0kYqbr.Uv7YM6nA81Jd9dFIUfXe1W/lQEh1O8S"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:35:59 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_49"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:59 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:35:59 UTC +00:00], ["user_id", 10]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:35:59.255573' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_50@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_50@example.jp"], ["encrypted_password", "$2a$04$6U8PC8VUE9K4YGWkIaJT/e2RVkAPbbOo2HSSH0d/wwuh98Pfxt4Nm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:35:59 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_50"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:59 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:35:59 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:35:59.272309' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_23' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_23"], ["created_at", Sat, 17 Dec 2011 20:35:59 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_23"], ["title", "message_template_23"], ["updated_at", Sat, 17 Dec 2011 20:35:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_23' AND "message_templates"."id" != 9) LIMIT 1 SQL (20.6ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:35:59 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:35:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.2ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_51@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_51@example.jp"], ["encrypted_password", "$2a$04$NFcm5k62cDVgOtVq4sFEkegsASX.BRfPGfD2k.QfIRqBa9tBgPO7e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:35:59 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_51"]] SQL (0.5ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:59 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:35:59 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:35:59.334871' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_52@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (55.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_52@example.jp"], ["encrypted_password", "$2a$04$Op2QvA8tqmcicud53Pz9Hu0ZMy/RBNImDJmu.6N.vR9E2e6iSNCCi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:35:59 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_52"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:59 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:35:59 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:35:59.403057' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_24' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_24"], ["created_at", Sat, 17 Dec 2011 20:35:59 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_24"], ["title", "message_template_24"], ["updated_at", Sat, 17 Dec 2011 20:35:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_53@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_53@example.jp"], ["encrypted_password", "$2a$04$wDrl3NL25NNAksxxRi5QI.HKlYhFzyQC4jmZ680nUZU1hk2yVzuq."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:35:59 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_53"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:59 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:35:59 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:35:59.431574' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"12", "receiver_id"=>"13", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_54@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (75.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_54@example.jp"], ["encrypted_password", "$2a$04$hlaLjOUb6prJ0HJQeP6Zp.JPtQe35Op1A3c.wfAU/4kQIcQdKe1Eu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:35:59 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_54"]] SQL (1.4ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:59 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:35:59 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:35:59.611132' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_55@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_55@example.jp"], ["encrypted_password", "$2a$04$UkbXBpLMdjqnDj8imseNKudXWE7XudHHdMFlKd1W4AwpXMIOllAd."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:35:59 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_55"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:59 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:35:59 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:35:59.625045' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_25' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_25"], ["created_at", Sat, 17 Dec 2011 20:35:59 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_25"], ["title", "message_template_25"], ["updated_at", Sat, 17 Dec 2011 20:35:59 UTC +00:00]]  (10.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_25' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:35:59 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:35:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_56@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_56@example.jp"], ["encrypted_password", "$2a$04$ATiXZuCcWp1cyLKxoRDDG.fMGqFpWndQJUVMkVssXAXAdtNJAYFi2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:35:59 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_56"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:59 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:35:59 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:35:59.660628' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_57@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_57@example.jp"], ["encrypted_password", "$2a$04$P/gq0bLYZV9ojW7siQBLR.0vVjsje7UoTB9cLZHCJcNWJ8pSF4tQ2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:35:59 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_57"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:59 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:35:59 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:35:59.691887' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_26' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_26"], ["created_at", Sat, 17 Dec 2011 20:35:59 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_26"], ["title", "message_template_26"], ["updated_at", Sat, 17 Dec 2011 20:35:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_58@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_58@example.jp"], ["encrypted_password", "$2a$04$uwKyF7j9b7DaFCD2VDwLZuuIOn6mP3/gBiyReuSOkyP/791Lk5kI2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:35:59 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_58"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:35:59 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:35:59 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:35:59.708710' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1 Completed 403 Forbidden in 49ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (311.3ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_59@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (53.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:00 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_59@example.jp"], ["encrypted_password", "$2a$04$cjZ0JGJxPt338vps2QTqo.J4Br1uP9WrZn6ct/gW7JiuHjlSjX0Py"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:00 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_59"]] SQL (9.5ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:00 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:36:00 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:00.516124' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_60@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (30.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:00 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_60@example.jp"], ["encrypted_password", "$2a$04$k6wVqHIOB58.w2N0fbK.LeBE01/wVzz4oyxjyY1tzZ1msIamXL0v6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:00 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_60"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:00 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:36:00 UTC +00:00], ["user_id", 11]]  (25.0ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:00.567972' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_27' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_27"], ["created_at", Sat, 17 Dec 2011 20:36:00 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_27"], ["title", "message_template_27"], ["updated_at", Sat, 17 Dec 2011 20:36:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_27' AND "message_templates"."id" != 9) LIMIT 1 SQL (144.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:36:00 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:36:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_61@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:00 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_61@example.jp"], ["encrypted_password", "$2a$04$QyFUUfORbmtPWXz1ZtZKjenNM0LiGgKPag0WW/S2C5Cg15Mnndi2e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:00 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_61"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:00 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:36:00 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:00.792589' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_62@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:00 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_62@example.jp"], ["encrypted_password", "$2a$04$ZraxYVUlgO3OfjyPdXQ7fuke.nfPOHLd8kO0/dIUVpZsoq/rYDjgS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:00 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_62"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:00 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:36:00 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:00.812965' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_28' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_28"], ["created_at", Sat, 17 Dec 2011 20:36:00 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_28"], ["title", "message_template_28"], ["updated_at", Sat, 17 Dec 2011 20:36:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"12", "receiver_id"=>"13", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.3ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_63@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (34.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:00 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_63@example.jp"], ["encrypted_password", "$2a$04$xGYNUxnliymDQ2PldzgcyewXb4VEJD0DIvxv7AyvHpOHLVT3flBty"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:00 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_63"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:00 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:36:00 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:00.975978' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_64@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:00 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_64@example.jp"], ["encrypted_password", "$2a$04$8jdSzv9ev9pD3J3UuICwTeQogJMNA6Qcalb.0nGCb64z06iTAq2sa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:00 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_64"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:00 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:36:00 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:00.993961' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_29' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_29"], ["created_at", Sat, 17 Dec 2011 20:36:00 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_29"], ["title", "message_template_29"], ["updated_at", Sat, 17 Dec 2011 20:36:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_29' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:36:01 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:36:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_65@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_65@example.jp"], ["encrypted_password", "$2a$04$KtU0b4VkjAQlychbeO6hc.K6Yoty2U5c8fj/U/0PZqtNcKJwFFkDG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:01 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_65"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:01 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:36:01 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:01.017302' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_66@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_66@example.jp"], ["encrypted_password", "$2a$04$xDJL1J0QEiiipFBHU7Whku6qupETjtg2H6pUCu.kjlVECn8zI5kMa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:01 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_66"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:01 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:36:01 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:01.030364' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_30' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_30"], ["created_at", Sat, 17 Dec 2011 20:36:01 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_30"], ["title", "message_template_30"], ["updated_at", Sat, 17 Dec 2011 20:36:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"12", "receiver_id"=>"13", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_67@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_67@example.jp"], ["encrypted_password", "$2a$04$C/cbzzawVp5Gtn8oNdJGV.eFWzkLkx98S1BHGCGtIzvw.Ikcl4vpq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:01 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_67"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:01 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:36:01 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:01.060252' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.4ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_68@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (31.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_68@example.jp"], ["encrypted_password", "$2a$04$uO2BLJbd1qujAK3wJ9r5Re6v/TtnzfV2uZTbd8sZC/1hLo3/nHJ3W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:01 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_68"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:01 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:36:01 UTC +00:00], ["user_id", 11]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:01.104368' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_31' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_31"], ["created_at", Sat, 17 Dec 2011 20:36:01 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_31"], ["title", "message_template_31"], ["updated_at", Sat, 17 Dec 2011 20:36:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_31' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:36:01 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:36:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_69@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_69@example.jp"], ["encrypted_password", "$2a$04$cvhEndAxy0q/CDVdFaSxR.2fNQarWyeHYI6ThX/sjR3E4p36zUmKS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:01 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_69"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:01 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:36:01 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:01.129005' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_70@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (6.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_70@example.jp"], ["encrypted_password", "$2a$04$jbkQq8sMqcSrd5RZc4rLreryRYuYRJOXFbg4AYtIydhZXHxAKVpTO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:01 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_70"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:01 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:36:01 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:01.146835' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_32' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_32"], ["created_at", Sat, 17 Dec 2011 20:36:01 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_32"], ["title", "message_template_32"], ["updated_at", Sat, 17 Dec 2011 20:36:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 8ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_71@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (127.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_71@example.jp"], ["encrypted_password", "$2a$04$55/3nHf0hsjhx0n6zTL68.64VYdtH5kODrHcP/9nYge5r98tcUUTu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:01 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_71"]] SQL (18.5ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:01 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:36:01 UTC +00:00], ["user_id", 10]]  (6.0ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:01.452346' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_72@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (59.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_72@example.jp"], ["encrypted_password", "$2a$04$FarU1AMG78vnUb0gr.MV9uiV7u/PSNEBFvG2QV6VozK0Bs3Lq15mK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:01 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_72"]] SQL (55.4ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:01 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:36:01 UTC +00:00], ["user_id", 11]]  (20.7ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:01.585520' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_33' LIMIT 1 SQL (24.1ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_33"], ["created_at", Sat, 17 Dec 2011 20:36:01 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_33"], ["title", "message_template_33"], ["updated_at", Sat, 17 Dec 2011 20:36:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_33' AND "message_templates"."id" != 9) LIMIT 1 SQL (19.0ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:36:01 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:36:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_7@example.jp"], ["encrypted_password", "$2a$04$QkrXTxzosZ/S.qPGNgRsLO5LOxyJkTraxO3IXaV8FeZHueEeRQTN6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:01 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_7"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:01 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:36:01 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:01.693429' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 10ms Role Load (66.3ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_73@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (10.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_73@example.jp"], ["encrypted_password", "$2a$04$GOkS5AzXcdikcHVGnTMT5egWlnaL5ast3j.rFj0kExp/0WxnK88Jy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:01 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_73"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:01 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:36:01 UTC +00:00], ["user_id", 10]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:01.884376' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_74@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (97.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_74@example.jp"], ["encrypted_password", "$2a$04$e13MBWK9PAtd8juwFZbMoe7zcCzonC5xolkXFW3FzDBvlGj0EuQGy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:01 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_74"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:01 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:36:01 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:01.992996' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_34' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_34"], ["created_at", Sat, 17 Dec 2011 20:36:01 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_34"], ["title", "message_template_34"], ["updated_at", Sat, 17 Dec 2011 20:36:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_34' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:36:02 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:36:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_8@example.jp"], ["encrypted_password", "$2a$04$.BEXM5aFes8eqR5PVf8wiOhRhBFS.5cUdpoUH92JdbNex49.rMmVK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_8"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:02 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:36:02 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:02.017487' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 9ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_75@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (25.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_75@example.jp"], ["encrypted_password", "$2a$04$dsTwpKyQW5cEkgzMgB3XRO9giFqRQs9n6wq11JQmzRsbuhUJBaLfK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_75"]] SQL (38.0ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:02 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:36:02 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:02.111640' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_76@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (63.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_76@example.jp"], ["encrypted_password", "$2a$04$JBaTyObcUGfIA2Zg5AG0au2.3kSS7Zg9Z4WQhCKWYqqMUxjDuQ3SS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_76"]] SQL (9.7ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:02 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:36:02 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:02.196600' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_35' LIMIT 1 SQL (19.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_35"], ["created_at", Sat, 17 Dec 2011 20:36:02 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_35"], ["title", "message_template_35"], ["updated_at", Sat, 17 Dec 2011 20:36:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_35' AND "message_templates"."id" != 9) LIMIT 1 SQL (33.9ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:36:02 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:36:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_7@example.jp"], ["encrypted_password", "$2a$04$a9Wq6hD8od.EaoxZ6IlkYetxJ5uGSMmviByGoCrw4J7L4xtLmLXY."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_7"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:02 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:36:02 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:02.395467' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (1.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 10ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_77@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (19.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_77@example.jp"], ["encrypted_password", "$2a$04$riKPbevoqEshxIxN0Sn1zucrENk4d3yRVlia8wHbgor8p9EysaP5W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_77"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:02 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:36:02 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:02.460509' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_78@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (198.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_78@example.jp"], ["encrypted_password", "$2a$04$fR0BFmIDjFa757kvkq0ZY.gsTX65.Qn6WfYxV/NuXlLZ7WbmEpVwa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_78"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:02 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:36:02 UTC +00:00], ["user_id", 11]]  (42.7ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:02.672790' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_36' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_36"], ["created_at", Sat, 17 Dec 2011 20:36:02 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_36"], ["title", "message_template_36"], ["updated_at", Sat, 17 Dec 2011 20:36:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_36' AND "message_templates"."id" != 9) LIMIT 1 SQL (83.0ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:36:02 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:36:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (304.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_8@example.jp"], ["encrypted_password", "$2a$04$4izq5InW0a6hSDn4aorbzOEnbZSkHS5QztaM3HC1Vz/4ME4WKtKAC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_8"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:03 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:36:03 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:03.128909' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 7ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_79@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (24.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:03 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_79@example.jp"], ["encrypted_password", "$2a$04$rtldAIVJXdkVdz1QUwT/HekT6IdC4NXAMxcG.a/oloHwnvs8pMnnO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:03 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_79"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:03 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:36:03 UTC +00:00], ["user_id", 10]]  (9.6ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:03.196551' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_80@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (15.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:03 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_80@example.jp"], ["encrypted_password", "$2a$04$sVJDqqeOT1q/krb/tkNs1e.6dl5lhItFupFPFRG8nVHap9CWZ15ae"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:03 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_80"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:03 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:36:03 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:03.229622' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_37' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_37"], ["created_at", Sat, 17 Dec 2011 20:36:03 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_37"], ["title", "message_template_37"], ["updated_at", Sat, 17 Dec 2011 20:36:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_37' AND "message_templates"."id" != 9) LIMIT 1 SQL (19.6ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:36:03 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:36:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_81@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:03 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_81@example.jp"], ["encrypted_password", "$2a$04$sDdo13v3b48pyNnB8teiS.JnlHfl8tOyYMnoXtaTL2P3uzJJQnV9S"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:03 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_81"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:03 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:36:03 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:03.265055' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_82@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (12.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:03 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_82@example.jp"], ["encrypted_password", "$2a$04$DYsSW57DCod1m3ap.QR1veTYHqShMRP0Prbbn/X5PElBAMxowUreS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:03 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_82"]] SQL (26.8ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:03 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:36:03 UTC +00:00], ["user_id", 10]]  (0.3ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:03.411133' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_83@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (29.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:03 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_83@example.jp"], ["encrypted_password", "$2a$04$tIWb0MXZs2w8W/dILkjrmun2I.mI5nza2p8yHjRe906E1xtBOF6xy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:03 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_83"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:03 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:36:03 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:03.448007' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_38' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_38"], ["created_at", Sat, 17 Dec 2011 20:36:03 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_38"], ["title", "message_template_38"], ["updated_at", Sat, 17 Dec 2011 20:36:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_38' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:36:03 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:36:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_84@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:03 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_84@example.jp"], ["encrypted_password", "$2a$04$VRyaIAYkXTglNZIpBH0QPuN1pWGrG0xWgG./ym4Q4h.hgS1.9cnD."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:03 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_84"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:03 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:36:03 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:03.463612' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_85@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (23.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:03 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_85@example.jp"], ["encrypted_password", "$2a$04$6t2m.WwIfcq62Mke4aQ65uayg/Y293yBHHfrvlDBGI5RuDwN8Q4c."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:03 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_85"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:03 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:36:03 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:03.504344' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_86@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (63.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:03 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_86@example.jp"], ["encrypted_password", "$2a$04$GwJg633Npkif.ZCPPgGtxe33c4Xo4zmcP8d0DRmI3/pJUA3qlD1xy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:03 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_86"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:03 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:36:03 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:03.575729' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_39' LIMIT 1 SQL (26.1ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_39"], ["created_at", Sat, 17 Dec 2011 20:36:03 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_39"], ["title", "message_template_39"], ["updated_at", Sat, 17 Dec 2011 20:36:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_39' AND "message_templates"."id" != 9) LIMIT 1 SQL (6.9ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:36:03 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:36:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_87@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:03 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_87@example.jp"], ["encrypted_password", "$2a$04$cbtiZ00TNOhIPP6ngkM3muuQ7eLRXMPJVLj8GeyP4UKjBWQYA1cgm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:03 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_87"]] SQL (27.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:03 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:36:03 UTC +00:00], ["user_id", 10]]  (25.0ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:03.708229' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_88@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (15.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:03 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_88@example.jp"], ["encrypted_password", "$2a$04$uUIbn775orRbTzGLmso.UuG.L5pwJbn2Dczlfqxgk5BAvVcGjNCQW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:03 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_88"]] SQL (5.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:03 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:36:03 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:03.761585' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_40' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_40"], ["created_at", Sat, 17 Dec 2011 20:36:03 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_40"], ["title", "message_template_40"], ["updated_at", Sat, 17 Dec 2011 20:36:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_40' AND "message_templates"."id" != 9) LIMIT 1 SQL (19.6ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:36:03 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:36:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_41' LIMIT 1 SQL (43.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_41"], ["created_at", Sat, 17 Dec 2011 20:36:03 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_41"], ["title", "message_template_41"], ["updated_at", Sat, 17 Dec 2011 20:36:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:03 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_9@example.jp"], ["encrypted_password", "$2a$04$hKrymVNq4KN5eJ.kVNNYcutwtHyVGMYaxBck5fknIWA8nIv2ge4mC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:03 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_9"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:03 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:36:03 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:03.899158' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 200 OK in 14ms (Views: 5.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position LIMIT 10 OFFSET 0  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_42' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_42"], ["created_at", Sat, 17 Dec 2011 20:36:03 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_42"], ["title", "message_template_42"], ["updated_at", Sat, 17 Dec 2011 20:36:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (23.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:03 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_9@example.jp"], ["encrypted_password", "$2a$04$TDW4gW8VQZ44e22Xrlr.k.s.VtDCQxslfm5sUQCO769w7.1iEbfgi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:03 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_9"]] SQL (8.8ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:03 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:36:03 UTC +00:00], ["user_id", 10]]  (7.6ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:03.970962' WHERE "roles"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 200 OK in 8ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position LIMIT 10 OFFSET 0  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_43' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_43"], ["created_at", Sat, 17 Dec 2011 20:36:04 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_43"], ["title", "message_template_43"], ["updated_at", Sat, 17 Dec 2011 20:36:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_89@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (73.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:04 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_89@example.jp"], ["encrypted_password", "$2a$04$vubHcgZ37pyFwPBdZ1mPW.Rr8QuTpSRlfXdpualfz2CFlMuKPFkFG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:04 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_89"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:04 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:36:04 UTC +00:00], ["user_id", 10]]  (12.3ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:04.151560' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "message_templates" WHERE ('t'='f')  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_44' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_44"], ["created_at", Sat, 17 Dec 2011 20:36:04 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_44"], ["title", "message_template_44"], ["updated_at", Sat, 17 Dec 2011 20:36:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 10ms  (0.1ms) SELECT COUNT(*) FROM "message_templates" WHERE ('t'='f') Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (42.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:04 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_10@example.jp"], ["encrypted_password", "$2a$04$OVS.T8aqZPMbyrtey5bJWu8zyiV3CUK/8RwOfQOahjXoUyq13LnES"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:04 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_10"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:04 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:36:04 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:04.303215' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_45' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_45"], ["created_at", Sat, 17 Dec 2011 20:36:04 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_45"], ["title", "message_template_45"], ["updated_at", Sat, 17 Dec 2011 20:36:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 200 OK in 38ms (Views: 30.0ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (60.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:04 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_10@example.jp"], ["encrypted_password", "$2a$04$9VATff51WFaBwQSPghARG.WO3aNwLYVOcDxqk41DVBezhGD3sXloK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:04 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_10"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:04 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:36:04 UTC +00:00], ["user_id", 10]]  (48.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:04.431933' WHERE "roles"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_46' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_46"], ["created_at", Sat, 17 Dec 2011 20:36:04 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_46"], ["title", "message_template_46"], ["updated_at", Sat, 17 Dec 2011 20:36:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 200 OK in 16ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_90@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (62.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:04 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_90@example.jp"], ["encrypted_password", "$2a$04$MfCfJXtKeplZ1nRnPEcN7.HB6GbJngaC875rj62aQl7E6FW.Ermsm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:04 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_90"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:04 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:36:04 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:04.593503' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_47' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_47"], ["created_at", Sat, 17 Dec 2011 20:36:04 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_47"], ["title", "message_template_47"], ["updated_at", Sat, 17 Dec 2011 20:36:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_48' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_48"], ["created_at", Sat, 17 Dec 2011 20:36:04 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_48"], ["title", "message_template_48"], ["updated_at", Sat, 17 Dec 2011 20:36:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:04 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_11@example.jp"], ["encrypted_password", "$2a$04$8aljQCCdJn9Dg7GbSk.tFei.VY1XP22zeWJqkCwybPTpADqzF9OPC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:04 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_11"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:04 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:36:04 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:04.661219' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:04 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_11@example.jp"], ["encrypted_password", "$2a$04$tuFN6L/Bu6CI8R2kIExIieZ3TXASgrJzeUWDMarM14cq8varYrkLS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:04 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_11"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:04 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:36:04 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:04.698735' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_91@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:04 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_91@example.jp"], ["encrypted_password", "$2a$04$O4u4771xIevCGIvJnS0Y1.TkqZcSz/lGRHERpoK0Qly8tj.2vOohm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:04 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_91"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:04 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:36:04 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:04.752298' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Processing by MessageTemplatesController#new as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 5ms MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:04 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_12@example.jp"], ["encrypted_password", "$2a$04$f5B5RCgnPU5z7zS.Q4AQRupZW4M3As1h0eWvrvG42pVfarDf12MGS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:04 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_12"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:04 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:36:04 UTC +00:00], ["user_id", 10]]  (0.8ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:04.804848' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_49' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_49"], ["created_at", Sat, 17 Dec 2011 20:36:04 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_49"], ["title", "message_template_49"], ["updated_at", Sat, 17 Dec 2011 20:36:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 200 OK in 12ms (Views: 3.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (62.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:04 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_12@example.jp"], ["encrypted_password", "$2a$04$GHz3TaonQ.9IsLcQxk4Ar.srjRgcdjWxr1BOCpn8GpD73unlyuzCC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:04 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_12"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:04 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:36:04 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:04.904777' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_50' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_50"], ["created_at", Sat, 17 Dec 2011 20:36:04 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_50"], ["title", "message_template_50"], ["updated_at", Sat, 17 Dec 2011 20:36:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_92@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (135.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:05 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_92@example.jp"], ["encrypted_password", "$2a$04$TYRYgvaWiTrgITihQmYv1eYN6j5VJN2Squ4TwCTSmyl3BKnK1hs9."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:05 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_92"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:05 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:36:05 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:05.236568' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_51' LIMIT 1 SQL (26.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_51"], ["created_at", Sat, 17 Dec 2011 20:36:05 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_51"], ["title", "message_template_51"], ["updated_at", Sat, 17 Dec 2011 20:36:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_52' LIMIT 1 SQL (182.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_52"], ["created_at", Sat, 17 Dec 2011 20:36:05 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_52"], ["title", "message_template_52"], ["updated_at", Sat, 17 Dec 2011 20:36:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:05 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_13@example.jp"], ["encrypted_password", "$2a$04$9/JroaCPJFw3OqULuQ683.caVVwswCdtxI.Fih9MphGaE5hAwyf5W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:05 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_13"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:05 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:36:05 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:05.505232' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_53", "status"=>"message_template_53", "body"=>"message_template_53"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_53' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:05 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_14@example.jp"], ["encrypted_password", "$2a$04$JRT2D1a.a4LxMhzImlq9oO51QGfg5BarObOowkIph3QYO0jb4XHjO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:05 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_14"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:05 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:36:05 UTC +00:00], ["user_id", 10]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:05.542039' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_54", "status"=>"message_template_54", "body"=>"message_template_54"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (43.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:05 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_15@example.jp"], ["encrypted_password", "$2a$04$4oqYOMJ3vrnyyEQiIqIYBuEEi2syyx3T7kuKqiJs/TjgszMPjwLtS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:05 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_15"]] SQL (15.6ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:05 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:36:05 UTC +00:00], ["user_id", 10]]  (6.9ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:05.655342' WHERE "roles"."id" = 4  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:05 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_16@example.jp"], ["encrypted_password", "$2a$04$N9y6Z/OzTd9mejAAeO.pzeePKD0nbXYZ/5gp.CNlaIsUbRbE35WkK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:05 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_16"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:05 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:36:05 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:05.736848' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:05 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_13@example.jp"], ["encrypted_password", "$2a$04$D8vFMBT5QCVA0EVI/rVGA.xnaceJ7wN6b3kRbfAdYvFvctuGGcnoK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:05 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_13"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:05 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:36:05 UTC +00:00], ["user_id", 10]]  (31.7ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:05.764147' WHERE "roles"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_57", "status"=>"message_template_57", "body"=>"message_template_57"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 76ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_57' LIMIT 1 Role Load (63.9ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (7.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:06 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_14@example.jp"], ["encrypted_password", "$2a$04$3F/OIOcl.VGIkf1gOIJsIec9aPQj0Q1foA5O.pZruaD6hn42T9FB6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:06 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_14"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:06 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:36:06 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:06.544567' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_58", "status"=>"message_template_58", "body"=>"message_template_58"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:06 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_15@example.jp"], ["encrypted_password", "$2a$04$U5pOacKC2DGTbmi6Z.yr6e6PfpYuKcGdHVwDyAMxGrnoF4MIZkf7C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:06 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_15"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:06 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:36:06 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:06.578422' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:06 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_16@example.jp"], ["encrypted_password", "$2a$04$UiWYI6VR5ttD8AX5pDz/keYJr0Tm/eFLKAC/TdCPWMpqd.L2bq57O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:06 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_16"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:06 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:36:06 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:06.612199' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_93@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:06 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_93@example.jp"], ["encrypted_password", "$2a$04$KC.wc5HG1nbdpSL1tz.IOuKgzmE5amkhybmTQINPn.wbKNiWKV8Bm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:06 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_93"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:06 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:36:06 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:06.643272' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_61", "status"=>"message_template_61", "body"=>"message_template_61"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_61' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_94@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:06 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_94@example.jp"], ["encrypted_password", "$2a$04$GszHK8Dd2a.C.xq7ucbrdek4T6r84CD0C2afklBPs.NyFIxCTyJ7W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:06 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_94"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:06 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:36:06 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:06.674941' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_62", "status"=>"message_template_62", "body"=>"message_template_62"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_95@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:06 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_95@example.jp"], ["encrypted_password", "$2a$04$Le27tw6Oe2BKGOu819PN/.n6r3xVNvBjjHz5NKXQ7wg6w7eaW/NXa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:06 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_95"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:06 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:36:06 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:06.703324' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_96@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (404.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:06 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_96@example.jp"], ["encrypted_password", "$2a$04$hqnNdk8.xkMxO2SzAgETu.rU/.RPD5zCilSEqyXTpYcCHvR48M.xi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:06 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_96"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:07 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:36:07 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:07.137510' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_65", "status"=>"message_template_65", "body"=>"message_template_65"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms MessageTemplate Load (34.6ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_65' LIMIT 1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_66", "status"=>"message_template_66", "body"=>"message_template_66"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_69' LIMIT 1 SQL (37.8ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_69"], ["created_at", Sat, 17 Dec 2011 20:36:07 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_69"], ["title", "message_template_69"], ["updated_at", Sat, 17 Dec 2011 20:36:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (35.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:07 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_17@example.jp"], ["encrypted_password", "$2a$04$FAADNHWUug8awDPP0XqUwuSprMCoq8KtzCfvzYHerFSd5mWriysAS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:07 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_17"]] SQL (2.9ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:07 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:36:07 UTC +00:00], ["user_id", 10]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:07.443802' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_70", "status"=>"message_template_70", "body"=>"message_template_70"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_70' AND "message_templates"."id" != 9) LIMIT 1  (11.1ms) UPDATE "message_templates" SET "title" = 'message_template_70', "status" = 'message_template_70', "body" = 'message_template_70', "updated_at" = '2011-12-17 20:36:07.459619' WHERE "message_templates"."id" = 9  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates/9 Completed 302 Found in 64ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_71' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_71"], ["created_at", Sat, 17 Dec 2011 20:36:07 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_71"], ["title", "message_template_71"], ["updated_at", Sat, 17 Dec 2011 20:36:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:07 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_18@example.jp"], ["encrypted_password", "$2a$04$Bgopl21oP6WFpN.DyZNJHeuSnnfIwuB5WqcAw.ue7H8mvEQ6jGfK6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:07 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_18"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:07 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:36:07 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:07.601246' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_72", "status"=>"message_template_72", "body"=>"message_template_72"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_72' AND "message_templates"."id" != 9) LIMIT 1  (0.2ms) UPDATE "message_templates" SET "title" = 'message_template_72', "status" = 'message_template_72', "body" = 'message_template_72', "updated_at" = '2011-12-17 20:36:07.615241' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates/9 Completed 302 Found in 14ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_73' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_73"], ["created_at", Sat, 17 Dec 2011 20:36:07 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_73"], ["title", "message_template_73"], ["updated_at", Sat, 17 Dec 2011 20:36:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (32.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:07 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_19@example.jp"], ["encrypted_password", "$2a$04$yF0IBte.PYW6z9iwhkOR6eh62M5fhMWB8tcKEBMazw1Z8We3I/ZzW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:07 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_19"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:07 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:36:07 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:07.670763' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_74", "status"=>"message_template_74", "body"=>"message_template_74"}, "position"=>"2", "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "message_templates" SET "position" = 0, "updated_at" = '2011-12-17 20:36:07.681626' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "message_templates" SET position = (position - 1) WHERE "message_templates"."id" IN (SELECT "message_templates"."id" FROM "message_templates" WHERE (1 = 1 AND position > 9) ORDER BY position) SQL (0.2ms) UPDATE "message_templates" SET position = (position + 1) WHERE "message_templates"."id" IN (SELECT "message_templates"."id" FROM "message_templates" WHERE (1 = 1 AND position >= 2) ORDER BY position)  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "message_templates" SET "position" = 2, "updated_at" = '2011-12-17 20:36:07.684036' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates Completed 302 Found in 11ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_75' LIMIT 1 SQL (20.9ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_75"], ["created_at", Sat, 17 Dec 2011 20:36:07 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_75"], ["title", "message_template_75"], ["updated_at", Sat, 17 Dec 2011 20:36:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:07 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_20@example.jp"], ["encrypted_password", "$2a$04$Sp0brIDtqIm.nidmky/1kexr99LqJoxrHWgzJg6ONZyP5I/1OWWZC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:07 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_20"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:07 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:36:07 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:07.900379' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = '' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 9ms (Views: 1.0ms | ActiveRecord: 0.0ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (35.8ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_77' LIMIT 1 SQL (14.1ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_77"], ["created_at", Sat, 17 Dec 2011 20:36:07 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_77"], ["title", "message_template_77"], ["updated_at", Sat, 17 Dec 2011 20:36:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (6.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_17@example.jp"], ["encrypted_password", "$2a$04$RB4ONsk4EyuCIkSJWA4K1eScvemTaZ27ICnPRxA4nsKd3nb9/S0A6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:08 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_17"]] SQL (11.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:08 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:36:08 UTC +00:00], ["user_id", 10]]  (1.8ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:08.026732' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_78", "status"=>"message_template_78", "body"=>"message_template_78"}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_79' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_79"], ["created_at", Sat, 17 Dec 2011 20:36:08 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_79"], ["title", "message_template_79"], ["updated_at", Sat, 17 Dec 2011 20:36:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (36.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_18@example.jp"], ["encrypted_password", "$2a$04$aqTBgZGbf3gHFh2XBPyH.utsz4RxL3Xy4XDiSIHwpG.dqnw.Y/rQW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:08 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_18"]] SQL (21.8ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:08 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:36:08 UTC +00:00], ["user_id", 10]]  (21.6ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:08.109662' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_80", "status"=>"message_template_80", "body"=>"message_template_80"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_81' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_81"], ["created_at", Sat, 17 Dec 2011 20:36:08 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_81"], ["title", "message_template_81"], ["updated_at", Sat, 17 Dec 2011 20:36:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (59.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_19@example.jp"], ["encrypted_password", "$2a$04$lUg0/x0DtoVoPpxjj655EuyPSGITMc8cuxrbZdP3lj.CPE74PpYW2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:08 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_19"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:08 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:36:08 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:08.254826' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_83' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_83"], ["created_at", Sat, 17 Dec 2011 20:36:08 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_83"], ["title", "message_template_83"], ["updated_at", Sat, 17 Dec 2011 20:36:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_97@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (17.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_97@example.jp"], ["encrypted_password", "$2a$04$TG4piYNmfYZU.9/tSwWvnupcu6AovhiekzUHsbcY3mqr50GTInyha"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:08 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_97"]] SQL (16.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:08 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:36:08 UTC +00:00], ["user_id", 10]]  (17.6ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:08.484260' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_84", "status"=>"message_template_84", "body"=>"message_template_84"}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_85' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_85"], ["created_at", Sat, 17 Dec 2011 20:36:08 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_85"], ["title", "message_template_85"], ["updated_at", Sat, 17 Dec 2011 20:36:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_98@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (44.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_98@example.jp"], ["encrypted_password", "$2a$04$O/YByjH1rUc5Q7o5zb8i1ekYeIJ5iUcjM0CcO43mKbbGU6DKIQF4C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:08 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_98"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:08 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:36:08 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:08.631777' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_86", "status"=>"message_template_86", "body"=>"message_template_86"}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_87' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_87"], ["created_at", Sat, 17 Dec 2011 20:36:08 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_87"], ["title", "message_template_87"], ["updated_at", Sat, 17 Dec 2011 20:36:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_99@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (44.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_99@example.jp"], ["encrypted_password", "$2a$04$lHnDVZOMZmCfSnxOIftxs.QQFALK3qML2n/tU3LDjJaHttwDXuz3u"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:08 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_99"]] SQL (24.7ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:08 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:36:08 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:08.736061' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_89' LIMIT 1 SQL (45.1ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_89"], ["created_at", Sat, 17 Dec 2011 20:36:08 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_89"], ["title", "message_template_89"], ["updated_at", Sat, 17 Dec 2011 20:36:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_90", "status"=>"message_template_90", "body"=>"message_template_90"}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_91' LIMIT 1 SQL (66.0ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_91"], ["created_at", Sat, 17 Dec 2011 20:36:08 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_91"], ["title", "message_template_91"], ["updated_at", Sat, 17 Dec 2011 20:36:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_92", "status"=>"message_template_92", "body"=>"message_template_92"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 62ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_93' LIMIT 1 SQL (24.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_93"], ["created_at", Sat, 17 Dec 2011 20:36:08 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_93"], ["title", "message_template_93"], ["updated_at", Sat, 17 Dec 2011 20:36:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.4ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_95' LIMIT 1 SQL (0.9ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_95"], ["created_at", Sat, 17 Dec 2011 20:36:09 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_95"], ["title", "message_template_95"], ["updated_at", Sat, 17 Dec 2011 20:36:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (85.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_21@example.jp"], ["encrypted_password", "$2a$04$/V/TDNNdbJ4M495RiGP2AuXkUrTNTzx8gstl0cA6CH6pI4hqvqKqS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_21"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:09 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:36:09 UTC +00:00], ["user_id", 10]]  (24.4ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:09.140011' WHERE "roles"."id" = 4  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_96' LIMIT 1 SQL (2.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_96"], ["created_at", Sat, 17 Dec 2011 20:36:09 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_96"], ["title", "message_template_96"], ["updated_at", Sat, 17 Dec 2011 20:36:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (26.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_22@example.jp"], ["encrypted_password", "$2a$04$FwOV5.IAcljW9aW4OfRD/uu7q9yIPqMef4RwSXcX.HtWq.g21TViC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_22"]] SQL (3.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:09 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:36:09 UTC +00:00], ["user_id", 10]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:09.252087' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_97' LIMIT 1 SQL (33.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_97"], ["created_at", Sat, 17 Dec 2011 20:36:09 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_97"], ["title", "message_template_97"], ["updated_at", Sat, 17 Dec 2011 20:36:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_20@example.jp"], ["encrypted_password", "$2a$04$3zEl6AkQhH68pJ6J/a/xu.jpyudUM7FAuI8wKcOI3ph6QHcdFYDwe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_20"]] SQL (27.0ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:09 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:36:09 UTC +00:00], ["user_id", 10]]  (7.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:09.349570' WHERE "roles"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_98' LIMIT 1 SQL (67.0ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_98"], ["created_at", Sat, 17 Dec 2011 20:36:09 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_98"], ["title", "message_template_98"], ["updated_at", Sat, 17 Dec 2011 20:36:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_21@example.jp"], ["encrypted_password", "$2a$04$7uE/RdjgKki99FHK4USekOgSjUCheKLQ2//t86fWc6fPJrXc29CFS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_21"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:09 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:36:09 UTC +00:00], ["user_id", 10]]  (18.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:09.460349' WHERE "roles"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_99' LIMIT 1 SQL (40.8ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_99"], ["created_at", Sat, 17 Dec 2011 20:36:09 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_99"], ["title", "message_template_99"], ["updated_at", Sat, 17 Dec 2011 20:36:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_100@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_100@example.jp"], ["encrypted_password", "$2a$04$Lju..yrUFoiuGEyF/dGuJeDA4RfC.quXdUEpYsLjyaj8ShZxJ.13u"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_100"]] SQL (44.5ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:09 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:36:09 UTC +00:00], ["user_id", 10]]  (59.4ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:09.652882' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_100' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_100"], ["created_at", Sat, 17 Dec 2011 20:36:09 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_100"], ["title", "message_template_100"], ["updated_at", Sat, 17 Dec 2011 20:36:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_101@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (17.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_101@example.jp"], ["encrypted_password", "$2a$04$2rgh2S2QTXzFKUqoofx9pe/Bk/e94fCKWx5phLlJIRNexoFkVz/w6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_101"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:09 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:36:09 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:09.800438' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_101' LIMIT 1 SQL (12.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_101"], ["created_at", Sat, 17 Dec 2011 20:36:09 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_101"], ["title", "message_template_101"], ["updated_at", Sat, 17 Dec 2011 20:36:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_102' LIMIT 1 SQL (62.9ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_102"], ["created_at", Sat, 17 Dec 2011 20:36:09 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_102"], ["title", "message_template_102"], ["updated_at", Sat, 17 Dec 2011 20:36:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms Role Load (7.5ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_23@example.jp"], ["encrypted_password", "$2a$04$qjVPX76QOdLm2fRI1H/G3.RgH1Hienyba/rt6mhMpVU5p//DY/pXe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_23"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:11 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:36:11 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:11.546988' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 SOLR Request (7.8ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A10&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (6.3ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A10&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 45ms (Views: 6.5ms | ActiveRecord: 0.3ms | Solr: 14.2ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_24@example.jp"], ["encrypted_password", "$2a$04$2Kan83RyYVPEXiDpJmvwJuXMT22pVtQTthZELG2gK7K/Ip.2nA7sG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_24"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:11 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:36:11 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:11.677223' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML Parameters: {"user_id"=>"admin_24"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'admin_24' LIMIT 1 SOLR Request (5.4ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A10&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (3.9ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A10&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 20ms (Views: 1.4ms | ActiveRecord: 0.5ms | Solr: 9.3ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_22@example.jp"], ["encrypted_password", "$2a$04$iTmefpR.kA6jafGaA/8Eu.tFsKJUHfAwGPAylfh/S3Ih7iI/PtD6S"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_22"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:11 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:36:11 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:11.794753' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 SOLR Request (6.0ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A10&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (3.4ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A10&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 20ms (Views: 1.6ms | ActiveRecord: 0.4ms | Solr: 9.4ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_23@example.jp"], ["encrypted_password", "$2a$04$Xuo9KusnjWZFH3VbYLPBQOGVE8T/ZPmDjE4pdsq8uZfdt0bYmMqpy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_23"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:11 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:36:11 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:11.988130' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML Parameters: {"user_id"=>"librarian_23"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'librarian_23' LIMIT 1 SOLR Request (10.6ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A10&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (2.9ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A10&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 104ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 13.5ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 SOLR Request (3.3ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (13.4ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IN (2) Completed 200 OK in 51ms (Views: 1.3ms | ActiveRecord: 0.6ms | Solr: 16.8ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML Parameters: {"query"=>"you"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 SOLR Request (9.0ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&q=you&fl=%2A+score&qf=body_text+subject_text&defType=dismax&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (16.1ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&q=you&fl=%2A+score&qf=body_text+subject_text&defType=dismax&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Message Load (0.3ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IN (2) Completed 200 OK in 38ms (Views: 1.4ms | ActiveRecord: 0.5ms | Solr: 25.1ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 SOLR Request (9.9ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (4.0ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IN (2) Completed 200 OK in 26ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 14.0ms) Processing by MessagesController#index as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.4ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 75ms (Views: 2.8ms | ActiveRecord: 0.9ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 403 Forbidden in 13ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#show as HTML Parameters: {"id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 3 AND "messages"."id" = ? LIMIT 1 [["id", "2"]]  (0.1ms) SAVEPOINT active_record_1  (0.4ms) UPDATE "messages" SET "read_at" = '2011-12-17 20:36:12.685136', "updated_at" = '2011-12-17 20:36:12.685599' WHERE "messages"."id" = 2 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1  (0.5ms) UPDATE "messages" SET "state" = 'read', "updated_at" = '2011-12-17 20:36:12.693490' WHERE "messages"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 88ms (Views: 2.4ms | ActiveRecord: 1.8ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.2ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 9ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_25@example.jp"], ["encrypted_password", "$2a$04$ReNQebzBbcfjlkCefk6rr.69GWVWOQsgFla48mTKh7TMZcUXaoU4m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_25"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:12 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:36:12 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:12.927028' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 Completed 200 OK in 16ms (Views: 3.5ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_24@example.jp"], ["encrypted_password", "$2a$04$5/wnwiFluhhvbSEc9QSTGOJFyIjPjfO8ctrSV6CVSNqnk7AhIbN52"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_24"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:12 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:36:12 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:12.963774' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 Completed 200 OK in 10ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 13ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.9ms | ActiveRecord: 0.4ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML Parameters: {"parent_id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.3ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 20ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML Parameters: {"parent_id"=>"2"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 77ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Processing by MessagesController#new as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 8ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_26@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_26@example.jp"], ["encrypted_password", "$2a$04$Sf5/.2QT4estsPRfTuu/xuqWZ2FebNnfYOeMtmTPnuqEgbj0l4Scm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_26"]] SQL (0.7ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:13 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:36:13 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:13.164436' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 10 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 12ms (Views: 1.4ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_25@example.jp"], ["encrypted_password", "$2a$04$EegF8ACkP4gP/KSFdnQxpOA2EtABC0AoGW6XAblMbf8qM69rjK5z6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_25"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:13 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:36:13 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:13.199419' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.6ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 22ms (Views: 1.3ms | ActiveRecord: 1.0ms | Solr: 0.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_102@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (8.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_102@example.jp"], ["encrypted_password", "$2a$04$RLJrr.ODReNnVj1R5gru.O56V.2.oCLo3a4x9oUSg5K4jI1CJMNc2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_102"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:36:13 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:13.272692' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.4ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_103@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (12.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_103@example.jp"], ["encrypted_password", "$2a$04$9cl3hjTk4WjNBoD//ZmdO.elhYq3wjAxBO82u2Y79TaPPMD80oLx2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_103"]] SQL (11.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:36:13 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:13.326564' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user_102' LIMIT 1 Message Load (0.3ms) SELECT "messages".* FROM "messages" ORDER BY "rgt" desc LIMIT 1 SQL (7.0ms) INSERT INTO "messages" ("body", "created_at", "lft", "message_request_id", "parent_id", "read_at", "receiver_id", "rgt", "sender_id", "state", "subject", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "new message body is really short"], ["created_at", Sat, 17 Dec 2011 20:36:13 UTC +00:00], ["lft", 9], ["message_request_id", nil], ["parent_id", nil], ["read_at", nil], ["receiver_id", 10], ["rgt", 10], ["sender_id", 11], ["state", "unread"], ["subject", "new message"], ["updated_at", Sat, 17 Dec 2011 20:36:13 UTC +00:00]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_27@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (23.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_27@example.jp"], ["encrypted_password", "$2a$04$z7YwOU3LTHGrheyEVIStQeYYO2R55I3mcYmARyqrfBtXNAYEH54ZO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_27"]] SQL (2.4ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:13 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:36:13 UTC +00:00], ["user_id", 10]]  (17.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:13.391885' WHERE "roles"."id" = 4  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 15ms (Views: 1.3ms | ActiveRecord: 0.6ms | Solr: 0.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_28@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (39.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_28@example.jp"], ["encrypted_password", "$2a$04$weYBDgAcpMkKVCC5x39pqubftyjzziLTSQlsjig4h5OLNVdzd6hnK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_28"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:13 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:36:13 UTC +00:00], ["user_id", 10]]  (8.4ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:13.501928' WHERE "roles"."id" = 4  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 35ms (Views: 1.3ms | ActiveRecord: 0.6ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_29@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (72.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_29@example.jp"], ["encrypted_password", "$2a$04$Y297LVT8QmitripqTZX3eeETcHsxMlEcAD8tHRbv94jmxMtbmxZme"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_29"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:13 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:36:13 UTC +00:00], ["user_id", 10]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:13.648376' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 14ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 0.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_30@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_30@example.jp"], ["encrypted_password", "$2a$04$tx2DZxenxLa77beboWdp7OkbmCEwuH4Dveq5gkWkkJsydu68doDay"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_30"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:13 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:36:13 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:13.691472' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 15ms (Views: 1.6ms | ActiveRecord: 0.5ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test", "parent_id"=>"2"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user2' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user2' LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" ORDER BY "rgt" desc LIMIT 1 SQL (16.5ms) INSERT INTO "messages" ("body", "created_at", "lft", "message_request_id", "parent_id", "read_at", "receiver_id", "rgt", "sender_id", "state", "subject", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "test"], ["created_at", Sat, 17 Dec 2011 20:36:13 UTC +00:00], ["lft", 9], ["message_request_id", nil], ["parent_id", 2], ["read_at", nil], ["receiver_id", 5], ["rgt", 10], ["sender_id", 2], ["state", "unread"], ["subject", "test"], ["updated_at", Sat, 17 Dec 2011 20:36:13 UTC +00:00]] Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? ORDER BY "lft" LIMIT 1 [["id", 2]] Message Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 7]] SQL (22.6ms) UPDATE "messages" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 7 THEN 2 ELSE "parent_id" END WHERE "messages"."id" IN (SELECT "messages"."id" FROM "messages" ORDER BY "lft") Message Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 2]] Message Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 7]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/messages Completed 302 Found in 93ms User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test", "parent_id"=>"2"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.5ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_104@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (18.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_104@example.jp"], ["encrypted_password", "$2a$04$f584J8Ly7fgyUVRjOlisbukZiFyvbu4cg.qaoR59n3ZqVWyhjnbJu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_104"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:36:13 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:13.928373' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_105@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (37.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_105@example.jp"], ["encrypted_password", "$2a$04$NxNZpaEJlwzMuB7ggTVAmubr2VwmqxOpF37Jlyu9BiXIurAvp3Vf6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_105"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:36:13 UTC +00:00], ["user_id", 11]]  (15.8ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:13.975809' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_104", "sender_id"=>"11", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 22ms (Views: 0.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_106@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (49.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_106@example.jp"], ["encrypted_password", "$2a$04$GjC4plVTwupziqOoEOsc3eHH/JP59vLQMaG58YoCvmpJQiGq5eBcq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_106"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:14 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:36:14 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:14.080330' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_107@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (21.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_107@example.jp"], ["encrypted_password", "$2a$04$m9ZlrVl/ZySeORd2j06v6.PX05iG40KV6yCpWlsBO24CBHf1fEQPO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_107"]] SQL (27.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:14 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:36:14 UTC +00:00], ["user_id", 11]]  (25.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:14.136554' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_106", "sender_id"=>"11", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_108@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (31.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_108@example.jp"], ["encrypted_password", "$2a$04$/1bFfBijW1ZCGfhbFToeTOyCD19MShCs0mgFVmdPiHqeA1np1PAou"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_108"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:14 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:36:14 UTC +00:00], ["user_id", 10]]  (8.0ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:14.214175' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_109@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (17.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_109@example.jp"], ["encrypted_password", "$2a$04$dVJLqSK9/IXXoQr.ijk28ON7yt5vk/PCWW72/tAxWlfq3um/B4Uta"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_109"]] SQL (18.5ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:14 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:36:14 UTC +00:00], ["user_id", 11]]  (0.8ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:14.290389' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_110@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (29.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_110@example.jp"], ["encrypted_password", "$2a$04$FoORZurwhmBxtfqjbjD7TuwgAeq93aJ3.VvbemYtj.vspIyyU8sZG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_110"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:14 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:36:14 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:14.355574' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_111@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_111@example.jp"], ["encrypted_password", "$2a$04$aP6AkbBosJyDj1clWI58QeTfznh9JGqGCpeSBy1/iGhFL0HSfND7e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_111"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:14 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:36:14 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:14.364338' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_112@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_112@example.jp"], ["encrypted_password", "$2a$04$aq7HUO92/wtVMsGLdcKeKOZcQhEvCbAb712gH3Z5pGYhDWb7amI9i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_112"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:14 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:36:14 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:14.382541' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_113@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_113@example.jp"], ["encrypted_password", "$2a$04$0HcRTAT55NM2CUBiHO1tyOwysQfzKjaKutLptnpyTLAySsw0vFn46"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_113"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:14 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:36:14 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:14.390723' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_112", "sender_id"=>"11", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_114@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (37.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_114@example.jp"], ["encrypted_password", "$2a$04$.RZte5kpEsfr9u6ee1IrOOqmezxn4bVMxcRo0jV0oSKHeqTCrCGBy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_114"]] SQL (19.0ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:14 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:36:14 UTC +00:00], ["user_id", 10]]  (4.3ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:14.477659' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_115@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (38.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_115@example.jp"], ["encrypted_password", "$2a$04$sRlgPVBEDw2snqO0lomy0Oq9JXMXohbNdPUyYWG67gP5XEyltPDoe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_115"]] SQL (70.9ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:14 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:36:14 UTC +00:00], ["user_id", 11]]  (165.0ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:14.621626' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_114", "sender_id"=>"11", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.8ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_116@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (45.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_116@example.jp"], ["encrypted_password", "$2a$04$liuCEiKYxkB9LjNXvHTIWe0JLfhzHnhX0WYo5AA3x680IWmKP2yVG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_116"]] SQL (11.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:15 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:36:15 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:15.024076' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_117@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (45.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_117@example.jp"], ["encrypted_password", "$2a$04$UJVe0WXaaC8IMEGgebsWr.Bq.7PWz5gb2Xba5KD2YI5ppMS5vDjsm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:15 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_117"]] SQL (34.0ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:15 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:36:15 UTC +00:00], ["user_id", 11]]  (6.3ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:15.115329' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 14ms (Views: 1.2ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_118@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_118@example.jp"], ["encrypted_password", "$2a$04$vjGq2P27J0ar.WoW/rUJqOrIDwDOgFuULbhWmIziNMaet9KchE0Tq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:15 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_118"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:15 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:36:15 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:15.158554' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_119@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_119@example.jp"], ["encrypted_password", "$2a$04$UeqIDt/lpdUNOPG720BNEOQsKxkmsEj89/nhogNZ8Y7IlLVNb9Uz2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:15 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_119"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:15 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:36:15 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:15.172428' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 14ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_120@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (274.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_120@example.jp"], ["encrypted_password", "$2a$04$pOn0MyE1V3YJ3ABbATF9H..1gRdjtBdkPZAbGYdHMxrhajduDQGMW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:15 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_120"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:15 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:36:15 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:15.523179' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_121@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (17.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_121@example.jp"], ["encrypted_password", "$2a$04$UAM/lu/31W2sL/qgbgYP1u4/srePcGX5GLMu.wtsmSyLIK31EYzIq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:15 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_121"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:15 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:36:15 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:15.552487' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 15ms (Views: 5.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_122@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (39.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_122@example.jp"], ["encrypted_password", "$2a$04$1o8FQh2bzE53WHlHFYUPqeJJGf9s4oAHxXoR1y3rUSxQxQl03m8WS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:15 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_122"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:15 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:36:15 UTC +00:00], ["user_id", 10]]  (20.3ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:15.668923' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_123@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (36.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_123@example.jp"], ["encrypted_password", "$2a$04$XSuobULDCc4X2ckCWhvI1OcIldrQRIbOcUFk8Pr5r7.iBkGdjpyGS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:15 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_123"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:15 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:36:15 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:15.736994' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 13ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (8.5ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_124@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (21.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_124@example.jp"], ["encrypted_password", "$2a$04$tvWKqUlt9zAZkKtmYmBrJuLTpxOn5mKWJVDrP9zdc4jn348l90UdC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:15 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_124"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:15 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:36:15 UTC +00:00], ["user_id", 10]]  (60.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:15.856982' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_125@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (88.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_125@example.jp"], ["encrypted_password", "$2a$04$S3MNknlS5KSBYYEVgp3IteQ.GUHF4btcgJyisNrgTlzRFD.d1pZXW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:15 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_125"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:16 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:36:16 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:16.017035' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_124", "sender_id"=>"11", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_126@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (116.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:16 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_126@example.jp"], ["encrypted_password", "$2a$04$WbLFengfaNCms9ZHAnjB/e..SiqyMo/UNFoF52cqPP6kg3G/gSgi6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:16 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_126"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:16 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:36:16 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:16.163460' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_127@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (95.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:16 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_127@example.jp"], ["encrypted_password", "$2a$04$XG4WsqzqoROIyJiSCQNY/OtTyfz4dZjIRL3UFf9ypqzz2bSFBXUia"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:16 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_127"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:16 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:36:16 UTC +00:00], ["user_id", 11]]  (22.4ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:16.271733' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_126", "sender_id"=>"11", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 24ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_128@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (41.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:16 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_128@example.jp"], ["encrypted_password", "$2a$04$kdPwcdvNS927te1QXmqqqORJnJvb6thXesbjubQcQN0nZrYLXaHh6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:16 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_128"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:16 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:36:16 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:16.438859' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_129@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (19.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:16 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_129@example.jp"], ["encrypted_password", "$2a$04$tbBx6znyo5FpDUmu9OLv7ufDqQzttO28oUZ14cA4W9/4A43n2.4DS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:16 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_129"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:16 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:36:16 UTC +00:00], ["user_id", 11]]  (20.3ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:16.469469' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 13ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_130@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (28.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:16 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_130@example.jp"], ["encrypted_password", "$2a$04$ihk5iWUd0TD5hkUSleSIi.IioC2/QaKimvwEFIFmcJzOf6ARKtuTi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:16 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_130"]] SQL (7.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:16 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:36:16 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:16.579549' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_131@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (9.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:16 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_131@example.jp"], ["encrypted_password", "$2a$04$u/zIotuXP3/.tj5sliG.cOqjJnj15oduV2F5TnxhB3TWsV.hP5HEG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:16 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_131"]] SQL (19.5ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:16 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:36:16 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:16.619972' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_132@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (36.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:16 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_132@example.jp"], ["encrypted_password", "$2a$04$ncrVoiOQD.fRheD15VsT.O40KvOoQ9IxxV3qKqW5ty/s22HGI3AES"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:16 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_132"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:16 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:36:16 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:16.684893' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.7ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_133@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (108.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:16 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_133@example.jp"], ["encrypted_password", "$2a$04$qOHZyVUNG3knW5ss2GZxSuyJGSKqX7Rlb3VGUkfXIHEnNyaiCmQrK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:36:16 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_133"]] SQL (3.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:36:16 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:36:16 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:36:16.809011' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 10ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#destroy as HTML Parameters: {"id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 3 AND "messages"."id" = ? LIMIT 1 [["id", "2"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "messages" WHERE ("lft" > 3 AND "rgt" < 4) SQL (14.9ms) UPDATE "messages" SET "lft" = ("lft" - 2) WHERE "messages"."id" IN (SELECT "messages"."id" FROM "messages" WHERE ("lft" > 4) ORDER BY "lft") SQL (1.0ms) UPDATE "messages" SET "rgt" = ("rgt" - 2) WHERE "messages"."id" IN (SELECT "messages"."id" FROM "messages" WHERE ("rgt" > 4) ORDER BY "lft") SQL (0.2ms) DELETE FROM "messages" WHERE "messages"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/messages Completed 302 Found in 35ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.2ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 8ms LibraryGroup Load (7.3ms) SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]] LibraryGroup Load (0.1ms) SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]] Fixture Delete (16.2ms) DELETE FROM "library_groups" Fixture Insert (0.2ms) INSERT INTO "library_groups" ("id", "name", "display_name", "short_name", "email", "note", "my_networks", "url", "created_at", "updated_at") VALUES (1, 'unknown', 'unknown', 'unknown', 'next-l@library.example.jp', NULL, '0.0.0.0/0', 'http://localhost:3000/', '2011-12-17 20:37:06', '2011-12-17 20:37:06') Fixture Delete (0.1ms) DELETE FROM "message_requests" Fixture Insert (0.1ms) INSERT INTO "message_requests" ("sender_id", "receiver_id", "message_template_id", "state", "created_at", "updated_at", "id") VALUES (1, 1, 1, 'pending', '2011-12-17 20:37:06', '2011-12-17 20:37:06', 980190962) Fixture Insert (0.1ms) INSERT INTO "message_requests" ("sender_id", "receiver_id", "message_template_id", "state", "created_at", "updated_at", "id") VALUES (1, 1, 1, 'pending', '2011-12-17 20:37:06', '2011-12-17 20:37:06', 298486374) Fixture Delete (0.1ms) DELETE FROM "message_templates" Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (1, 'reservation_accepted', 'Reservation accepted', 'Reservation accepted', 1, '2011-12-17 20:37:06', '2011-12-17 20:37:06') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (2, 'item_received', 'Item received', 'Item received', 2, '2011-12-17 20:37:06', '2011-12-17 20:37:06') Fixture Insert (0.2ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (3, 'reservation_expired_for_patron', 'Reservation expired', 'Reservation expired', 3, '2011-12-17 20:37:06', '2011-12-17 20:37:06') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (4, 'reservation_expired_for_library', 'Reservation expired', 'Reservation expired', 4, '2011-12-17 20:37:06', '2011-12-17 20:37:06') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (5, 'reservation_canceled_for_patron', 'Reservation canceled', 'Reservation canceled', 5, '2011-12-17 20:37:06', '2011-12-17 20:37:06') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (6, 'reservation_canceled_for_library', 'Reservation canceled', 'Reservation canceled', 6, '2011-12-17 20:37:06', '2011-12-17 20:37:06') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (7, 'recall_item', 'Recall item', 'Recall item', 7, '2011-12-17 20:37:06', '2011-12-17 20:37:06') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (8, 'recall_overdue_item', 'Recall overdue item', 'Recall overdue item', 8, '2011-12-17 20:37:06', '2011-12-17 20:37:06') Fixture Delete (0.3ms) DELETE FROM "messages" Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "read_at", "state", "lft", "rgt", "updated_at") VALUES (1, 3, 4, 'First Message', 'Abby, you get the first message', '2007-07-04 12:10:47.0', '2011-12-14 20:37:06', 'unread', 1, 2, '2011-12-17 20:37:06') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (2, 4, 3, 'RE: First Message', 'Thanks Dad! You are the coolest!', '2011-12-15 20:37:06', 'unread', 3, 4, '2011-12-17 20:37:06') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (3, 3, 4, 'Second Message', 'Catie, you get the 2nd message', '2011-12-16 20:37:06', 'unread', 5, 6, '2011-12-17 20:37:06') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (6, 4, 5, 'Dad!', 'He is sucha dork.', '2011-12-15 20:37:06', 'unread', 7, 8, '2011-12-17 20:37:06') Fixture Delete (20.3ms) DELETE FROM "roles" Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Guest', 'Guest', 1, NULL, '2011-12-17 20:37:06', '2011-12-17 20:37:06') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('User', 'User', 2, NULL, '2011-12-17 20:37:06', '2011-12-17 20:37:06') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Librarian', 'Librarian', 3, NULL, '2011-12-17 20:37:06', '2011-12-17 20:37:06') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Administrator', 'Administrator', 4, NULL, '2011-12-17 20:37:06', '2011-12-17 20:37:06') Fixture Delete (9.5ms) DELETE FROM "user_groups" Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('(not specified)', '(not specified)', '2007-12-13 12:00:51.564542', 1, '', '2007-12-13 12:00:01.674976', 1) Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('User', 'User', '2007-12-22 18:14:56.836548', 2, '', '2007-12-22 18:14:40.173954', 2) Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('Faculty', 'Faculty', '2007-12-22 18:15:05.134351', 3, '', '2007-12-22 18:15:05.126457', 3) Fixture Delete (1.1ms) DELETE FROM "user_has_roles" Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (1, 4, '2011-12-17 20:37:06', '2011-12-17 20:37:06', 135138680) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (2, 3, '2011-12-17 20:37:06', '2011-12-17 20:37:06', 344583537) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (3, 2, '2011-12-17 20:37:06', '2011-12-17 20:37:06', 206669143) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (4, 3, '2011-12-17 20:37:06', '2011-12-17 20:37:06', 226540757) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (5, 2, '2011-12-17 20:37:06', '2011-12-17 20:37:06', 358143215) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (6, 2, '2011-12-17 20:37:06', '2011-12-17 20:37:06', 576709754) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (7, 2, '2011-12-17 20:37:06', '2011-12-17 20:37:06', 1010528733) Fixture Delete (4.7ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:16:30.163731', '$2a$10$vHohD1WflnTIqAa8zMkF9evwAgIZRw3XuR4d3bi29M.jph/MB/AJi', 2, 1, NULL, 'admin', 'tanabe@kamata.lib.teu.ac.jp', '2007-11-19 07:58:32.111941', 4) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 03:41:16.337474', '$2a$10$9O2VuTccN4gHq36ARg0QReSrb1D7WrBBhZZ759RM9moHbB0W5zCzS', 1, 2, NULL, 'librarian1', 'librarian1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:33.172441', 1) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', '$2a$10$JthS59A0BNkDOoFpCXM0V.GhhffKaoWKbzpPahYp/vTFrOyM7h/uW', 1, 3, NULL, 'user1', 'user1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:23.340575', '$2a$10$YmmTGrYQ1Ir6oc7wXnp.GuNeO1eYLoP3sv8wMSIrTdaGw2BPwRrpS', 1, 4, NULL, 'librarian2', '2008-01-18 03:24:04.222344', 1) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:44.711117', '$2a$10$i7UjJhLVrJM/J7qaTwW39OXw1NiwowUEbtNHVDV0sqMLjX9.UO9ca', 1, 5, NULL, 'user2', '2008-01-18 04:29:06.922728', 2) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 6, NULL, 'user3', 'user3@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 7, NULL, 'user4', 'user4@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.2ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (59.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:07 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_1@example.jp"], ["encrypted_password", "$2a$04$ISgtsnfyC3A9hsy.n5ZIt.zRShVRfssZ7RgSGHAGJEhu2oRk/l1.y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:07 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_1"]] SQL (9.8ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:07 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:37:07 UTC +00:00], ["user_id", 10]]  (79.3ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:07.467014' WHERE "roles"."id" = 4  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Rendered /Users/kosuke/enju_message/app/views/message_requests/index.html.erb within layouts/application (50.1ms) Completed 200 OK in 128ms (Views: 112.6ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:07 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_1@example.jp"], ["encrypted_password", "$2a$04$AqFaLmclETspC7kiArUOKuqfT65cELpOqpU/aB51zYIc8r31jcxXG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:07 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_1"]] SQL (16.5ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:07 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:37:07 UTC +00:00], ["user_id", 10]]  (2.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:07.747479' WHERE "roles"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 200 OK in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (56.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:07 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_1@example.jp"], ["encrypted_password", "$2a$04$tpT8CjpZYeRN3/O4RMCw/eTcytba4NUagK56OPVuPSB6tiSYTLASa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:07 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_1"]] SQL (22.4ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:07 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:07 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:07.865476' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 3.1ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "message_requests" WHERE ('t'='f') Processing by MessageRequestsController#index as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 14ms  (0.1ms) SELECT COUNT(*) FROM "message_requests" WHERE ('t'='f') Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:07 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_2@example.jp"], ["encrypted_password", "$2a$04$s4WefkvSXiRlOafXxXWVUe6GUQDEZanhV0ECV38tOXNSKfYxvlS6a"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:07 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_2"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:07 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:37:07 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:07.914585' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:07 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_2@example.jp"], ["encrypted_password", "$2a$04$6bKBue3ML.1MZZwp6TbB6ubsIK4cPx8n3YKEMAbxJvh4DN2CHTONq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:07 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_2"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:07 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:07 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:07.929630' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:07 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_3@example.jp"], ["encrypted_password", "$2a$04$s0YTHEHEpuwhTgUdJgPwB.Bz9NEUMvA8jqRjhs8Cw3INQTSyUzyaq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:07 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_3"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:07 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:07 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:07.954625' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_1' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_1"], ["created_at", Sat, 17 Dec 2011 20:37:07 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_1"], ["title", "message_template_1"], ["updated_at", Sat, 17 Dec 2011 20:37:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_1' AND "message_templates"."id" != 9) LIMIT 1 SQL (1.0ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:37:07 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:37:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.2ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 200 OK in 61ms (Views: 51.5ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_2@example.jp"], ["encrypted_password", "$2a$04$VfANBUyX9R384CmlLBID5OmzWXrvcLiUgbuVmLDgSVQhHXBUcjvk2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:08 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_2"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:08 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:37:08 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:08.080811' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_4@example.jp"], ["encrypted_password", "$2a$04$xk4qqsTnmb4rOMvpoWn0TOAxzrwjsh4pS0vfvP0wMvJZAMampLrxG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:08 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_4"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:08 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:08 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:08.098529' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_5@example.jp"], ["encrypted_password", "$2a$04$Ts1HSs5oPPElyjtOe/W0Z.CbNIOLsfBiE13J8JCkYFCK7a2zKWcwS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:08 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_5"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:08 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:08 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:08.113485' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_2' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_2"], ["created_at", Sat, 17 Dec 2011 20:37:08 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_2"], ["title", "message_template_2"], ["updated_at", Sat, 17 Dec 2011 20:37:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_2' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:37:08 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:37:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 200 OK in 17ms (Views: 1.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (40.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_6@example.jp"], ["encrypted_password", "$2a$04$sr7AvPrsCpypngCIHhAJm.9rgF6KWJ6wqXiNlbACtCp8VTbXdyihi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:08 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_6"]] SQL (7.6ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:08 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:08 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:08.265297' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_7@example.jp"], ["encrypted_password", "$2a$04$Lb47y0FBL9gPNMXBnQ5V..Bb5ljV3BcQSF8imQrncz./GP3CGOTOq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:08 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_7"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:08 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:08 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:08.280157' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_8@example.jp"], ["encrypted_password", "$2a$04$Ivmz8j8XNoWvrv.KfO4W1.O2RQ5pmspUU/Hq/Dl5sSTHg5b1UvWLe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:08 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_8"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:08 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:08 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:08.293802' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_3' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_3"], ["created_at", Sat, 17 Dec 2011 20:37:08 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_3"], ["title", "message_template_3"], ["updated_at", Sat, 17 Dec 2011 20:37:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_3' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:37:08 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:37:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_9@example.jp"], ["encrypted_password", "$2a$04$GY8HQ1Su3Ebhi.MmHSd8GO4LU2efs3.pxj0jcPJa/lrjOokXvdTR2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:08 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_9"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:08 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:08 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:08.331647' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (63.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_10@example.jp"], ["encrypted_password", "$2a$04$lnToc5mYifulm6KZArS43OkMmI.tgS6QT115Q6LYuEWFRC1r9cJe."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:08 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_10"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:08 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:08 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:08.405697' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_4' LIMIT 1 SQL (69.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_4"], ["created_at", Sat, 17 Dec 2011 20:37:08 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_4"], ["title", "message_template_4"], ["updated_at", Sat, 17 Dec 2011 20:37:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_4' AND "message_templates"."id" != 9) LIMIT 1 SQL (3.1ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:37:08 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:37:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 5ms Role Load (104.6ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_3@example.jp"], ["encrypted_password", "$2a$04$RdbvBruHZr2eJj2hCVHbBu7WVFdVi1oynvMS9vFulOnY26rUcqMdK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:08 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_3"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:08 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:37:08 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:08.608707' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (35.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_11@example.jp"], ["encrypted_password", "$2a$04$oid7lArlnKlJ1QLfDkIgfeuIlvQF1T/eSuiuiLFqA5.xLeZVt.kza"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:08 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_11"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:08 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:08 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:08.653552' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_12@example.jp"], ["encrypted_password", "$2a$04$B32jedtIp/MaIAsoJ0KtvOjR/iTD8w6WFkU.WQfRYHp1UcUv/wATa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:08 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_12"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:08 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:08 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:08.661684' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_5' LIMIT 1 SQL (64.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_5"], ["created_at", Sat, 17 Dec 2011 20:37:08 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_5"], ["title", "message_template_5"], ["updated_at", Sat, 17 Dec 2011 20:37:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_5' AND "message_templates"."id" != 9) LIMIT 1 SQL (80.9ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:37:08 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:37:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 7ms (Views: 1.6ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (89.3ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (43.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_3@example.jp"], ["encrypted_password", "$2a$04$l7qzQsOPypPFkR1.MwxmbuMrWBxMO.TgDbjkoqGVoZkwC.DT5ovJm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_3"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:09.305415' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_13@example.jp"], ["encrypted_password", "$2a$04$jMCQq7XvThrSxUr2uJbAmOQ1BT/YHPEps0lDTJ/g7v9.62f06qbXG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_13"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00], ["user_id", 11]]  (0.3ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:09.318121' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_14@example.jp"], ["encrypted_password", "$2a$04$xuaS2Ev/cllH0CX/5o.9ou4j0AHO36yFptkSoBDc5iv7fz1EjDl4."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_14"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:09.330279' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_6' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_6"], ["created_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_6"], ["title", "message_template_6"], ["updated_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_6' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 9ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_15@example.jp"], ["encrypted_password", "$2a$04$7fPf942drJwq3wOBnFVtvuaKE.7KAZsEcN07yegYGCt4Pq5/d75Pm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_15"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:09.595167' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_16@example.jp"], ["encrypted_password", "$2a$04$19A7y1NdBkAX3Nn0BJN/2eZuu0HT420obDatJUbOcG2feLLOlqB0O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_16"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:09.608826' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_17@example.jp"], ["encrypted_password", "$2a$04$e6HkSE0eRRhSDu9h/qYZwOQ3os4tAqTaZlVXpdWOvRWgcJf/DdthG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_17"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:09.621247' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_7' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_7"], ["created_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_7"], ["title", "message_template_7"], ["updated_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_7' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_18@example.jp"], ["encrypted_password", "$2a$04$QzvMdJlCMP5GdGNn0/nFVejw445ftsUoMl6fBGTPRKJgmrVNbOJ.e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_18"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:09.660809' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_19@example.jp"], ["encrypted_password", "$2a$04$H32wa8XVvummBcBKCC0FWuH83fufi5806EAOiRMERXj4tQxZssExe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_19"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:09.675003' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_8' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_8"], ["created_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_8"], ["title", "message_template_8"], ["updated_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_8' AND "message_templates"."id" != 9) LIMIT 1 SQL (51.0ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_20@example.jp"], ["encrypted_password", "$2a$04$1iY0dOXXsqPNKpO2.Qqk9uK1.ADDyFNvx9TzGL.SyFE7LowdE8nM2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_20"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:09.762955' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_21@example.jp"], ["encrypted_password", "$2a$04$5rsfHPRtc4uiSwOAJ/cBTu9kbozUI6Evv4IAPCACHws/P95nzD9La"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_21"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:09.776350' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_9' LIMIT 1 SQL (2.1ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_9"], ["created_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_9"], ["title", "message_template_9"], ["updated_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_9' AND "message_templates"."id" != 9) LIMIT 1 SQL (1.3ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_22@example.jp"], ["encrypted_password", "$2a$04$o7WGfcmdenIIk1/GcwBCN.d25zKj3JQLLx6e5LCS.laY5z0oA1O9u"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_22"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:09.846642' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_23@example.jp"], ["encrypted_password", "$2a$04$cKVZ9Sn9EG5Eo77KIKGLleJoGhQmWBDn6Y2QCwJvUFnOE4C8JWRN2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_23"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:09.860696' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_10' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_10"], ["created_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_10"], ["title", "message_template_10"], ["updated_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_4@example.jp"], ["encrypted_password", "$2a$04$WEc7UOZyXJKNrDSP32WSR.0S72AEnjm51.biB6luPc4zCYe.mEaW."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_4"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:09.886144' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"12", "receiver_id"=>"13", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_10' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 12, "receiver_id" = 13, "message_template_id" = 10, "updated_at" = '2011-12-17 20:37:09.903977' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 19ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_24@example.jp"], ["encrypted_password", "$2a$04$p6KfHDm4tPwfHNcLNgdJdOZRs4HGqGBWq5262puTlddkqwWXu4/ki"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_24"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:09.923372' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_25@example.jp"], ["encrypted_password", "$2a$04$xsV/mUWpz9KeWT5lsSwOrugaGIHDz.QCMgTxENk8ZgVbjmaUsBaKy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_25"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:09.939714' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_11' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_11"], ["created_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_11"], ["title", "message_template_11"], ["updated_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_11' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_26@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_26@example.jp"], ["encrypted_password", "$2a$04$mcU6yRzgX2Er/GB6kudOku5Wn35EKB8lxs8Ft86IF48ZiwF6kJ922"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_26"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:09.965484' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.4ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_27@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_27@example.jp"], ["encrypted_password", "$2a$04$SA.y9sOngNI4d2jlrFwCjO9oueZzr88DFJ8ZkVHWDY3tWKXHZ7uZO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_27"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:09.992028' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_12' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_12"], ["created_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_12"], ["title", "message_template_12"], ["updated_at", Sat, 17 Dec 2011 20:37:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_5@example.jp"], ["encrypted_password", "$2a$04$sKpZZKsX44O8q7rT1YeoleStXCqNw0qK4BCsxlWvBAU23ys7vUss6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_5"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:10.035402' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"12", "receiver_id"=>"13", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_12' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 12, "receiver_id" = 13, "message_template_id" = 10, "updated_at" = '2011-12-17 20:37:10.110410' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 17ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_28@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (31.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_28@example.jp"], ["encrypted_password", "$2a$04$aucBSvxLMhqD8OqRnDFyMuLcBrogDlBnyca1Bfi7xVx6g3NH5P1ZG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_28"]] SQL (16.7ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:10.220428' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_29@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (23.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_29@example.jp"], ["encrypted_password", "$2a$04$cN5rD7RgKiMYsE/Jt4l8DONGUBP4qLz/PMdV3a6VFxagG.34d4/sC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_29"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["user_id", 11]]  (0.6ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:10.255097' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_13' LIMIT 1 SQL (0.9ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_13"], ["created_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_13"], ["title", "message_template_13"], ["updated_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_13' AND "message_templates"."id" != 9) LIMIT 1 SQL (1.0ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_30@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_30@example.jp"], ["encrypted_password", "$2a$04$vhXWpRNTPjNJwR35hGm5lueb1CnnE/raIVu1c7si1rulpt/2IJdAa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_30"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:10.284464' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_31@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_31@example.jp"], ["encrypted_password", "$2a$04$HoLHVISKOnA0Bl8hRdEJpOCCtow9tUa4x0F8tZWLimegqIRV5UwbG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_31"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:10.297500' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_14' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_14"], ["created_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_14"], ["title", "message_template_14"], ["updated_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_6@example.jp"], ["encrypted_password", "$2a$04$FTcX/uI6YYN2IQksXsUPT.6zqp2GZT6WALDzUArm9Q864PdeA99vC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_6"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:10.314884' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_13' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 18ms (Views: 1.3ms | ActiveRecord: 1.0ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_32@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_32@example.jp"], ["encrypted_password", "$2a$04$Sp3yzRJtW6RTll6Zv1rDtOsA8JZhRhAjHlAUDngSgEtHA7lpzsdPW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_32"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:10.353240' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.3ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_33@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_33@example.jp"], ["encrypted_password", "$2a$04$TXGdPo9SWVgMe/Uq1Kk4Tei9mRSIs5m4PnaSWMfdjnQNDMGJ/KZm2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_33"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:10.368128' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_15' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_15"], ["created_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_15"], ["title", "message_template_15"], ["updated_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_15' AND "message_templates"."id" != 9) LIMIT 1 SQL (1.1ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_34@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_34@example.jp"], ["encrypted_password", "$2a$04$1triW9Bs716V246uy045ZO4mOmqNJicyDSJG/DJoF7.TtS9V9sAhq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_34"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:10.398855' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_35@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_35@example.jp"], ["encrypted_password", "$2a$04$TVroeKvep7PNljqLiG.tn.KZYrfXLcL./iSsnlVbM6s.rodc/dwqy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_35"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:10.411634' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_16' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_16"], ["created_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_16"], ["title", "message_template_16"], ["updated_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (54.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_4@example.jp"], ["encrypted_password", "$2a$04$SQTooZ65y/jRVz9DGdwcSuzqlmu2zvfhUn3oqwDQf/L9oZZUhNM7e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_4"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:10.491600' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"12", "receiver_id"=>"13", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_16' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 12, "receiver_id" = 13, "message_template_id" = 10, "updated_at" = '2011-12-17 20:37:10.508673' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 17ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_36@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (41.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_36@example.jp"], ["encrypted_password", "$2a$04$KAcNJ0zYQ7uRMtesbnK43.OB4kSX/0qkJPc07F9k3qwVuhLp5zDyK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_36"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:10.580310' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_37@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_37@example.jp"], ["encrypted_password", "$2a$04$IWuk1uThgnDS90obeT/jo.IKNhdR2l0ae/hn8V86t6Fj8hG4ZSMzK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_37"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:10.593888' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_17' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_17"], ["created_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_17"], ["title", "message_template_17"], ["updated_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_17' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_38@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_38@example.jp"], ["encrypted_password", "$2a$04$10xKdBmf5i.k5U4cuR9KYuqw7NDzCHpUbbghiMvr8zMwcINb1Sbty"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_38"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:10.618032' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_39@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_39@example.jp"], ["encrypted_password", "$2a$04$yo6/uB2sR7Qim78M0NkH6OCr.1/bHwFl9deCKYr05NNn7K9GwpnT."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_39"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:10.630921' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_18' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_18"], ["created_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_18"], ["title", "message_template_18"], ["updated_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_5@example.jp"], ["encrypted_password", "$2a$04$pgTvK1OKyJPpBTbyxdfFGeXYfWPYrFI9cIvRvuzWfTeIGgMm5CJwi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_5"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:10.647446' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"12", "receiver_id"=>"13", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_18' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 12, "receiver_id" = 13, "message_template_id" = 10, "updated_at" = '2011-12-17 20:37:10.664985' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 17ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_40@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (16.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_40@example.jp"], ["encrypted_password", "$2a$04$i/N9ZTxQOIAcP0ijBYrNAOIVVYc98f.qj7jY0f5AFWgABN2flt1Ca"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_40"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["user_id", 10]]  (0.6ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:10.758942' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_41@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (8.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_41@example.jp"], ["encrypted_password", "$2a$04$Td/Rh2CLMtZUaYMhvORhWOKURZluYzUO7OJZty19Kn0A.1sqf7AOG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_41"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:10.786229' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_19' LIMIT 1 SQL (25.9ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_19"], ["created_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_19"], ["title", "message_template_19"], ["updated_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_19' AND "message_templates"."id" != 9) LIMIT 1 SQL (2.1ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_42@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_42@example.jp"], ["encrypted_password", "$2a$04$1f26ResxxdSYDyOVhhwLVO.3UYil1jHIY3t3XN/NiEi.GmG9DhkBC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_42"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:10.847607' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (1.7ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_43@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_43@example.jp"], ["encrypted_password", "$2a$04$opdsAyA7eAe7Fcn8ec5iWO6ll/IcFhCzvkAcyXvL/SP7JxNrozOkC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_43"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:10.862457' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_20' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_20"], ["created_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_20"], ["title", "message_template_20"], ["updated_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (56.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_6@example.jp"], ["encrypted_password", "$2a$04$xZ5eBGQ50FmpVjrdmUSeYuWzICl2X1yFFqiERzet6LKnyye8ZH6eS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_6"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:10.934803' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_19' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 17ms (Views: 1.3ms | ActiveRecord: 1.0ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_44@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (27.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_44@example.jp"], ["encrypted_password", "$2a$04$iwgMTaxiZH77hjnyjlMyRu3//thkRrOwer9h7SZadEojFC6uPf7uS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_44"]] SQL (22.5ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:10 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:11.020859' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_45@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (33.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_45@example.jp"], ["encrypted_password", "$2a$04$GeRDNqJKNSDD.wvnPrThg.1FXgNvBqOqxWV5sCVeME.b1Iyu0T5HS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_45"]] SQL (29.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:11.097774' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_21' LIMIT 1 SQL (16.9ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_21"], ["created_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_21"], ["title", "message_template_21"], ["updated_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_21' AND "message_templates"."id" != 9) LIMIT 1 SQL (4.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_46@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_46@example.jp"], ["encrypted_password", "$2a$04$YCaYXx8hCa1KLYAKdYUgCOIltYKA6ta/GjFv1zRO6f47LpsGfculm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_46"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:11.142960' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_47@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_47@example.jp"], ["encrypted_password", "$2a$04$pZOREO459FJ4btKKHrSZzO5F4OB4jWc/X.gLoLaKsKpnK8A23U7JG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_47"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:11.167120' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_22' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_22"], ["created_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_22"], ["title", "message_template_22"], ["updated_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_48@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_48@example.jp"], ["encrypted_password", "$2a$04$OjwcZVeLlddhGGxVkgNpgutMm3nEKhzmcav1Kwlh9.tF8Qtkas5Am"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_48"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:11.191381' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"12", "receiver_id"=>"13", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_49@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (22.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_49@example.jp"], ["encrypted_password", "$2a$04$zou6bXa2qZ8fNBTVVSj76.GFM/qQUSoJXiY0wpimdi7z7mwEf6m8u"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_49"]] SQL (3.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:11.260825' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_50@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_50@example.jp"], ["encrypted_password", "$2a$04$e29h8Ows7EK07wkOWp5wSu8r/oVljVRE.aKY9GBce9PDU9THZ3JlK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_50"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:11.275581' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_23' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_23"], ["created_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_23"], ["title", "message_template_23"], ["updated_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_23' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_51@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_51@example.jp"], ["encrypted_password", "$2a$04$0eDymdQZtDR6pgkm13gPq.4mld5T4WSq2s15v7FkTtGh.5NWeknE6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_51"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:11.302206' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_52@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_52@example.jp"], ["encrypted_password", "$2a$04$NJiqHEqQ4uOCy54snGYvuOyTrheRLjqnk35eGg/JWUorxps47TlJ2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_52"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:11.317275' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_24' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_24"], ["created_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_24"], ["title", "message_template_24"], ["updated_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_53@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_53@example.jp"], ["encrypted_password", "$2a$04$lGjNqSKFOCTN6LbHRUs55e5mk7fST2SjfXXX/Usnttgc8.nmBfKh6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_53"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:11.400158' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"12", "receiver_id"=>"13", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_54@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (5.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_54@example.jp"], ["encrypted_password", "$2a$04$KN7I0DY2qwh3zrvOJnuE2.3cmFtwI/UZ8RkdebsXudCuGV6coACTS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_54"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:11.489270' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_55@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (8.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_55@example.jp"], ["encrypted_password", "$2a$04$IMlEXiHEtMBzSAdjNOoqwOoo3Ig241mJVAViUshdBGTXI0ZHBBTzW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_55"]] SQL (6.4ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["user_id", 11]]  (12.4ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:11.515654' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_25' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_25"], ["created_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_25"], ["title", "message_template_25"], ["updated_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_25' AND "message_templates"."id" != 9) LIMIT 1 SQL (8.3ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_56@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_56@example.jp"], ["encrypted_password", "$2a$04$EFwUFXqmRWRucG/oq8CAPutL.HCq9C/W9IDRZY0c47jFcxZYm3CQ6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_56"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:11.561434' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_57@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_57@example.jp"], ["encrypted_password", "$2a$04$tsVhnS4xYMhVUzDIwgW2yO4mHdFYRiDkIgWtzeeeJ6HEwoSStyok2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_57"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:11.588827' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_26' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_26"], ["created_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_26"], ["title", "message_template_26"], ["updated_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_58@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_58@example.jp"], ["encrypted_password", "$2a$04$ruMyxk.3QlddahE1FY9aCOOX1MNsZB9T.dT0vwShP1gb31Jqs0IUW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_58"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:11.614028' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1 Completed 403 Forbidden in 16ms (Views: 1.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_59@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (7.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_59@example.jp"], ["encrypted_password", "$2a$04$olI80JxCpbAM3zg.oHD0S..T575eeJrq.zHzsXWSVIJoWu55OOhte"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_59"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["user_id", 10]]  (5.6ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:11.702645' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_60@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (22.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_60@example.jp"], ["encrypted_password", "$2a$04$Gjvt5q0S6bhbqBpYoYDXoO6LI6FvGCMZNB1ipbq0UBYrF69fqPoMu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_60"]] SQL (8.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["user_id", 11]]  (8.8ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:11.750279' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_27' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_27"], ["created_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_27"], ["title", "message_template_27"], ["updated_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_27' AND "message_templates"."id" != 9) LIMIT 1 SQL (11.0ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_61@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_61@example.jp"], ["encrypted_password", "$2a$04$Nym0JivMq5St8mY7DXXjMeJkXceu5FQvuRMl0LYOdRNlnWtYO51Ii"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_61"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:11.794166' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_62@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_62@example.jp"], ["encrypted_password", "$2a$04$OroyzX6AA95RZmtnLRHD.ODsIMSoOJ14Ns4BFTg7VEPP3yewjKocu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_62"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:11.811539' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_28' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_28"], ["created_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_28"], ["title", "message_template_28"], ["updated_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"12", "receiver_id"=>"13", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 70ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_63@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (5.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_63@example.jp"], ["encrypted_password", "$2a$04$FyrbjBxyosKbASEOOeqqqee0JYohNhiQbMHXwXKe4E7SPrpDgY0/e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_63"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:11.916241' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_64@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_64@example.jp"], ["encrypted_password", "$2a$04$5WidbYE1/zr5UeNHQ5kzEeg.KTnoNONKgqWp5.QLkoUEdHfHjhnDK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_64"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:11.930303' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_29' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_29"], ["created_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_29"], ["title", "message_template_29"], ["updated_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_29' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.9ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_65@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (5.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_65@example.jp"], ["encrypted_password", "$2a$04$yQTzlm3F7e.fRHC2TOFbL.5nlWHwlooQwikn5yGEN3AmXrSeKcjc6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_65"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:11.958242' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_66@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_66@example.jp"], ["encrypted_password", "$2a$04$Xf7OpqfWoQvM85HbVPFduutoGVfNOb7kxdJI4NmsHbA9a7dU2yhte"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_66"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:11.971450' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_30' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_30"], ["created_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_30"], ["title", "message_template_30"], ["updated_at", Sat, 17 Dec 2011 20:37:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"12", "receiver_id"=>"13", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_67@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_67@example.jp"], ["encrypted_password", "$2a$04$LePO7SkvhH/MRmuencP0M.X9pMdAna63zL.7Da5hlj2uyhI/I0KzS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_67"]] SQL (21.0ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["user_id", 10]]  (26.8ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:12.090295' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_68@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_68@example.jp"], ["encrypted_password", "$2a$04$OaDEJRzwSP3yCrCytMm4y.tswpa40Z2cRj2MXdohVF5gQGct/uN0m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_68"]] SQL (1.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:12.133135' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_31' LIMIT 1 SQL (4.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_31"], ["created_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_31"], ["title", "message_template_31"], ["updated_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_31' AND "message_templates"."id" != 9) LIMIT 1 SQL (3.9ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_69@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_69@example.jp"], ["encrypted_password", "$2a$04$n0kRNpSTmIvw5tEFY1QoM.qEGcsVEzmuYpMAeKpjAwF4AtykTN5tq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_69"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:12.163716' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_70@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_70@example.jp"], ["encrypted_password", "$2a$04$JLIA990cfEd0TldnfMr7iuzp2VtZh1C8xyKDybZ3dg9aUOEI5AY2y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_70"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:12.186982' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_32' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_32"], ["created_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_32"], ["title", "message_template_32"], ["updated_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 11ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_71@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_71@example.jp"], ["encrypted_password", "$2a$04$z6ZQmjNmrn9QxYeVPxZyreOYAvaMSpYqyMSyJ8x08XAs.a1wqKV2a"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_71"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:12.227360' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_72@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (61.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_72@example.jp"], ["encrypted_password", "$2a$04$W.zTPOeUo2sXiO.9iq927Oi1rznu9EcWnh5TaB0N36K2cMt.fpCla"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_72"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["user_id", 11]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:12.301710' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_33' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_33"], ["created_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_33"], ["title", "message_template_33"], ["updated_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_33' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_7@example.jp"], ["encrypted_password", "$2a$04$pYmACgJ6qcXOIrRsUD7eOOY.Blf50UfBQcEyhUfq0kQHULddl/C06"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_7"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:12.328219' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 10ms Role Load (33.4ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_73@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (113.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_73@example.jp"], ["encrypted_password", "$2a$04$f3lZY5BuPaN7xAxBT6.sE.N8XqduHhN6FNLapHhiuxp5wuN00CHM."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_73"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:12.504155' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_74@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_74@example.jp"], ["encrypted_password", "$2a$04$K8lNbLYCl0Q7MRPWRKAtX.XG/YHPTqpcKvFm7TgaUrH6.5C33/FmS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_74"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:12.517918' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.2ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_34' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_34"], ["created_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_34"], ["title", "message_template_34"], ["updated_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_34' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_8@example.jp"], ["encrypted_password", "$2a$04$HyjbeZSB3f6mxl3PuSkOA.s2N1ZIXFOzvt0w7CcgzA8/1YDYhd0VG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_8"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:12.545241' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 8ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_75@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_75@example.jp"], ["encrypted_password", "$2a$04$KCLavFruzR4KcB70gfCNI.RvOyhzT9qvHsFXsfKd1DmUM6aF7JxIO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_75"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:12.628640' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_76@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_76@example.jp"], ["encrypted_password", "$2a$04$6Ochsb.ULooEr5DAJo6Dl.4ync9nrx5bCiPmJz0YIK7Q37Dy2CfpO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_76"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["user_id", 11]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:12.642187' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_35' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_35"], ["created_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_35"], ["title", "message_template_35"], ["updated_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_35' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_7@example.jp"], ["encrypted_password", "$2a$04$qDa0N7TPkMnqqDkgh2oXK.EVBbGxEh7FJkhQT0X.gFSHKmhnYaTEW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_7"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:12.668976' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 9ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_77@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_77@example.jp"], ["encrypted_password", "$2a$04$/osWV6Jk5RtYO3XGZRckCOBqXGjIeprp47hyvHWEaSJWjy0ekiPtu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_77"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:12.696394' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_78@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_78@example.jp"], ["encrypted_password", "$2a$04$tJGbYEuuqW0bSir7HvyBfuP2sBn0auZXmh2qyn7IofyAuvMX352li"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_78"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:12.710034' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_36' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_36"], ["created_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_36"], ["title", "message_template_36"], ["updated_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_36' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_8@example.jp"], ["encrypted_password", "$2a$04$X6svzod2JjBvt2p0YNw2IejdjjBE9SKAuSwSgQ3DTHw3g1WDsUQim"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_8"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:12.790230' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 9ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_79@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_79@example.jp"], ["encrypted_password", "$2a$04$Ca8AjQHSZVPgl2Uf6ib6fuwO0tB3NZUTlgrhxf3krs/nikOlj5xoq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_79"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:12.817064' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_80@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_80@example.jp"], ["encrypted_password", "$2a$04$.guHVkk.TAuj2bMHMCSCQ..OxiLfWbU7q3/y8aCnUUkC8HHX3sf/e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_80"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:12.831782' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_37' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_37"], ["created_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_37"], ["title", "message_template_37"], ["updated_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_37' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_81@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_81@example.jp"], ["encrypted_password", "$2a$04$.QPoLxAW1A6Ys5gjVNEOQ.SMS.BUdZQaKYHEp4kduTQ7UNYd7xUki"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_81"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:12.855562' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_82@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (5.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_82@example.jp"], ["encrypted_password", "$2a$04$nnr7i95v99DKi9b.Bvs2heRoXIeQiy4slPS8BoCJCtWaN1IFvshFW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_82"]] SQL (2.4ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["user_id", 10]]  (22.0ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:12.894028' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_83@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_83@example.jp"], ["encrypted_password", "$2a$04$icTqn1PAR9fwTko6BG1m6OnIaH/91VGgCGJSLx9YajzbfCj4Dc24K"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_83"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:12.932710' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_38' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_38"], ["created_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_38"], ["title", "message_template_38"], ["updated_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_38' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_84@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_84@example.jp"], ["encrypted_password", "$2a$04$stR6kjqTPxSJuYV5hCW4VubIhsdKDtFT6wGlvnNSRwY4PE6f8hUWK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_84"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:12.959953' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_85@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_85@example.jp"], ["encrypted_password", "$2a$04$MEGBNazDZlnIQdi6HyhvV.pbZwqfwYl98fO1J5I55C9TebfzOT1CW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_85"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:12.989260' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_86@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_86@example.jp"], ["encrypted_password", "$2a$04$622zvGcqGdlh3tvHRlQWW.q7fHBHMzbWgl44W4RGRAtNKoFg2tP1u"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_86"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:13 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:13.002975' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_39' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_39"], ["created_at", Sat, 17 Dec 2011 20:37:13 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_39"], ["title", "message_template_39"], ["updated_at", Sat, 17 Dec 2011 20:37:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_39' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:37:13 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:37:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 66ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_87@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_87@example.jp"], ["encrypted_password", "$2a$04$HK/3GfOPYLp74aOsTL2xUuhGhrXudhfAhWLgdGUfrUfRSk8HcWvXS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_87"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:13 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:13.098680' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_88@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_88@example.jp"], ["encrypted_password", "$2a$04$NcHjdqvHAXboI.wQBp395.kUJCJi/GTcMFk1QXyZlTCpBAMarPPde"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_88"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:13 UTC +00:00], ["user_id", 11]]  (3.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:13.112553' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_40' LIMIT 1 SQL (19.9ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_40"], ["created_at", Sat, 17 Dec 2011 20:37:13 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_40"], ["title", "message_template_40"], ["updated_at", Sat, 17 Dec 2011 20:37:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_40' AND "message_templates"."id" != 9) LIMIT 1 SQL (30.3ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:37:13 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:37:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_41' LIMIT 1 SQL (23.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_41"], ["created_at", Sat, 17 Dec 2011 20:37:13 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_41"], ["title", "message_template_41"], ["updated_at", Sat, 17 Dec 2011 20:37:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_9@example.jp"], ["encrypted_password", "$2a$04$JC.djJT1nB9o76G.QmnzAOHlfyedrW1ZMQbPynP341kGSmzi2GEby"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_9"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:13 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:37:13 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:13.293503' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 200 OK in 13ms (Views: 5.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position LIMIT 10 OFFSET 0  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_42' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_42"], ["created_at", Sat, 17 Dec 2011 20:37:13 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_42"], ["title", "message_template_42"], ["updated_at", Sat, 17 Dec 2011 20:37:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_9@example.jp"], ["encrypted_password", "$2a$04$X3tb7M0RELEi1dyuMLhfGOnt/G8FlTXPmrtIJ0.YCCatXgpAIM85i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_9"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:13 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:37:13 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:13.330398' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 200 OK in 7ms (Views: 1.0ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position LIMIT 10 OFFSET 0  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_43' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_43"], ["created_at", Sat, 17 Dec 2011 20:37:13 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_43"], ["title", "message_template_43"], ["updated_at", Sat, 17 Dec 2011 20:37:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_89@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_89@example.jp"], ["encrypted_password", "$2a$04$PG/EVeIebW0vKfkor82.w.c9V1FVQSRRNvk8CdynsSd2RFGw5CTH6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_89"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:13 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:13.362391' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "message_templates" WHERE ('t'='f')  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_44' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_44"], ["created_at", Sat, 17 Dec 2011 20:37:13 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_44"], ["title", "message_template_44"], ["updated_at", Sat, 17 Dec 2011 20:37:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 5ms  (0.1ms) SELECT COUNT(*) FROM "message_templates" WHERE ('t'='f') Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_10@example.jp"], ["encrypted_password", "$2a$04$reWsxgbClvrZSeww8y1u1.SQAfQeYH0W2rAR4gGfFD0dbUM5kqLda"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_10"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:13 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:37:13 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:13.399832' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_45' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_45"], ["created_at", Sat, 17 Dec 2011 20:37:13 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_45"], ["title", "message_template_45"], ["updated_at", Sat, 17 Dec 2011 20:37:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 200 OK in 6ms (Views: 1.5ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_10@example.jp"], ["encrypted_password", "$2a$04$oFYlXQv32SzZ3mJVoR1V2eXBBTphJU4i7P516X04RUZHz7TvtmUAa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_10"]] SQL (15.5ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:13 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:37:13 UTC +00:00], ["user_id", 10]]  (7.3ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:13.470130' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_46' LIMIT 1 SQL (15.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_46"], ["created_at", Sat, 17 Dec 2011 20:37:13 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_46"], ["title", "message_template_46"], ["updated_at", Sat, 17 Dec 2011 20:37:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 200 OK in 5ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_90@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_90@example.jp"], ["encrypted_password", "$2a$04$.wfS8oaU13X/6vmCronBvO6f67A.C5//8vFG0Z4i9aEBtbjyr0w6e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_90"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:13 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:13.513005' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_47' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_47"], ["created_at", Sat, 17 Dec 2011 20:37:13 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_47"], ["title", "message_template_47"], ["updated_at", Sat, 17 Dec 2011 20:37:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_48' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_48"], ["created_at", Sat, 17 Dec 2011 20:37:13 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_48"], ["title", "message_template_48"], ["updated_at", Sat, 17 Dec 2011 20:37:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_11@example.jp"], ["encrypted_password", "$2a$04$JIkVztVEQhrDi78.fcuCRuKdaTEz6YxSr8ZtYXIwQODLCWUnEdVjW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_11"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:13 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:37:13 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:13.543913' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (13.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_11@example.jp"], ["encrypted_password", "$2a$04$HlGWqpVLbQCw8QZeErSo1O49Mxp0LkF7oC6aNbC0ETqEY.1EjhdIe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_11"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:13 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:37:13 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:13.597738' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_91@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (37.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_91@example.jp"], ["encrypted_password", "$2a$04$xnQKKeR5at6uEc9HDx5VI.6jxaGaro4pWo8ubcBFEFtm89aUI4Rsu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_91"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:13 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:13.670129' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Processing by MessageTemplatesController#new as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 3ms MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (29.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_12@example.jp"], ["encrypted_password", "$2a$04$K/uShPqeUfD9ZCm6H7bFXeYppD3wtIzh8MKDA4T1BAbhNi1KkklOC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_12"]] SQL (0.7ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:13 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:37:13 UTC +00:00], ["user_id", 10]]  (26.8ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:13.747175' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_49' LIMIT 1 SQL (12.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_49"], ["created_at", Sat, 17 Dec 2011 20:37:13 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_49"], ["title", "message_template_49"], ["updated_at", Sat, 17 Dec 2011 20:37:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 200 OK in 7ms (Views: 1.5ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_12@example.jp"], ["encrypted_password", "$2a$04$PQFv3eYxUzvy8gypQKejhuBUyJ4isDZ/WdGv6yKyIGxidikpZjQHa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_12"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:13 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:37:13 UTC +00:00], ["user_id", 10]]  (13.7ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:13.843304' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_50' LIMIT 1 SQL (38.0ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_50"], ["created_at", Sat, 17 Dec 2011 20:37:13 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_50"], ["title", "message_template_50"], ["updated_at", Sat, 17 Dec 2011 20:37:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_92@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (53.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_92@example.jp"], ["encrypted_password", "$2a$04$M0h0m.DzT7lab245u4AYwOVxrMVc8ATfxn8H2PvLK1xlHx0uIEWcK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_92"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:13 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:13.991919' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_51' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_51"], ["created_at", Sat, 17 Dec 2011 20:37:13 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_51"], ["title", "message_template_51"], ["updated_at", Sat, 17 Dec 2011 20:37:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_52' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_52"], ["created_at", Sat, 17 Dec 2011 20:37:14 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_52"], ["title", "message_template_52"], ["updated_at", Sat, 17 Dec 2011 20:37:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_13@example.jp"], ["encrypted_password", "$2a$04$cwSm/3/A6F9GptwobNBeUOydj0YpqeOsybOgK1NbLyVJ7Y36dZb7S"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_13"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:14 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:37:14 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:14.022114' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_53", "status"=>"message_template_53", "body"=>"message_template_53"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_53' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (23.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_14@example.jp"], ["encrypted_password", "$2a$04$.WRy/yHfLSITUrjVgexTEO0lCKTu9LCRS1tff9aRUidvGY5HckQCK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_14"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:14 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:37:14 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:14.063388' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_54", "status"=>"message_template_54", "body"=>"message_template_54"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_15@example.jp"], ["encrypted_password", "$2a$04$eO.WK8PPLDjLI9oA1FOnMuoEG8H/NQQyPEhDpk/ImQwRu4rRpenES"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_15"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:14 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:37:14 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:14.081609' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (21.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_16@example.jp"], ["encrypted_password", "$2a$04$K.3cZO03UbO4pSUuSoYzUeWem4lWkXxUWma8MAVtMourM/YVBRqGW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_16"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:14 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:37:14 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:14.121076' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_13@example.jp"], ["encrypted_password", "$2a$04$6wiooynZaoXLMCAriazSQuoKaifKfy6qGDOWXorZ8IfRGd49E49zm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_13"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:14 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:37:14 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:14.138075' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_57", "status"=>"message_template_57", "body"=>"message_template_57"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_57' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_14@example.jp"], ["encrypted_password", "$2a$04$DbfN.iVC5/jcnKsJZCeljOaWNHe7kAXt8qRubtbk9e2Lh3ZJBi/Ae"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_14"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:14 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:37:14 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:14.214719' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_58", "status"=>"message_template_58", "body"=>"message_template_58"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_15@example.jp"], ["encrypted_password", "$2a$04$EumwPtOgxO9jMJcbI55fBuq23ZWed5rT20zgKwqLjSKtyhPil6WmO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_15"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:14 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:37:14 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:14.231855' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_16@example.jp"], ["encrypted_password", "$2a$04$rftnrEkhvhuVrcGmUoz/Vu.7cWX5vHaiHJV0E7h.l9WkJgnaUO08m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_16"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:14 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:37:14 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:14.250091' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_93@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_93@example.jp"], ["encrypted_password", "$2a$04$BbK9mndy4GzMtuzCXboRHeuenuGYLrM3O18iTrdMB0PGLanNoheQ6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_93"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:14 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:14 UTC +00:00], ["user_id", 10]]  (0.3ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:14.266982' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_61", "status"=>"message_template_61", "body"=>"message_template_61"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_61' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_94@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (58.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_94@example.jp"], ["encrypted_password", "$2a$04$DKiVGmQK/ybWZuzYkkupeOZL76UB6In7dDNJJbBuFECzeNPcHIdm2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_94"]] SQL (0.6ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:14 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:14 UTC +00:00], ["user_id", 10]]  (1.0ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:14.345939' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_62", "status"=>"message_template_62", "body"=>"message_template_62"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 8ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_95@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_95@example.jp"], ["encrypted_password", "$2a$04$PENxvQlQHD7W5DtKKyDDLOLyhMpkvnkZZG6PwGKhYsEu8TpzEulcq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_95"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:14 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:14 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:14.371652' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 8ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_96@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_96@example.jp"], ["encrypted_password", "$2a$04$clrXQY85eLbfX0/BJPB72uGeTY5XGfgzBZbT3jbRlQhk.lQhZTeIq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_96"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:14 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:14 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:14.401054' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 8ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_65", "status"=>"message_template_65", "body"=>"message_template_65"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms MessageTemplate Load (0.4ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_65' LIMIT 1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_66", "status"=>"message_template_66", "body"=>"message_template_66"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 65ms Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 5ms MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 5ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_69' LIMIT 1 SQL (16.8ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_69"], ["created_at", Sat, 17 Dec 2011 20:37:14 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_69"], ["title", "message_template_69"], ["updated_at", Sat, 17 Dec 2011 20:37:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (21.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_17@example.jp"], ["encrypted_password", "$2a$04$NaZR2QF31hizTa/fU53DlOgHPqNaMU0HLPO2XO/PPC6Aac7z0YL2S"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_17"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:14 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:37:14 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:14.570626' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_70", "status"=>"message_template_70", "body"=>"message_template_70"}, "id"=>"9"} MessageTemplate Load (0.5ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_70' AND "message_templates"."id" != 9) LIMIT 1  (0.2ms) UPDATE "message_templates" SET "title" = 'message_template_70', "status" = 'message_template_70', "body" = 'message_template_70', "updated_at" = '2011-12-17 20:37:14.585661' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates/9 Completed 302 Found in 23ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_71' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_71"], ["created_at", Sat, 17 Dec 2011 20:37:14 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_71"], ["title", "message_template_71"], ["updated_at", Sat, 17 Dec 2011 20:37:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_18@example.jp"], ["encrypted_password", "$2a$04$Yzi8Yen6bOWwK0L0y2CNsebxWFPWlrCphLBX3f1nNnQfJqNGQsLiG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_18"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:14 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:37:14 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:14.620459' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_72", "status"=>"message_template_72", "body"=>"message_template_72"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_72' AND "message_templates"."id" != 9) LIMIT 1  (19.2ms) UPDATE "message_templates" SET "title" = 'message_template_72', "status" = 'message_template_72', "body" = 'message_template_72', "updated_at" = '2011-12-17 20:37:14.635485' WHERE "message_templates"."id" = 9  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates/9 Completed 302 Found in 33ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_73' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_73"], ["created_at", Sat, 17 Dec 2011 20:37:14 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_73"], ["title", "message_template_73"], ["updated_at", Sat, 17 Dec 2011 20:37:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_19@example.jp"], ["encrypted_password", "$2a$04$cw9d2hXISKTtXPLc9TO2N.hwH3B0d/Rk3qsXEhyrNPmtkdm9KUwOe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_19"]] SQL (0.7ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:14 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:37:14 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:14.679549' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_74", "status"=>"message_template_74", "body"=>"message_template_74"}, "position"=>"2", "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "message_templates" SET "position" = 0, "updated_at" = '2011-12-17 20:37:14.690820' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "message_templates" SET position = (position - 1) WHERE "message_templates"."id" IN (SELECT "message_templates"."id" FROM "message_templates" WHERE (1 = 1 AND position > 9) ORDER BY position) SQL (0.2ms) UPDATE "message_templates" SET position = (position + 1) WHERE "message_templates"."id" IN (SELECT "message_templates"."id" FROM "message_templates" WHERE (1 = 1 AND position >= 2) ORDER BY position)  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "message_templates" SET "position" = 2, "updated_at" = '2011-12-17 20:37:14.693587' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates Completed 302 Found in 12ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_75' LIMIT 1 SQL (1.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_75"], ["created_at", Sat, 17 Dec 2011 20:37:14 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_75"], ["title", "message_template_75"], ["updated_at", Sat, 17 Dec 2011 20:37:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (34.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_20@example.jp"], ["encrypted_password", "$2a$04$UA8QnX90NGcTRBl1SEvFdeNGk/B7ZMDkzHK8sLDCHvNLDCLqhEKke"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_20"]] SQL (0.8ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:14 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:37:14 UTC +00:00], ["user_id", 10]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:14.780975' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = '' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 17ms (Views: 1.1ms | ActiveRecord: 0.0ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_77' LIMIT 1 SQL (1.0ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_77"], ["created_at", Sat, 17 Dec 2011 20:37:14 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_77"], ["title", "message_template_77"], ["updated_at", Sat, 17 Dec 2011 20:37:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (59.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_17@example.jp"], ["encrypted_password", "$2a$04$YHPvxEj/CwuFbmM2zj.xReCmSNdoomCCNzVviLU9dtaPd7BLvW0pO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_17"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:14 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:37:14 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:14.899100' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_78", "status"=>"message_template_78", "body"=>"message_template_78"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.5ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_79' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_79"], ["created_at", Sat, 17 Dec 2011 20:37:14 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_79"], ["title", "message_template_79"], ["updated_at", Sat, 17 Dec 2011 20:37:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (29.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_18@example.jp"], ["encrypted_password", "$2a$04$qrxQG35Q9jlPDMIvZzc3LuEpsqVQR4Ou54zFRd169bMHDnG8ltdYq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_18"]] SQL (21.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:14 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:37:14 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:14.980970' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_80", "status"=>"message_template_80", "body"=>"message_template_80"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_81' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_81"], ["created_at", Sat, 17 Dec 2011 20:37:15 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_81"], ["title", "message_template_81"], ["updated_at", Sat, 17 Dec 2011 20:37:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (27.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_19@example.jp"], ["encrypted_password", "$2a$04$8jkSnmXQKAhGbonlqThpTee22W2Ucm33QLbHQG3TQca8CZxX73eyG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:15 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_19"]] SQL (1.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:15 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:37:15 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:15.051719' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_83' LIMIT 1 SQL (2.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_83"], ["created_at", Sat, 17 Dec 2011 20:37:15 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_83"], ["title", "message_template_83"], ["updated_at", Sat, 17 Dec 2011 20:37:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_97@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_97@example.jp"], ["encrypted_password", "$2a$04$w5U378.c.on7SXsVTi6lce9WIl5zwjnks6yrJbS.hPPGUYRDwHbFS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:15 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_97"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:15 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:15 UTC +00:00], ["user_id", 10]]  (22.7ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:15.090519' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_84", "status"=>"message_template_84", "body"=>"message_template_84"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.4ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_85' LIMIT 1 SQL (1.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_85"], ["created_at", Sat, 17 Dec 2011 20:37:15 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_85"], ["title", "message_template_85"], ["updated_at", Sat, 17 Dec 2011 20:37:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_98@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_98@example.jp"], ["encrypted_password", "$2a$04$ZZXLWotAL6gSlqTxk16gc.94XV9hKtDmBPBAGVrk9/S7MzJVi5B3y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:15 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_98"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:15 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:15 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:15.151764' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_86", "status"=>"message_template_86", "body"=>"message_template_86"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_87' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_87"], ["created_at", Sat, 17 Dec 2011 20:37:15 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_87"], ["title", "message_template_87"], ["updated_at", Sat, 17 Dec 2011 20:37:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_99@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_99@example.jp"], ["encrypted_password", "$2a$04$NDyaWXlTCA8cR29PIf2MDeUDY2xlxcMD3yqhCQt53BJsLprAMIVVe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:15 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_99"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:15 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:15 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:15.186874' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.8ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_89' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_89"], ["created_at", Sat, 17 Dec 2011 20:37:15 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_89"], ["title", "message_template_89"], ["updated_at", Sat, 17 Dec 2011 20:37:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_90", "status"=>"message_template_90", "body"=>"message_template_90"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_91' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_91"], ["created_at", Sat, 17 Dec 2011 20:37:15 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_91"], ["title", "message_template_91"], ["updated_at", Sat, 17 Dec 2011 20:37:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_92", "status"=>"message_template_92", "body"=>"message_template_92"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 67ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_93' LIMIT 1 SQL (44.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_93"], ["created_at", Sat, 17 Dec 2011 20:37:15 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_93"], ["title", "message_template_93"], ["updated_at", Sat, 17 Dec 2011 20:37:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_95' LIMIT 1 SQL (5.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_95"], ["created_at", Sat, 17 Dec 2011 20:37:15 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_95"], ["title", "message_template_95"], ["updated_at", Sat, 17 Dec 2011 20:37:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_21@example.jp"], ["encrypted_password", "$2a$04$9BdJVYBReZC6Kjm8OD/EmeYnNCiHVkaD57zh8WKFUdBZafJq3tOw2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:15 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_21"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:15 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:37:15 UTC +00:00], ["user_id", 10]]  (30.4ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:15.384702' WHERE "roles"."id" = 4  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.6ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_96' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_96"], ["created_at", Sat, 17 Dec 2011 20:37:15 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_96"], ["title", "message_template_96"], ["updated_at", Sat, 17 Dec 2011 20:37:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_22@example.jp"], ["encrypted_password", "$2a$04$NVXU0NxCX.SY6lUqkZ5BIOdqpLlxbmOKKTNHIMS3ck3e0M5pA3c7W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:15 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_22"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:15 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:37:15 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:15.448300' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_97' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_97"], ["created_at", Sat, 17 Dec 2011 20:37:15 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_97"], ["title", "message_template_97"], ["updated_at", Sat, 17 Dec 2011 20:37:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_20@example.jp"], ["encrypted_password", "$2a$04$XLmXi/FcGpEaPSJzHUQyEef5eIIiBoVuxRCW5g4582L10KQ3L0zHC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:15 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_20"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:15 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:37:15 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:15.485183' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 14ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_98' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_98"], ["created_at", Sat, 17 Dec 2011 20:37:15 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_98"], ["title", "message_template_98"], ["updated_at", Sat, 17 Dec 2011 20:37:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_21@example.jp"], ["encrypted_password", "$2a$04$kuqNaMmrRBaeJ/pP.aP0CesmUWmBughuo3J71yqEVhoWwiLI5TDb2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:15 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_21"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:15 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:37:15 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:15.526862' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_99' LIMIT 1 SQL (42.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_99"], ["created_at", Sat, 17 Dec 2011 20:37:15 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_99"], ["title", "message_template_99"], ["updated_at", Sat, 17 Dec 2011 20:37:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_100@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_100@example.jp"], ["encrypted_password", "$2a$04$TdZpuH9ilndamAd/WdWfU.1w.xNw9vinSA1hr6lwwK2lzyhhVxLyC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:15 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_100"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:15 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:15 UTC +00:00], ["user_id", 10]]  (1.6ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:15.634370' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_100' LIMIT 1 SQL (30.0ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_100"], ["created_at", Sat, 17 Dec 2011 20:37:15 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_100"], ["title", "message_template_100"], ["updated_at", Sat, 17 Dec 2011 20:37:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_101@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (26.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_101@example.jp"], ["encrypted_password", "$2a$04$Zq7oP8LjbPkFH.EPKWwM4Osv9duEGkEO8OW3V83Mj4dedokSywxC."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:15 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_101"]] SQL (9.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:15 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:15 UTC +00:00], ["user_id", 10]]  (1.5ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:15.764572' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_101' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_101"], ["created_at", Sat, 17 Dec 2011 20:37:15 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_101"], ["title", "message_template_101"], ["updated_at", Sat, 17 Dec 2011 20:37:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 66ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_102' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_102"], ["created_at", Sat, 17 Dec 2011 20:37:15 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_102"], ["title", "message_template_102"], ["updated_at", Sat, 17 Dec 2011 20:37:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms Role Load (0.3ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.2ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:17 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_23@example.jp"], ["encrypted_password", "$2a$04$Ft/Q/Fd0I/oVjH/lwD6LYefl9ClQuwroGPw6sMkSueTJp64AYWZ2O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:17 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_23"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:17 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:37:17 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:17.278604' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 SOLR Request (3.9ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A10&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (6.3ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A10&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 57ms (Views: 13.7ms | ActiveRecord: 0.4ms | Solr: 10.3ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:17 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_24@example.jp"], ["encrypted_password", "$2a$04$fmEExWMphoLBZiVlPHCO9O4tBBY9Yrajba9TTTHCl6yjJVdxOh0pi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:17 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_24"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:17 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:37:17 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:17.369099' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML Parameters: {"user_id"=>"admin_24"} User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'admin_24' LIMIT 1 SOLR Request (4.7ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A10&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (6.8ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A10&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 23ms (Views: 1.6ms | ActiveRecord: 0.8ms | Solr: 11.5ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:17 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_22@example.jp"], ["encrypted_password", "$2a$04$HIJWGU..YYWSXTgy7ErqGeZvglLScmC.ZlEz3lXFr188m6swF0fkG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:17 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_22"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:17 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:37:17 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:17.414045' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 SOLR Request (4.7ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A10&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (4.5ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A10&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 27ms (Views: 5.0ms | ActiveRecord: 0.3ms | Solr: 9.2ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:17 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_23@example.jp"], ["encrypted_password", "$2a$04$OKzScpff/kdt9t6QgU2ujujsLiOL05qHntjjye11vuox7A5TvPIQy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:17 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_23"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:17 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:37:17 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:17.461792' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML Parameters: {"user_id"=>"librarian_23"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'librarian_23' LIMIT 1 SOLR Request (80.4ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A10&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (7.1ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A10&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 102ms (Views: 1.7ms | ActiveRecord: 0.5ms | Solr: 87.5ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.4ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 SOLR Request (9.9ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (8.4ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IN (2) Completed 200 OK in 60ms (Views: 1.4ms | ActiveRecord: 0.8ms | Solr: 18.4ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML Parameters: {"query"=>"you"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 SOLR Request (9.6ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&q=you&fl=%2A+score&qf=body_text+subject_text&defType=dismax&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (5.0ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&q=you&fl=%2A+score&qf=body_text+subject_text&defType=dismax&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Message Load (0.3ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IN (2) Completed 200 OK in 31ms (Views: 1.5ms | ActiveRecord: 0.6ms | Solr: 14.5ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 SOLR Request (11.6ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (8.1ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IN (2) Completed 200 OK in 33ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 19.7ms) Processing by MessagesController#index as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 8ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 34ms (Views: 1.8ms | ActiveRecord: 0.6ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 403 Forbidden in 14ms (Views: 1.3ms | ActiveRecord: 0.6ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#show as HTML Parameters: {"id"=>"2"} Message Load (0.3ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (2.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 3 AND "messages"."id" = ? LIMIT 1 [["id", "2"]]  (0.1ms) SAVEPOINT active_record_1  (39.5ms) UPDATE "messages" SET "read_at" = '2011-12-17 20:37:17.807974', "updated_at" = '2011-12-17 20:37:17.808392' WHERE "messages"."id" = 2 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1  (5.5ms) UPDATE "messages" SET "state" = 'read', "updated_at" = '2011-12-17 20:37:17.916186' WHERE "messages"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 140ms (Views: 4.5ms | ActiveRecord: 48.1ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 403 Forbidden in 20ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (4.8ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_25@example.jp"], ["encrypted_password", "$2a$04$Ar7NrX03h8y7.gF2zeB1ueQsGzLQHJx10/0rY/r5pFvDcTZY8RQ9e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_25"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:18 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:37:18 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:18.011749' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 Completed 200 OK in 46ms (Views: 12.8ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_24@example.jp"], ["encrypted_password", "$2a$04$LOun0T2ztOJvKUldvFrxzOlEiJRO9qnQy8hTlrtnJbn18oDnYhqoa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_24"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:18 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:37:18 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:18.090665' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 Completed 200 OK in 14ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 15ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML Parameters: {"parent_id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML Parameters: {"parent_id"=>"2"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 13ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Processing by MessagesController#new as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 82ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_26@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_26@example.jp"], ["encrypted_password", "$2a$04$g/Y5hVjg16Jz.hBfUlYd9uTcIOkQIwpC3fj6LCQiKbM36wljQ3OMa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_26"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:18 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:37:18 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:18.354722' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 10 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 12ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_25@example.jp"], ["encrypted_password", "$2a$04$H5mPbhTLXMf/GU8UsQGirePRY1uuOERAUIxKweAQfcG8vtBP5VT/u"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_25"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:18 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:37:18 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:18.389913' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.2ms | ActiveRecord: 0.5ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_102@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (14.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_102@example.jp"], ["encrypted_password", "$2a$04$PrW4pr8Br3FVgUloQTjAve9q/Hhe.bAhCSZ8aIjHkloIwTVj2T6RW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_102"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:18 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:18 UTC +00:00], ["user_id", 10]]  (25.4ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:18.455721' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_103@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_103@example.jp"], ["encrypted_password", "$2a$04$ZjIPwkkuHIZ.iaJ4kF22yec3SEVu1PmcCPJG6oi0Ei4gxErQsZlOi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_103"]] SQL (4.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:18 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:18 UTC +00:00], ["user_id", 11]]  (0.4ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:18.499686' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user_102' LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" ORDER BY "rgt" desc LIMIT 1 SQL (0.8ms) INSERT INTO "messages" ("body", "created_at", "lft", "message_request_id", "parent_id", "read_at", "receiver_id", "rgt", "sender_id", "state", "subject", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "new message body is really short"], ["created_at", Sat, 17 Dec 2011 20:37:18 UTC +00:00], ["lft", 9], ["message_request_id", nil], ["parent_id", nil], ["read_at", nil], ["receiver_id", 10], ["rgt", 10], ["sender_id", 11], ["state", "unread"], ["subject", "new message"], ["updated_at", Sat, 17 Dec 2011 20:37:18 UTC +00:00]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_27@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_27@example.jp"], ["encrypted_password", "$2a$04$TKIJAC/jxA4fJRGWDVmnT.mIQFlNNNUAHUFJGQRJ2JmX5YZ1Fvf0m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_27"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:18 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:37:18 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:18.522958' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}, "user_id"=>"user1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 11ms (Views: 0.9ms | ActiveRecord: 0.4ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_28@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_28@example.jp"], ["encrypted_password", "$2a$04$XsutgG/bFnj4yZQvpkmel.V9iFcUuK7iCqfRz6HvO9kmApTjy2eWy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_28"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:18 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:37:18 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:18.551308' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}, "user_id"=>"user1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.5ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 0.9ms | ActiveRecord: 0.8ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_29@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_29@example.jp"], ["encrypted_password", "$2a$04$cLiZMrQiMd7Oy/yEFj9r5uftlWoZoGtIVUPD4LftjTHJKj5FTyL8y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_29"]] SQL (0.5ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:18 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:37:18 UTC +00:00], ["user_id", 10]]  (0.3ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:18.628617' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 14ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_30@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_30@example.jp"], ["encrypted_password", "$2a$04$Onwr0Px93dBrBHsTzMdgjuiH6yu8oXNtYRaKL1vfMp3aqkumdMQOu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_30"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:18 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:37:18 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:18.661809' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}, "user_id"=>"user1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 9ms (Views: 0.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test", "parent_id"=>"2"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user2' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user2' LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" ORDER BY "rgt" desc LIMIT 1 SQL (48.2ms) INSERT INTO "messages" ("body", "created_at", "lft", "message_request_id", "parent_id", "read_at", "receiver_id", "rgt", "sender_id", "state", "subject", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "test"], ["created_at", Sat, 17 Dec 2011 20:37:18 UTC +00:00], ["lft", 9], ["message_request_id", nil], ["parent_id", 2], ["read_at", nil], ["receiver_id", 5], ["rgt", 10], ["sender_id", 2], ["state", "unread"], ["subject", "test"], ["updated_at", Sat, 17 Dec 2011 20:37:18 UTC +00:00]] Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? ORDER BY "lft" LIMIT 1 [["id", 2]] Message Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 7]] SQL (8.4ms) UPDATE "messages" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 7 THEN 2 ELSE "parent_id" END WHERE "messages"."id" IN (SELECT "messages"."id" FROM "messages" ORDER BY "lft") Message Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 2]] Message Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/messages Completed 302 Found in 91ms User Load (1.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 8ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test", "parent_id"=>"2"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_104@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_104@example.jp"], ["encrypted_password", "$2a$04$8a8l2tIF2pI/KWO1.5WcteBtSxIAd81ISLz.A/TZMb2hRBXlI8zV6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_104"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:18 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:18 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:18.847752' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_105@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (12.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_105@example.jp"], ["encrypted_password", "$2a$04$0UzeFVYiN85T82CN6jOteuBxyN.EcDjkz7ZssqZl65ZKS9SwFbisa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_105"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:18 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:18 UTC +00:00], ["user_id", 11]]  (0.4ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:18.867591' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_104", "sender_id"=>"11", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 7ms (Views: 0.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_106@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (32.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_106@example.jp"], ["encrypted_password", "$2a$04$c/1gRALcY3ImzjCTMcn04.qcdIaBiJDCaS6ghyoz6tKTm69lLRZg."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_106"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:18 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:18 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:18.919565' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (37.8ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_107@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (20.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_107@example.jp"], ["encrypted_password", "$2a$04$u925jidLiw2HBA5hXiGkEe9glQxnn2RdUz7.lZz9KmwgVOGF6aNR2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_107"]] SQL (0.6ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["user_id", 11]]  (0.6ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:19.015072' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_106", "sender_id"=>"11", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 7ms (Views: 0.8ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_108@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_108@example.jp"], ["encrypted_password", "$2a$04$rtgsw.BkU1z6cDGzGFp8Sefb/IHCj9wrjwZdaYvyOtHTSL5kN3Azy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_108"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:19.038529' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_109@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_109@example.jp"], ["encrypted_password", "$2a$04$Res2sm41qzTRmQ5OwXaj8O.CbaSZN.MJByzp9cUJXj4Q5.BiMGKAW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_109"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:19.046943' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 8ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_110@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_110@example.jp"], ["encrypted_password", "$2a$04$YLaBNYQrc8k8UOF3l6wCKeRgl5O5fFI9xULQryOSDY90nEpaJ/wbW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_110"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:19.072367' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_111@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_111@example.jp"], ["encrypted_password", "$2a$04$sKxI3d/ApFrK5hi/BOzs8.WyPno2oqkpWVL3stDY09Nm9LZKExg6y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_111"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:19.085259' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_112@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_112@example.jp"], ["encrypted_password", "$2a$04$M83EnPmp9f5bmb0H1QywbuZaFIHo45hPO6aK2QtGRsXA.w7Me.ExW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_112"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:19.112667' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_113@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (22.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_113@example.jp"], ["encrypted_password", "$2a$04$5DRbxgjuKgdzLmty0Ecud.wzVgzJVzLR45lR08M/zb1L5RmllgDmy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_113"]] SQL (0.7ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["user_id", 11]]  (0.7ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:19.146316' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_112", "sender_id"=>"11", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 8ms (Views: 0.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_114@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_114@example.jp"], ["encrypted_password", "$2a$04$1UjlMHx91Whk6or2p1KosuSM/0dwpn2PWziQGmlQTkxLQEHaIftPS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_114"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:19.200141' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_115@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_115@example.jp"], ["encrypted_password", "$2a$04$UhG8qKQScRpWY.T0kHGmAOhe3H33XStev5rapcSzt9qmozo/64Xie"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_115"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:19.208852' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_114", "sender_id"=>"11", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 47ms (Views: 0.9ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_116@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_116@example.jp"], ["encrypted_password", "$2a$04$Teo8ODIwbWDNOwwGfmCK7O1WvJmEqoqiRovTx1BDw3cgNjJWyq8Ea"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_116"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:19.270905' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_117@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_117@example.jp"], ["encrypted_password", "$2a$04$PJGQVVN03/vPn5N5216gR.2NMDxgDefQbA1RpVcOlgPuoOCJpNzBi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_117"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:19.280251' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.8ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_118@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (24.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_118@example.jp"], ["encrypted_password", "$2a$04$0W35OAMW14qZLNQKugrayeULpTO3gVhVu6n7Swfnp3xl0fA.hK0MC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_118"]] SQL (0.8ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["user_id", 10]]  (0.7ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:19.326061' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_119@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_119@example.jp"], ["encrypted_password", "$2a$04$/lErKQNiAzm1Yhy1U4UJ8exEu0XlDFn9gI/6e9.RTax7Poh7sZLsC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_119"]] SQL (20.4ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:19.361686' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_120@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_120@example.jp"], ["encrypted_password", "$2a$04$PufSv6iv2eO528GoB4AhB.v0jA2.UChQJwruLtgQxFrYQzpD9omDO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_120"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:19.391511' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_121@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_121@example.jp"], ["encrypted_password", "$2a$04$00zX3alEyn6Sid0Q15L8auths6MQ.KlkVTo9FZe7Mk9pS18KGQ9yW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_121"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:19.404368' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_122@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_122@example.jp"], ["encrypted_password", "$2a$04$hgw5Eyp2hlCC282Ie7sZXuFaUonsJLAnA0UrNLm1Mb5aZrz9uYyHO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_122"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:19.446010' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (5.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_123@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_123@example.jp"], ["encrypted_password", "$2a$04$qC1sGDIRJ2Y1JV0E3OZ/4.XAmfzI9T79PDmJgJiljk.JYkfR6pn8u"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_123"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:19.466598' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_124@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (92.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_124@example.jp"], ["encrypted_password", "$2a$04$pKWdYtAJNlEwJvQvszRihOWCdkBMqH1BQ1ZAJwNVSkMyvov4mpYBa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_124"]] SQL (1.9ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["user_id", 10]]  (8.0ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:19.624820' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_125@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_125@example.jp"], ["encrypted_password", "$2a$04$BZ8vHLflDm9DHrOPwUzAvO/ua3KRtyfUJyr147lLZQSlR0zyRddke"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_125"]] SQL (6.7ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:19.653819' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_124", "sender_id"=>"11", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 18ms (Views: 1.5ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_126@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_126@example.jp"], ["encrypted_password", "$2a$04$c1i/QhxmCwOi60kYUiUgMOKlkRob2nf5q6agUHKAnf5K.GjOZGxPe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_126"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:19.692287' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_127@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_127@example.jp"], ["encrypted_password", "$2a$04$wjoYl9zSCMZzSYmLReMkXe8JCGkKhoyq0g2d..Gnu0l.5pSdpiQta"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_127"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:19.706129' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_126", "sender_id"=>"11", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_128@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_128@example.jp"], ["encrypted_password", "$2a$04$6rmVl8vd32lb.0i/MjM.V.r5jLOJAbYphwvRJY/ZbwA9hQSANHip6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_128"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:19.740337' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_129@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_129@example.jp"], ["encrypted_password", "$2a$04$lbncBganCkHrFzvlMv2RJukLYyl.UAClrYl7UrHNp0fqChYHyJPBe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_129"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:19.754819' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_130@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (47.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_130@example.jp"], ["encrypted_password", "$2a$04$vXHHmZf7R.4DxWM5WOKuzeHfBrZxwCTt1tuvPPBBGLt5eS7kl.Ocq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_130"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["user_id", 10]]  (1.6ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:19.845515' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_131@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_131@example.jp"], ["encrypted_password", "$2a$04$FEQeRUOEkoxnUYsCG11.wOh8yHu0M3AYcJ2GLc6lhNQR8Ub2USGOW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_131"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:19.860968' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_132@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (30.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_132@example.jp"], ["encrypted_password", "$2a$04$yKJKK1UtqLS.dnZ8lJo2YeEZZ/QrI.mfaLFbNGE4ecdFPSucnSM4W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_132"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:19.934926' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_133@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (62.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_133@example.jp"], ["encrypted_password", "$2a$04$CAOrobo6Bfu0EmbY5.dWkuP1PJkACFvDvBe.5fkz9l3w6yvmwYV7C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:37:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_133"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:37:20 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:37:20 UTC +00:00], ["user_id", 11]]  (0.6ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:37:20.008962' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#destroy as HTML Parameters: {"id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 3 AND "messages"."id" = ? LIMIT 1 [["id", "2"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "messages" WHERE ("lft" > 3 AND "rgt" < 4) SQL (0.4ms) UPDATE "messages" SET "lft" = ("lft" - 2) WHERE "messages"."id" IN (SELECT "messages"."id" FROM "messages" WHERE ("lft" > 4) ORDER BY "lft") SQL (0.5ms) UPDATE "messages" SET "rgt" = ("rgt" - 2) WHERE "messages"."id" IN (SELECT "messages"."id" FROM "messages" WHERE ("rgt" > 4) ORDER BY "lft") SQL (0.2ms) DELETE FROM "messages" WHERE "messages"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/messages Completed 302 Found in 14ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 8ms  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateLibraryGroups (80) Migrating to CreateMessageTemplates (149) Migrating to CreateMessages (154) Migrating to CreateMessageRequests (20080819181903) Migrating to AddAdminNetworksToLibraryGroup (20100211105551) Migrating to AddAllowBookmarkExternalUrlToLibraryGroup (20100222124420) Migrating to CreateDelayedJobs (20100527113752)  (0.0ms) select sqlite_version(*)  (1.3ms) CREATE TABLE "delayed_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "priority" integer DEFAULT 0, "attempts" integer DEFAULT 0, "handler" text, "last_error" text, "run_at" datetime, "locked_at" datetime, "failed_at" datetime, "locked_by" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("delayed_jobs")  (0.2ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100527113752') Migrating to AddPositionToLibraryGroup (20110115022329) Migrating to AddUrlToLibraryGroup (20110222073537) Migrating to AddLftAndRgtToMessage (20110913115320) Migrating to RemoveDsblFromLibraryGroup (20111020063828) Migrating to CreateLanguages (20111201121636) Migrating to CreateRoles (20111201121844) Migrating to CreateUsers (20111201155456) Migrating to AddDeviseToUsers (20111201155513) Migrating to CreateUserGroups (20111201163342) Migrating to CreateUserHasRoles (20111201163718)  (0.8ms) select sqlite_version(*)  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  (0.0ms) PRAGMA index_list("delayed_jobs")  (0.0ms) PRAGMA index_info('delayed_jobs_priority')  (0.0ms) PRAGMA index_list("languages")  (0.0ms) PRAGMA index_list("library_groups")  (0.0ms) PRAGMA index_info('index_library_groups_on_short_name')  (0.0ms) PRAGMA index_list("message_requests")  (0.0ms) PRAGMA index_info('index_message_requests_on_state')  (0.0ms) PRAGMA index_list("message_templates")  (0.0ms) PRAGMA index_info('index_message_templates_on_status')  (0.1ms) PRAGMA index_list("messages")  (0.0ms) PRAGMA index_info('index_messages_on_parent_id')  (0.0ms) PRAGMA index_info('index_messages_on_message_request_id')  (0.0ms) PRAGMA index_info('index_messages_on_receiver_id')  (0.0ms) PRAGMA index_info('index_messages_on_sender_id')  (0.0ms) PRAGMA index_list("roles")  (0.0ms) PRAGMA index_list("user_groups")  (0.0ms) PRAGMA index_list("user_has_roles")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')  (0.0ms) PRAGMA index_info('index_users_on_email') LibraryGroup Load (33.7ms) SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]] LibraryGroup Load (0.1ms) SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]] Fixture Delete (4.6ms) DELETE FROM "library_groups" Fixture Insert (0.1ms) INSERT INTO "library_groups" ("id", "name", "display_name", "short_name", "email", "note", "my_networks", "url", "created_at", "updated_at") VALUES (1, 'unknown', 'unknown', 'unknown', 'next-l@library.example.jp', NULL, '0.0.0.0/0', 'http://localhost:3000/', '2011-12-17 20:38:25', '2011-12-17 20:38:25') Fixture Delete (21.4ms) DELETE FROM "message_requests" Fixture Insert (0.1ms) INSERT INTO "message_requests" ("sender_id", "receiver_id", "message_template_id", "state", "created_at", "updated_at", "id") VALUES (1, 1, 1, 'pending', '2011-12-17 20:38:25', '2011-12-17 20:38:25', 980190962) Fixture Insert (0.1ms) INSERT INTO "message_requests" ("sender_id", "receiver_id", "message_template_id", "state", "created_at", "updated_at", "id") VALUES (1, 1, 1, 'pending', '2011-12-17 20:38:25', '2011-12-17 20:38:25', 298486374) Fixture Delete (8.1ms) DELETE FROM "message_templates" Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (1, 'reservation_accepted', 'Reservation accepted', 'Reservation accepted', 1, '2011-12-17 20:38:25', '2011-12-17 20:38:25') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (2, 'item_received', 'Item received', 'Item received', 2, '2011-12-17 20:38:25', '2011-12-17 20:38:25') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (3, 'reservation_expired_for_patron', 'Reservation expired', 'Reservation expired', 3, '2011-12-17 20:38:25', '2011-12-17 20:38:25') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (4, 'reservation_expired_for_library', 'Reservation expired', 'Reservation expired', 4, '2011-12-17 20:38:25', '2011-12-17 20:38:25') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (5, 'reservation_canceled_for_patron', 'Reservation canceled', 'Reservation canceled', 5, '2011-12-17 20:38:25', '2011-12-17 20:38:25') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (6, 'reservation_canceled_for_library', 'Reservation canceled', 'Reservation canceled', 6, '2011-12-17 20:38:25', '2011-12-17 20:38:25') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (7, 'recall_item', 'Recall item', 'Recall item', 7, '2011-12-17 20:38:25', '2011-12-17 20:38:25') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (8, 'recall_overdue_item', 'Recall overdue item', 'Recall overdue item', 8, '2011-12-17 20:38:25', '2011-12-17 20:38:25') Fixture Delete (1.1ms) DELETE FROM "messages" Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "read_at", "state", "lft", "rgt", "updated_at") VALUES (1, 3, 4, 'First Message', 'Abby, you get the first message', '2007-07-04 12:10:47.0', '2011-12-14 20:38:25', 'unread', 1, 2, '2011-12-17 20:38:25') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (2, 4, 3, 'RE: First Message', 'Thanks Dad! You are the coolest!', '2011-12-15 20:38:25', 'unread', 3, 4, '2011-12-17 20:38:25') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (3, 3, 4, 'Second Message', 'Catie, you get the 2nd message', '2011-12-16 20:38:25', 'unread', 5, 6, '2011-12-17 20:38:25') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (6, 4, 5, 'Dad!', 'He is sucha dork.', '2011-12-15 20:38:25', 'unread', 7, 8, '2011-12-17 20:38:25') Fixture Delete (0.1ms) DELETE FROM "roles" Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Guest', 'Guest', 1, NULL, '2011-12-17 20:38:25', '2011-12-17 20:38:25') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('User', 'User', 2, NULL, '2011-12-17 20:38:25', '2011-12-17 20:38:25') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Librarian', 'Librarian', 3, NULL, '2011-12-17 20:38:25', '2011-12-17 20:38:25') Fixture Insert (0.0ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Administrator', 'Administrator', 4, NULL, '2011-12-17 20:38:25', '2011-12-17 20:38:25') Fixture Delete (0.1ms) DELETE FROM "user_groups" Fixture Insert (0.0ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('(not specified)', '(not specified)', '2007-12-13 12:00:51.564542', 1, '', '2007-12-13 12:00:01.674976', 1) Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('User', 'User', '2007-12-22 18:14:56.836548', 2, '', '2007-12-22 18:14:40.173954', 2) Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('Faculty', 'Faculty', '2007-12-22 18:15:05.134351', 3, '', '2007-12-22 18:15:05.126457', 3) Fixture Delete (0.1ms) DELETE FROM "user_has_roles" Fixture Insert (0.0ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (1, 4, '2011-12-17 20:38:25', '2011-12-17 20:38:25', 135138680) Fixture Insert (0.0ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (2, 3, '2011-12-17 20:38:25', '2011-12-17 20:38:25', 344583537) Fixture Insert (0.0ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (3, 2, '2011-12-17 20:38:25', '2011-12-17 20:38:25', 206669143) Fixture Insert (0.0ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (4, 3, '2011-12-17 20:38:25', '2011-12-17 20:38:25', 226540757) Fixture Insert (0.0ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (5, 2, '2011-12-17 20:38:25', '2011-12-17 20:38:25', 358143215) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (6, 2, '2011-12-17 20:38:25', '2011-12-17 20:38:25', 576709754) Fixture Insert (0.0ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (7, 2, '2011-12-17 20:38:25', '2011-12-17 20:38:25', 1010528733) Fixture Delete (0.1ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:16:30.163731', '$2a$10$vHohD1WflnTIqAa8zMkF9evwAgIZRw3XuR4d3bi29M.jph/MB/AJi', 2, 1, NULL, 'admin', 'tanabe@kamata.lib.teu.ac.jp', '2007-11-19 07:58:32.111941', 4) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 03:41:16.337474', '$2a$10$9O2VuTccN4gHq36ARg0QReSrb1D7WrBBhZZ759RM9moHbB0W5zCzS', 1, 2, NULL, 'librarian1', 'librarian1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:33.172441', 1) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', '$2a$10$JthS59A0BNkDOoFpCXM0V.GhhffKaoWKbzpPahYp/vTFrOyM7h/uW', 1, 3, NULL, 'user1', 'user1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:23.340575', '$2a$10$YmmTGrYQ1Ir6oc7wXnp.GuNeO1eYLoP3sv8wMSIrTdaGw2BPwRrpS', 1, 4, NULL, 'librarian2', '2008-01-18 03:24:04.222344', 1) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:44.711117', '$2a$10$i7UjJhLVrJM/J7qaTwW39OXw1NiwowUEbtNHVDV0sqMLjX9.UO9ca', 1, 5, NULL, 'user2', '2008-01-18 04:29:06.922728', 2) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 6, NULL, 'user3', 'user3@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 7, NULL, 'user4', 'user4@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_1@example.jp"], ["encrypted_password", "$2a$04$.XEIN2QXII3.TOa8SnXXuuISOfYE7rFmB0qOaiZzOt6VfCa9xf6NC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_1"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:25 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:38:25 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:25.782862' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Rendered /Users/kosuke/enju_message/app/views/message_requests/index.html.erb within layouts/application (2.8ms) Completed 200 OK in 25ms (Views: 15.3ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_1@example.jp"], ["encrypted_password", "$2a$04$m7gNY3mE8zVYouh1NrffsuKCh.KerwU.yHEe8i0GaYMQojUPXQqEW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_1"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:25 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:38:25 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:25.830254' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 200 OK in 7ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_1@example.jp"], ["encrypted_password", "$2a$04$APNHsr25Iq.dVBmv6A9x2.GtFHv4ueIODT0H3dDEP.lCnh4vuPnm6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_1"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:25 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:25 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:25.879251' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 1.2ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "message_requests" WHERE ('t'='f') Processing by MessageRequestsController#index as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms  (0.1ms) SELECT COUNT(*) FROM "message_requests" WHERE ('t'='f') Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_2@example.jp"], ["encrypted_password", "$2a$04$3qxgkh.mmaRd2wnruu5mueV4QLM/rLZIaF.SV3fCX7L.uVicYyhAK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_2"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:25 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:38:25 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:25.908123' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_2@example.jp"], ["encrypted_password", "$2a$04$blvSH/8//qfKtWx3HCpRFOnlwVgK6rwkcLp6dV/mL486Vl/MOV.s2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_2"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:25 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:25 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:25.918207' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_3@example.jp"], ["encrypted_password", "$2a$04$ckE8MV7LXyqoRxY7t5Fr2.T7iB9rEmfO9IDxtBslE.YK/mioNdfdG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_3"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:25 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:25 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:25.935384' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_1' LIMIT 1 SQL (1.0ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_1"], ["created_at", Sat, 17 Dec 2011 20:38:25 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_1"], ["title", "message_template_1"], ["updated_at", Sat, 17 Dec 2011 20:38:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_1' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:38:25 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:38:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 200 OK in 8ms (Views: 1.7ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_2@example.jp"], ["encrypted_password", "$2a$04$oe8MZFLUP5cQWWdjWsl/7.bBWjdqkgBjCs0wryWzv2NL.kSFFeRfe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_2"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:25 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:38:25 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:25.973697' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (33.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_4@example.jp"], ["encrypted_password", "$2a$04$r1XADz62.l9I7KtggsdysOKxhMqJJtBbTa22SfF325ovgjPpl0qHO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_4"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:26.014667' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_5@example.jp"], ["encrypted_password", "$2a$04$Xp2kWD49G1ogDn0rz0aNCuiCe/qnoip6Gc9ahRzcz5Y7KAoGDQeHi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_5"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:26.023270' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_2' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_2"], ["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_2"], ["title", "message_template_2"], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_2' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 200 OK in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_6@example.jp"], ["encrypted_password", "$2a$04$Ai.cbPBx6oL9CIQljRGHJutsEKm0K6glyU0zelAlNShrnJ4n76/oG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_6"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:26.048422' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_7@example.jp"], ["encrypted_password", "$2a$04$BRaKNRUpO.Owr9fNUYU2LeyLSEqqdScdfMqH5Nyz/jb5RNmteSqra"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_7"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:26.057029' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_8@example.jp"], ["encrypted_password", "$2a$04$Y2gLsvuNOr9rp5u3X4eP3uxpd76M.L9ShrF8gEkrZJ6rIRPt7xgXC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_8"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:26.065608' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_3' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_3"], ["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_3"], ["title", "message_template_3"], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_3' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_9@example.jp"], ["encrypted_password", "$2a$04$coSKLw9vPbJON.03k13afOM3YkrZL8GYC7OIcK0InfNEQgTBetyCW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_9"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:26.090376' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_10@example.jp"], ["encrypted_password", "$2a$04$alMrj0dkJS6SVOXyc/zS4u2M5Yh9y6XgzuaRVIVDhwR7/UAVDjO.a"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_10"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:26.099979' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_4' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_4"], ["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_4"], ["title", "message_template_4"], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_4' AND "message_templates"."id" != 9) LIMIT 1 SQL (1.1ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_3@example.jp"], ["encrypted_password", "$2a$04$KP8/CNIt4KhIhKcjX.NLAOGjjVphe90Kw4.BL9C0rFNnWA7loIUea"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_3"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:26.124359' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_11@example.jp"], ["encrypted_password", "$2a$04$tPsMbl5zCx/Dlumem.6CAeNraTqkVIGsEC/WYFQO0eWB6hPRdRwwe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_11"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:26.133853' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_12@example.jp"], ["encrypted_password", "$2a$04$KmQwzTtKI.leVNYboDUV1eK/qq7HCKxuGxAB.TpFOSSguY37OfrF2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_12"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:26.141517' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_5' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_5"], ["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_5"], ["title", "message_template_5"], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_5' AND "message_templates"."id" != 9) LIMIT 1 SQL (1.2ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 8ms (Views: 1.6ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_3@example.jp"], ["encrypted_password", "$2a$04$PQOL3hDkHMgHH4gw0jdCXOlXmV4f1RyzPORUeolIidKwrtGMpe.B."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_3"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:26.205814' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_13@example.jp"], ["encrypted_password", "$2a$04$N8CwkI/09D7MzAsk.0/jSuEPHrvgDHrrT9k6sODVIStrCt1p84ET."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_13"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:26.216007' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_14@example.jp"], ["encrypted_password", "$2a$04$4XZ45hQkZ6gLzPf/.nyFfuMthi2w7Ws/6KYNSs/wxI7N.KRkB91Nq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_14"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:26.224736' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_6' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_6"], ["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_6"], ["title", "message_template_6"], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_6' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 6ms (Views: 0.8ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_15@example.jp"], ["encrypted_password", "$2a$04$Zd.ak1n.hJcl5GMUXOx4ieOG8ts8l9ShatgIz7.HuIAyti3su1orq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_15"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:26.250551' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_16@example.jp"], ["encrypted_password", "$2a$04$fslridrcGJQu5wJXNfzs4.UobVYGan1YxOMu4Xgf/CvQQ99DZwqIK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_16"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:26.259875' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_17@example.jp"], ["encrypted_password", "$2a$04$Bo9to13EzYCVjlzskUDbkeeQ/Fve3VxF7G.7NeNF9iaTLHct3X9ia"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_17"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:26.267829' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_7' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_7"], ["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_7"], ["title", "message_template_7"], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_7' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 12], ["sender_id", 11], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_18@example.jp"], ["encrypted_password", "$2a$04$zr7bW9rqH0..lrUBMWozXu2XuRzslcjgK3zfd03l4ZaVMNOnDgXwW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_18"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:26.291516' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_19@example.jp"], ["encrypted_password", "$2a$04$aoo7obDAQL9HURsxfurfMeaHRcOM9WnknJT9P7MyWN3gp5wqoYTHq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_19"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:26.300096' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_8' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_8"], ["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_8"], ["title", "message_template_8"], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_8' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (36.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_20@example.jp"], ["encrypted_password", "$2a$04$qNzmk1y8DAYtboAbSV1wNeuc02.DfU9odmfRPHd/Ad9VObz2xzX1G"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_20"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:26.358256' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_21@example.jp"], ["encrypted_password", "$2a$04$LTjESMC3KX9Byfw9foOr6OzEWxnsdmYIskOkqBL/Ws6yqbifjk8AK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_21"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:26.367400' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_9' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_9"], ["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_9"], ["title", "message_template_9"], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_9' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_22@example.jp"], ["encrypted_password", "$2a$04$P5tQtXgGgQJexkV3Yb67bu.V4hxKQeVP6J.FhuvZ1j7YoXefMDc9u"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_22"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:26.382272' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_23@example.jp"], ["encrypted_password", "$2a$04$LfuKyAJNmAbFnrUhfBxX9OBGbrtu2ci/DS/w26ZrJmW1XkLqELING"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_23"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:26.390065' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_10' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_10"], ["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_10"], ["title", "message_template_10"], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_4@example.jp"], ["encrypted_password", "$2a$04$R2o0/7SWBTWnPm7PrSVDHOvBFYQ6MXzN/m56POsGN8amP/oMFm7UK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_4"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:26.400908' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"12", "receiver_id"=>"13", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_10' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 12, "receiver_id" = 13, "message_template_id" = 10, "updated_at" = '2011-12-17 20:38:26.411869' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 12ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_24@example.jp"], ["encrypted_password", "$2a$04$IH6lsLucD0SpjCN86WZxcuEjztu7vzEIagO0BXt/08NmJsxBUw8pe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_24"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:26.425324' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_25@example.jp"], ["encrypted_password", "$2a$04$C5yHeExQeXetNxA1BkJTH.R465Gt.qnjqCZGlXouCnsYDcFjy9b6G"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_25"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:26.434200' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_11' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_11"], ["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_11"], ["title", "message_template_11"], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_11' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_26@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_26@example.jp"], ["encrypted_password", "$2a$04$HUoY1KkX7USOCbZPwrw4S.nvG7ObX51WvYy56/LLIT4cWoNzpR0pK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_26"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:26.448695' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_27@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_27@example.jp"], ["encrypted_password", "$2a$04$O1mcymFsdNKaZlZp40q/K.cRrmJz2ndQW2GtU6HLTvymKQyCXyRmi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_27"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:26.457365' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_12' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_12"], ["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_12"], ["title", "message_template_12"], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_5@example.jp"], ["encrypted_password", "$2a$04$/1WCxPwFR3LY4X8oSgEidOXF4pmmg2hHhjgq3PdotAbLywlkdA7jG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_5"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:26.468819' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"12", "receiver_id"=>"13", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_12' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 12, "receiver_id" = 13, "message_template_id" = 10, "updated_at" = '2011-12-17 20:38:26.479821' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 10ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_28@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_28@example.jp"], ["encrypted_password", "$2a$04$qZLWL4H0Krk.dLZcY98sUOiW91S3jQq0C/rqjkx3YF4CJ6qmdow4m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_28"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_id", 10]]  (0.5ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:26.525775' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_29@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_29@example.jp"], ["encrypted_password", "$2a$04$HMwKssax1bc.xMY4TJ26derSdLiZB1586Ada6u4kXaXob8VdaTDLa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_29"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:26.535429' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_13' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_13"], ["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_13"], ["title", "message_template_13"], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_13' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.6ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_30@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_30@example.jp"], ["encrypted_password", "$2a$04$4G1XcS8Cr9xFZo4t7QeW8ezigdwuGLKNHtv3EwpRtOWBZ5CUxCHXy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_30"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:26.550499' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_31@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_31@example.jp"], ["encrypted_password", "$2a$04$tRNpsDKJcADyLD5wRYiaEuhv2cAJ1tLIFdD6Y1Aa/7vGR073E/4FW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_31"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:26.558320' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_14' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_14"], ["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_14"], ["title", "message_template_14"], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_6@example.jp"], ["encrypted_password", "$2a$04$O1OQaZk8QGd3pZMZZxWKdOzMfSm8vMOkAd60dmnMfD7koRd6u8fpK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_6"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:26.569698' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_13' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 19ms (Views: 1.1ms | ActiveRecord: 0.6ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_32@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_32@example.jp"], ["encrypted_password", "$2a$04$jFV0h5P22P/h6obzjF3N7u8C5YvHcrx1HQthnQMM.OtYA2Ik24sFi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_32"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:26.601338' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_33@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_33@example.jp"], ["encrypted_password", "$2a$04$EJYlM3b5wXj/4vJv03IhbuTM4zLsyNI4dGkO4CI6WtuqSeeJwW.hK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_33"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:26.609996' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_15' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_15"], ["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_15"], ["title", "message_template_15"], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_15' AND "message_templates"."id" != 9) LIMIT 1 SQL (27.2ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_34@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_34@example.jp"], ["encrypted_password", "$2a$04$nFQJzjz9EWjCNrlmMvHLC.UHIj6eBHHzWIbGFdGX4PlufBVMJ.1pq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_34"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:26.652801' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_35@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_35@example.jp"], ["encrypted_password", "$2a$04$z/QPnHyAdaF5.RCruXjSveQ4eEWAiHj.qlVzHaiMz/2a/8MlvT1.6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_35"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:26.661127' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_16' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_16"], ["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_16"], ["title", "message_template_16"], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_4@example.jp"], ["encrypted_password", "$2a$04$ZVc9BS2NXULpFk2dSj7FsO74A8c7lgNfkut283UPNKT1JofLoPKY2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_4"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:26.671722' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"12", "receiver_id"=>"13", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_16' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 12, "receiver_id" = 13, "message_template_id" = 10, "updated_at" = '2011-12-17 20:38:26.682022' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 44ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_36@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_36@example.jp"], ["encrypted_password", "$2a$04$FU/wukh8youEUHX4FNLL6eYSYv0DKgWzRhHL2hK3aZuxr8MKQetbq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_36"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:26.728314' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_37@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_37@example.jp"], ["encrypted_password", "$2a$04$RWKTQhSts03gsvVc5Qtnn.1VFC.xpwf44wpxqd/B/9cYOmYPQVvJG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_37"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:26.738580' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_17' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_17"], ["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_17"], ["title", "message_template_17"], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_17' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_38@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_38@example.jp"], ["encrypted_password", "$2a$04$qfFEJzml9L7.AZ4WMbV3jeFpHkp3tqNfzKhIH9cbt.6nTCDwLCi9i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_38"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:26.753399' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_39@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_39@example.jp"], ["encrypted_password", "$2a$04$D80zAoNuHnyXkTdpZESv8.8DN6ubxlO1ZSkJl3Wkvo8/fHhEGBfsi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_39"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:26.763940' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_18' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_18"], ["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_18"], ["title", "message_template_18"], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_5@example.jp"], ["encrypted_password", "$2a$04$V0pGo.s48IMK7EqkoEkhb.tV6M7fmakNX5iSlCpqLVmdknDFusvSC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_5"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:26.774479' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"12", "receiver_id"=>"13", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_18' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 12, "receiver_id" = 13, "message_template_id" = 10, "updated_at" = '2011-12-17 20:38:26.784971' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 10ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_40@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_40@example.jp"], ["encrypted_password", "$2a$04$jAY6hb0OMTf9btZ5ssk0FOS04WlU1EqBO1hLe6FvgBrVLDPfewVI2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_40"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:26.801908' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_41@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_41@example.jp"], ["encrypted_password", "$2a$04$SC6AXcoU5DRpVCt6waylfe7WzAsfCfto5nzKY3xveWJ9uTyJ6KcMy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_41"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:26.834742' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_19' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_19"], ["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_19"], ["title", "message_template_19"], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_19' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_42@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_42@example.jp"], ["encrypted_password", "$2a$04$WcX1r8ZgqEStZTno6A.M2.ZoPFkAA2/FXMmRf7navLoixilQQ3.4C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_42"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:26.850541' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_43@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_43@example.jp"], ["encrypted_password", "$2a$04$XXByWiRTuBRa2lDbRc1MZe4DIkfw.VlvBIUAhsRQeVUpcZF23yMCu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_43"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:26.860008' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_20' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_20"], ["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_20"], ["title", "message_template_20"], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_6@example.jp"], ["encrypted_password", "$2a$04$/mI55XBlu/U4oGxXHtLaLuAKF4RLvDkcLxzHwcjVygVxJ0GlQWl96"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_6"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:26.871589' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_19' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 44ms (Views: 0.8ms | ActiveRecord: 0.7ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_44@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_44@example.jp"], ["encrypted_password", "$2a$04$KOkThjCULYZwxBs01vOZve2CIZgEPJx5sTcBgvpnuB5YaG4mmgvwW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_44"]] SQL (0.4ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:26.929102' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_45@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_45@example.jp"], ["encrypted_password", "$2a$04$BQrrr95aA66ZPNpMaV6.hedWUHJJjOAVKne5dSqIRafy2zf67DngW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_45"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:26.938329' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_21' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_21"], ["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_21"], ["title", "message_template_21"], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_21' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_46@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_46@example.jp"], ["encrypted_password", "$2a$04$2sQ6DuVRWBgqunSIRtL0pePSTZlded2larKcPa0ujtbKZcfdU5CAW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_46"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:26.953157' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_47@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_47@example.jp"], ["encrypted_password", "$2a$04$.UVsZKDlBMAJ09O4jDTBbegg//UOmUGCFJVu2/rNL8oBbGmO7ndKW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_47"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:26.961424' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_22' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_22"], ["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_22"], ["title", "message_template_22"], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_48@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_48@example.jp"], ["encrypted_password", "$2a$04$neIUgk22nOL0gJ3hPmDw4eqJKFR9cVtGHmPhvTQyjaumma.r.mRSu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_48"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:26.972056' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"12", "receiver_id"=>"13", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_49@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_49@example.jp"], ["encrypted_password", "$2a$04$y5Konvb.pmDQ.vcSbjMkjey4on.QadAsaYCdgSd5Y35R9vxAhwZJO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_49"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:26 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:26.991855' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_50@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_50@example.jp"], ["encrypted_password", "$2a$04$8VQ87IAwlAMWgJA0.vgtZudARyBSvlzqIsMdlaCFSOpaqr/CIpdl6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_50"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:27.026106' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_23' LIMIT 1 SQL (6.1ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_23"], ["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_23"], ["title", "message_template_23"], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_23' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_51@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_51@example.jp"], ["encrypted_password", "$2a$04$QaCj3xYdEhajN6hQoxEuMeX2hQ/qAvIiYgwy6iKPKJ6xH0Q4wsiXO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_51"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:27.046890' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_52@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_52@example.jp"], ["encrypted_password", "$2a$04$E9Ldb/asca2LpEZJZQ4GR.vGEWSlqha4frbFm4QXhvMIFEEpfXKge"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_52"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:27.054911' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_24' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_24"], ["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_24"], ["title", "message_template_24"], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_53@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_53@example.jp"], ["encrypted_password", "$2a$04$AL1eGV4BrkWDwPelyvak8uOmZTKKYFF6fQDaxpLMCtx93KyLZVl62"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_53"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:27.065494' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"12", "receiver_id"=>"13", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (33.6ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1 Completed 403 Forbidden in 40ms (Views: 0.9ms | ActiveRecord: 33.7ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_54@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_54@example.jp"], ["encrypted_password", "$2a$04$wnPJECoSzFjDsDizzVyIcO9Cx1UBFjgXL78ZCIBB27m/5tg/qsYRC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_54"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:27.117500' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_55@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_55@example.jp"], ["encrypted_password", "$2a$04$qcw/7QAdB1YE9jajrILa8OFDYh90ppDiMtUQUZ8nx5Ry1Y0hTIRwm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_55"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:27.126777' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_25' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_25"], ["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_25"], ["title", "message_template_25"], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_25' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_56@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_56@example.jp"], ["encrypted_password", "$2a$04$yd5UyH/fEmk.twIPaGIqLuBskwj0ZStyuE/UKARrz3ndjNq1/skoy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_56"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:27.142562' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_57@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_57@example.jp"], ["encrypted_password", "$2a$04$UI.MmVUIhE.z.J/y5ZconOw1aDvZJUBS0efBj.SRAzV7K7HsKk1Q6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_57"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:27.150583' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_26' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_26"], ["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_26"], ["title", "message_template_26"], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_58@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_58@example.jp"], ["encrypted_password", "$2a$04$.zsVaRTE46Qv5kopQfWhNeTmUl1FbdVrshiLO2uJPxiyokQtSB65i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_58"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:27.161098' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_59@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_59@example.jp"], ["encrypted_password", "$2a$04$X04a5divX/lPgeFR0eu6MOgic0vT8uld5hIPWGigLG60qg/BMQPy6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_59"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:27.178980' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_60@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_60@example.jp"], ["encrypted_password", "$2a$04$4oN69NEo3t4P6QjGQyOnB.Z1KYHXsbgts6zd43BmZyLn18FjCrtzC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_60"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_id", 11]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:27.187163' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_27' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_27"], ["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_27"], ["title", "message_template_27"], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_27' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_61@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_61@example.jp"], ["encrypted_password", "$2a$04$ED/M5Idp9M/pcZyWtamR5OBXtnzi5C2aBXVj/nM/YIEDvKPxSGd9e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_61"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:27.203074' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_62@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_62@example.jp"], ["encrypted_password", "$2a$04$zHNB2/CeQV7ONjU7/yrUL.KJJZV.0QFvg.DDkntGi89IpE.5LsiKq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_62"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:27.211250' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_28' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_28"], ["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_28"], ["title", "message_template_28"], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"12", "receiver_id"=>"13", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 5ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_63@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (37.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_63@example.jp"], ["encrypted_password", "$2a$04$LxXsvHdloUGgdcHxsbM99ern40aaycoUx7dCNqdRfhIqW9L8QcJyK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_63"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:27.267918' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_64@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_64@example.jp"], ["encrypted_password", "$2a$04$FTvVi.XqepKIUombD9YjpeNx3rXP38rob5svygYolK9as.G7mUpru"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_64"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:27.276610' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_29' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_29"], ["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_29"], ["title", "message_template_29"], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_29' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_65@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_65@example.jp"], ["encrypted_password", "$2a$04$AnsDaWhRT5OXjbDXKZm1seAKGvmgJUsVq.1iqxUmITIzY.wPa8ItG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_65"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:27.292263' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_66@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_66@example.jp"], ["encrypted_password", "$2a$04$40d7uiVTBj7JbLvvHPkMcea4i/dipa60cyBG8iG3bPKsJUe8ySerm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_66"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:27.300888' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_30' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_30"], ["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_30"], ["title", "message_template_30"], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"12", "receiver_id"=>"13", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_67@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_67@example.jp"], ["encrypted_password", "$2a$04$gbJqWp31Uz4AvUkt6/YYc.sEiSQRKbsKt0FCDkQIAyVX.4P2MZ1C2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_67"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:27.321160' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_68@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_68@example.jp"], ["encrypted_password", "$2a$04$M8alDLp6w9evsJEPwiy8UuwV7bDrUmVmJF7nnyIVl1.GGt8t/9Ggi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_68"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:27.331584' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_31' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_31"], ["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_31"], ["title", "message_template_31"], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_31' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_69@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_69@example.jp"], ["encrypted_password", "$2a$04$llwfYuQ7pmDtYDUYqt3fHuAtuMe3bGNT9k42vTXyY.6eBjqWgkMq."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_69"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:27.346636' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_70@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_70@example.jp"], ["encrypted_password", "$2a$04$slxjYpTH1v3fyvb0uQu32.5ojkRXIqKLNroo61Emkji1fhOJrYTpW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_70"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:27.354522' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_32' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_32"], ["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_32"], ["title", "message_template_32"], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_71@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_71@example.jp"], ["encrypted_password", "$2a$04$HT5IjZe/wQLctsT8uziNoOyML9Be2NFax.vCIbnP3g9/4hiTElWFW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_71"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:27.375888' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_72@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_72@example.jp"], ["encrypted_password", "$2a$04$3Gb5v6A1PzePkbnq4rkm6OLptvt7Msf15MpEUadJS2rOqigsXMUg."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_72"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:27.384294' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_33' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_33"], ["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_33"], ["title", "message_template_33"], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_33' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (37.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_7@example.jp"], ["encrypted_password", "$2a$04$19A7zjnm25JIJtl5woffOOYHKxemzJRvQdWfane2fzJJQSdz3thm2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_7"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:27.436522' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 6ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_73@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_73@example.jp"], ["encrypted_password", "$2a$04$YPkgdGJTI5xjMegFkip6Iem3S/HqNHOFEZLDLEHAdkH.RvLp4kOFu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_73"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_id", 10]]  (0.3ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:27.454122' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_74@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_74@example.jp"], ["encrypted_password", "$2a$04$ND7/vV3bNysAa5U.Dmfqtut1hzOWjHoWXdM2VG.ZzfnT8sMfbS0D."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_74"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:27.464768' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_34' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_34"], ["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_34"], ["title", "message_template_34"], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_34' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_8@example.jp"], ["encrypted_password", "$2a$04$rY9ybpCkUqRKZHvGWhEcE.IM3cC6NXUaAWfO413hYRNJTMJQrQEiu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_8"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:27.479009' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 6ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_75@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_75@example.jp"], ["encrypted_password", "$2a$04$MIn5sAK0j1GxPTc0kvb2xuj9d5J/yKbhwAuvmo2TJdcZmF7qUIynK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_75"]] SQL (0.5ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:27.497987' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_76@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_76@example.jp"], ["encrypted_password", "$2a$04$fr5/lEiirej4VYS1ziLczuhDkFWH.6hHfuwA5hbn8ZUbF.E94VF0i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_76"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:27.508673' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_35' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_35"], ["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_35"], ["title", "message_template_35"], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_35' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_7@example.jp"], ["encrypted_password", "$2a$04$slRqh0MfI.DfTXzVgPkd3.qjMppnSaE1csJUwUw5AlEwiS6.1fRqy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_7"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:27.523872' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 6ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_77@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_77@example.jp"], ["encrypted_password", "$2a$04$Kj3Mtl/CFzHnW2.Q8kHCzuzNO.jwYiXSYPBxws3zeqZ51EaPx1bOu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_77"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:27.542791' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_78@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_78@example.jp"], ["encrypted_password", "$2a$04$s0IJNdxzSTYz.pnIdSp4JOR.ZSRj1b.EuyRw77JzNLl1kZuMxcRcq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_78"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:27.551648' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_36' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_36"], ["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_36"], ["title", "message_template_36"], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_36' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_8@example.jp"], ["encrypted_password", "$2a$04$7ClPdYYRioPhRAVLzHVfhuJNBmT5x6R9sBXBHNY8pS0ErLnQG.LFu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_8"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:27.567132' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 44ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_79@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_79@example.jp"], ["encrypted_password", "$2a$04$pCmgEI8E1HQ1fXn2F.3rFe4HhTkD9OVNO0Eqa6S53cSDmM3U4oP9e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_79"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:27.623694' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_80@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_80@example.jp"], ["encrypted_password", "$2a$04$GBkSt5xyEljhq7.lHSfjJuWXzzwJoO4fSAiLzM9kdwPJiR32a5BoC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_80"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:27.632845' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_37' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_37"], ["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_37"], ["title", "message_template_37"], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_37' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_81@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_81@example.jp"], ["encrypted_password", "$2a$04$H4tXHsKhTyuw7wOaQfvEjuerK5pNJEXWE5J9jFQ2NDYulCkJ2oYCu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_81"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:27.647203' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_82@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_82@example.jp"], ["encrypted_password", "$2a$04$IRroKAnbX5O5IMhNK.pnq.i94Y7fTlOfAgHNpboHAAyhW8XMEPJFy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_82"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:27.666594' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_83@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_83@example.jp"], ["encrypted_password", "$2a$04$LReBEnpQTllmGb1OOS9GXOpoP0yGpm6iY9NFIOSvfTQNDxTSg9SpW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_83"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:27.675433' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_38' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_38"], ["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_38"], ["title", "message_template_38"], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_38' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_84@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_84@example.jp"], ["encrypted_password", "$2a$04$7a5IBxb1hneRGWpwk3qiYO8bQBi46KEdzgzqRtqaubMG3twF5YAGS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_84"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:27.689484' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_85@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_85@example.jp"], ["encrypted_password", "$2a$04$Int1SBhkm2OkA7wMxuAQsu5AN35tTFGKlT5wAu5mvX2MGbYzIiq1i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_85"]] SQL (0.5ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:27.708454' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_86@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_86@example.jp"], ["encrypted_password", "$2a$04$X.Ps8ph7n2zlHjF3n9H8vOCh6xtTf8xyGbBFJtfusbT1658zp3wTS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_86"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:27.716870' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_39' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_39"], ["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_39"], ["title", "message_template_39"], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_39' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_87@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (36.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_87@example.jp"], ["encrypted_password", "$2a$04$NfioQxgA/jFUBpzHCN8rXuCTl6lJGijAhAGq9uzoRXk35srG4viW."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_87"]] SQL (0.6ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:27.775724' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_88@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_88@example.jp"], ["encrypted_password", "$2a$04$pKrgtjCC247zmqVWJpdkEOBmyDzqPRIzTFJNcFIOXOhEigS4R6DAm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_88"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:27.784590' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_40' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_40"], ["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_40"], ["title", "message_template_40"], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_40' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 11], ["sender_id", 10], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_41' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_41"], ["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_41"], ["title", "message_template_41"], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_9@example.jp"], ["encrypted_password", "$2a$04$JGYQhMAeK/us40CWuaK8e.NgG1s5u7vI2XuZxCEd.7JaQWWlDXj2e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_9"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:27.810847' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 200 OK in 10ms (Views: 4.5ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position LIMIT 10 OFFSET 0  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_42' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_42"], ["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_42"], ["title", "message_template_42"], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_9@example.jp"], ["encrypted_password", "$2a$04$dXVsjnPEtuTWdqhNUXOJOenm1BIQeO3jb4nWZIyY.qUz/I.zbqluq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_9"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:27.839493' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 200 OK in 6ms (Views: 1.0ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position LIMIT 10 OFFSET 0  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_43' LIMIT 1 SQL (0.8ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_43"], ["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_43"], ["title", "message_template_43"], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_89@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_89@example.jp"], ["encrypted_password", "$2a$04$/ZpCnTo3GuugudbME1jUJ.FVVLG8AlhnBgS6aMAnfD5vMgq/03XgK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_89"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:27.880137' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "message_templates" WHERE ('t'='f')  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_44' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_44"], ["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_44"], ["title", "message_template_44"], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms  (0.1ms) SELECT COUNT(*) FROM "message_templates" WHERE ('t'='f') Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_10@example.jp"], ["encrypted_password", "$2a$04$cHAiuG91njgyCHdD9IHGiu2fRov0IQJdP6ObaDqHEQv6/g1jV48QK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_10"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_id", 10]]  (0.4ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:27.908718' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_45' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_45"], ["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_45"], ["title", "message_template_45"], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 200 OK in 7ms (Views: 1.5ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_10@example.jp"], ["encrypted_password", "$2a$04$ZOGlPVbSQEX9m0xRAZ0NJuVU9qwYPIcEKTvOz5.b0KdFPXdn.GOFS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_10"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:27.931172' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_46' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_46"], ["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_46"], ["title", "message_template_46"], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 200 OK in 5ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (39.0ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_90@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_90@example.jp"], ["encrypted_password", "$2a$04$aM0mQOU3LR3wnNT0FOPw3u81RJUO9OiDYK/u1l6LkMuVxtTrIA4f."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_90"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:27.992894' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_47' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_47"], ["created_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_47"], ["title", "message_template_47"], ["updated_at", Sat, 17 Dec 2011 20:38:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_48' LIMIT 1 SQL (1.8ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_48"], ["created_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_48"], ["title", "message_template_48"], ["updated_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 5ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_11@example.jp"], ["encrypted_password", "$2a$04$7ttdhLBZGPw9w3dkccyJV.PH.KiI1x4BHCO2ptEiXiOpsBZOMU.K6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_11"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:28.026969' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_11@example.jp"], ["encrypted_password", "$2a$04$dnaPglzcqi9.daHS8YkAXu.sifG0SbiUpTuN1ZuRq.rCjmstQ8wTW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_11"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:28.047560' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_91@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (5.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_91@example.jp"], ["encrypted_password", "$2a$04$Ngofwo44v9coN4nWQkLzoO8KLFRRY.55afS5UdsqBnoqsWx1tP46y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_91"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:28.089221' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Processing by MessageTemplatesController#new as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (38.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_12@example.jp"], ["encrypted_password", "$2a$04$KviDOBvvewDJ0q8WObq2GO/w7NIO3t9TCNKIcyGouv1OU60xgVGuy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_12"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:28.196226' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_49' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_49"], ["created_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_49"], ["title", "message_template_49"], ["updated_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 200 OK in 6ms (Views: 1.5ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_12@example.jp"], ["encrypted_password", "$2a$04$u9rJnuHN/x7m5zGOQw6wyOsPg8B4IUvk4ozt8qMQ3hsrwegr5zJ6u"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_12"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:28.217905' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_50' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_50"], ["created_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_50"], ["title", "message_template_50"], ["updated_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_92@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_92@example.jp"], ["encrypted_password", "$2a$04$yWBYMYePB2PSFIPzsKe.5.EgBQqbreGolfS2bsRtmnnAQ6cEEjGcu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_92"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00], ["user_id", 10]]  (42.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:28.275230' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_51' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_51"], ["created_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_51"], ["title", "message_template_51"], ["updated_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_52' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_52"], ["created_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_52"], ["title", "message_template_52"], ["updated_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (25.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_13@example.jp"], ["encrypted_password", "$2a$04$bSshfZQX9BosfZm9IEFwsOY1XX/o7.HSC12C9Yw8ugUEAA/Q0ZXAm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_13"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:28.375936' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_53", "status"=>"message_template_53", "body"=>"message_template_53"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_53' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (43.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_14@example.jp"], ["encrypted_password", "$2a$04$FQRVXEuqWvrH1A2fuj20Pusp4PPVUmBWJJFS3gcv.lA3V2I8NzypG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_14"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:28.466554' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_54", "status"=>"message_template_54", "body"=>"message_template_54"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_15@example.jp"], ["encrypted_password", "$2a$04$e00u7mMDEkiNIbu.IwcAT.6hU5mILs948bbsw/gMzEvatMESEguE2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_15"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:28.485071' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_16@example.jp"], ["encrypted_password", "$2a$04$X2TYfopuo7O8XTc.6bLiEuf8ztpj.tu0DVXrOVNQDJK8zlTr2jdGq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_16"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:28.505501' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (42.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_13@example.jp"], ["encrypted_password", "$2a$04$VKTmDtxxnm61fw23CjvGx./HdCMRLgLLq.EjqqZKQwthC16Y6yBF2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_13"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:28.603164' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_57", "status"=>"message_template_57", "body"=>"message_template_57"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_57' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_14@example.jp"], ["encrypted_password", "$2a$04$gWJhiIc734cSuENy/BuS7OctBzzpDGWDK2zfeuTj6MBowCUl9qahy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_14"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:28.622542' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_58", "status"=>"message_template_58", "body"=>"message_template_58"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 42ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_15@example.jp"], ["encrypted_password", "$2a$04$u3Cq6Y6Af/YzGy6x34frYu4ZpmISeDavcVuUrAOP8Jv8RGva.6dUm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_15"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:28.680151' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_16@example.jp"], ["encrypted_password", "$2a$04$XJL6D7jxoX5fzF07YXysT.OIyP2ryWl3pnt0pyYVwdUSlhtUte7F."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_16"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:28.699789' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_93@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_93@example.jp"], ["encrypted_password", "$2a$04$XRu84dEAmFYbzfsoBoKDKOA/XVroQc5wBDp8EsVIYdbZglbGAbc3O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_93"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:28.740039' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_61", "status"=>"message_template_61", "body"=>"message_template_61"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_61' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_94@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (27.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_94@example.jp"], ["encrypted_password", "$2a$04$kmfjehiO.qFee.EmNRqbyuzSBMAKU96vjHPf1AVndtdclEPFKovqy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_94"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:28.804033' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_62", "status"=>"message_template_62", "body"=>"message_template_62"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_95@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_95@example.jp"], ["encrypted_password", "$2a$04$wswYWh//9uEtj1wZtszysul1UFAm7vYqf9Zb7fOLkiY6BMLOPwNQ2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_95"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00], ["user_id", 10]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:28.866915' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_96@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_96@example.jp"], ["encrypted_password", "$2a$04$dRsg/iDCua8DjlmezPIejOD2X6USw9brFYbQo4Cgbgvq6RKFLMrSK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_96"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:28.886230' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_65", "status"=>"message_template_65", "body"=>"message_template_65"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 3ms MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_65' LIMIT 1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_66", "status"=>"message_template_66", "body"=>"message_template_66"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 3ms Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 3ms MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 40ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_69' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_69"], ["created_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_69"], ["title", "message_template_69"], ["updated_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_17@example.jp"], ["encrypted_password", "$2a$04$bUuvI3LrZus5Z4XxhbHkX.0cmLIj1abA74ntQoHvgE8YGJWq7qIdK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_17"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:28.971507' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_70", "status"=>"message_template_70", "body"=>"message_template_70"}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_70' AND "message_templates"."id" != 9) LIMIT 1  (0.1ms) UPDATE "message_templates" SET "title" = 'message_template_70', "status" = 'message_template_70', "body" = 'message_template_70', "updated_at" = '2011-12-17 20:38:28.979942' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates/9 Completed 302 Found in 13ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_71' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_71"], ["created_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_71"], ["title", "message_template_71"], ["updated_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_18@example.jp"], ["encrypted_password", "$2a$04$ji9EQ0zlFqsgP7L6otvUW.vikHUE1qWMjqkAwxvQqLdoG/DkkG/9C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_18"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:38:28 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:29.000032' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_72", "status"=>"message_template_72", "body"=>"message_template_72"}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_72' AND "message_templates"."id" != 9) LIMIT 1  (0.1ms) UPDATE "message_templates" SET "title" = 'message_template_72', "status" = 'message_template_72', "body" = 'message_template_72', "updated_at" = '2011-12-17 20:38:29.008687' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates/9 Completed 302 Found in 8ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_73' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_73"], ["created_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_73"], ["title", "message_template_73"], ["updated_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_19@example.jp"], ["encrypted_password", "$2a$04$9Lu9cgLG.IDIHtoWj1lQQOG9OHgfJyt2o5Ccm9IUg3.XhNeah0oCW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_19"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:29.027988' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_74", "status"=>"message_template_74", "body"=>"message_template_74"}, "position"=>"2", "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "message_templates" SET "position" = 0, "updated_at" = '2011-12-17 20:38:29.035522' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "message_templates" SET position = (position - 1) WHERE "message_templates"."id" IN (SELECT "message_templates"."id" FROM "message_templates" WHERE (1 = 1 AND position > 9) ORDER BY position) SQL (0.2ms) UPDATE "message_templates" SET position = (position + 1) WHERE "message_templates"."id" IN (SELECT "message_templates"."id" FROM "message_templates" WHERE (1 = 1 AND position >= 2) ORDER BY position)  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "message_templates" SET "position" = 2, "updated_at" = '2011-12-17 20:38:29.037111' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates Completed 302 Found in 8ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_75' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_75"], ["created_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_75"], ["title", "message_template_75"], ["updated_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (26.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_20@example.jp"], ["encrypted_password", "$2a$04$7IhohEQtOqDmmoChNA9ZDuTxqCVLMXfmm0Hdx.um6juVCciQAur.O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_20"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:29.089859' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = '' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 9ms (Views: 0.7ms | ActiveRecord: 0.0ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_77' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_77"], ["created_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_77"], ["title", "message_template_77"], ["updated_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (36.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_17@example.jp"], ["encrypted_password", "$2a$04$JXU4WjQOXL4cjctNdUQ0A.n0fFWFMl/rsRaJU/Z6P2rZzwp6pRqDa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_17"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:29.150268' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_78", "status"=>"message_template_78", "body"=>"message_template_78"}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 41ms (Views: 1.0ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_79' LIMIT 1 SQL (46.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_79"], ["created_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_79"], ["title", "message_template_79"], ["updated_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_18@example.jp"], ["encrypted_password", "$2a$04$aTYI8s.Vmh68gYn0NlNauereoK5e5ovpix7sncbS5k.YLN9xJA.G6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_18"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:29.253206' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_80", "status"=>"message_template_80", "body"=>"message_template_80"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_81' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_81"], ["created_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_81"], ["title", "message_template_81"], ["updated_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_19@example.jp"], ["encrypted_password", "$2a$04$KxqcQJyzh7EDMZ8DsLNl8u4pvJNk8RHPsPfUPGoDkZrPKMXnI1NgO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_19"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00], ["user_id", 10]]  (24.8ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:29.275013' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_83' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_83"], ["created_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_83"], ["title", "message_template_83"], ["updated_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_97@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_97@example.jp"], ["encrypted_password", "$2a$04$.Ce8PNbG9b0v2VUdKqFpF.9U2zX836FGcarOfXQm4MNPz5e4q2i8S"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_97"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:29.320615' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_84", "status"=>"message_template_84", "body"=>"message_template_84"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 0.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_85' LIMIT 1 SQL (39.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_85"], ["created_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_85"], ["title", "message_template_85"], ["updated_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_98@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_98@example.jp"], ["encrypted_password", "$2a$04$5ThcbfSQvSjJx5RZWx67Re52BmPUAYoJpVU1Y5P5F3r8eYZs0asjK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_98"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00], ["user_id", 10]]  (10.4ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:29.400872' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_86", "status"=>"message_template_86", "body"=>"message_template_86"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_87' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_87"], ["created_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_87"], ["title", "message_template_87"], ["updated_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_99@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_99@example.jp"], ["encrypted_password", "$2a$04$5kL7u.cgxZoX9MKcRLMon.cTbfQLCOoKbSr1T6cA.S5ru7q1kfGGO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_99"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:29.435427' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_89' LIMIT 1 SQL (41.0ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_89"], ["created_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_89"], ["title", "message_template_89"], ["updated_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_90", "status"=>"message_template_90", "body"=>"message_template_90"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 5ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_91' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_91"], ["created_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_91"], ["title", "message_template_91"], ["updated_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_92", "status"=>"message_template_92", "body"=>"message_template_92"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_93' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_93"], ["created_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_93"], ["title", "message_template_93"], ["updated_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 5ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_95' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_95"], ["created_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_95"], ["title", "message_template_95"], ["updated_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (37.4ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_21@example.jp"], ["encrypted_password", "$2a$04$eLM5GrpKEcNJhIFyglPrV./0wxNLxXjpq4fwy7gY3TJ4P2obB7jaO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_21"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:29.584472' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 1.1ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_96' LIMIT 1 SQL (10.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_96"], ["created_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_96"], ["title", "message_template_96"], ["updated_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_22@example.jp"], ["encrypted_password", "$2a$04$BbT.Ft9PkXVMFYXk9WzxLecZDi5NoOwUBwO8nt0EVvKiJUSatz7T6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_22"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:29.655429' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_97' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_97"], ["created_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_97"], ["title", "message_template_97"], ["updated_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (35.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_20@example.jp"], ["encrypted_password", "$2a$04$aCPo.ZpxGVzu8FUd54WXruiR1odkYvjbIFJ8xFBwnfoCg2WlijD6S"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_20"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:29.710306' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_98' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_98"], ["created_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_98"], ["title", "message_template_98"], ["updated_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_21@example.jp"], ["encrypted_password", "$2a$04$aThNYuaZ1Aj3hzgJb9KHy..86zRe0RLCisfbKdhjhboxxddcJTZTG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_21"]] SQL (20.0ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:29.752470' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_99' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_99"], ["created_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_99"], ["title", "message_template_99"], ["updated_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_100@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (27.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_100@example.jp"], ["encrypted_password", "$2a$04$lVf1Kf.sYMUNOSclYGmWU.8ldQgsLYp9swG8VaIyvKICWHX955duK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_100"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:29.802735' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_100' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_100"], ["created_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_100"], ["title", "message_template_100"], ["updated_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_101@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (36.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_101@example.jp"], ["encrypted_password", "$2a$04$Er49pCi0PNbx5Kb57AFpEOzmoXTY1GNjnXCB0c5D6FS10/HBMJEGG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_101"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:29.862470' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_101' LIMIT 1 SQL (3.9ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_101"], ["created_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_101"], ["title", "message_template_101"], ["updated_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_102' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_102"], ["created_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_102"], ["title", "message_template_102"], ["updated_at", Sat, 17 Dec 2011 20:38:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms Role Load (0.3ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_23@example.jp"], ["encrypted_password", "$2a$04$mUrgrp.4T2OZF9c.bAipTO3rrpE.yLqblcnjBL3oyRbbeRGpAT2J2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:31 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_23"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:31 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:38:31 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:31.132839' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 SOLR Request (3.2ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A10&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (2.9ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A10&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 32ms (Views: 6.2ms | ActiveRecord: 0.4ms | Solr: 6.1ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_24@example.jp"], ["encrypted_password", "$2a$04$4BfdxiEeVPW0vAHSL80jpOyLyv4vHqskiegpa5CrpNTzNDIr89782"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:31 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_24"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:31 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:38:31 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:31.184066' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML Parameters: {"user_id"=>"admin_24"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'admin_24' LIMIT 1 SOLR Request (2.6ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A10&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (2.3ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A10&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 13ms (Views: 1.0ms | ActiveRecord: 0.4ms | Solr: 4.8ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_22@example.jp"], ["encrypted_password", "$2a$04$BKngzgmhxX6Eb2hlSzjJ1OrPiiyBkWGZZpS/D2uYuxTsnehTYZcBy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:31 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_22"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:31 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:38:31 UTC +00:00], ["user_id", 10]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:31.216440' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 SOLR Request (2.2ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A10&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (3.6ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A10&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 15ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 5.8ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_23@example.jp"], ["encrypted_password", "$2a$04$GTsgoeA5Qal2AsgTtTcdD.MNe/nxfki.LcG9z/t88f2dex/nsRALW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:31 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_23"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:31 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:38:31 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:31.248603' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML Parameters: {"user_id"=>"librarian_23"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'librarian_23' LIMIT 1 SOLR Request (3.4ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A10&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (2.2ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A10&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 14ms (Views: 1.0ms | ActiveRecord: 0.4ms | Solr: 5.6ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 SOLR Request (2.4ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (1.8ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IN (2) Completed 200 OK in 75ms (Views: 1.0ms | ActiveRecord: 0.4ms | Solr: 4.2ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML Parameters: {"query"=>"you"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 SOLR Request (3.2ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&q=you&fl=%2A+score&qf=body_text+subject_text&defType=dismax&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (3.4ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&q=you&fl=%2A+score&qf=body_text+subject_text&defType=dismax&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IN (2) Completed 200 OK in 19ms (Views: 1.4ms | ActiveRecord: 0.5ms | Solr: 6.6ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 SOLR Request (2.4ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (1.9ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IN (2) Completed 200 OK in 13ms (Views: 0.9ms | ActiveRecord: 0.4ms | Solr: 4.2ms) Processing by MessagesController#index as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 15ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.8ms | ActiveRecord: 0.4ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#show as HTML Parameters: {"id"=>"2"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 3 AND "messages"."id" = ? LIMIT 1 [["id", "2"]]  (0.0ms) SAVEPOINT active_record_1  (2.3ms) UPDATE "messages" SET "read_at" = '2011-12-17 20:38:31.443520', "updated_at" = '2011-12-17 20:38:31.443839' WHERE "messages"."id" = 2 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1  (0.5ms) UPDATE "messages" SET "state" = 'read', "updated_at" = '2011-12-17 20:38:31.499858' WHERE "messages"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 72ms (Views: 1.7ms | ActiveRecord: 3.5ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.2ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_25@example.jp"], ["encrypted_password", "$2a$04$WLs.wbewjY961AT6Gz.gnuCn8AvdJmM9c2OX.osl/NcTy8zrX52xq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:31 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_25"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:31 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:38:31 UTC +00:00], ["user_id", 10]]  (21.3ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:31.547877' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 Completed 200 OK in 9ms (Views: 1.6ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_24@example.jp"], ["encrypted_password", "$2a$04$bMgWOaKs52IVrJqkseCkEOHx53arL3ObRlD0kHn9PUMYA.wDNiNTW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:31 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_24"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:31 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:38:31 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:31.591557' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 Completed 200 OK in 10ms (Views: 0.9ms | ActiveRecord: 0.4ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML Parameters: {"parent_id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML Parameters: {"parent_id"=>"2"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Processing by MessagesController#new as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_26@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (5.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_26@example.jp"], ["encrypted_password", "$2a$04$UBFc2HeudCuIDPmv6R2ASe2w1ONGTGNyPR4qzMHQbrfR7NR006bHi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:31 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_26"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:31 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:38:31 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:31.664539' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 10 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 7ms (Views: 0.8ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_25@example.jp"], ["encrypted_password", "$2a$04$5z45/TvqGt7cRAMJNX1A0.DwyyUyuNhElhTy1Q3LCQnZ0DTja8QJ6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:31 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_25"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:31 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:38:31 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:31.720534' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 0.9ms | ActiveRecord: 0.4ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.7ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_102@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (7.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_102@example.jp"], ["encrypted_password", "$2a$04$c9Ry7AgJi4N7V4Eb2Q7ojeI4R6ZZD6g4xjKScc2jzsO19mZWTtIPC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:31 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_102"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:31 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:31 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:31.759440' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_103@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_103@example.jp"], ["encrypted_password", "$2a$04$.J20Z3thJryFJTbn4ivi7uf2jMj4yqD6QH/Zr78YYzaXvybUBWnFW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:31 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_103"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:31 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:31 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:31.768493' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user_102' LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "messages" ("body", "created_at", "lft", "message_request_id", "parent_id", "read_at", "receiver_id", "rgt", "sender_id", "state", "subject", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "new message body is really short"], ["created_at", Sat, 17 Dec 2011 20:38:31 UTC +00:00], ["lft", 9], ["message_request_id", nil], ["parent_id", nil], ["read_at", nil], ["receiver_id", 10], ["rgt", 10], ["sender_id", 11], ["state", "unread"], ["subject", "new message"], ["updated_at", Sat, 17 Dec 2011 20:38:31 UTC +00:00]] SQL (0.9ms) INSERT INTO "delayed_jobs" ("attempts", "created_at", "failed_at", "handler", "last_error", "locked_at", "locked_by", "priority", "run_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attempts", 0], ["created_at", Sat, 17 Dec 2011 20:38:31 UTC +00:00], ["failed_at", nil], ["handler", "--- !ruby/struct:Delayed::PerformableMailer \nobject: !ruby/class Notifier\nmethod_name: :message_notification\nargs: \n- !ruby/ActiveRecord:Message \n attributes: \n id: 7\n read_at: \n receiver_id: 10\n sender_id: 11\n subject: new message\n body: new message body is really short\n message_request_id: \n state: unread\n parent_id: \n created_at: &id001 2011-12-17 20:38:31.771461 Z\n updated_at: *id001\n lft: 9\n rgt: 10\n"], ["last_error", nil], ["locked_at", nil], ["locked_by", nil], ["priority", 0], ["run_at", Sat, 17 Dec 2011 20:38:31 UTC +00:00], ["updated_at", Sat, 17 Dec 2011 20:38:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#edit as HTML Parameters: {"id"=>"7"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "7"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 5ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_27@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_27@example.jp"], ["encrypted_password", "$2a$04$bPbJ3a6eWLm6.4QMm/jvSumNsZm8trFCB3sy4pBGKRX6Ed.Rqn.Eq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:31 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_27"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:31 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:38:31 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:31.806562' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 47ms (Views: 0.9ms | ActiveRecord: 0.5ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_28@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_28@example.jp"], ["encrypted_password", "$2a$04$vVpFHk7xElG8r0Mt7En3ieLaM8s167AZZFby2IdpLLWbVCk4NhkPW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:31 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_28"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:31 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:38:31 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:31.866859' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}, "user_id"=>"user1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 0.8ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_29@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_29@example.jp"], ["encrypted_password", "$2a$04$c0xy1S4Bm9uCUi/hfGDE6eeADkvEu2FugC.Dl4rpypL6s8a.q8mny"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:31 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_29"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:31 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:38:31 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:31.887678' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}, "user_id"=>"user1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 0.8ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_30@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_30@example.jp"], ["encrypted_password", "$2a$04$Zz3V1mZBNu90/yM6Ie1kteK/16Drgv/8TtuE6IY2y.9/52xKd67Bu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:31 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_30"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:31 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:38:31 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:31.912207' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}, "user_id"=>"user1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 10 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 0.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test", "parent_id"=>"2"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user2' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user2' LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "messages" ("body", "created_at", "lft", "message_request_id", "parent_id", "read_at", "receiver_id", "rgt", "sender_id", "state", "subject", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "test"], ["created_at", Sat, 17 Dec 2011 20:38:31 UTC +00:00], ["lft", 9], ["message_request_id", nil], ["parent_id", 2], ["read_at", nil], ["receiver_id", 5], ["rgt", 10], ["sender_id", 2], ["state", "unread"], ["subject", "test"], ["updated_at", Sat, 17 Dec 2011 20:38:31 UTC +00:00]] Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? ORDER BY "lft" LIMIT 1 [["id", 2]] Message Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 7]] SQL (0.4ms) UPDATE "messages" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 7 THEN 2 ELSE "parent_id" END WHERE "messages"."id" IN (SELECT "messages"."id" FROM "messages" ORDER BY "lft") Message Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 2]] Message Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/messages Completed 302 Found in 14ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test", "parent_id"=>"2"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 3ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>"test"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 12ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>nil, "subject"=>"test", "body"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_104@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (40.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_104@example.jp"], ["encrypted_password", "$2a$04$AoH5R./Pd74iz3uHK1St/u1RwS2GVuT3KFdcvzvD/yME0Zkobxxha"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_104"]] SQL (4.8ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:32.071175' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_105@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (8.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_105@example.jp"], ["encrypted_password", "$2a$04$yqRgFuVki5s0.DZSNprD1.uMoEwhUxFy.CbWZefXVlu031Mu4HAUa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_105"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:32.086578' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_104", "sender_id"=>"11", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 7ms (Views: 0.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_106@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (41.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_106@example.jp"], ["encrypted_password", "$2a$04$87mfuPrFtPFL9iSkuL7AR.DaqcbR0PysmZejuv/KL1khmnWtSsUf6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_106"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:32.149295' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_107@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_107@example.jp"], ["encrypted_password", "$2a$04$syOWVQZeEid0wD8OcUnC8OcxbWJVRAyJ4tAxGZGLfHi0GpCg4xK9W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_107"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:32.159292' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_106", "sender_id"=>"11", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 7ms (Views: 0.8ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_108@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (40.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_108@example.jp"], ["encrypted_password", "$2a$04$8.dXlYoRE.n1bc4SYniJJedULXs03b6DNkxwB/UimDWQNUZTKRZL6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_108"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:32.237375' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_109@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (8.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_109@example.jp"], ["encrypted_password", "$2a$04$LpYPzEU2RmE8D0wn95TJEegN5QTHE2DtI7tT7Ut8J18nrl7eksCXC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_109"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:32.252712' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 9ms (Views: 0.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_110@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (32.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_110@example.jp"], ["encrypted_password", "$2a$04$oORNtBmY9FT.K/bnxEGBX.K41M5EQF5CPDz.Re6bcnNN2IjRVQe3e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_110"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:32.306533' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_111@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (8.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_111@example.jp"], ["encrypted_password", "$2a$04$rKHyACBwBN.aJvFYyaLj0OWztb.u0DQGiG4/DFqaw5UPaxfyT./fS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_111"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:32.321973' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 8ms (Views: 0.8ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_112@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_112@example.jp"], ["encrypted_password", "$2a$04$QvMdnUqIl/0yS0U6iDdBUuVk6Jbzppvu20/lRGlmjHdNpLmf8Av0m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_112"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:32.345531' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_113@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (39.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_113@example.jp"], ["encrypted_password", "$2a$04$9ry.o65xtHqtnA5K8oWVbeg7DNvUN524VfCAZioln2iz8nC0dnh5C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_113"]] SQL (0.6ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:32.421273' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_112", "sender_id"=>"11", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.8ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_114@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_114@example.jp"], ["encrypted_password", "$2a$04$t6gfe8iHvBQLD99mfHDZZ.uG/KhU9zlZNxfGNI1yof1hwrMstL/9u"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_114"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:32.443120' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_115@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (27.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_115@example.jp"], ["encrypted_password", "$2a$04$BfN3y72Angq82B1aX7QKeeumHgvW0Gww7P1lSHLw3y37IOHvczmHi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_115"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:32.477604' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_114", "sender_id"=>"11", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_116@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (61.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_116@example.jp"], ["encrypted_password", "$2a$04$zGUmqHZApBePf1VAKIDV.u2PJddK36n91sFmisk5N5xtw7RuhPcEK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_116"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:32.559351' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_117@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (22.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_117@example.jp"], ["encrypted_password", "$2a$04$.YKIR34qhL1vLPKd7Hasluv948amVyq8pPBgkZCrm8tcPB8b0kSrq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_117"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:32.589948' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.8ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_118@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_118@example.jp"], ["encrypted_password", "$2a$04$haVXi7Keia2FEsgybsybG.8pJBYM80p/rdnSVvWGUaY.MWMxvgHSS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_118"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:32.609256' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_119@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_119@example.jp"], ["encrypted_password", "$2a$04$T/768J4It9ioZhN7gwsMOOq0MF91igZaG8UimVN1h//5aOSzL6kAm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_119"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:32.617884' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_120@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (29.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_120@example.jp"], ["encrypted_password", "$2a$04$A6Q5gxbuimZOcNPqNKH37uDLaWnZv9qHP.60Vr1cKpyLQ9zhSIoXC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_120"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:32.682913' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_121@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_121@example.jp"], ["encrypted_password", "$2a$04$0eQN/XAlsAT9jNXxKLjh6.XQ.eNUxOJk96d/zJd507Px3Ljz2BYDi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_121"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:32.691604' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 45ms (Views: 0.8ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_122@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_122@example.jp"], ["encrypted_password", "$2a$04$77aDhZ1hMNU6tdn4wKlJiOwdOmiM.Mrlj8acezBNapMpxjWGVIt2S"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_122"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:32.749377' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_123@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_123@example.jp"], ["encrypted_password", "$2a$04$BzqdTfSSIKH.tluueAT4vepDKsYmQH9VSxE8wwFs8hFRzjgRcNwAi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_123"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["user_id", 11]]  (0.7ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:32.758003' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_124@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (12.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_124@example.jp"], ["encrypted_password", "$2a$04$qCyg52A7Y1FP4dEepv380eF/WENgjr501fyqlm53G8u4TlzztZeZC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_124"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:32.810850' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_125@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_125@example.jp"], ["encrypted_password", "$2a$04$cu/jA0WcHWQOKrGIm9.XweMcNnGMWP6JP.H8Lyz4dkN4Mkii/Dd0y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_125"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:32.821004' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_124", "sender_id"=>"11", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_126@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_126@example.jp"], ["encrypted_password", "$2a$04$0ZUdJknQQKdFOOQHQMSabeqKO88rMd7n5fds489H4kSAlJtdv1b.m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_126"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:32.840441' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_127@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_127@example.jp"], ["encrypted_password", "$2a$04$oLvXx7gkj5ZVtanpi8t0GOiH.rUWQuKsfrDgZXHmRj9Awi.Xahf4C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_127"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:32.849113' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_126", "sender_id"=>"11", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 1.0ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_128@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (17.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_128@example.jp"], ["encrypted_password", "$2a$04$J/NEbqx4CST2YApOFPurEu/DsU1vaNGfaxnvBHReUUdKm4A/MfigG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_128"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:32.885728' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_129@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (13.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_129@example.jp"], ["encrypted_password", "$2a$04$MXTVl889FEh0VcK3hbqGMuofGSkGw7L7EEiq5lhbV2anw4O0K/2PG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_129"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:32.906701' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_130@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_130@example.jp"], ["encrypted_password", "$2a$04$Cj.aL9L6.nOyH4QROlW0VuMmCcAkx8bv8WtdAspl1TkbOsmLvr4VG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_130"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:32.964226' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_131@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (17.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_131@example.jp"], ["encrypted_password", "$2a$04$DE3Zj6gSqshfqRHn3s3RqOS34sD996jGvICAEssiBb1ufQnXNhGK6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_131"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:32 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:32.989591' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 1.3ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_132@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (30.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:33 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_132@example.jp"], ["encrypted_password", "$2a$04$i2zN9b2Uqnf.C7ADhqD83OxO/LwSXZregNwv03XhmgjqMhn7n0eZm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:33 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_132"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:33 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:33 UTC +00:00], ["user_id", 10]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:33.040387' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_133@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:33 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_133@example.jp"], ["encrypted_password", "$2a$04$4hAVtEcHEVfOX.BLtJ6GQemOlZqMoEPOivVlF4xZmv8hsq78hQW4e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:38:33 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_133"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:38:33 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:38:33 UTC +00:00], ["user_id", 11]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:38:33.050665' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#destroy as HTML Parameters: {"id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 3 AND "messages"."id" = ? LIMIT 1 [["id", "2"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "messages" WHERE ("lft" > 3 AND "rgt" < 4) SQL (0.3ms) UPDATE "messages" SET "lft" = ("lft" - 2) WHERE "messages"."id" IN (SELECT "messages"."id" FROM "messages" WHERE ("lft" > 4) ORDER BY "lft") SQL (0.4ms) UPDATE "messages" SET "rgt" = ("rgt" - 2) WHERE "messages"."id" IN (SELECT "messages"."id" FROM "messages" WHERE ("rgt" > 4) ORDER BY "lft") SQL (0.1ms) DELETE FROM "messages" WHERE "messages"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/messages Completed 302 Found in 9ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms LibraryGroup Load (7.0ms) SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]] LibraryGroup Load (0.2ms) SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]] Binary data inserted for `string` type on column `encrypted_password` Binary data inserted for `string` type on column `encrypted_password` SOLR Request (52.2ms) [ path=# parameters={data: Message 7MessageActiveRecord::BaseMessagenew message10112011-12-17T20:39:27Zfalsenew message body is really shortnew message, headers: {"Content-Type"=>"text/xml"}, method: post, params: {:wt=>:ruby}, query: wt=ruby, path: update, uri: http://localhost:8981/solr/update?wt=ruby} ] SOLR Request (5.8ms) [ path=# parameters={data: Message 7MessageActiveRecord::BaseMessagenew message10112011-12-17T20:39:27Zfalsenew message body is really shortnew message, headers: {"Content-Type"=>"text/xml"}, method: post, params: {:wt=>:ruby}, query: wt=ruby, path: update, uri: http://localhost:8981/solr/update?wt=ruby} ] LibraryGroup Load (28.2ms) SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]] LibraryGroup Load (0.1ms) SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]] Fixture Delete (0.4ms) DELETE FROM "library_groups" Fixture Insert (0.2ms) INSERT INTO "library_groups" ("id", "name", "display_name", "short_name", "email", "note", "my_networks", "url", "created_at", "updated_at") VALUES (1, 'unknown', 'unknown', 'unknown', 'next-l@library.example.jp', NULL, '0.0.0.0/0', 'http://localhost:3000/', '2011-12-17 20:41:37', '2011-12-17 20:41:37') Fixture Delete (0.2ms) DELETE FROM "message_requests" Fixture Insert (0.1ms) INSERT INTO "message_requests" ("sender_id", "receiver_id", "message_template_id", "state", "created_at", "updated_at", "id") VALUES (1, 1, 1, 'pending', '2011-12-17 20:41:37', '2011-12-17 20:41:37', 980190962) Fixture Insert (0.1ms) INSERT INTO "message_requests" ("sender_id", "receiver_id", "message_template_id", "state", "created_at", "updated_at", "id") VALUES (1, 1, 1, 'pending', '2011-12-17 20:41:37', '2011-12-17 20:41:37', 298486374) Fixture Delete (1.8ms) DELETE FROM "message_templates" Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (1, 'reservation_accepted', 'Reservation accepted', 'Reservation accepted', 1, '2011-12-17 20:41:37', '2011-12-17 20:41:37') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (2, 'item_received', 'Item received', 'Item received', 2, '2011-12-17 20:41:37', '2011-12-17 20:41:37') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (3, 'reservation_expired_for_patron', 'Reservation expired', 'Reservation expired', 3, '2011-12-17 20:41:37', '2011-12-17 20:41:37') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (4, 'reservation_expired_for_library', 'Reservation expired', 'Reservation expired', 4, '2011-12-17 20:41:37', '2011-12-17 20:41:37') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (5, 'reservation_canceled_for_patron', 'Reservation canceled', 'Reservation canceled', 5, '2011-12-17 20:41:37', '2011-12-17 20:41:37') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (6, 'reservation_canceled_for_library', 'Reservation canceled', 'Reservation canceled', 6, '2011-12-17 20:41:37', '2011-12-17 20:41:37') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (7, 'recall_item', 'Recall item', 'Recall item', 7, '2011-12-17 20:41:37', '2011-12-17 20:41:37') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (8, 'recall_overdue_item', 'Recall overdue item', 'Recall overdue item', 8, '2011-12-17 20:41:37', '2011-12-17 20:41:37') Fixture Delete (11.3ms) DELETE FROM "messages" Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "read_at", "state", "lft", "rgt", "updated_at") VALUES (1, 3, 4, 'First Message', 'Abby, you get the first message', '2007-07-04 12:10:47.0', '2011-12-14 20:41:37', 'unread', 1, 2, '2011-12-17 20:41:37') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (2, 4, 3, 'RE: First Message', 'Thanks Dad! You are the coolest!', '2011-12-15 20:41:37', 'unread', 3, 4, '2011-12-17 20:41:37') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (3, 3, 4, 'Second Message', 'Catie, you get the 2nd message', '2011-12-16 20:41:37', 'unread', 5, 6, '2011-12-17 20:41:37') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (6, 4, 5, 'Dad!', 'He is sucha dork.', '2011-12-15 20:41:37', 'unread', 7, 8, '2011-12-17 20:41:37') Fixture Delete (0.1ms) DELETE FROM "roles" Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Guest', 'Guest', 1, NULL, '2011-12-17 20:41:37', '2011-12-17 20:41:37') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('User', 'User', 2, NULL, '2011-12-17 20:41:37', '2011-12-17 20:41:37') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Librarian', 'Librarian', 3, NULL, '2011-12-17 20:41:37', '2011-12-17 20:41:37') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Administrator', 'Administrator', 4, NULL, '2011-12-17 20:41:37', '2011-12-17 20:41:37') Fixture Delete (0.1ms) DELETE FROM "user_groups" Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('(not specified)', '(not specified)', '2007-12-13 12:00:51.564542', 1, '', '2007-12-13 12:00:01.674976', 1) Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('User', 'User', '2007-12-22 18:14:56.836548', 2, '', '2007-12-22 18:14:40.173954', 2) Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('Faculty', 'Faculty', '2007-12-22 18:15:05.134351', 3, '', '2007-12-22 18:15:05.126457', 3) Fixture Delete (0.1ms) DELETE FROM "user_has_roles" Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (1, 4, '2011-12-17 20:41:37', '2011-12-17 20:41:37', 135138680) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (2, 3, '2011-12-17 20:41:37', '2011-12-17 20:41:37', 344583537) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (3, 2, '2011-12-17 20:41:37', '2011-12-17 20:41:37', 206669143) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (4, 3, '2011-12-17 20:41:37', '2011-12-17 20:41:37', 226540757) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (5, 2, '2011-12-17 20:41:37', '2011-12-17 20:41:37', 358143215) Fixture Insert (0.2ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (6, 2, '2011-12-17 20:41:37', '2011-12-17 20:41:37', 576709754) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (7, 2, '2011-12-17 20:41:37', '2011-12-17 20:41:37', 1010528733) Fixture Delete (0.2ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:16:30.163731', '$2a$10$vHohD1WflnTIqAa8zMkF9evwAgIZRw3XuR4d3bi29M.jph/MB/AJi', 2, 1, NULL, 'admin', 'tanabe@kamata.lib.teu.ac.jp', '2007-11-19 07:58:32.111941', 4) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 03:41:16.337474', '$2a$10$9O2VuTccN4gHq36ARg0QReSrb1D7WrBBhZZ759RM9moHbB0W5zCzS', 1, 2, NULL, 'librarian1', 'librarian1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:33.172441', 1) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', '$2a$10$JthS59A0BNkDOoFpCXM0V.GhhffKaoWKbzpPahYp/vTFrOyM7h/uW', 1, 3, NULL, 'user1', 'user1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:23.340575', '$2a$10$YmmTGrYQ1Ir6oc7wXnp.GuNeO1eYLoP3sv8wMSIrTdaGw2BPwRrpS', 1, 4, NULL, 'librarian2', '2008-01-18 03:24:04.222344', 1) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:44.711117', '$2a$10$i7UjJhLVrJM/J7qaTwW39OXw1NiwowUEbtNHVDV0sqMLjX9.UO9ca', 1, 5, NULL, 'user2', '2008-01-18 04:29:06.922728', 2) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 6, NULL, 'user3', 'user3@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 7, NULL, 'user4', 'user4@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.2ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_1@example.jp"], ["encrypted_password", "$2a$04$.o3N70an1SQdwKf7ZJ3fQ.aT7YlPXAP4p44WXde8lW0xciWpHLmBe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_1"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:38 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:41:38 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:38.280259' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Rendered /Users/kosuke/enju_message/app/views/message_requests/index.html.erb within layouts/application (3.7ms) Completed 200 OK in 50ms (Views: 33.0ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_1@example.jp"], ["encrypted_password", "$2a$04$TcQ7S.Qw4JDOMqpyhhX9NeSSnbq/l5UPBt3m6lYNix32UlcWq/ZDK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_1"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:38 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:41:38 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:38.377635' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 200 OK in 13ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_1@example.jp"], ["encrypted_password", "$2a$04$J0LEmJh39TQ7S/CPWRRy6.9Bu.CD8bHBGCm7AF5HHCBBjZlnKXRY."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_1"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:38 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:38 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:38.456135' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 16ms (Views: 6.6ms | ActiveRecord: 0.6ms | Solr: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "message_requests" WHERE ('t'='f') Processing by MessageRequestsController#index as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 16ms  (0.1ms) SELECT COUNT(*) FROM "message_requests" WHERE ('t'='f') Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_2@example.jp"], ["encrypted_password", "$2a$04$4TWLkeVB1JHRZQQQqz26oO78lHRV5ctcHE6JxCjwVIHe4QRMX.fju"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_2"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:38 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:41:38 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:38.517966' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_2@example.jp"], ["encrypted_password", "$2a$04$GU2jOhP/2lPe.sdv7CKtfuCL9DgH75JqtkivpJmbZlrqDbVV13KLK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_2"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:38 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:38 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:38.531949' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_3@example.jp"], ["encrypted_password", "$2a$04$3rIrtUHShc0ewxmz97UHmehKql/jelhOdW8J9Wy5TMLPVVunGRlOS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_3"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:38 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:38 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:38.556762' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_1' LIMIT 1 SQL (22.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_1"], ["created_at", Sat, 17 Dec 2011 20:41:38 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_1"], ["title", "message_template_1"], ["updated_at", Sat, 17 Dec 2011 20:41:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_1' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:41:38 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 14], ["sender_id", 13], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:41:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.2ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 200 OK in 12ms (Views: 2.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (37.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_2@example.jp"], ["encrypted_password", "$2a$04$RoDVQ6tRzZUjYbnBBNi0NOfVSG1WICOwQGHkCYfSUH1xxg.0M42d2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_2"]] SQL (14.7ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:38 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:41:38 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:38.692449' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (61.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_4@example.jp"], ["encrypted_password", "$2a$04$mcY/5HOgP6II3DObqsSx0.8oeQfd3kgG93xQgtXQt0di.uDQULc9C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_4"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:38 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:38 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:38.767359' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_5@example.jp"], ["encrypted_password", "$2a$04$s./1lWA52Z8G/pUBFa7SYeqVq0UaeAfHBdIadLSvaOvEW9yEcKjBu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_5"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:38 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:38 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:38.781373' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_2' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_2"], ["created_at", Sat, 17 Dec 2011 20:41:38 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_2"], ["title", "message_template_2"], ["updated_at", Sat, 17 Dec 2011 20:41:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_2' AND "message_templates"."id" != 9) LIMIT 1 SQL (6.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:41:38 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 14], ["sender_id", 13], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:41:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 200 OK in 10ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (59.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_6@example.jp"], ["encrypted_password", "$2a$04$zELhJYBFyG487RR55WLdr.bawY26FEu3cWY6kychrAY2wik7PU1JG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_6"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:38 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:38 UTC +00:00], ["user_id", 12]]  (14.6ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:38.896369' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (14.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_7@example.jp"], ["encrypted_password", "$2a$04$PunlIGbDd7PEWkVX8D71Oe0VTm1qCEZ0UZykdJxjYYxvSveAUSqhC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_7"]] SQL (8.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:38 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:38 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:38.946113' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_8@example.jp"], ["encrypted_password", "$2a$04$vw8JJmrP0N0bhFNBDXEbLu2yac3qmJAFsSaZA8NWmrS3lu1e0JHqG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_8"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:38 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:38 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:38.960734' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_3' LIMIT 1 SQL (10.9ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_3"], ["created_at", Sat, 17 Dec 2011 20:41:38 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_3"], ["title", "message_template_3"], ["updated_at", Sat, 17 Dec 2011 20:41:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_3' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:41:38 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 14], ["sender_id", 13], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:41:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (1.0ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.3ms | ActiveRecord: 1.2ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (40.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_9@example.jp"], ["encrypted_password", "$2a$04$0acUJHWBsymqwYwHrPChmuhMilMcThAmjBE7sLkI2rKR0VcCHfzOu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_9"]] SQL (14.8ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["user_id", 12]]  (18.4ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:39.093826' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (5.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_10@example.jp"], ["encrypted_password", "$2a$04$2PHX0kIA.GTT4F.j.Pl1Zu4tG9SO118gRWK9Rp1AhqlT1fNoa5R/K"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_10"]] SQL (15.6ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["user_id", 13]]  (2.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:39.151294' WHERE "roles"."id" = 2  (1.3ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.5ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_4' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_4"], ["created_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_4"], ["title", "message_template_4"], ["updated_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_4' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.9ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_3@example.jp"], ["encrypted_password", "$2a$04$glSvNSjVWnbANXbqxwOS3.zmxeWak3mmoQPxZyMP3osgLxfmQO1y2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_3"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:39.195133' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_11@example.jp"], ["encrypted_password", "$2a$04$EHRtMNhV3YFqtmEhB4nyneeU3GhjmNGJMPq7nT0zzlJLZ.feafezm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_11"]] SQL (1.8ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["user_id", 13]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:39.220724' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_12@example.jp"], ["encrypted_password", "$2a$04$n5GxvSjWtute7scBDR105uKYd6cdCBJ3nhNs11..WXvj48GR1oloG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_12"]] SQL (7.5ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["user_id", 14]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:39.247387' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_5' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_5"], ["created_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_5"], ["title", "message_template_5"], ["updated_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_5' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 14], ["sender_id", 13], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 16ms (Views: 4.0ms | ActiveRecord: 0.7ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_3@example.jp"], ["encrypted_password", "$2a$04$2O2vgSHQjY3J1EWbaUDeFOFjhy9PufYXLwJOLorfA5iRaAoQwWP5K"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_3"]] SQL (1.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["user_id", 12]]  (0.5ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:39.367298' WHERE "roles"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_13@example.jp"], ["encrypted_password", "$2a$04$LZlJzP9pqIbPAwgn4WLYHekaGEeUz0q4RMmRH2LaSzvU7VaaZ.aGS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_13"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:39.396772' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_14@example.jp"], ["encrypted_password", "$2a$04$8nISjiKMFmgQDbSTFpwxkeG267fVqzEV2Ni2trjtw6VUBKfXmACiG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_14"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:39.410643' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_6' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_6"], ["created_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_6"], ["title", "message_template_6"], ["updated_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_6' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 14], ["sender_id", 13], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 18ms (Views: 7.2ms | ActiveRecord: 0.6ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_15@example.jp"], ["encrypted_password", "$2a$04$CsczaWaSyK/PkqN338G8GeVX.oyAKvrzG9y9ebJ2.dhN16mqFPeBa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_15"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:39.481520' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_16@example.jp"], ["encrypted_password", "$2a$04$UvU8azzoZV3Rw/t33Ttph.5HPSdaI2KaT42DYsErswV7CSXJgkQVy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_16"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:39.497686' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_17@example.jp"], ["encrypted_password", "$2a$04$uWswEtOwfiANow6u6IZDzOvRZeiN6/bUD4B6u3d7DGJCOYrHvav1C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_17"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:39.510302' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_7' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_7"], ["created_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_7"], ["title", "message_template_7"], ["updated_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_7' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.9ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 14], ["sender_id", 13], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 16ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_18@example.jp"], ["encrypted_password", "$2a$04$rPAFq4C716khuAEhckeY/.bhrXaNP2WSOiE3hRK.t7CCvoadzHZdm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_18"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:39.563633' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_19@example.jp"], ["encrypted_password", "$2a$04$wQfqOmzhq1SnFmlFxOH4SOvrij/HSO9YMgyn0IPVoTsDRsFS1P97m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_19"]] SQL (3.7ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:39.581438' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_8' LIMIT 1 SQL (2.8ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_8"], ["created_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_8"], ["title", "message_template_8"], ["updated_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (1.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_8' AND "message_templates"."id" != 9) LIMIT 1 SQL (1.0ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (63.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_20@example.jp"], ["encrypted_password", "$2a$04$fYrL/YfsYlHZJ0XQmLAQoeSBQUf4BH8VjLSLgfkbw0.hLUDVuva1m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_20"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["user_id", 12]]  (1.0ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:39.689572' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_21@example.jp"], ["encrypted_password", "$2a$04$W0Bg9eK/WKM2n2UvCnA/F.yVW5J2DrGZ3WCyI/fLi2l50Vfr1YSNe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_21"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:39.705042' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_9' LIMIT 1 SQL (1.9ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_9"], ["created_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_9"], ["title", "message_template_9"], ["updated_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_9' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.9ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_22@example.jp"], ["encrypted_password", "$2a$04$rjPlra9C7QgShgUDvgNAB.Nm57/v7pDnnnUrOn4NGsM57zXegCzJS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_22"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:39.735958' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_23@example.jp"], ["encrypted_password", "$2a$04$De65OV/3Me0Wi4iauVolTuGXyba8CMcw.yIqGDrNOyoB5RXehHmqK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_23"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:39.750015' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_10' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_10"], ["created_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_10"], ["title", "message_template_10"], ["updated_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_4@example.jp"], ["encrypted_password", "$2a$04$1DPxJqVWsf2vbibyZ1leBOwb1FKPLMmPb.jPjUvcC1/htI7ddEiG."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_4"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:39.768348' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"14", "receiver_id"=>"15", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 15 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_10' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 14, "receiver_id" = 15, "message_template_id" = 10, "updated_at" = '2011-12-17 20:41:39.789050' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 20ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (5.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_24@example.jp"], ["encrypted_password", "$2a$04$CmhdYRh9ZLAH.fM8tc62HOA0eToyjhfGowvTPSZ8pAp21EVjnNOba"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_24"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["user_id", 12]]  (0.7ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:39.816369' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_25@example.jp"], ["encrypted_password", "$2a$04$.UoRF4DjgvC717JeHt4J8uPFQiYxecHNQ86KsWhA962cSai3/X5ZO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_25"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:39.833089' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_11' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_11"], ["created_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_11"], ["title", "message_template_11"], ["updated_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_11' AND "message_templates"."id" != 9) LIMIT 1 SQL (4.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_26@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_26@example.jp"], ["encrypted_password", "$2a$04$poXs9vx3pGKDRynEoohEQeR6ADykcNycIQqVHKKPg9Cmd7OJBhX8O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_26"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:39.869590' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_27@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_27@example.jp"], ["encrypted_password", "$2a$04$AZvC.aZcBiRKPqZO8.kwLeCQkYHgYIqgPhDo90MwiQaCpbwDHcnUG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_27"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:39.891378' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_12' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_12"], ["created_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_12"], ["title", "message_template_12"], ["updated_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_5@example.jp"], ["encrypted_password", "$2a$04$jHowZqJ3TDS9Hs8Yeop6P..gjtigarwNM3nVPmm3JeXZTSZ0fyAq2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_5"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:41:39 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:39.912740' WHERE "roles"."id" = 4  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"14", "receiver_id"=>"15", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 15 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_12' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 14, "receiver_id" = 15, "message_template_id" = 10, "updated_at" = '2011-12-17 20:41:39.940707' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 29ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_28@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (15.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_28@example.jp"], ["encrypted_password", "$2a$04$rXT2.2unV/gTNekF08JwDOw6Xzpjqtrwr6C1t4JK5OnQ1CbYrN9ze"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_28"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:40.054782' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_29@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (5.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_29@example.jp"], ["encrypted_password", "$2a$04$89srhuwRqga1cXu3QYHyAObgJTj6i4muBV/Ur6Ev06BTb1DJZLEzi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_29"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["user_id", 13]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:40.072101' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_13' LIMIT 1 SQL (2.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_13"], ["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_13"], ["title", "message_template_13"], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_13' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_30@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_30@example.jp"], ["encrypted_password", "$2a$04$RZ1XkaU4zuSXNFogvUcy5u6/W2Zt.gnbaIY0yusLMiuDorqpkRfy2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_30"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:40.098974' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_31@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_31@example.jp"], ["encrypted_password", "$2a$04$Tk2VWe.bM9Lic1IHAx4cCueBvNlNwVcZKiWxr6FB7y6e0oYqXi.yq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_31"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:40.112427' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_14' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_14"], ["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_14"], ["title", "message_template_14"], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_6@example.jp"], ["encrypted_password", "$2a$04$gCyhBDOT7mQEkRdp/cn5Leef8HB33dS.5Qw4CO4GhultQjJqgI9gC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_6"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:40.131712' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_13' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 24ms (Views: 1.2ms | ActiveRecord: 1.0ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_32@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_32@example.jp"], ["encrypted_password", "$2a$04$FateLcHi7uI0cf1qg7W3ne4SSfwSA7J2MnnrobR/1G6rkDCzjaE0e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_32"]] SQL (3.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["user_id", 12]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:40.185719' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_33@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_33@example.jp"], ["encrypted_password", "$2a$04$nCeND..Eom0/dtd2cSOf2OZMKWvXG51nDUJELZbq07ElukinL0O9e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_33"]] SQL (2.5ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:40.205343' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_15' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_15"], ["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_15"], ["title", "message_template_15"], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_15' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_34@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_34@example.jp"], ["encrypted_password", "$2a$04$ckva4ngXI6QByMi8IQWQm.rz00e5FaWUx3EiCUd9WCybwgq21V712"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_34"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:40.230116' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_35@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_35@example.jp"], ["encrypted_password", "$2a$04$BFuMiuyGRy9tJ3zRiPMNYOnYhSeAePF2izyYLmISj7FCDdqsXFdX2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_35"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:40.242594' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_16' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_16"], ["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_16"], ["title", "message_template_16"], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_4@example.jp"], ["encrypted_password", "$2a$04$NtedLKkDHGXwCop4go1NeOtMUd8TCjhhyqqom4NNRlCV/yZUIf966"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_4"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:40.259827' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"14", "receiver_id"=>"15", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 15 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_16' AND "message_templates"."id" != 10) LIMIT 1  (0.2ms) UPDATE "message_requests" SET "sender_id" = 14, "receiver_id" = 15, "message_template_id" = 10, "updated_at" = '2011-12-17 20:41:40.275946' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 72ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_36@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_36@example.jp"], ["encrypted_password", "$2a$04$.gVU0c3X.gV6CdbqwxjjY.ekg7XoryKlILHAaTsmeWqJzy.1vfQ5C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_36"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["user_id", 12]]  (2.5ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:40.352347' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_37@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_37@example.jp"], ["encrypted_password", "$2a$04$aehjy2a6joFL4SZ3Zom9G.c2CmoMA9cA.pJz1R3LBi5AadT93oz7a"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_37"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:40.369949' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_17' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_17"], ["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_17"], ["title", "message_template_17"], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_17' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_38@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_38@example.jp"], ["encrypted_password", "$2a$04$HFIC99RBjQWD2q1fM/BgzOItigZUisiTYNyU/J.70K/OgUT8Y6sWe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_38"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:40.398738' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_39@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_39@example.jp"], ["encrypted_password", "$2a$04$R5M8Y8rgkT2irsi2V6Pjqed8lvY08G46Pn0bo8R3BbRERW07PuQLu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_39"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:40.410562' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_18' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_18"], ["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_18"], ["title", "message_template_18"], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_5@example.jp"], ["encrypted_password", "$2a$04$GSrYn3bz13uwFy8xYFXhfufieJ79r4xtVZoezTnrFzAUHj8WvRRtu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_5"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:40.421752' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"14", "receiver_id"=>"15", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 15 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_18' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 14, "receiver_id" = 15, "message_template_id" = 10, "updated_at" = '2011-12-17 20:41:40.459784' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 38ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_40@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_40@example.jp"], ["encrypted_password", "$2a$04$tmsOrifonb84TDTi5ZixJ.Yj2iUl8lzyLRrLVMpKDumQ1x7s2N0WW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_40"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:40.473702' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_41@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_41@example.jp"], ["encrypted_password", "$2a$04$qTSThtl254vsAaoX/FmPwOvRXYAUD7ytiJd6zO//s9gFPTKAASWxu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_41"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:40.482927' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_19' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_19"], ["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_19"], ["title", "message_template_19"], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_19' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_42@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_42@example.jp"], ["encrypted_password", "$2a$04$xe6JwNS5Q4P3Rs./N2exrestpvj/LAIMRls089kKM0yKY/idP3tqe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_42"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:40.497679' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_43@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_43@example.jp"], ["encrypted_password", "$2a$04$jYzEaQkGSUr1vGLa6EYZ9.bKx75MXwCqG1TqZNpN0Q/4XYJXrDfSi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_43"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:40.505889' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_20' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_20"], ["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_20"], ["title", "message_template_20"], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_6@example.jp"], ["encrypted_password", "$2a$04$Z6vuuFHN7NrV1eQ1bgfHxeHrOVk.GMrn17WLreLCaSWtrJyYkLuY."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_6"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:40.533930' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_19' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 49ms (Views: 0.9ms | ActiveRecord: 0.8ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_44@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_44@example.jp"], ["encrypted_password", "$2a$04$gmGxy6wMhbS7u5Oo41mZ9.AEbDnrI.gb9wHVS8LS6kIswxKsvXmBS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_44"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:40.595803' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_45@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_45@example.jp"], ["encrypted_password", "$2a$04$yuZAs.eJFMW/1sdgvyduae9J6eWQtH/YYHJeKR3QNO9WMVpnTts.G"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_45"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:40.604717' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_21' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_21"], ["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_21"], ["title", "message_template_21"], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_21' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_46@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_46@example.jp"], ["encrypted_password", "$2a$04$4InY4LhPgjh0MkZO/ovD3OcB0cvGr6SI2jA9B7XJe87GaAIpSComi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_46"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:40.622565' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_47@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_47@example.jp"], ["encrypted_password", "$2a$04$PAA3hZ5JFgXOfQibRbyRn.tShha5eowS3rI5bI6VquPgPwaOvibL."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_47"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:40.630747' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_22' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_22"], ["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_22"], ["title", "message_template_22"], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_48@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_48@example.jp"], ["encrypted_password", "$2a$04$sXUC2jNcvXuuNkdkoD7iYeUcbXaZKzSe7pRbNT7w5ulVeFVapzKP."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_48"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:40.642019' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"14", "receiver_id"=>"15", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_49@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_49@example.jp"], ["encrypted_password", "$2a$04$8PX5WLIRdPy0AH6BnBW2M.ID0Q3CX6qp1ogSsjoIkGLMAKwqsLs6C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_49"]] SQL (0.4ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:40.661398' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_50@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_50@example.jp"], ["encrypted_password", "$2a$04$7yHPMxyTySm7QK8P4NaZROM.uVSQDd1qBtsLEHoqHKcIPNh2MEQLy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_50"]] SQL (0.5ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:40.670136' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_23' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_23"], ["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_23"], ["title", "message_template_23"], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_23' AND "message_templates"."id" != 9) LIMIT 1 SQL (16.0ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_51@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_51@example.jp"], ["encrypted_password", "$2a$04$Hm7SUleAEvLU3MrpKpQlBu8.meTLuW0f631jW6MY3j/AlHhCxp626"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_51"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:40.702299' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_52@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_52@example.jp"], ["encrypted_password", "$2a$04$WLZi/pmtEcb09nBuhslaJujesKGwLI/mm3tjFdbBlAd/Pv7wk1DmO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_52"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:40.712119' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_24' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_24"], ["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_24"], ["title", "message_template_24"], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_53@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_53@example.jp"], ["encrypted_password", "$2a$04$TZuL1SpSRWXjM29vk9FbIuIicfrHNGdApXMTTIQIv1SdZkgCiqoZ6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_53"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:40.724185' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"14", "receiver_id"=>"15", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (36.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1 Completed 403 Forbidden in 43ms (Views: 0.9ms | ActiveRecord: 36.2ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_54@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_54@example.jp"], ["encrypted_password", "$2a$04$aZuz59P3YdEApKWd16z7J.nDB8vMNCp.skH6OQCXfPrNfoJ185o3."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_54"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:40.782152' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_55@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_55@example.jp"], ["encrypted_password", "$2a$04$w.QlLdNmF/HV/KCDxE75COCBlmNdMjL.8xzpNB7dsDssKtw2x045O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_55"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["user_id", 13]]  (0.3ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:40.790769' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_25' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_25"], ["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_25"], ["title", "message_template_25"], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_25' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_56@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_56@example.jp"], ["encrypted_password", "$2a$04$YTe8i/qbf/MIKW5py0DalOqUIanKMTngHzdf5r0pNEBIh0MsdXvca"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_56"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:40.809650' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_57@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_57@example.jp"], ["encrypted_password", "$2a$04$GfWhO.3REqi8NqIGzieNMeYv3puAKL7JLAMLSxT4CVO.GhrGg8rc6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_57"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:40.818429' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_26' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_26"], ["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_26"], ["title", "message_template_26"], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_58@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_58@example.jp"], ["encrypted_password", "$2a$04$tAot472T67unbbqYjDDDJeHoGaNO1uaJ2BZ3aoDPgac70ST.H1sWu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_58"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:40.829056' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_59@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_59@example.jp"], ["encrypted_password", "$2a$04$214UcieavcIcvMCS3z42DuRLv8lLIM9vUJ51MvMYDnQpL85Qy.Yqe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_59"]] SQL (3.6ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["user_id", 12]]  (0.4ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:40.879936' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_60@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_60@example.jp"], ["encrypted_password", "$2a$04$SKc3wvqfkF1vMzpSdWeeOOqI8jQ2C8ax8NtvLEfZ1XRlu0nrfCv86"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_60"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:40.889322' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_27' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_27"], ["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_27"], ["title", "message_template_27"], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_27' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_61@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_61@example.jp"], ["encrypted_password", "$2a$04$P.C.kLhPTGwBmRr2LuU5e.bkMZwQAcw97X06Lr.vbnFfpaaLEIdQq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_61"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:40.904740' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_62@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_62@example.jp"], ["encrypted_password", "$2a$04$mROX4PkcNSHi4UxOqig0Z.u.wBC/9rZU5BfSNP/Mmp8yI4l9.nkIm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_62"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:40.913506' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_28' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_28"], ["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_28"], ["title", "message_template_28"], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"14", "receiver_id"=>"15", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_63@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (37.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_63@example.jp"], ["encrypted_password", "$2a$04$OBPeMv3G6e.iyAa2aNHsiO5SkjBA0uh.y7L3AqBbDLeTSwu7ymosq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_63"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:40.969466' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_64@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_64@example.jp"], ["encrypted_password", "$2a$04$EI0zr4X8UQcP0RdRuSiUnO6mRmqy2PODT4EkIXDAQ4nXnQhPj9gfi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_64"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:40.980460' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_29' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_29"], ["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_29"], ["title", "message_template_29"], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_29' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_65@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_65@example.jp"], ["encrypted_password", "$2a$04$9BsV85CKJ/eo7vzjpolxOuK7Itu3j42MG.fR91yB.sJQviDYGJBkW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_65"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:40 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:40.996274' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_66@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_66@example.jp"], ["encrypted_password", "$2a$04$CVgBT2IALZ4EvTcz5VnkDu53h34LyPRD.qGu7o1RZtYVYlMlKpsrW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_66"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:41.006535' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_30' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_30"], ["created_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_30"], ["title", "message_template_30"], ["updated_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"14", "receiver_id"=>"15", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 5ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_67@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_67@example.jp"], ["encrypted_password", "$2a$04$4rus9XI5WeQiYzeVJiI63uz77WKUaR46Gp3iGy6.2ddWE4OPd6G1K"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_67"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:41.029619' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_68@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_68@example.jp"], ["encrypted_password", "$2a$04$VZfb322GBqSlcarFhKeZ3edWto5WDhWYUKiYiwpMukeWMWEwm7Ke2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_68"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:41.041966' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_31' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_31"], ["created_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_31"], ["title", "message_template_31"], ["updated_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_31' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_69@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_69@example.jp"], ["encrypted_password", "$2a$04$5/YQi/dwH2Jp0GzUFa8PWuuxTc8Ro156pgZl5ol8JN0gj0nxOCyKi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_69"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:41.059139' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_70@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_70@example.jp"], ["encrypted_password", "$2a$04$wi2TbGpqApRy3AIjhmNn7uuE0/4mLwwuFgdrcaSDTqAQZClwh4ZIS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_70"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:41.067353' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_32' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_32"], ["created_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_32"], ["title", "message_template_32"], ["updated_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 5ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_71@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_71@example.jp"], ["encrypted_password", "$2a$04$Due.hTzB2YLMkBWYxb95EO3GOl257TAmGBJiYq5393Qj/VTYv8dbq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_71"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:41.087790' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_72@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_72@example.jp"], ["encrypted_password", "$2a$04$8YEERQJvdeww0om.lZCTJOblISsRwyydKvMrOlJ9fu9G0HQgcSlmG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_72"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:41.096850' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.4ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_33' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_33"], ["created_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_33"], ["title", "message_template_33"], ["updated_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_33' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (37.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_7@example.jp"], ["encrypted_password", "$2a$04$jGiighX3O2Cd3eGe2c9cT.fD2OOIdDsw8fDwkpDsJPXifN21RZvdW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_7"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:41.150705' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 6ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_73@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_73@example.jp"], ["encrypted_password", "$2a$04$K0gHcc4TFPQOQnnAWPoOne0nMC6n0WpdqdOM7W0vRTikWglWx/Fca"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_73"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:41.168615' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_74@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_74@example.jp"], ["encrypted_password", "$2a$04$XYqnHsuVFeSGV3vHmhYMy.lL6EmwNy44Yd61KaH/BJY7W0YldihQO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_74"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:41.180366' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_34' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_34"], ["created_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_34"], ["title", "message_template_34"], ["updated_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_34' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_8@example.jp"], ["encrypted_password", "$2a$04$GXSUJqzKk02dX0idEDCrjeybbW2XMkR38gzFJBAVoALQvFRt1gDqy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_8"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:41.195908' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 6ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_75@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_75@example.jp"], ["encrypted_password", "$2a$04$F8s8M1R64pgzonyqctOQhuBPlVqS.2ljY4uqjC1kQyqobpHOD8rti"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_75"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:41.216507' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_76@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (18.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_76@example.jp"], ["encrypted_password", "$2a$04$oXLOSV1bu1y83exCe26JBOvLiBxZZbJBEN03kx68wQOA0vCppvzXC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_76"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:41.242330' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_35' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_35"], ["created_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_35"], ["title", "message_template_35"], ["updated_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_35' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.6ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_7@example.jp"], ["encrypted_password", "$2a$04$NT.JTqPZbNdJqWEC.7wfsuz7NY2TsbxrG7xG3IJ5EsbhJYTVaBzwa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_7"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:41.260451' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 6ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_77@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_77@example.jp"], ["encrypted_password", "$2a$04$q7ti/FIFtTxOr4HsnkIt2.dP8cfe3.FqTDIkjHmdNzEm7pw.44oKa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_77"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:41.278481' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_78@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_78@example.jp"], ["encrypted_password", "$2a$04$YDlk7TyE13FMZgp8HTZfdu8gNBrHD9lLt9qlRg8dyO4c.fCvj6Pei"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_78"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:41.287115' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_36' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_36"], ["created_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_36"], ["title", "message_template_36"], ["updated_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_36' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_8@example.jp"], ["encrypted_password", "$2a$04$u5t1nxufvk59g6ntfn626ONSwCYDUC.DXxPCYj6VIZEXsJIvnhFQK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_8"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:41.301934' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 42ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_79@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_79@example.jp"], ["encrypted_password", "$2a$04$1O5Sc3d6JBx7mmxUfp0ad.cMhx7KyvMB.WRK.AiTeK217/Y0xEW7q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_79"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:41.356864' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_80@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_80@example.jp"], ["encrypted_password", "$2a$04$bWc2TX.2ze6BB38SYa8ZqeyzCq6ku/TWaImn4oKWfYiIPx62J6S.i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_80"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:41.364742' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_37' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_37"], ["created_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_37"], ["title", "message_template_37"], ["updated_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_37' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_81@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_81@example.jp"], ["encrypted_password", "$2a$04$x0EQUHfowxdo4kBAGtT6uemrhk9jM7BQ.LnfufQnqO1Lg5dUlcUwe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_81"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:41.380096' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_82@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_82@example.jp"], ["encrypted_password", "$2a$04$UGoavKsCy.wGM2vpb2wI0eGNj05XixvfHd6GFyH9QV049B81VfQPm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_82"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:41.436493' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_83@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (40.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_83@example.jp"], ["encrypted_password", "$2a$04$Xx9Ec4nJudl6sSkqshToNuKM/mxBCfrwcgdx00hUeXliJFz7HCqxe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_83"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:41.486536' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_38' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_38"], ["created_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_38"], ["title", "message_template_38"], ["updated_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_38' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_84@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_84@example.jp"], ["encrypted_password", "$2a$04$2LvUC8taoWlWVrDHOuGZo..W64BAQO00MtwUBVIHl8iTFDlrcrI6y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_84"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:41.510967' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_85@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_85@example.jp"], ["encrypted_password", "$2a$04$5LXk4grxmEuJw.O.sfwWsOECpN.La2DXY9CU4OlK4tGnFiNSC1P0G"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_85"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:41.567584' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_86@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_86@example.jp"], ["encrypted_password", "$2a$04$G9UxSld/cMYSTEA2C/PaBOlWcG4Cvf..mwvjpkxpjQAFgm6w513lm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_86"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:41.581240' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_39' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_39"], ["created_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_39"], ["title", "message_template_39"], ["updated_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_39' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_87@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (53.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_87@example.jp"], ["encrypted_password", "$2a$04$D9aHx4qLr78l2oOximGxmujAIIoPN05OyWpSssQGmkCGIFB0FVzrG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_87"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:41.668575' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_88@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_88@example.jp"], ["encrypted_password", "$2a$04$1iBi/C9YCt.e91qcgoWkXuhn6R.C2hko6vAgyCDyZPxKYZpH4JFW6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_88"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:41.681646' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_40' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_40"], ["created_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_40"], ["title", "message_template_40"], ["updated_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_40' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 5ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_41' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_41"], ["created_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_41"], ["title", "message_template_41"], ["updated_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_9@example.jp"], ["encrypted_password", "$2a$04$jA93AsBLnKdzpNAhMpPU0ONB9DM67YlHYfkQAtok/CWrzI2M.xu/O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_9"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:41.722259' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 200 OK in 17ms (Views: 9.1ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position LIMIT 10 OFFSET 0  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_42' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_42"], ["created_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_42"], ["title", "message_template_42"], ["updated_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_9@example.jp"], ["encrypted_password", "$2a$04$Jr0J11Rb66xVj04iqZdPZ.H62.pcIGCnuV2Qb7esa54UYImzsbWIi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_9"]] SQL (28.4ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["user_id", 12]]  (15.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:41.793916' WHERE "roles"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 200 OK in 8ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position LIMIT 10 OFFSET 0  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_43' LIMIT 1 SQL (67.0ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_43"], ["created_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_43"], ["title", "message_template_43"], ["updated_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_89@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (75.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_89@example.jp"], ["encrypted_password", "$2a$04$.dFanrp5lIyZ7SXDu7/19.JaV2DndCFipo0ekfML6H/cmr2SbrvIS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_89"]] SQL (23.0ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:41 UTC +00:00], ["user_id", 12]]  (21.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:42.011158' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.7ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "message_templates" WHERE ('t'='f')  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_44' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_44"], ["created_at", Sat, 17 Dec 2011 20:41:42 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_44"], ["title", "message_template_44"], ["updated_at", Sat, 17 Dec 2011 20:41:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms  (0.1ms) SELECT COUNT(*) FROM "message_templates" WHERE ('t'='f') Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (37.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_10@example.jp"], ["encrypted_password", "$2a$04$ZDxsggq015GQ4eSZ7kgysO6T5MZoSHxD3gx4DvEeWCIgOjt1ossku"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_10"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:42 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:41:42 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:42.204034' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_45' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_45"], ["created_at", Sat, 17 Dec 2011 20:41:42 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_45"], ["title", "message_template_45"], ["updated_at", Sat, 17 Dec 2011 20:41:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 200 OK in 10ms (Views: 2.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (43.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_10@example.jp"], ["encrypted_password", "$2a$04$eqHHLMEWA.Idl9KqIZdZ0O01aHR5A8TVeNDxT72WX7p0g70Z5WN9W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_10"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:42 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:41:42 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:42.308619' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_46' LIMIT 1 SQL (51.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_46"], ["created_at", Sat, 17 Dec 2011 20:41:42 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_46"], ["title", "message_template_46"], ["updated_at", Sat, 17 Dec 2011 20:41:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 200 OK in 9ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (60.0ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_90@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (6.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_90@example.jp"], ["encrypted_password", "$2a$04$L9NaojM3G0fGmlukgs94n.oAPSPRbPUSRctk0Jn3KXp5QKup/bN7O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_90"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:42 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:42 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:42.464125' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_47' LIMIT 1 SQL (21.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_47"], ["created_at", Sat, 17 Dec 2011 20:41:42 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_47"], ["title", "message_template_47"], ["updated_at", Sat, 17 Dec 2011 20:41:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_48' LIMIT 1 SQL (49.8ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_48"], ["created_at", Sat, 17 Dec 2011 20:41:42 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_48"], ["title", "message_template_48"], ["updated_at", Sat, 17 Dec 2011 20:41:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (33.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_11@example.jp"], ["encrypted_password", "$2a$04$1b9IWA7/zAcIERy85Oqm8OUHKRXPeZQiZD9.GmMFoPlGG5m6dVupO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_11"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:42 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:41:42 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:42.667510' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 13ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (45.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_11@example.jp"], ["encrypted_password", "$2a$04$ehGJjYi7YnTF1BQ1DuP/BOzGX2dtRl5LG5DzBfyVmxf5Gl8CbfflK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_11"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:42 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:41:42 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:42.748508' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_91@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (37.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_91@example.jp"], ["encrypted_password", "$2a$04$U.Tgpjt9JfxbBzbQhjtmIezNVqx4SNnR13RfBHKh2DTdwRrLlvFN6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_91"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:42 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:42 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:42.830637' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 8ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Processing by MessageTemplatesController#new as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (5.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_12@example.jp"], ["encrypted_password", "$2a$04$kh7CL0nsf4jLU86zkqBE1.u3i0ms7qjnRG6ry.XGcGN1OpjzjZZA2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_12"]] SQL (16.5ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:42 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:41:42 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:42.936434' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_49' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_49"], ["created_at", Sat, 17 Dec 2011 20:41:42 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_49"], ["title", "message_template_49"], ["updated_at", Sat, 17 Dec 2011 20:41:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 200 OK in 12ms (Views: 2.5ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (45.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_12@example.jp"], ["encrypted_password", "$2a$04$wuF38bqRYvoH0xO4dUmeTu4tzBH6ul3gx2ATniu4zRtJIeyAqavHO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_12"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:43 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:41:43 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:43.025734' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_50' LIMIT 1 SQL (7.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_50"], ["created_at", Sat, 17 Dec 2011 20:41:43 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_50"], ["title", "message_template_50"], ["updated_at", Sat, 17 Dec 2011 20:41:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_92@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (50.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_92@example.jp"], ["encrypted_password", "$2a$04$574fzIqI1IIzmF8EVFriPeLi/w17EGKpR6QAZLTfiZ5FrUJ3Ksq9i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_92"]] SQL (8.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:43 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:43 UTC +00:00], ["user_id", 12]]  (9.7ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:43.189340' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_51' LIMIT 1 SQL (10.9ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_51"], ["created_at", Sat, 17 Dec 2011 20:41:43 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_51"], ["title", "message_template_51"], ["updated_at", Sat, 17 Dec 2011 20:41:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_52' LIMIT 1 SQL (33.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_52"], ["created_at", Sat, 17 Dec 2011 20:41:43 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_52"], ["title", "message_template_52"], ["updated_at", Sat, 17 Dec 2011 20:41:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_13@example.jp"], ["encrypted_password", "$2a$04$JWY.v81WoNXLiSYbMa3yZuOYMbE7cWxp3lX8pgyHXgpWRMa8Kuvqm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_13"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:43 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:41:43 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:43.359081' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_53", "status"=>"message_template_53", "body"=>"message_template_53"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.5ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_53' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_14@example.jp"], ["encrypted_password", "$2a$04$Fg4AgUkPKc.V07EgXUpVpefGMksk0sKnIERKiR1IWMsbw0BJiLkZ6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_14"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:43 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:41:43 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:43.393767' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_54", "status"=>"message_template_54", "body"=>"message_template_54"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.5ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (56.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_15@example.jp"], ["encrypted_password", "$2a$04$.GGhdnlgIRKglQqMwhdoz.wEU3iAlWFfXcYp.r5i8qfHYboIs5U1W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_15"]] SQL (0.7ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:43 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:41:43 UTC +00:00], ["user_id", 12]]  (1.8ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:43.499115' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (55.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_16@example.jp"], ["encrypted_password", "$2a$04$jxtrE3oC7H3YTnvd0qf5WuyWMn6lL54QvIiZcmODNRUSWYue338QK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_16"]] SQL (5.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:43 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:41:43 UTC +00:00], ["user_id", 12]]  (7.8ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:43.616449' WHERE "roles"."id" = 4  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 8ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (68.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_13@example.jp"], ["encrypted_password", "$2a$04$ycD0EwF2lt7beGRB3fSrb.B10rDNYQ.yTx4/uZFl3Tbqm4nlDhk4W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_13"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:43 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:41:43 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:43.753423' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_57", "status"=>"message_template_57", "body"=>"message_template_57"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_57' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_14@example.jp"], ["encrypted_password", "$2a$04$4b11QpfxCknBPt60HIXafuzzQOx7g/NbthL.ua2Xp3j6Kq9sz/1BW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_14"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:43 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:41:43 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:43.795580' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_58", "status"=>"message_template_58", "body"=>"message_template_58"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 84ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_15@example.jp"], ["encrypted_password", "$2a$04$d5QbrgrcaOX2BE2ExWAEGu4VrikB9rzeCsyj1xAJCJR3wf07vvpfO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_15"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:43 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:41:43 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:43.912130' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_16@example.jp"], ["encrypted_password", "$2a$04$FwwQF1ElvXx.T14oWqIOmuGa/iNF.4uHndeat2vlK2dNyvW7KwsbS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_16"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:43 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:41:43 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:43.944907' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_93@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_93@example.jp"], ["encrypted_password", "$2a$04$hLG9IA6gYtfSoQnreRs7guLNbuvtUGqqfxEapzARIQ.D1KVPsfykK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_93"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:43 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:43 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:43.972035' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_61", "status"=>"message_template_61", "body"=>"message_template_61"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 8ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_61' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_94@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_94@example.jp"], ["encrypted_password", "$2a$04$vqrDRSBET64XE0/RKJRRsuz6doGLbrN612NbcmjAYZJKNUIVcrdQ2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_94"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:44 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:44 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:44.001790' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_62", "status"=>"message_template_62", "body"=>"message_template_62"}} User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.7ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_95@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_95@example.jp"], ["encrypted_password", "$2a$04$dTle.3B/.MNRN/aSa.i14eGC84AxC.q6UF1UwxGKry5nvc7oGaa5."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_95"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:44 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:44 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:44.031104' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_96@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_96@example.jp"], ["encrypted_password", "$2a$04$hXi0STOiiPH55SgX1YTtOO3jZXCBxpdmhdIL2GoXH/feydlLU9VdO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_96"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:44 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:44 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:44.085623' WHERE "roles"."id" = 2  (0.3ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 8ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_65", "status"=>"message_template_65", "body"=>"message_template_65"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms MessageTemplate Load (2.8ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_65' LIMIT 1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_66", "status"=>"message_template_66", "body"=>"message_template_66"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 5ms Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 11ms MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 72ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_69' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_69"], ["created_at", Sat, 17 Dec 2011 20:41:44 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_69"], ["title", "message_template_69"], ["updated_at", Sat, 17 Dec 2011 20:41:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_17@example.jp"], ["encrypted_password", "$2a$04$QwrqZ6/Y/Bb.EJYcTV6DtuhbIfh24Oi7z79sIF5TZhGJEzaadZ1fq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_17"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:44 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:41:44 UTC +00:00], ["user_id", 12]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:44.272716' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_70", "status"=>"message_template_70", "body"=>"message_template_70"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_70' AND "message_templates"."id" != 9) LIMIT 1  (0.2ms) UPDATE "message_templates" SET "title" = 'message_template_70', "status" = 'message_template_70', "body" = 'message_template_70', "updated_at" = '2011-12-17 20:41:44.286969' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates/9 Completed 302 Found in 24ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_71' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_71"], ["created_at", Sat, 17 Dec 2011 20:41:44 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_71"], ["title", "message_template_71"], ["updated_at", Sat, 17 Dec 2011 20:41:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_18@example.jp"], ["encrypted_password", "$2a$04$7bVYp5KRyDxSOaYmbIyawulmbxcNCuV7UGsy8sOSz5uqPxk0fuIAW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_18"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:44 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:41:44 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:44.322399' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_72", "status"=>"message_template_72", "body"=>"message_template_72"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_72' AND "message_templates"."id" != 9) LIMIT 1  (0.1ms) UPDATE "message_templates" SET "title" = 'message_template_72', "status" = 'message_template_72', "body" = 'message_template_72', "updated_at" = '2011-12-17 20:41:44.337598' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates/9 Completed 302 Found in 13ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_73' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_73"], ["created_at", Sat, 17 Dec 2011 20:41:44 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_73"], ["title", "message_template_73"], ["updated_at", Sat, 17 Dec 2011 20:41:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (33.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_19@example.jp"], ["encrypted_password", "$2a$04$cVNhPmiF.3czJsI9X1tFce/IL7SLp2dNPaquuCdCcox7YTBLKjgte"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_19"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:44 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:41:44 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:44.425792' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_74", "status"=>"message_template_74", "body"=>"message_template_74"}, "position"=>"2", "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "message_templates" SET "position" = 0, "updated_at" = '2011-12-17 20:41:44.437353' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "message_templates" SET position = (position - 1) WHERE "message_templates"."id" IN (SELECT "message_templates"."id" FROM "message_templates" WHERE (1 = 1 AND position > 9) ORDER BY position) SQL (0.2ms) UPDATE "message_templates" SET position = (position + 1) WHERE "message_templates"."id" IN (SELECT "message_templates"."id" FROM "message_templates" WHERE (1 = 1 AND position >= 2) ORDER BY position)  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "message_templates" SET "position" = 2, "updated_at" = '2011-12-17 20:41:44.440211' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates Completed 302 Found in 12ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_75' LIMIT 1 SQL (45.9ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_75"], ["created_at", Sat, 17 Dec 2011 20:41:44 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_75"], ["title", "message_template_75"], ["updated_at", Sat, 17 Dec 2011 20:41:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (14.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_20@example.jp"], ["encrypted_password", "$2a$04$0qFHfmDgaS4KUmXdAgm8E.s66kI0cIYa6GnoH2Ms.Q/RgbtXVnDRG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_20"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:44 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:41:44 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:44.521143' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = '' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 14ms (Views: 1.3ms | ActiveRecord: 0.0ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_77' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_77"], ["created_at", Sat, 17 Dec 2011 20:41:44 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_77"], ["title", "message_template_77"], ["updated_at", Sat, 17 Dec 2011 20:41:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_17@example.jp"], ["encrypted_password", "$2a$04$oaAazWcJyJZziNObZG4Mie.oZRG9PxaimEOW8rGgqLE7SoOKcW1Ni"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_17"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:44 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:41:44 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:44.567935' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_78", "status"=>"message_template_78", "body"=>"message_template_78"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 76ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_79' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_79"], ["created_at", Sat, 17 Dec 2011 20:41:44 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_79"], ["title", "message_template_79"], ["updated_at", Sat, 17 Dec 2011 20:41:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (35.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_18@example.jp"], ["encrypted_password", "$2a$04$2MSfUe9vIM0vsOI8tNHLLehu7Sk17l6g2neRkBeAZ0qo8GiW9l1ju"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_18"]] SQL (2.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:44 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:41:44 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:44.735024' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_80", "status"=>"message_template_80", "body"=>"message_template_80"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 13ms (Views: 1.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_81' LIMIT 1 SQL (52.1ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_81"], ["created_at", Sat, 17 Dec 2011 20:41:44 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_81"], ["title", "message_template_81"], ["updated_at", Sat, 17 Dec 2011 20:41:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_19@example.jp"], ["encrypted_password", "$2a$04$4xt64.hmMmFsUFMvy5Pade2EsO04YRczqoRh8moVCLQFg5YRpT9sq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_19"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:44 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:41:44 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:44.825282' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_83' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_83"], ["created_at", Sat, 17 Dec 2011 20:41:44 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_83"], ["title", "message_template_83"], ["updated_at", Sat, 17 Dec 2011 20:41:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_97@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (38.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_97@example.jp"], ["encrypted_password", "$2a$04$1hF0VSdk8mH126q50Ozfme/ZKmQZVS29Uip50qFfL3N9FcBwBLWvq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_97"]] SQL (5.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:44 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:44 UTC +00:00], ["user_id", 12]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:44.909515' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_84", "status"=>"message_template_84", "body"=>"message_template_84"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_85' LIMIT 1 SQL (51.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_85"], ["created_at", Sat, 17 Dec 2011 20:41:44 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_85"], ["title", "message_template_85"], ["updated_at", Sat, 17 Dec 2011 20:41:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_98@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_98@example.jp"], ["encrypted_password", "$2a$04$oQLX2TwX9i8ScLZd67gMi.FWCCgX/f7o18U9cFOUSiWI.No/kJ3u6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_98"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:44 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:44 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:44.994945' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_86", "status"=>"message_template_86", "body"=>"message_template_86"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_87' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_87"], ["created_at", Sat, 17 Dec 2011 20:41:45 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_87"], ["title", "message_template_87"], ["updated_at", Sat, 17 Dec 2011 20:41:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_99@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (39.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_99@example.jp"], ["encrypted_password", "$2a$04$uahPWbv7Ub/Y.QKQBJ9KtevXefPAi13UKUcKjspI07ds8LjvzAS9K"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_99"]] SQL (2.8ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:45 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:45 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:45.079645' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_89' LIMIT 1 SQL (45.0ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_89"], ["created_at", Sat, 17 Dec 2011 20:41:45 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_89"], ["title", "message_template_89"], ["updated_at", Sat, 17 Dec 2011 20:41:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_90", "status"=>"message_template_90", "body"=>"message_template_90"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 11ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_91' LIMIT 1 SQL (56.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_91"], ["created_at", Sat, 17 Dec 2011 20:41:45 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_91"], ["title", "message_template_91"], ["updated_at", Sat, 17 Dec 2011 20:41:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_92", "status"=>"message_template_92", "body"=>"message_template_92"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_93' LIMIT 1 SQL (49.0ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_93"], ["created_at", Sat, 17 Dec 2011 20:41:45 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_93"], ["title", "message_template_93"], ["updated_at", Sat, 17 Dec 2011 20:41:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 12ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_95' LIMIT 1 SQL (59.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_95"], ["created_at", Sat, 17 Dec 2011 20:41:45 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_95"], ["title", "message_template_95"], ["updated_at", Sat, 17 Dec 2011 20:41:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (52.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_21@example.jp"], ["encrypted_password", "$2a$04$f2e9R6nFtvRPT7OD1Dwr2.nmuEOlOm17ZO/sNK597AmoheyesxbRi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_21"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:45 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:41:45 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:45.503801' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 1.0ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_96' LIMIT 1 SQL (47.0ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_96"], ["created_at", Sat, 17 Dec 2011 20:41:45 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_96"], ["title", "message_template_96"], ["updated_at", Sat, 17 Dec 2011 20:41:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (18.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_22@example.jp"], ["encrypted_password", "$2a$04$rv7qylWjLXcHmPynW46ZPu/kYpVzpKpQGSzaCRBz3ziLAXMAbF4eq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_22"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:45 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:41:45 UTC +00:00], ["user_id", 12]]  (18.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:45.594960' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_97' LIMIT 1 SQL (56.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_97"], ["created_at", Sat, 17 Dec 2011 20:41:45 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_97"], ["title", "message_template_97"], ["updated_at", Sat, 17 Dec 2011 20:41:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (10.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_20@example.jp"], ["encrypted_password", "$2a$04$c5nVZNL9g/7OVIZ3SwUBuuNMHulbgFY1ZzR1rnphYRqPXvDTid0yG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_20"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:45 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:41:45 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:45.713686' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_98' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_98"], ["created_at", Sat, 17 Dec 2011 20:41:45 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_98"], ["title", "message_template_98"], ["updated_at", Sat, 17 Dec 2011 20:41:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_21@example.jp"], ["encrypted_password", "$2a$04$gr/TN0tS0kGuXhnXNOev1.yfgxkbqEP4xJ0..YQetZVbSaAJIokHW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_21"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:45 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:41:45 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:45.785156' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.1ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_99' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_99"], ["created_at", Sat, 17 Dec 2011 20:41:45 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_99"], ["title", "message_template_99"], ["updated_at", Sat, 17 Dec 2011 20:41:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_100@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (62.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_100@example.jp"], ["encrypted_password", "$2a$04$XFQbTZeRUaLU8Pn4moqY1uRi6/bB5bYEOS1Beg8img5LBCVurkb6q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_100"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:45 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:45 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:45.899994' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 8ms (Views: 1.0ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_100' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_100"], ["created_at", Sat, 17 Dec 2011 20:41:45 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_100"], ["title", "message_template_100"], ["updated_at", Sat, 17 Dec 2011 20:41:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_101@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (432.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_101@example.jp"], ["encrypted_password", "$2a$04$dnnaspjxNo9JFkMoA1Cz8uWYPdoSxYiQpWZamg6dT8MKmcOBbeOSK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_101"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:46 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:46 UTC +00:00], ["user_id", 12]]  (317.8ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:46.392994' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.5ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_101' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_101"], ["created_at", Sat, 17 Dec 2011 20:41:46 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_101"], ["title", "message_template_101"], ["updated_at", Sat, 17 Dec 2011 20:41:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_102' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_102"], ["created_at", Sat, 17 Dec 2011 20:41:46 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_102"], ["title", "message_template_102"], ["updated_at", Sat, 17 Dec 2011 20:41:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 8ms Role Load (0.3ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.2ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_23@example.jp"], ["encrypted_password", "$2a$04$2ZbgQPqgB1W813RQLwSTneSBsztegU3PccPLfXnQLz6UWFKfSthXq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_23"]] SQL (0.4ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:48 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:41:48 UTC +00:00], ["user_id", 12]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:48.155817' WHERE "roles"."id" = 4  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 SOLR Request (6.6ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A12&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (4.5ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A12&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 57ms (Views: 9.6ms | ActiveRecord: 0.5ms | Solr: 11.1ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_24@example.jp"], ["encrypted_password", "$2a$04$/jbdrs0ngajoHAEa1cz20OUu2r4p2sxzuhekQ3hA2eQk3Z1SRf94G"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_24"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:48 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:41:48 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:48.246415' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML Parameters: {"user_id"=>"admin_24"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'admin_24' LIMIT 1 SOLR Request (8.0ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A12&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (6.9ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A12&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 29ms (Views: 1.4ms | ActiveRecord: 0.5ms | Solr: 14.9ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_22@example.jp"], ["encrypted_password", "$2a$04$wuOSejNzdbps01rWW/VO.OOKm7ocpOU81P.NBdp1I8hJvg7q4d.Hu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_22"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:48 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:41:48 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:48.299239' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 SOLR Request (4.5ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A12&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (10.7ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A12&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 25ms (Views: 1.5ms | ActiveRecord: 0.3ms | Solr: 15.3ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_23@example.jp"], ["encrypted_password", "$2a$04$v6dmjpFPrCHqlUi/H7XyJe5awlStVMf7pCM/XqCazCM58U4/I1GLu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_23"]] SQL (1.4ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:48 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:41:48 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:48.348777' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML Parameters: {"user_id"=>"librarian_23"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'librarian_23' LIMIT 1 SOLR Request (11.8ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A12&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (12.0ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A12&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 34ms (Views: 1.5ms | ActiveRecord: 0.4ms | Solr: 23.8ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 SOLR Request (5.1ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (3.8ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Message Load (0.3ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IN (2) Completed 200 OK in 108ms (Views: 1.3ms | ActiveRecord: 0.6ms | Solr: 8.9ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML Parameters: {"query"=>"you"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 SOLR Request (12.3ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&q=you&fl=%2A+score&qf=body_text+subject_text&defType=dismax&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (4.1ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&q=you&fl=%2A+score&qf=body_text+subject_text&defType=dismax&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Message Load (0.3ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IN (2) Completed 200 OK in 30ms (Views: 1.6ms | ActiveRecord: 0.5ms | Solr: 16.3ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 SOLR Request (3.2ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (6.8ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Message Load (0.3ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IN (2) Completed 200 OK in 23ms (Views: 1.4ms | ActiveRecord: 0.6ms | Solr: 9.9ms) Processing by MessagesController#index as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 5ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 27ms (Views: 2.0ms | ActiveRecord: 0.6ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.2ms | ActiveRecord: 0.5ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#show as HTML Parameters: {"id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (1.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 3 AND "messages"."id" = ? LIMIT 1 [["id", "2"]]  (0.0ms) SAVEPOINT active_record_1  (0.3ms) UPDATE "messages" SET "read_at" = '2011-12-17 20:41:48.650430', "updated_at" = '2011-12-17 20:41:48.650901' WHERE "messages"."id" = 2 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1  (20.4ms) UPDATE "messages" SET "state" = 'read', "updated_at" = '2011-12-17 20:41:48.741866' WHERE "messages"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 134ms (Views: 2.8ms | ActiveRecord: 23.1ms | Solr: 0.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.4ms | ActiveRecord: 0.6ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_25@example.jp"], ["encrypted_password", "$2a$04$OgxG0tekNwqAcFrmwqRV7eRaZ1Jd2Kn4EsfZwzu7Nrf4fv4QZuWsu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_25"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:48 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:41:48 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:48.823152' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 Completed 200 OK in 36ms (Views: 14.4ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_24@example.jp"], ["encrypted_password", "$2a$04$PAZ4BD/AqjAgP9pQ1h1DxeD1yKXiod05WNq2CLteemaEmPnQTrfOa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_24"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:48 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:41:48 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:48.885725' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 Completed 200 OK in 11ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) User Load (2.8ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML Parameters: {"parent_id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.6ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML Parameters: {"parent_id"=>"2"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Processing by MessagesController#new as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 9ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_26@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_26@example.jp"], ["encrypted_password", "$2a$04$vaGnKhcYhWCNnbIgDlRM3.by7sKsfcusXMc38e5N1or119Q8h7Lhi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_26"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:49 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:41:49 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:49.025610' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 12 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 95ms (Views: 1.4ms | ActiveRecord: 0.6ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_25@example.jp"], ["encrypted_password", "$2a$04$v3kWlQRgwXI3lJwhzpbH1.czPKKD5.tD3IBJeLRPqLFy822JmCvya"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_25"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:49 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:41:49 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:49.149224' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 16ms (Views: 1.3ms | ActiveRecord: 0.6ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.1ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_102@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_102@example.jp"], ["encrypted_password", "$2a$04$j9wofXOyinEN1X9aV9U5quQoIdie1HDSFr3dPzxb222IIXt87S5qS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_102"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:49 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:49 UTC +00:00], ["user_id", 12]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:49.236408' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_103@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_103@example.jp"], ["encrypted_password", "$2a$04$JmB.aPkKf1Zu9w9Icy0mie6.bpaAsyVFh1FhcMphkMp7umUzdBgZi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_103"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:49 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:49 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:49.258908' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user_102' LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" ORDER BY "rgt" desc LIMIT 1 SQL (0.9ms) INSERT INTO "messages" ("body", "created_at", "lft", "message_request_id", "parent_id", "read_at", "receiver_id", "rgt", "sender_id", "state", "subject", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "new message body is really short"], ["created_at", Sat, 17 Dec 2011 20:41:49 UTC +00:00], ["lft", 9], ["message_request_id", nil], ["parent_id", nil], ["read_at", nil], ["receiver_id", 12], ["rgt", 10], ["sender_id", 13], ["state", "unread"], ["subject", "new message"], ["updated_at", Sat, 17 Dec 2011 20:41:49 UTC +00:00]] SQL (1.3ms) INSERT INTO "delayed_jobs" ("attempts", "created_at", "failed_at", "handler", "last_error", "locked_at", "locked_by", "priority", "run_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attempts", 0], ["created_at", Sat, 17 Dec 2011 20:41:49 UTC +00:00], ["failed_at", nil], ["handler", "--- !ruby/struct:Delayed::PerformableMailer \nobject: !ruby/class Notifier\nmethod_name: :message_notification\nargs: \n- !ruby/ActiveRecord:Message \n attributes: \n id: 8\n read_at: \n receiver_id: 12\n sender_id: 13\n subject: new message\n body: new message body is really short\n message_request_id: \n state: unread\n parent_id: \n created_at: &id001 2011-12-17 20:41:49.263898 Z\n updated_at: *id001\n lft: 9\n rgt: 10\n"], ["last_error", nil], ["locked_at", nil], ["locked_by", nil], ["priority", 0], ["run_at", Sat, 17 Dec 2011 20:41:49 UTC +00:00], ["updated_at", Sat, 17 Dec 2011 20:41:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#edit as HTML Parameters: {"id"=>"8"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "8"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_27@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_27@example.jp"], ["encrypted_password", "$2a$04$ZclgrLFG5rTMtjrAip.tL.zbMWMc5H/WYZWe0HZBlhT7JoZzAqMDS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_27"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:49 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:41:49 UTC +00:00], ["user_id", 12]]  (26.8ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:49.334343' WHERE "roles"."id" = 4  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user1", "subject"=>"test", "body"=>"test"}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user1' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user1' LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" ORDER BY "rgt" desc LIMIT 1 SQL (4.4ms) INSERT INTO "messages" ("body", "created_at", "lft", "message_request_id", "parent_id", "read_at", "receiver_id", "rgt", "sender_id", "state", "subject", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "test"], ["created_at", Sat, 17 Dec 2011 20:41:49 UTC +00:00], ["lft", 9], ["message_request_id", nil], ["parent_id", nil], ["read_at", nil], ["receiver_id", 3], ["rgt", 10], ["sender_id", 12], ["state", "unread"], ["subject", "test"], ["updated_at", Sat, 17 Dec 2011 20:41:49 UTC +00:00]] SQL (1.1ms) INSERT INTO "delayed_jobs" ("attempts", "created_at", "failed_at", "handler", "last_error", "locked_at", "locked_by", "priority", "run_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attempts", 0], ["created_at", Sat, 17 Dec 2011 20:41:49 UTC +00:00], ["failed_at", nil], ["handler", "--- !ruby/struct:Delayed::PerformableMailer \nobject: !ruby/class Notifier\nmethod_name: :message_notification\nargs: \n- !ruby/ActiveRecord:Message \n attributes: \n id: 8\n read_at: \n receiver_id: 3\n sender_id: 12\n subject: test\n body: test\n message_request_id: \n state: unread\n parent_id: \n created_at: &id001 2011-12-17 20:41:49.482198 Z\n updated_at: *id001\n lft: 9\n rgt: 10\n"], ["last_error", nil], ["locked_at", nil], ["locked_by", nil], ["priority", 0], ["run_at", Sat, 17 Dec 2011 20:41:49 UTC +00:00], ["updated_at", Sat, 17 Dec 2011 20:41:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/messages Completed 302 Found in 125ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_28@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_28@example.jp"], ["encrypted_password", "$2a$04$4a8bSeGgB.75olYWePcbqeQaruLJDLXMz3GpPdOd7XJEG0196fy1q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_28"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:49 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:41:49 UTC +00:00], ["user_id", 12]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:49.511690' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user1", "subject"=>"test", "body"=>"test"}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user1' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user1' LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" ORDER BY "rgt" desc LIMIT 1 SQL (6.5ms) INSERT INTO "messages" ("body", "created_at", "lft", "message_request_id", "parent_id", "read_at", "receiver_id", "rgt", "sender_id", "state", "subject", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "test"], ["created_at", Sat, 17 Dec 2011 20:41:49 UTC +00:00], ["lft", 9], ["message_request_id", nil], ["parent_id", nil], ["read_at", nil], ["receiver_id", 3], ["rgt", 10], ["sender_id", 12], ["state", "unread"], ["subject", "test"], ["updated_at", Sat, 17 Dec 2011 20:41:49 UTC +00:00]] SQL (1.1ms) INSERT INTO "delayed_jobs" ("attempts", "created_at", "failed_at", "handler", "last_error", "locked_at", "locked_by", "priority", "run_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attempts", 0], ["created_at", Sat, 17 Dec 2011 20:41:49 UTC +00:00], ["failed_at", nil], ["handler", "--- !ruby/struct:Delayed::PerformableMailer \nobject: !ruby/class Notifier\nmethod_name: :message_notification\nargs: \n- !ruby/ActiveRecord:Message \n attributes: \n id: 8\n read_at: \n receiver_id: 3\n sender_id: 12\n subject: test\n body: test\n message_request_id: \n state: unread\n parent_id: \n created_at: &id001 2011-12-17 20:41:49.531804 Z\n updated_at: *id001\n lft: 9\n rgt: 10\n"], ["last_error", nil], ["locked_at", nil], ["locked_by", nil], ["priority", 0], ["run_at", Sat, 17 Dec 2011 20:41:49 UTC +00:00], ["updated_at", Sat, 17 Dec 2011 20:41:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/messages Completed 302 Found in 28ms User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_29@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (32.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_29@example.jp"], ["encrypted_password", "$2a$04$ObjRm7/cy6qNKkljYQS8huoKNCWKrBzKJnkT1ymicrwHNya9vO1zi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_29"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:49 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:41:49 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:49.592956' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user1", "subject"=>"test", "body"=>""}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user1' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 13ms (Views: 1.3ms | ActiveRecord: 0.7ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_30@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_30@example.jp"], ["encrypted_password", "$2a$04$KfC8S/GIG3pLBtcctxapHO5cuIsFr/8aNUncawDvirKBGAfm0tKem"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_30"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:49 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:41:49 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:49.631605' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user1", "subject"=>"test", "body"=>""}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user1' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 21ms (Views: 1.3ms | ActiveRecord: 0.7ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test", "parent_id"=>"2"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user2' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user2' LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" ORDER BY "rgt" desc LIMIT 1 SQL (1.0ms) INSERT INTO "messages" ("body", "created_at", "lft", "message_request_id", "parent_id", "read_at", "receiver_id", "rgt", "sender_id", "state", "subject", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "test"], ["created_at", Sat, 17 Dec 2011 20:41:49 UTC +00:00], ["lft", 9], ["message_request_id", nil], ["parent_id", 2], ["read_at", nil], ["receiver_id", 5], ["rgt", 10], ["sender_id", 2], ["state", "unread"], ["subject", "test"], ["updated_at", Sat, 17 Dec 2011 20:41:49 UTC +00:00]] Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? ORDER BY "lft" LIMIT 1 [["id", 2]] Message Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 8]] SQL (0.6ms) UPDATE "messages" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 8 THEN 2 ELSE "parent_id" END WHERE "messages"."id" IN (SELECT "messages"."id" FROM "messages" ORDER BY "lft") Message Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 2]] Message Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/messages Completed 302 Found in 22ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test", "parent_id"=>"2"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 18ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user1", "subject"=>"test", "body"=>"test"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 8ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user1", "subject"=>"test", "body"=>"test"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user1", "subject"=>"test", "body"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 76ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user1", "subject"=>"test", "body"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 13ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_104@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_104@example.jp"], ["encrypted_password", "$2a$04$YXFIt0.2OfA5cKWlR10psefT1Zb6wupQcGsRcxJiz3RdNqIZRJHoC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_104"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:49 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:49 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:49.880909' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_105@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_105@example.jp"], ["encrypted_password", "$2a$04$/e4t.nPKg/nYgTJa0fAiJe98tLXUznP3j6eZ9PPC66HIYt2YP3K0C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_105"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:49 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:49 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:49.908009' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_104", "sender_id"=>"13", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 15ms (Views: 1.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_106@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (46.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_106@example.jp"], ["encrypted_password", "$2a$04$Zd0ChHolezM3o4q81OgvJubAn/cLM7sJEg/S6H2X8xCvHc5rGiPw6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_106"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:50.016361' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_107@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_107@example.jp"], ["encrypted_password", "$2a$04$O4dVUL6sdONxxwrd7QzIV.K8jw2lOgYh4T2TZUDECMOyvxidKDUU."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_107"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:50.030518' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_106", "sender_id"=>"13", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 12ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_108@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_108@example.jp"], ["encrypted_password", "$2a$04$zSbvZCKB4jf3tT36IMTBheyNfsi9PdlrSdomJuzk6FlK1Q1RaxMQy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_108"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:50.067366' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_109@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_109@example.jp"], ["encrypted_password", "$2a$04$UQGwezKHT9uEtEzXvW9s4edhsU5Xog/RNPlxJ2z3B/BT57v18ngP."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_109"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:50.080961' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 10ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_110@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (41.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_110@example.jp"], ["encrypted_password", "$2a$04$/zAyXUqe.LkXMsFpixG15ODhYldVvinmWcYo.mjaB2fvr0IRQV4K2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_110"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:50.190792' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_111@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_111@example.jp"], ["encrypted_password", "$2a$04$UaMXE8DP8TeMsDqXK4iMIuT8f1mPY7b6tGhkQBZyADLCfn5vt/Vg6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_111"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:50.205698' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 13ms (Views: 1.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.5ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_112@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (64.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_112@example.jp"], ["encrypted_password", "$2a$04$eUvZIElIrakSQxmT9g3MeOFho/.oXKyVYS7voihGTQF0o2/O3WAWq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_112"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:50.318007' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_113@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_113@example.jp"], ["encrypted_password", "$2a$04$64ik.REKkJLYyAY/iVyvNubMeUwkaIPO1q1WUTSkapYDVucxHuYLe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_113"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:50.331769' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_112", "sender_id"=>"13", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_114@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_114@example.jp"], ["encrypted_password", "$2a$04$iLQtvZFh1L79MIv0CgoYquatVyyiAO2wkPUPs3/BJyz6XVjJ8SPKy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_114"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:50.365952' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_115@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_115@example.jp"], ["encrypted_password", "$2a$04$.4IvUX1MmtUgyvdL0eya.eFZSpxbSz7cJezzoJ5hl4vbP4A0b3NXu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_115"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:50.380139' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (3.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_114", "sender_id"=>"13", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.2ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_116@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_116@example.jp"], ["encrypted_password", "$2a$04$JEvoINjmQUafbeg8kv/vuePbMYNqGW8HlLKvugsxZJKhkim63l1Sy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_116"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:50.435091' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_117@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (45.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_117@example.jp"], ["encrypted_password", "$2a$04$..SW3lvEELgA6NMY/X8zSeWYfCJ3pNHdCuJb3BH5Rnf3gh2h5L40W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_117"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:50.496097' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_118@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (30.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_118@example.jp"], ["encrypted_password", "$2a$04$D5o.D94yHBl2U0Ltm3M0uufGmVhtU2rjVFYfdNOZ98EUKxrFuLySe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_118"]] SQL (2.7ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["user_id", 12]]  (4.8ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:50.562574' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_119@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_119@example.jp"], ["encrypted_password", "$2a$04$Gy3DoPRDDZHrgedWxLBkzOOyu0TtjM6plZdY0Lj69nr8Pj3nDKMl2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_119"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:50.576803' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.8ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_120@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_120@example.jp"], ["encrypted_password", "$2a$04$KzbDXCubZ3t0t46.RNWvUe7mzykovOZsLfRE2WISkbeK6/H5sd6F2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_120"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:50.619319' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_121@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (19.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_121@example.jp"], ["encrypted_password", "$2a$04$hMvMwRzp.dp6CytR5UWzOulq8TdwREbH0QD4jkOAR16hzoHvWMAce"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_121"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:50.699448' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"2"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_122@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_122@example.jp"], ["encrypted_password", "$2a$04$fEi27.D3bi41l6wQSeKLDOwMkef8KjDR6Lq4fc8kJDV1n4mDXwe96"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_122"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:50.718170' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_123@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_123@example.jp"], ["encrypted_password", "$2a$04$ZjkG/M08hKFJtK2u2AzMc.JVBdyqx4ficSkiA30/AoMpzkNrpZB2m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_123"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:50.726401' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_124@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_124@example.jp"], ["encrypted_password", "$2a$04$eVdSRQ1DyvVEVnvuJXYU1upk.YYlHCVltOkjlTPK/UN8xs4lZa.Tm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_124"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:50.752997' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_125@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (27.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_125@example.jp"], ["encrypted_password", "$2a$04$WYrifn.43GQQ7TdH0RYUQuTTOjJy4zSYjv856XBQlSlYaotJQDDvi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_125"]] SQL (5.8ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:50.793112' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_124", "sender_id"=>"13", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 0.8ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_126@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (41.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_126@example.jp"], ["encrypted_password", "$2a$04$c8tSerFz.rEdOugjKpCoVefQF9RUt4Zeukhb51SvKQT0.SxKE/ARK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_126"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:50.891287' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_127@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_127@example.jp"], ["encrypted_password", "$2a$04$6bjn9zrIVQsY1tuW4gJT0unSnqRMUfNPh0.q3WwsvpyZxxmf0xJr6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_127"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:50.900825' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_126", "sender_id"=>"13", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_128@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_128@example.jp"], ["encrypted_password", "$2a$04$7K9AkZmIorqUeS8GkQZWsON9lc6MpCsomFxCHaR5vzyEW.Qy/9PCy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_128"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:50.922529' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_129@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_129@example.jp"], ["encrypted_password", "$2a$04$RuuVqSFzd5g1fbbgn33dn.nZhgAipe.Jw.Wbn3aacw9NGPaKud2G6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_129"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:50.930529' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (38.3ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 44ms (Views: 0.8ms | ActiveRecord: 38.5ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_130@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (48.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_130@example.jp"], ["encrypted_password", "$2a$04$yhNWJWk.k/h0NRoOGKsil.kZ1MJUJaJ0.0K9y2wO4bXKjaOvZMSHq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_130"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:51 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:51 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:51.040619' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_131@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_131@example.jp"], ["encrypted_password", "$2a$04$U6LCoYP/S8XmbX.Zu6TNU.ktGYCY7UuOSXk5Bwb8iMRNNc0Z8U.C6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_131"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:51 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:51 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:51.050420' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_132@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_132@example.jp"], ["encrypted_password", "$2a$04$F7QQnVIY/vFWtpfJiJrtTOE5oKjH8STJFIJkE93hYcrX/8Wh1KGgu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_132"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:51 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:51 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:51.079582' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_133@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_133@example.jp"], ["encrypted_password", "$2a$04$O5xbcKPdZVTtnFAGzsxsTe/4ddTJ59DdhxyBOBiCbq1fGGOPG5qNy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:41:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_133"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:41:51 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:41:51 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:41:51.088346' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"2"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#destroy as HTML Parameters: {"id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 3 AND "messages"."id" = ? LIMIT 1 [["id", "2"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "messages" WHERE ("lft" > 3 AND "rgt" < 4) SQL (0.3ms) UPDATE "messages" SET "lft" = ("lft" - 2) WHERE "messages"."id" IN (SELECT "messages"."id" FROM "messages" WHERE ("lft" > 4) ORDER BY "lft") SQL (0.4ms) UPDATE "messages" SET "rgt" = ("rgt" - 2) WHERE "messages"."id" IN (SELECT "messages"."id" FROM "messages" WHERE ("rgt" > 4) ORDER BY "lft") SQL (0.1ms) DELETE FROM "messages" WHERE "messages"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/messages Completed 302 Found in 10ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms LibraryGroup Load (6.4ms) SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]] LibraryGroup Load (0.1ms) SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]] Fixture Delete (0.4ms) DELETE FROM "library_groups" Fixture Insert (2.6ms) INSERT INTO "library_groups" ("id", "name", "display_name", "short_name", "email", "note", "my_networks", "url", "created_at", "updated_at") VALUES (1, 'unknown', 'unknown', 'unknown', 'next-l@library.example.jp', NULL, '0.0.0.0/0', 'http://localhost:3000/', '2011-12-17 20:45:00', '2011-12-17 20:45:00') Fixture Delete (5.1ms) DELETE FROM "message_requests" Fixture Insert (0.1ms) INSERT INTO "message_requests" ("sender_id", "receiver_id", "message_template_id", "state", "created_at", "updated_at", "id") VALUES (1, 1, 1, 'pending', '2011-12-17 20:45:01', '2011-12-17 20:45:01', 980190962) Fixture Insert (0.1ms) INSERT INTO "message_requests" ("sender_id", "receiver_id", "message_template_id", "state", "created_at", "updated_at", "id") VALUES (1, 1, 1, 'pending', '2011-12-17 20:45:01', '2011-12-17 20:45:01', 298486374) Fixture Delete (2.4ms) DELETE FROM "message_templates" Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (1, 'reservation_accepted', 'Reservation accepted', 'Reservation accepted', 1, '2011-12-17 20:45:01', '2011-12-17 20:45:01') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (2, 'item_received', 'Item received', 'Item received', 2, '2011-12-17 20:45:01', '2011-12-17 20:45:01') Fixture Insert (0.2ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (3, 'reservation_expired_for_patron', 'Reservation expired', 'Reservation expired', 3, '2011-12-17 20:45:01', '2011-12-17 20:45:01') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (4, 'reservation_expired_for_library', 'Reservation expired', 'Reservation expired', 4, '2011-12-17 20:45:01', '2011-12-17 20:45:01') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (5, 'reservation_canceled_for_patron', 'Reservation canceled', 'Reservation canceled', 5, '2011-12-17 20:45:01', '2011-12-17 20:45:01') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (6, 'reservation_canceled_for_library', 'Reservation canceled', 'Reservation canceled', 6, '2011-12-17 20:45:01', '2011-12-17 20:45:01') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (7, 'recall_item', 'Recall item', 'Recall item', 7, '2011-12-17 20:45:01', '2011-12-17 20:45:01') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (8, 'recall_overdue_item', 'Recall overdue item', 'Recall overdue item', 8, '2011-12-17 20:45:01', '2011-12-17 20:45:01') Fixture Delete (0.2ms) DELETE FROM "messages" Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "read_at", "state", "lft", "rgt", "updated_at") VALUES (1, 3, 4, 'First Message', 'Abby, you get the first message', '2007-07-04 12:10:47.0', '2011-12-14 20:45:00', 'unread', 1, 2, '2011-12-17 20:45:01') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (2, 4, 3, 'RE: First Message', 'Thanks Dad! You are the coolest!', '2011-12-15 20:45:00', 'unread', 3, 4, '2011-12-17 20:45:01') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (3, 3, 4, 'Second Message', 'Catie, you get the 2nd message', '2011-12-16 20:45:00', 'unread', 5, 6, '2011-12-17 20:45:01') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (6, 4, 5, 'Dad!', 'He is sucha dork.', '2011-12-15 20:45:00', 'unread', 7, 8, '2011-12-17 20:45:01') Fixture Delete (0.1ms) DELETE FROM "roles" Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Guest', 'Guest', 1, NULL, '2011-12-17 20:45:01', '2011-12-17 20:45:01') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('User', 'User', 2, NULL, '2011-12-17 20:45:01', '2011-12-17 20:45:01') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Librarian', 'Librarian', 3, NULL, '2011-12-17 20:45:01', '2011-12-17 20:45:01') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Administrator', 'Administrator', 4, NULL, '2011-12-17 20:45:01', '2011-12-17 20:45:01') Fixture Delete (0.1ms) DELETE FROM "user_groups" Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('(not specified)', '(not specified)', '2007-12-13 12:00:51.564542', 1, '', '2007-12-13 12:00:01.674976', 1) Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('User', 'User', '2007-12-22 18:14:56.836548', 2, '', '2007-12-22 18:14:40.173954', 2) Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('Faculty', 'Faculty', '2007-12-22 18:15:05.134351', 3, '', '2007-12-22 18:15:05.126457', 3) Fixture Delete (0.1ms) DELETE FROM "user_has_roles" Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (1, 4, '2011-12-17 20:45:01', '2011-12-17 20:45:01', 135138680) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (2, 3, '2011-12-17 20:45:01', '2011-12-17 20:45:01', 344583537) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (3, 2, '2011-12-17 20:45:01', '2011-12-17 20:45:01', 206669143) Fixture Insert (0.5ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (4, 3, '2011-12-17 20:45:01', '2011-12-17 20:45:01', 226540757) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (5, 2, '2011-12-17 20:45:01', '2011-12-17 20:45:01', 358143215) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (6, 2, '2011-12-17 20:45:01', '2011-12-17 20:45:01', 576709754) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (7, 2, '2011-12-17 20:45:01', '2011-12-17 20:45:01', 1010528733) Fixture Delete (5.0ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:16:30.163731', '$2a$10$vHohD1WflnTIqAa8zMkF9evwAgIZRw3XuR4d3bi29M.jph/MB/AJi', 2, 1, NULL, 'admin', 'tanabe@kamata.lib.teu.ac.jp', '2007-11-19 07:58:32.111941', 4) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 03:41:16.337474', '$2a$10$9O2VuTccN4gHq36ARg0QReSrb1D7WrBBhZZ759RM9moHbB0W5zCzS', 1, 2, NULL, 'librarian1', 'librarian1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:33.172441', 1) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', '$2a$10$JthS59A0BNkDOoFpCXM0V.GhhffKaoWKbzpPahYp/vTFrOyM7h/uW', 1, 3, NULL, 'user1', 'user1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:23.340575', '$2a$10$YmmTGrYQ1Ir6oc7wXnp.GuNeO1eYLoP3sv8wMSIrTdaGw2BPwRrpS', 1, 4, NULL, 'librarian2', '2008-01-18 03:24:04.222344', 1) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:44.711117', '$2a$10$i7UjJhLVrJM/J7qaTwW39OXw1NiwowUEbtNHVDV0sqMLjX9.UO9ca', 1, 5, NULL, 'user2', '2008-01-18 04:29:06.922728', 2) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 6, NULL, 'user3', 'user3@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 7, NULL, 'user4', 'user4@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_1@example.jp"], ["encrypted_password", "$2a$04$IZfh.YaKompUF70UlG/lF.24ijN45MTN80JCXAVJDqJGpKbKipBpm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:01 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_1"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:01 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:45:01 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:01.489742' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Rendered /Users/kosuke/enju_message/app/views/message_requests/index.html.erb within layouts/application (31.2ms) Completed 200 OK in 52ms (Views: 42.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_1@example.jp"], ["encrypted_password", "$2a$04$1aELNFIdtmE1BxLGG2eHaOHuii2AlOiD3bwjPYhJEw32yzXCYxdP2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:01 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_1"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:01 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:45:01 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:01.562146' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_1@example.jp"], ["encrypted_password", "$2a$04$4xiWu1viaTvbLgFtCHYdQOjAQipV/cUKHXW3Pf9uh0I4Q8j/q8g5C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:01 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_1"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:01 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:01 UTC +00:00], ["user_id", 12]]  (18.7ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:01.581317' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 1.3ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "message_requests" WHERE ('t'='f') Processing by MessageRequestsController#index as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms  (0.1ms) SELECT COUNT(*) FROM "message_requests" WHERE ('t'='f') Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (38.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_2@example.jp"], ["encrypted_password", "$2a$04$2WF3Oy8JSNR0OvQRSIN4se5BWhH3YzTE.Gxl4SJHnnmxRh5D.VQEK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:01 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_2"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:01 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:45:01 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:01.666078' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_2@example.jp"], ["encrypted_password", "$2a$04$CxJCJtGA.VWsWefape67JOWgdDYR0FtJhKEIT958Pr6Aq70OX4mhq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:01 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_2"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:01 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:01 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:01.674837' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_3@example.jp"], ["encrypted_password", "$2a$04$BZMug6fIqxvEFC8Kjb7d6u8tA8o1JQM9IvvdLWRSBD/0h8fbdSV1C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:01 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_3"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:01 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:01 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:01.691684' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_1' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_1"], ["created_at", Sat, 17 Dec 2011 20:45:01 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_1"], ["title", "message_template_1"], ["updated_at", Sat, 17 Dec 2011 20:45:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_1' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:45:01 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 14], ["sender_id", 13], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:45:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 200 OK in 38ms (Views: 33.0ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (46.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_2@example.jp"], ["encrypted_password", "$2a$04$9iMaqX5griUa3DQm82fNwOoC5TRhXC06sb1uTjqHx1khkdfhzQ2hm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:01 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_2"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:01 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:45:01 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:01.822210' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_4@example.jp"], ["encrypted_password", "$2a$04$0SQ/TSD5oXDfc35bZ.y9b.LKGMSaObYiC3seKyzG8YvzM4mTlB/d6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:01 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_4"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:01 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:01 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:01.832383' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_5@example.jp"], ["encrypted_password", "$2a$04$ESp.BKymSXH4s5ugNhnamuQhuCTKR1XTpuE3ObiGtw.4k5v803wkG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:01 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_5"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:01 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:01 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:01.840450' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_2' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_2"], ["created_at", Sat, 17 Dec 2011 20:45:01 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_2"], ["title", "message_template_2"], ["updated_at", Sat, 17 Dec 2011 20:45:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_2' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:45:01 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 14], ["sender_id", 13], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:45:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_6@example.jp"], ["encrypted_password", "$2a$04$8MJmdg6uBQiynyNgkxyc8uHSz/HQD7cqZFK9pRLh1GW4VL5kDKjeC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:01 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_6"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:01 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:01 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:01.867994' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (38.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_7@example.jp"], ["encrypted_password", "$2a$04$eaIU.1vYn.uavp97emM50.Tv.y9EAUMs7ifxx62EWIHc5pMi1gyAO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:01 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_7"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:01 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:01 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:01.913809' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_8@example.jp"], ["encrypted_password", "$2a$04$AkH2JoetESafD.ildEJfO.R7/uhNw6v270jsjZyKyWp7c.3TVt2/6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:01 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_8"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:01 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:01 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:01.925069' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_3' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_3"], ["created_at", Sat, 17 Dec 2011 20:45:01 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_3"], ["title", "message_template_3"], ["updated_at", Sat, 17 Dec 2011 20:45:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_3' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:45:01 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 14], ["sender_id", 13], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:45:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_9@example.jp"], ["encrypted_password", "$2a$04$lduRPYiRbRzbGFhU2QR5YO6PYj7sCOcS4YuOdstaVcCy7yMW9pqA."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:01 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_9"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:01 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:01 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:01.949296' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (37.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_10@example.jp"], ["encrypted_password", "$2a$04$InPCJk4Hp3SwxU5idZMk0ez/5c9dCcsiTEtcf4KaSytiX4MJZV/Ji"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:01 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_10"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:01 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:01 UTC +00:00], ["user_id", 13]]  (5.4ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:01.994235' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_4' LIMIT 1 SQL (4.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_4"], ["created_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_4"], ["title", "message_template_4"], ["updated_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_4' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (39.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_3@example.jp"], ["encrypted_password", "$2a$04$JqVRhswGT8yVPnO.Z2BgyuGClYHwxXGb0GGWqXihsy4ALzPnC.LvW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_3"]] SQL (4.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["user_id", 12]]  (4.7ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:02.070226' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (34.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_11@example.jp"], ["encrypted_password", "$2a$04$thyZKMaMpedx9vJcb5ggwuYZZ18/Un5EI/2PdG1Ak20trT0K63sKu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_11"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:02.118304' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_12@example.jp"], ["encrypted_password", "$2a$04$r4zDR1J2ap4z4/btnUnwGulk/L.J7E60S4R4c5WIkv6jkZKxSfDci"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_12"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:02.126721' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_5' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_5"], ["created_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_5"], ["title", "message_template_5"], ["updated_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_5' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 14], ["sender_id", 13], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 8ms (Views: 1.5ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_3@example.jp"], ["encrypted_password", "$2a$04$ztt.TJF6UFFvw5LzoCQoaeN1.qQDGW5Vk2s7seij80kawWg.TmhnS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_3"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:02.153121' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_13@example.jp"], ["encrypted_password", "$2a$04$MpYSdX3daE41MtH6yH5Xdu.0qbWCYzpXbJXGvqYFUzC74j7DbErBC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_13"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:02.161508' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_14@example.jp"], ["encrypted_password", "$2a$04$9kotI9Hmu5h8Ix7VKg07qOIDwXjquiSJ6W64LCk5XD1zQf..ktesC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_14"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:02.169190' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_6' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_6"], ["created_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_6"], ["title", "message_template_6"], ["updated_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_6' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 14], ["sender_id", 13], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 7ms (Views: 0.9ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_15@example.jp"], ["encrypted_password", "$2a$04$Rjx/WcnaEkZXJ7bOkskNXuWHsO0clMScxDaywCVge9uhOseDtV3ci"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_15"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["user_id", 12]]  (19.5ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:02.195966' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (7.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_16@example.jp"], ["encrypted_password", "$2a$04$Pme3BqzhCj.1trXONn4zgOZk6hMV.ke/hGr11Nst832nGFZJDPWGa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_16"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:02.230672' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_17@example.jp"], ["encrypted_password", "$2a$04$JC4m0LZ7IMawcRaQApANAeF973v31ni459i3ryfQD6ioZkEMnQAxC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_17"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:02.244629' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_7' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_7"], ["created_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_7"], ["title", "message_template_7"], ["updated_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_7' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 14], ["sender_id", 13], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_18@example.jp"], ["encrypted_password", "$2a$04$LE7oiQefw0TT3.WkX.IbS.Br0cUQ.r4TnkPc2OPUYNj2qGhy0Gpbm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_18"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:02.269911' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_19@example.jp"], ["encrypted_password", "$2a$04$culV.1Ss0BH3JcZf4LNp0ufKXxT9Vs8Oz9b22evlNRJukK6xeq8kO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_19"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:02.278329' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_8' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_8"], ["created_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_8"], ["title", "message_template_8"], ["updated_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_8' AND "message_templates"."id" != 9) LIMIT 1 SQL (48.6ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (27.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_20@example.jp"], ["encrypted_password", "$2a$04$EQcrmu81lHfBWonEQdnhSu.5GCv57IACF9n3Dsfx.tOzzyoEdfmmW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_20"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["user_id", 12]]  (2.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:02.387530' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_21@example.jp"], ["encrypted_password", "$2a$04$RjpXbVDgGu/NzMSI58Cm1u94vi.nnF.PpOPKPtFNVWg7JEBKYIhXy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_21"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:02.403614' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_9' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_9"], ["created_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_9"], ["title", "message_template_9"], ["updated_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_9' AND "message_templates"."id" != 9) LIMIT 1 SQL (2.2ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_22@example.jp"], ["encrypted_password", "$2a$04$ofGygCxvtqD14UnM2ualA.L6Bc4O2zM.6eF0q.xQczzk4cRwxWutC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_22"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:02.429642' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_23@example.jp"], ["encrypted_password", "$2a$04$Rt7i1blFeJZN/6z5sPD43OhDrO06LQp7IgU8VIrk8uSaZ7LaxcFKG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_23"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:02.441690' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_10' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_10"], ["created_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_10"], ["title", "message_template_10"], ["updated_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_4@example.jp"], ["encrypted_password", "$2a$04$hFOa1gcD4/tp2BU2bWkQIewFNhJ5GbLdl4FPfIoLnFMIi7onjSZli"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_4"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:02.459880' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"14", "receiver_id"=>"15", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 15 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_10' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 14, "receiver_id" = 15, "message_template_id" = 10, "updated_at" = '2011-12-17 20:45:02.476881' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 19ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_24@example.jp"], ["encrypted_password", "$2a$04$uKwcB8EPS7uDamA4dNPGWOucjtura1Yd7B51hci85/KU5gLCfmFhi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_24"]] SQL (1.6ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:02.499071' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (27.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_25@example.jp"], ["encrypted_password", "$2a$04$RHpV4aJIQksI6rbIne10OetTThZKgJRGgxD8WozNw607NYLX7uF86"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_25"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:02.538134' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_11' LIMIT 1 SQL (5.1ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_11"], ["created_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_11"], ["title", "message_template_11"], ["updated_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_11' AND "message_templates"."id" != 9) LIMIT 1 SQL (10.6ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.8ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_26@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_26@example.jp"], ["encrypted_password", "$2a$04$8ts1.BYaG4WxkB5KiSy2hu.LMUkVseWZj7Pnt9zuE6Eyfjbt1hCTC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_26"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:02.578994' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.9ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_27@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_27@example.jp"], ["encrypted_password", "$2a$04$pNSvq7NrTjhX8MSPyVHUYOvO6deO1y3/7k3mBZ3ljnnnAzXOFFwai"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_27"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:02.593737' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_12' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_12"], ["created_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_12"], ["title", "message_template_12"], ["updated_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_5@example.jp"], ["encrypted_password", "$2a$04$FJiB9SNiNUHtd.dpLK0PL.TJ6UIiNozoIEf93TnaZBP7wPJmezP0C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_5"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:02.613230' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"14", "receiver_id"=>"15", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 15 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_12' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 14, "receiver_id" = 15, "message_template_id" = 10, "updated_at" = '2011-12-17 20:45:02.701926' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 17ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_28@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (35.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_28@example.jp"], ["encrypted_password", "$2a$04$BoXbbcGCHlYG0l00mfQfmeqoikQHDI9uBnldOhwxPf8qDQEmzJZSO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_28"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:02.764314' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_29@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_29@example.jp"], ["encrypted_password", "$2a$04$LPM3v.1ydfq./deRzR605Ozr6tG2QAeUbahMF2N036QSACqvXdC9e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_29"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:02.780664' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_13' LIMIT 1 SQL (2.1ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_13"], ["created_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_13"], ["title", "message_template_13"], ["updated_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_13' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.9ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_30@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_30@example.jp"], ["encrypted_password", "$2a$04$v6jobJBe8PEMdlkr3DgveuvmfpgpngrBkvOfMMNZX5Fl3pTiH7BO."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_30"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:02.810066' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_31@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_31@example.jp"], ["encrypted_password", "$2a$04$FZxJ7/ThA2RUHNB.vrbKlu1uZgeXFQrLy2i38pwsXxOptwZIjNx.2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_31"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:02.824720' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_14' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_14"], ["created_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_14"], ["title", "message_template_14"], ["updated_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_6@example.jp"], ["encrypted_password", "$2a$04$RhR.Am6lBqqYd5BH1789Vef/nQCwShCnRHxDCVZzqKajwfaylvT3K"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_6"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:02.841775' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_13' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 16ms (Views: 1.3ms | ActiveRecord: 1.0ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (1.7ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_32@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_32@example.jp"], ["encrypted_password", "$2a$04$4ceCRbbZuHh3PMxg6l8MAulu.Fl8QXxO9.2rQLSPcssvozUrMbIIu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_32"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:02.887922' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_33@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_33@example.jp"], ["encrypted_password", "$2a$04$6C9cMrmDkN.8w8K3Me4IQeG0xxz0ek59ukcDldOTNm7vjyz6NvOC6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_33"]] SQL (0.6ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:02.943713' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_15' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_15"], ["created_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_15"], ["title", "message_template_15"], ["updated_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_15' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_34@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_34@example.jp"], ["encrypted_password", "$2a$04$aYIbJoUt3Vyr.0Hh5hy1o.CZuaoGh4.ibEK7j7asKcbldfI/RkGwC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_34"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:02.969540' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_35@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_35@example.jp"], ["encrypted_password", "$2a$04$INccCummU/zXi8m6aLrlWeRyNsIRJzRVhF5SWoKINIZ.P5ojWLE4K"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_35"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:02.982433' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_16' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_16"], ["created_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_16"], ["title", "message_template_16"], ["updated_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (62.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_4@example.jp"], ["encrypted_password", "$2a$04$wK2sQqt4y5HTjMo/7oHLCOC/wH5QW/9w8cHsvf3ZgoeIpGSu9xZIq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_4"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:03.062321' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"14", "receiver_id"=>"15", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 15 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_16' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 14, "receiver_id" = 15, "message_template_id" = 10, "updated_at" = '2011-12-17 20:45:03.083162' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 21ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_36@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_36@example.jp"], ["encrypted_password", "$2a$04$YznsgInv5Pi4ccA8nuSPn.l/LlWyRpVUHRqDFerA3BxPZGZ0et.D."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_36"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:03.104868' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_37@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_37@example.jp"], ["encrypted_password", "$2a$04$QJbr20Rr4aLJ5JuhLYle.eOhq0VaTYfQvanAywBT5oV9Yr4dJ/Xp2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_37"]] SQL (0.4ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["user_id", 13]]  (5.7ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:03.118780' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_17' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_17"], ["created_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_17"], ["title", "message_template_17"], ["updated_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_17' AND "message_templates"."id" != 9) LIMIT 1 SQL (1.2ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_38@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (7.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_38@example.jp"], ["encrypted_password", "$2a$04$xBesTtT/RJ.yfEUwhdebzuQJaId0F1LKxq2ywUv7Fhx09Iq79D1Qu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_38"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:03.158272' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_39@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_39@example.jp"], ["encrypted_password", "$2a$04$XxQ8zkXn4s96PElGgG0PdOyTbU0NuQj1joZ131DSlB43zg7Su.DbW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_39"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:03.176996' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_18' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_18"], ["created_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_18"], ["title", "message_template_18"], ["updated_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_5@example.jp"], ["encrypted_password", "$2a$04$Q92jg2yjuE34gZ1VN3xxQOBWfne/zf2BSB.ThEza5e81W9c3cXfie"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_5"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:03.196224' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"14", "receiver_id"=>"15", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 15 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_18' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 14, "receiver_id" = 15, "message_template_id" = 10, "updated_at" = '2011-12-17 20:45:03.214160' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 17ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_40@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_40@example.jp"], ["encrypted_password", "$2a$04$V15iWZ9jP7i3FX5HzwxJWeBL6E0alBabpHgAqXuX/vmYBM10Pw0O."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_40"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:03.253162' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_41@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_41@example.jp"], ["encrypted_password", "$2a$04$XaZPRGQw48iuJ9YJSV4lH.HV9NFyQ/SUf.vkdyynCOW8yirlzrSrK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_41"]] SQL (2.4ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:03.271551' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_19' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_19"], ["created_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_19"], ["title", "message_template_19"], ["updated_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_19' AND "message_templates"."id" != 9) LIMIT 1 SQL (3.2ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_42@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_42@example.jp"], ["encrypted_password", "$2a$04$Pnsb0twqjTpyTALh54E8Ie/hzBfmMqxZkrHunicBWp3zwSC.CnM4S"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_42"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:03.300360' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_43@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_43@example.jp"], ["encrypted_password", "$2a$04$D2uts/uFxt/V24LbBmZmY.HYHzqkolHgDFB/VHTr6gvirrzhelYIG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_43"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:03.318883' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_20' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_20"], ["created_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_20"], ["title", "message_template_20"], ["updated_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (64.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_6@example.jp"], ["encrypted_password", "$2a$04$2FPHXRxtP61Mfr41d8F3Cuv17ddcNu.Y/LzYFZv68T7FdK0dPU9Re"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_6"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:03.400455' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (1.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_19' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 18ms (Views: 1.2ms | ActiveRecord: 2.0ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_44@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (32.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_44@example.jp"], ["encrypted_password", "$2a$04$OUWS4Swr0SeqAhzun3Ujf.svNVi5oTzbSy1t6wpOEGqMVbKnRge6u"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_44"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:03.473166' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_45@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_45@example.jp"], ["encrypted_password", "$2a$04$uBa8Grd/tLKbBFespJhLNuM.xiOjrQiG872XEMPxR.SYgIYdSxNpq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_45"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["user_id", 13]]  (0.4ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:03.486783' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_21' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_21"], ["created_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_21"], ["title", "message_template_21"], ["updated_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_21' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_46@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_46@example.jp"], ["encrypted_password", "$2a$04$zQD80etzhBIwgHeBrf5MeeY12vQMVlnj2W/xTv83o3ssNLWj/8Tq6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_46"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:03.512173' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_47@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_47@example.jp"], ["encrypted_password", "$2a$04$0VFxwvP71ATvoNqxZL3YHeqC7jhqnmSv8FAMktDf4BSGbx6JFR3gi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_47"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:03.525408' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_22' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_22"], ["created_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_22"], ["title", "message_template_22"], ["updated_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_48@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_48@example.jp"], ["encrypted_password", "$2a$04$NJ2Nh3yv1o7BMOyGed.eyuz0n1VbAYaU9EXt7N4lxOAznCXWysZFO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_48"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:03.543992' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"14", "receiver_id"=>"15", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_49@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (46.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_49@example.jp"], ["encrypted_password", "$2a$04$dZGsCqo6uRysewoE/QWf9uHbaRqskHtbSi6L6IwNtbZbvWDCG7HVK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_49"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:03.652510' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_50@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (8.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_50@example.jp"], ["encrypted_password", "$2a$04$mDkPjARNK0u7e5YQ2bvmaOXj5nSezQpMdQw2ey.BX6sCPndWMZnAK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_50"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:03.674056' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_23' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_23"], ["created_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_23"], ["title", "message_template_23"], ["updated_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_23' AND "message_templates"."id" != 9) LIMIT 1 SQL (5.9ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_51@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_51@example.jp"], ["encrypted_password", "$2a$04$a36uqzS7nhsmb.mNpNB09OB2R0B99Vvc4IZH1C84lwZdc2I7b6/J2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_51"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:03.704448' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_52@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_52@example.jp"], ["encrypted_password", "$2a$04$8SpnZKDNAVkFVSIs8xyJ0edlEIuUbpc9NuWOC/QjjX66.XDZES9P6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_52"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:03.719172' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_24' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_24"], ["created_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_24"], ["title", "message_template_24"], ["updated_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_53@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_53@example.jp"], ["encrypted_password", "$2a$04$LedrC0SNsGYF3m.NPhcMcuJza.0BAG8a9JdjDQJYpCY21hxRSrfX2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_53"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:03.795266' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"14", "receiver_id"=>"15", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_54@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_54@example.jp"], ["encrypted_password", "$2a$04$WwkyQ0yNZxS7cmIh3aEajerRgOzrrfZ8Uw7dt6u2Zok1.YfkxKP0e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_54"]] SQL (9.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["user_id", 12]]  (7.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:03.919375' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_55@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_55@example.jp"], ["encrypted_password", "$2a$04$L/2NBAE9vEjmZcd7L0/4XegszHVoM1zqp.2TJuEia5TMcPKCk9gGi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_55"]] SQL (1.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["user_id", 13]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:03.949926' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_25' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_25"], ["created_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_25"], ["title", "message_template_25"], ["updated_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_25' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.9ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_56@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_56@example.jp"], ["encrypted_password", "$2a$04$0Wz1oISTrzfs/3D37U/G2eAhc0B3/ISiaOz.apai/bm5M1ZaZWM9i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_56"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:03.986122' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_57@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_57@example.jp"], ["encrypted_password", "$2a$04$uiUSNodmlM/bDy81cuLcP.dFbZznzM7pWvzmqvElfJ/w8NCjt8sq2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_57"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:03 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:03.998783' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_26' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_26"], ["created_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_26"], ["title", "message_template_26"], ["updated_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_58@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_58@example.jp"], ["encrypted_password", "$2a$04$wAjcsIK5xrOF6NIe0gQQVOfukohyirgZkoxoaVLfm8z0F2qcynm4m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_58"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:04.028726' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 3.0ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_59@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_59@example.jp"], ["encrypted_password", "$2a$04$QMqgd6mbvmngk4H3ZoYQTe2uVMYaisvEIEXIgs8XHYs9gnoYZal6O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_59"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:04.106996' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_60@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_60@example.jp"], ["encrypted_password", "$2a$04$q40YXaeZVhALMIId0XMdV.aRtrlJlRbYTq.HVJV.0qPSPfyvPz5aC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_60"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["user_id", 13]]  (30.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:04.122259' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_27' LIMIT 1 SQL (2.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_27"], ["created_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_27"], ["title", "message_template_27"], ["updated_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_27' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (3.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_61@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_61@example.jp"], ["encrypted_password", "$2a$04$stDUdVHmFpE1xqG.Ka7ubO2UWHIZoRo.NzW7pQnz/zzMy/B8zNZ9."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_61"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["user_id", 14]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:04.182223' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_62@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_62@example.jp"], ["encrypted_password", "$2a$04$EB3Zk.rQpKOgaQW0fct3fO3gmDg0Rzoj2HV3bPvLuLOKJN0xBDfX."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_62"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:04.197549' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_28' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_28"], ["created_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_28"], ["title", "message_template_28"], ["updated_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"14", "receiver_id"=>"15", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 75ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_63@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (38.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_63@example.jp"], ["encrypted_password", "$2a$04$.mVfB05gN5e6MGdg0HOO7O/zUqag0.TeDoAFTjmMgX8jtE2jpzRFS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_63"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["user_id", 12]]  (0.9ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:04.340180' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.7ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_64@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_64@example.jp"], ["encrypted_password", "$2a$04$QxmY/RhPU37jFuueDTdgNO4FJgIKTlBix9EWMF6fuXN2O.blyLhqu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_64"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:04.357776' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_29' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_29"], ["created_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_29"], ["title", "message_template_29"], ["updated_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_29' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_65@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_65@example.jp"], ["encrypted_password", "$2a$04$mW2xdSGGz.QPUgO7573JZe6n3Oh.NHTicvlKm/jCzlmBUL1G9tDG6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_65"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:04.384119' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_66@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_66@example.jp"], ["encrypted_password", "$2a$04$MD6cUm9htBEgNVd7vG5C9.GL.Q8G1AXT3ifZJJAOgt1/qEFMTxlr6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_66"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:04.397686' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_30' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_30"], ["created_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_30"], ["title", "message_template_30"], ["updated_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"14", "receiver_id"=>"15", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_67@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_67@example.jp"], ["encrypted_password", "$2a$04$H0FW6qY0J0LKe.kBiZ2EoOnz66/jvsRoKXQ9ajoxoC4eqGFn.g27O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_67"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:04.438972' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.6ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_68@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (35.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_68@example.jp"], ["encrypted_password", "$2a$04$ReFVjNsf3ixTda/2yhflbO5gVQy0N4DeQQU7A3W0vxCVoCok4Iura"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_68"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:04.488265' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_31' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_31"], ["created_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_31"], ["title", "message_template_31"], ["updated_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_31' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.7ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_69@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_69@example.jp"], ["encrypted_password", "$2a$04$BG/ReljR6PNTmeQT5knF2uB1UFQBFfWeMZg557JkFV3nP7MCLtBaa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_69"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:04.515166' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_70@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_70@example.jp"], ["encrypted_password", "$2a$04$6KpfKU7y3WluvXdHBYqM0O3gHGSym0GdGVHW2.giwx3ZOC3D6bD5O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_70"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:04.528937' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_32' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_32"], ["created_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_32"], ["title", "message_template_32"], ["updated_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_71@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_71@example.jp"], ["encrypted_password", "$2a$04$Ico6TxuoPIcmUWozVGFyb.xHvuaBqpx4PzyEh74dlQ4pQACGdUqBy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_71"]] SQL (0.6ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:04.563120' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_72@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (72.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_72@example.jp"], ["encrypted_password", "$2a$04$prPJX/9St3/RQYxSNZNTfePruxt1YgGaKo9osNkbaFQyEr2H8rDZi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_72"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:04.647491' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_33' LIMIT 1 SQL (8.8ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_33"], ["created_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_33"], ["title", "message_template_33"], ["updated_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_33' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_7@example.jp"], ["encrypted_password", "$2a$04$XClykA0/vidVqtguJuyoBOjd.CX6y/9to2Tn/rjOTYi0mkSiP5Idi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_7"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:04.678840' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 11ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_73@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (50.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_73@example.jp"], ["encrypted_password", "$2a$04$vO1GwchbchbuzF39vALxy.G0Odo4TBuFTMdzTzV4S3x21b87z.r7K"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_73"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:04.763799' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_74@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_74@example.jp"], ["encrypted_password", "$2a$04$hBblFsVKW9NDEMnXDPFbbONGaM0ut4.T90.uMwE4nPgZgt8YIksoG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_74"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:04.778727' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_34' LIMIT 1 SQL (7.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_34"], ["created_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_34"], ["title", "message_template_34"], ["updated_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_34' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_8@example.jp"], ["encrypted_password", "$2a$04$5dp7GOTniDP2V0gaQVZvz.f7lef.7sWLeD5F4UsE1xz9KkPZfmOWS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_8"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:04.818883' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.2ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 9ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_75@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (43.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_75@example.jp"], ["encrypted_password", "$2a$04$F8um0rac3ygTkdIsEB8fLu2shJDga8e8RgOr9irnZgI3KxQ90VYxm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_75"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:04.889690' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_76@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (15.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_76@example.jp"], ["encrypted_password", "$2a$04$04SjqNWHKB.D5UD2OAsGJ.VsUxW1TVC/nzbrEO88Q017/dlLYML2S"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_76"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:04.917596' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_35' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_35"], ["created_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_35"], ["title", "message_template_35"], ["updated_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_35' AND "message_templates"."id" != 9) LIMIT 1 SQL (1.3ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_7@example.jp"], ["encrypted_password", "$2a$04$znppcAZCgg5041h1vMyawOjWM/BRO4Svg5K4g2yGrBaUbkzgFny/S"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_7"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:04.943405' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 16ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_77@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_77@example.jp"], ["encrypted_password", "$2a$04$vCp4knYvsP48awl5fd7KxeZby.KDScYPonGsmH/PV9YCp8jpo1ZIy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_77"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:04.977137' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_78@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (5.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_78@example.jp"], ["encrypted_password", "$2a$04$uHUUbe2xjCzJD3iZmkYeq.JGLykDMA3YdsI41NHUSJVHnv5RRvF7C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_78"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:04.993643' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_36' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_36"], ["created_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_36"], ["title", "message_template_36"], ["updated_at", Sat, 17 Dec 2011 20:45:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.5ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_36' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.9ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:45:05 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:45:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:05 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_8@example.jp"], ["encrypted_password", "$2a$04$9mFW.k2qK2ExXr.31xdxcesP1JXWVdJgiRp1UDs.bfKBf0VEAstf."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:05 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_8"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:05 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:45:05 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:05.081357' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 13ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_79@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (5.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:05 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_79@example.jp"], ["encrypted_password", "$2a$04$iuawlT5p5gn8ybAznexZHOYFuNipECZr07uthtpzcN4QBYD1ve5sK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:05 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_79"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:05 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:05 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:05.123613' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_80@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (23.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:05 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_80@example.jp"], ["encrypted_password", "$2a$04$OafvvlhhQrNtoymA4yVjruRidT0Qe733HBhjY.zIAh/NzZrNJMs6i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:05 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_80"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:05 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:05 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:05.159257' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_37' LIMIT 1 SQL (18.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_37"], ["created_at", Sat, 17 Dec 2011 20:45:05 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_37"], ["title", "message_template_37"], ["updated_at", Sat, 17 Dec 2011 20:45:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_37' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:45:05 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:45:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.9ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_81@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:05 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_81@example.jp"], ["encrypted_password", "$2a$04$I8mysklGPWCTzndWh0tcVudqe05/5/Dy8KeROTmnzo49nhjKwWTHi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:05 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_81"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:05 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:05 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:05.206916' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_82@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:05 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_82@example.jp"], ["encrypted_password", "$2a$04$GYowSodV46lpRUAlmA0l8u8nac.P.onP4s50seUj1wUspVF8ZsmXe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:05 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_82"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:05 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:05 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:05.238141' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_83@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (22.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:05 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_83@example.jp"], ["encrypted_password", "$2a$04$Ufi9igmsLNHPy0r.Ctue1uPlcbxTlL/aNI4wj6naBET.siyrmJrU2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:05 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_83"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:05 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:05 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:05.273620' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_38' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_38"], ["created_at", Sat, 17 Dec 2011 20:45:05 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_38"], ["title", "message_template_38"], ["updated_at", Sat, 17 Dec 2011 20:45:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_38' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:45:05 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:45:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_84@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:05 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_84@example.jp"], ["encrypted_password", "$2a$04$K.UJ1roiTdFLXf1JoKK.m.RgIpU1R9e/fO7bEBvz4yO28seE9hrDy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:05 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_84"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:05 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:05 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:05.309858' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_85@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (46.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:05 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_85@example.jp"], ["encrypted_password", "$2a$04$Aq0xVHTg5pEfNECKl8dQCeXAI.50v7.ayyX4ZYnExozVlzwf/FNaK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:05 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_85"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:05 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:05 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:05.398064' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_86@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:05 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_86@example.jp"], ["encrypted_password", "$2a$04$qIz2CcvntOtYbSTGSgpIUOEzrFOhSHdLm3hCbUJF30Cywm7osaDeu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:05 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_86"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:05 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:05 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:05.415707' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_39' LIMIT 1 SQL (6.1ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_39"], ["created_at", Sat, 17 Dec 2011 20:45:05 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_39"], ["title", "message_template_39"], ["updated_at", Sat, 17 Dec 2011 20:45:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_39' AND "message_templates"."id" != 9) LIMIT 1 SQL (16.6ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:45:05 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:45:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 64ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_87@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:05 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_87@example.jp"], ["encrypted_password", "$2a$04$yeraQYuGi6fuG/Rs2ABTQOeT1X/78Qm/yBkA8D6YGsY8ITtX8DE4q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:05 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_87"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:05 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:05 UTC +00:00], ["user_id", 12]]  (4.4ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:05.570987' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_88@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (24.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:05 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_88@example.jp"], ["encrypted_password", "$2a$04$aiSCwcQrL9xXUUyWlPFO7.BgGmW/sSQna93J/69ROb5zNTOj3go7u"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:05 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_88"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:05 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:05 UTC +00:00], ["user_id", 13]]  (8.8ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:05.611913' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.5ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_40' LIMIT 1 SQL (5.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_40"], ["created_at", Sat, 17 Dec 2011 20:45:05 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_40"], ["title", "message_template_40"], ["updated_at", Sat, 17 Dec 2011 20:45:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.4ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_40' AND "message_templates"."id" != 9) LIMIT 1 SQL (5.0ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:45:05 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:45:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_41' LIMIT 1 SQL (51.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_41"], ["created_at", Sat, 17 Dec 2011 20:45:05 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_41"], ["title", "message_template_41"], ["updated_at", Sat, 17 Dec 2011 20:45:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:05 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_9@example.jp"], ["encrypted_password", "$2a$04$FnsURLjIsw/rnmI/y4b2OOT9mefJ8edWlmtyg1y8spRibE0PkwEZe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:05 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_9"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:05 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:45:05 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:05.728932' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 200 OK in 17ms (Views: 8.5ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position LIMIT 10 OFFSET 0  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_42' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_42"], ["created_at", Sat, 17 Dec 2011 20:45:05 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_42"], ["title", "message_template_42"], ["updated_at", Sat, 17 Dec 2011 20:45:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (18.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:05 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_9@example.jp"], ["encrypted_password", "$2a$04$Im0bLUSva7sxHPyceQgFQ.7YtLx4gLzB3tUJgHlgcU.6QiCMuH2Ya"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:05 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_9"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:05 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:45:05 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:05.870613' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 200 OK in 9ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position LIMIT 10 OFFSET 0  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_43' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_43"], ["created_at", Sat, 17 Dec 2011 20:45:05 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_43"], ["title", "message_template_43"], ["updated_at", Sat, 17 Dec 2011 20:45:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_89@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:05 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_89@example.jp"], ["encrypted_password", "$2a$04$lN./b3jm4Rlg/XI3WJFkSunB0StcAP3hQHZ2EnLC0Iak1V.35.xCa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:05 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_89"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:05 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:05 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:05.906019' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "message_templates" WHERE ('t'='f')  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_44' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_44"], ["created_at", Sat, 17 Dec 2011 20:45:05 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_44"], ["title", "message_template_44"], ["updated_at", Sat, 17 Dec 2011 20:45:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms  (0.1ms) SELECT COUNT(*) FROM "message_templates" WHERE ('t'='f') Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (35.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:05 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_10@example.jp"], ["encrypted_password", "$2a$04$1BCErY7loxRb2xW0CsJwIOgjULmnyJxbGynvuAoYNdJyRdDiygvIK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:05 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_10"]] SQL (2.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:06 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:45:06 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:06.019385' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_45' LIMIT 1 SQL (0.9ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_45"], ["created_at", Sat, 17 Dec 2011 20:45:06 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_45"], ["title", "message_template_45"], ["updated_at", Sat, 17 Dec 2011 20:45:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 200 OK in 14ms (Views: 5.4ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (34.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:06 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_10@example.jp"], ["encrypted_password", "$2a$04$OqCgjtErQzwjtUA13PdOQ.3nrm26YpxSsEMnBX4LQK8V7rQnISVsS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:06 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_10"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:06 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:45:06 UTC +00:00], ["user_id", 12]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:06.163622' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_46' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_46"], ["created_at", Sat, 17 Dec 2011 20:45:06 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_46"], ["title", "message_template_46"], ["updated_at", Sat, 17 Dec 2011 20:45:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 200 OK in 10ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_90@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (44.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:06 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_90@example.jp"], ["encrypted_password", "$2a$04$qcWYs5Z7CO61Pk0PMtiSnOX31IhjlG4/Sd5sVV9T7c5q/cn7sU1zq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:06 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_90"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:06 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:06 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:06.257143' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_47' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_47"], ["created_at", Sat, 17 Dec 2011 20:45:06 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_47"], ["title", "message_template_47"], ["updated_at", Sat, 17 Dec 2011 20:45:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 28ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_48' LIMIT 1 SQL (48.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_48"], ["created_at", Sat, 17 Dec 2011 20:45:06 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_48"], ["title", "message_template_48"], ["updated_at", Sat, 17 Dec 2011 20:45:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:06 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_11@example.jp"], ["encrypted_password", "$2a$04$lkDBBxGP0r8Buo2JmhC7..8jgGyXbtrtDW3/BFnQlfzYFz9wNIUOm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:06 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_11"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:06 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:45:06 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:06.378574' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 8ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (27.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:06 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_11@example.jp"], ["encrypted_password", "$2a$04$FpncfXz2amwivhSLvf1YLe8wkJGAhrLbNZPVxfual9zCm6vLf6zAS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:06 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_11"]] SQL (5.9ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:06 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:45:06 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:06.437571' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_91@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:06 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_91@example.jp"], ["encrypted_password", "$2a$04$TbTwyLn14NFU9cvzptk8IOlvuRJ6vfUiaBxz1d2h0IWfV.nddfHhK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:06 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_91"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:06 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:06 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:06.457984' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Processing by MessageTemplatesController#new as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (25.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:06 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_12@example.jp"], ["encrypted_password", "$2a$04$ysgwr7F1WeBCDoR/lP5wCOJE/adS5Xep323ewCRiJJ9CmcDOVbXNO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:06 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_12"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:06 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:45:06 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:06.525698' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_49' LIMIT 1 SQL (0.8ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_49"], ["created_at", Sat, 17 Dec 2011 20:45:06 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_49"], ["title", "message_template_49"], ["updated_at", Sat, 17 Dec 2011 20:45:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 200 OK in 9ms (Views: 1.6ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (56.8ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (56.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:06 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_12@example.jp"], ["encrypted_password", "$2a$04$bMJhusZB8RqGHhe4IJtDvu3RCMMSiK.wIAV5W671tiAq4ISMgoNFW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:06 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_12"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:06 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:45:06 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:06.747071' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_50' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_50"], ["created_at", Sat, 17 Dec 2011 20:45:06 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_50"], ["title", "message_template_50"], ["updated_at", Sat, 17 Dec 2011 20:45:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_92@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:06 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_92@example.jp"], ["encrypted_password", "$2a$04$g4vdD4Qa8xrVumTSIuo4YeLilChYyONPwey/bofg2UTEt/pOGJ2VW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:06 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_92"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:06 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:06 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:06.790615' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_51' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_51"], ["created_at", Sat, 17 Dec 2011 20:45:06 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_51"], ["title", "message_template_51"], ["updated_at", Sat, 17 Dec 2011 20:45:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_52' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_52"], ["created_at", Sat, 17 Dec 2011 20:45:06 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_52"], ["title", "message_template_52"], ["updated_at", Sat, 17 Dec 2011 20:45:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 5ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:06 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_13@example.jp"], ["encrypted_password", "$2a$04$oMxs8ST0Trq/bTYo1sylJeCtqTwpT7zbByQuTLVqUAWkeyPpSt5a2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:06 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_13"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:06 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:45:06 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:06.826802' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_53", "status"=>"message_template_53", "body"=>"message_template_53"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_53' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:06 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_14@example.jp"], ["encrypted_password", "$2a$04$f99Finf7s3Y3uEM5Hu8qgORUK/jw8VOOxTKrNjBHTjJ7wMJo8ddO2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:06 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_14"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:06 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:45:06 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:06.857323' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_54", "status"=>"message_template_54", "body"=>"message_template_54"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 1.2ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:06 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_15@example.jp"], ["encrypted_password", "$2a$04$XqNSuvwRFEVKVdk.r4.Bl.LM6uRDHSEvqdSmJ.0bDPu165bExw1Ya"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:06 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_15"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:06 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:45:06 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:06.875837' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:06 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_16@example.jp"], ["encrypted_password", "$2a$04$t/XfHcklM3fDrfQ5ErDfzeEtKNb0Ql7Iy/i8MKe9ImfAfKgmzZMdG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:06 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_16"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:06 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:45:06 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:06.895447' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:06 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_13@example.jp"], ["encrypted_password", "$2a$04$7MTOCWZmtJr.3hEx9ROoHe0WaKNh.rIIFJapKonueJoHd1K/WeJYe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:06 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_13"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:06 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:45:06 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:06.912170' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_57", "status"=>"message_template_57", "body"=>"message_template_57"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_57' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (6.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:06 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_14@example.jp"], ["encrypted_password", "$2a$04$QlD7G/RjQ8gt/4XZI50adOwVZWCMpZR6fcNbVvUUQNvRNR5c0YGtu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:06 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_14"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:06 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:45:06 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:06.973506' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_58", "status"=>"message_template_58", "body"=>"message_template_58"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (44.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:06 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_15@example.jp"], ["encrypted_password", "$2a$04$OJh9rQAJFmSaYzgSYR95we9b5cW.CsuaSX4llW2DohGLExffmuLgm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:06 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_15"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:07 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:45:07 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:07.036954' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (42.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:07 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_16@example.jp"], ["encrypted_password", "$2a$04$C7k5uutUZAqkQg1ol9nE6eIV0OsVNqONeB0eTNXaG9miQ84yi.WTq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:07 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_16"]] SQL (5.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:07 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:45:07 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:07.109397' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_93@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (14.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:07 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_93@example.jp"], ["encrypted_password", "$2a$04$FivIhCM/qgpW1MDFoRzQ7.a/sTb49DRsJsZfHN9amTXai98NYiPIm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:07 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_93"]] SQL (0.6ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:07 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:07 UTC +00:00], ["user_id", 12]]  (31.5ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:07.145484' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_61", "status"=>"message_template_61", "body"=>"message_template_61"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_61' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_94@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (44.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:07 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_94@example.jp"], ["encrypted_password", "$2a$04$5rOmA42.phEbtfaQzjxgVebV4NWhND85pW2B4hB8pqLxoxtzEamTK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:07 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_94"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:07 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:07 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:07.240817' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_62", "status"=>"message_template_62", "body"=>"message_template_62"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_95@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:07 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_95@example.jp"], ["encrypted_password", "$2a$04$xQBS4UpOD/vLprJnSkrWkOjDipJpfeNEVe4AjXHAJAVHZQl22MHBG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:07 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_95"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:07 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:07 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:07.259964' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_96@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:07 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_96@example.jp"], ["encrypted_password", "$2a$04$zXysB7auzQqgnFPCyT7UIeqMR3yn8LcEX5TKQQqZnlQgKVpL408ne"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:07 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_96"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:07 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:07 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:07.279166' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_65", "status"=>"message_template_65", "body"=>"message_template_65"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 5ms MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_65' LIMIT 1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_66", "status"=>"message_template_66", "body"=>"message_template_66"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 53ms Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 5ms MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_69' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_69"], ["created_at", Sat, 17 Dec 2011 20:45:07 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_69"], ["title", "message_template_69"], ["updated_at", Sat, 17 Dec 2011 20:45:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:07 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_17@example.jp"], ["encrypted_password", "$2a$04$B7CxhxPdDMMEEllIucNRmeOaZ0p5ONwoU.j11uBx.zWZM6QfBl2oq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:07 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_17"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:07 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:45:07 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:07.418809' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_70", "status"=>"message_template_70", "body"=>"message_template_70"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_70' AND "message_templates"."id" != 9) LIMIT 1  (0.2ms) UPDATE "message_templates" SET "title" = 'message_template_70', "status" = 'message_template_70', "body" = 'message_template_70', "updated_at" = '2011-12-17 20:45:07.435787' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates/9 Completed 302 Found in 26ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_71' LIMIT 1 SQL (50.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_71"], ["created_at", Sat, 17 Dec 2011 20:45:07 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_71"], ["title", "message_template_71"], ["updated_at", Sat, 17 Dec 2011 20:45:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (6.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:07 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_18@example.jp"], ["encrypted_password", "$2a$04$1SqD/ONoZdPpIL2t4t7kQOkB/Eki2WHvZU7pAHTLmxoBvgbFiB3ha"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:07 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_18"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:07 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:45:07 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:07.557309' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_72", "status"=>"message_template_72", "body"=>"message_template_72"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_72' AND "message_templates"."id" != 9) LIMIT 1  (0.2ms) UPDATE "message_templates" SET "title" = 'message_template_72', "status" = 'message_template_72', "body" = 'message_template_72', "updated_at" = '2011-12-17 20:45:07.571690' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates/9 Completed 302 Found in 14ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_73' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_73"], ["created_at", Sat, 17 Dec 2011 20:45:07 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_73"], ["title", "message_template_73"], ["updated_at", Sat, 17 Dec 2011 20:45:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:07 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_19@example.jp"], ["encrypted_password", "$2a$04$NZ6zpXYTe7IxYsV7lSNvHOHFtXq/gy.kjNiSbKvU7xl9job0pFss."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:07 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_19"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:07 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:45:07 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:07.644041' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_74", "status"=>"message_template_74", "body"=>"message_template_74"}, "position"=>"2", "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "message_templates" SET "position" = 0, "updated_at" = '2011-12-17 20:45:07.656462' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "message_templates" SET position = (position - 1) WHERE "message_templates"."id" IN (SELECT "message_templates"."id" FROM "message_templates" WHERE (1 = 1 AND position > 9) ORDER BY position) SQL (0.3ms) UPDATE "message_templates" SET position = (position + 1) WHERE "message_templates"."id" IN (SELECT "message_templates"."id" FROM "message_templates" WHERE (1 = 1 AND position >= 2) ORDER BY position)  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "message_templates" SET "position" = 2, "updated_at" = '2011-12-17 20:45:07.666750' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates Completed 302 Found in 21ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_75' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_75"], ["created_at", Sat, 17 Dec 2011 20:45:07 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_75"], ["title", "message_template_75"], ["updated_at", Sat, 17 Dec 2011 20:45:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:07 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_20@example.jp"], ["encrypted_password", "$2a$04$0YCRiA8/TAqiq10FlRAKQuVe59sdf2ra0KWvUfRpew6ZAEGv7QCpW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:07 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_20"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:07 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:45:07 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:07.687982' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = '' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 48ms (Views: 1.1ms | ActiveRecord: 0.0ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_77' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_77"], ["created_at", Sat, 17 Dec 2011 20:45:07 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_77"], ["title", "message_template_77"], ["updated_at", Sat, 17 Dec 2011 20:45:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (73.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:07 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_17@example.jp"], ["encrypted_password", "$2a$04$cIjR3ylfUH4/H3dVoml.9OBIbZ1xHUFZRGI1uh4Q2ZGnOJfaHwuj6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:07 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_17"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:07 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:45:07 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:07.838321' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_78", "status"=>"message_template_78", "body"=>"message_template_78"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 18ms (Views: 1.9ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_79' LIMIT 1 SQL (3.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_79"], ["created_at", Sat, 17 Dec 2011 20:45:07 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_79"], ["title", "message_template_79"], ["updated_at", Sat, 17 Dec 2011 20:45:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:07 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_18@example.jp"], ["encrypted_password", "$2a$04$zmrwl5FsROQz7/Akgu7EvOn/GbmNjAuax5.Ef1ZmHasgAUOAy6guq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:07 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_18"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:07 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:45:07 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:07.890334' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_80", "status"=>"message_template_80", "body"=>"message_template_80"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_81' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_81"], ["created_at", Sat, 17 Dec 2011 20:45:07 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_81"], ["title", "message_template_81"], ["updated_at", Sat, 17 Dec 2011 20:45:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:07 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_19@example.jp"], ["encrypted_password", "$2a$04$i38A7Z3jX2Z.4AkMKvOOjew.CbOHVOzR9TGwccrLWTofm5r9MI.jW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:07 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_19"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:07 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:45:07 UTC +00:00], ["user_id", 12]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:07.948052' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_83' LIMIT 1 SQL (27.9ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_83"], ["created_at", Sat, 17 Dec 2011 20:45:07 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_83"], ["title", "message_template_83"], ["updated_at", Sat, 17 Dec 2011 20:45:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_97@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_97@example.jp"], ["encrypted_password", "$2a$04$Bf7NWFCB6sTp9w3pYUME8O2QA2nQ2lPwJWGNef1mM8uUkPhI4iGLW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:08 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_97"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:08 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:08 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:08.024618' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_84", "status"=>"message_template_84", "body"=>"message_template_84"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_85' LIMIT 1 SQL (1.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_85"], ["created_at", Sat, 17 Dec 2011 20:45:08 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_85"], ["title", "message_template_85"], ["updated_at", Sat, 17 Dec 2011 20:45:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_98@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_98@example.jp"], ["encrypted_password", "$2a$04$kdSgPrm864wgTUTd5oMUWODn2NRWqB5.VIG9bEnt3q.UjYc4Qyqqm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:08 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_98"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:08 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:08 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:08.062607' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_86", "status"=>"message_template_86", "body"=>"message_template_86"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_87' LIMIT 1 SQL (3.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_87"], ["created_at", Sat, 17 Dec 2011 20:45:08 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_87"], ["title", "message_template_87"], ["updated_at", Sat, 17 Dec 2011 20:45:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_99@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (25.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_99@example.jp"], ["encrypted_password", "$2a$04$HpXRyiMd/DYOt//wI8zAKuQ5v0YLW7PySdWavA2RCfpAJGn7NLdR6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:08 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_99"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:08 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:08 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:08.202857' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_89' LIMIT 1 SQL (55.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_89"], ["created_at", Sat, 17 Dec 2011 20:45:08 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_89"], ["title", "message_template_89"], ["updated_at", Sat, 17 Dec 2011 20:45:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_90", "status"=>"message_template_90", "body"=>"message_template_90"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_91' LIMIT 1 SQL (37.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_91"], ["created_at", Sat, 17 Dec 2011 20:45:08 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_91"], ["title", "message_template_91"], ["updated_at", Sat, 17 Dec 2011 20:45:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_92", "status"=>"message_template_92", "body"=>"message_template_92"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 67ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_93' LIMIT 1 SQL (47.8ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_93"], ["created_at", Sat, 17 Dec 2011 20:45:08 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_93"], ["title", "message_template_93"], ["updated_at", Sat, 17 Dec 2011 20:45:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_95' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_95"], ["created_at", Sat, 17 Dec 2011 20:45:08 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_95"], ["title", "message_template_95"], ["updated_at", Sat, 17 Dec 2011 20:45:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (24.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_21@example.jp"], ["encrypted_password", "$2a$04$DqBiN5VVC0Bp1odjPlrOGen32Cbic5CkrHQ2EPf1zFHlH/y0Je.s2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:08 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_21"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:08 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:45:08 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:08.533564' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_96' LIMIT 1 SQL (4.9ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_96"], ["created_at", Sat, 17 Dec 2011 20:45:08 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_96"], ["title", "message_template_96"], ["updated_at", Sat, 17 Dec 2011 20:45:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (17.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_22@example.jp"], ["encrypted_password", "$2a$04$j1AdG.kcqFDTNw2sgTnLZOTd9f0e3ozVkn35NgbTeCC/mxUVCDiei"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:08 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_22"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:08 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:45:08 UTC +00:00], ["user_id", 12]]  (3.5ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:08.628828' WHERE "roles"."id" = 4  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_97' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_97"], ["created_at", Sat, 17 Dec 2011 20:45:08 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_97"], ["title", "message_template_97"], ["updated_at", Sat, 17 Dec 2011 20:45:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_20@example.jp"], ["encrypted_password", "$2a$04$MaDXrM9MqYxWqVmJIHGSO.cvh9qCJ/4rkimcrBREhF5BkrVAKbpme"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:08 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_20"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:08 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:45:08 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:08.672075' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 27ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_98' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_98"], ["created_at", Sat, 17 Dec 2011 20:45:08 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_98"], ["title", "message_template_98"], ["updated_at", Sat, 17 Dec 2011 20:45:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (35.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_21@example.jp"], ["encrypted_password", "$2a$04$c2/wxyJb7J2krkDua45wb.2t.eFLtg25O2GLB2HT7XH2zjBJZ6bXi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:08 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_21"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:08 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:45:08 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:08.789208' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_99' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_99"], ["created_at", Sat, 17 Dec 2011 20:45:08 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_99"], ["title", "message_template_99"], ["updated_at", Sat, 17 Dec 2011 20:45:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_100@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (40.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_100@example.jp"], ["encrypted_password", "$2a$04$nrChlW9akqaNPyw62Uj2.uMEnCOM1C2g5GWCOkP/XtI7CTQGEI6Ym"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:08 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_100"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:08 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:08 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:08.862786' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_100' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_100"], ["created_at", Sat, 17 Dec 2011 20:45:08 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_100"], ["title", "message_template_100"], ["updated_at", Sat, 17 Dec 2011 20:45:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_101@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_101@example.jp"], ["encrypted_password", "$2a$04$bwoxxcdihO/q1nqzmV2lIOtVgNAMwY7f5t2wtPbvruOQAsriqAa8W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:08 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_101"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:08 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:08 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:08.896158' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_101' LIMIT 1 SQL (30.1ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_101"], ["created_at", Sat, 17 Dec 2011 20:45:08 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_101"], ["title", "message_template_101"], ["updated_at", Sat, 17 Dec 2011 20:45:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 88ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_102' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_102"], ["created_at", Sat, 17 Dec 2011 20:45:09 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_102"], ["title", "message_template_102"], ["updated_at", Sat, 17 Dec 2011 20:45:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (1.7ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_23@example.jp"], ["encrypted_password", "$2a$04$tXG4nI80Xco5bgRg04wPvO1I0jRa4BoztaoJcD4YwVziUV17y3p7G"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_23"]] SQL (7.4ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:10 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:45:10 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:10.433683' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 SOLR Request (3.2ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A12&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (2.4ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A12&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 26ms (Views: 4.7ms | ActiveRecord: 0.2ms | Solr: 5.6ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_24@example.jp"], ["encrypted_password", "$2a$04$sVEZZC8RMIl5FVNZDUIKIOZXtLRoT1MaQXt.6Up6QU4cZr6cTMJs."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_24"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:10 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:45:10 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:10.474116' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML Parameters: {"user_id"=>"admin_24"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'admin_24' LIMIT 1 SOLR Request (3.4ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A12&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (2.4ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A12&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 14ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 5.8ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_22@example.jp"], ["encrypted_password", "$2a$04$SAsvdik9Fe/6GZquhKZ73eyeVL/lzhdOCBjYuYT5KPAuVhr5k3K3e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_22"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:10 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:45:10 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:10.507604' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 SOLR Request (2.2ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A12&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (2.0ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A12&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 13ms (Views: 1.0ms | ActiveRecord: 0.3ms | Solr: 4.2ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_23@example.jp"], ["encrypted_password", "$2a$04$/9xwM2CbA18BSrC44dmMwuYh8PCE5WN1cU7avRHMTqVAW3ri5vPfy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_23"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:10 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:45:10 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:10.564099' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML Parameters: {"user_id"=>"librarian_23"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'librarian_23' LIMIT 1 SOLR Request (49.9ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A12&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (2.6ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A12&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 60ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 52.6ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 SOLR Request (2.4ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (2.3ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IN (2) Completed 200 OK in 26ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 4.7ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML Parameters: {"query"=>"you"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 SOLR Request (2.7ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&q=you&fl=%2A+score&qf=body_text+subject_text&defType=dismax&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (2.5ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&q=you&fl=%2A+score&qf=body_text+subject_text&defType=dismax&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IN (2) Completed 200 OK in 14ms (Views: 1.2ms | ActiveRecord: 0.4ms | Solr: 5.2ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 SOLR Request (2.7ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (2.0ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IN (2) Completed 200 OK in 21ms (Views: 1.0ms | ActiveRecord: 0.5ms | Solr: 4.7ms) Processing by MessagesController#index as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 3ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 18ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.8ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#show as HTML Parameters: {"id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 3 AND "messages"."id" = ? LIMIT 1 [["id", "2"]]  (0.0ms) SAVEPOINT active_record_1  (17.8ms) UPDATE "messages" SET "read_at" = '2011-12-17 20:45:10.753337', "updated_at" = '2011-12-17 20:45:10.753616' WHERE "messages"."id" = 2 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1  (2.2ms) UPDATE "messages" SET "state" = 'read', "updated_at" = '2011-12-17 20:45:10.820131' WHERE "messages"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 83ms (Views: 1.6ms | ActiveRecord: 20.7ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.1ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (6.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_25@example.jp"], ["encrypted_password", "$2a$04$roWg0q5plGkTyRrBqJX.yetHgS4FGal1Z4cPngIZRNnGorQudSraS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_25"]] SQL (2.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:10 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:45:10 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:10.883987' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 Completed 200 OK in 13ms (Views: 2.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_24@example.jp"], ["encrypted_password", "$2a$04$.C591pU15iermenBLsoahOLnhYI.jodEPUka75OduRjk9UNvD..fS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_24"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:10 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:45:10 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:10.910787' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 Completed 200 OK in 9ms (Views: 1.0ms | ActiveRecord: 0.4ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 1.0ms | ActiveRecord: 0.2ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML Parameters: {"parent_id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML Parameters: {"parent_id"=>"2"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Processing by MessagesController#new as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 47ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_26@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_26@example.jp"], ["encrypted_password", "$2a$04$xg3hirQ6ruTimevqcT/JHeb8oEDmVO0ae5CdcNCAVdMhAH1S1q0G."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_26"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:11 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:45:11 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:11.055945' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 12 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 9ms (Views: 0.9ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (32.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_25@example.jp"], ["encrypted_password", "$2a$04$BA1RJuwEYewuA7bzLot8jOPrTWBwjBgwMekXZFFh2vb7DoLv1ZjXK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_25"]] SQL (24.4ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:11 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:45:11 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:11.153892' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 0.9ms | ActiveRecord: 0.4ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_102@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (29.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_102@example.jp"], ["encrypted_password", "$2a$04$A25kzcPnFSCEEwwK47EXbeu2wq/CYjc3sTK8TWlJmsJOQzCj9M.im"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_102"]] SQL (2.8ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:11 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:11 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:11.232934' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_103@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (13.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_103@example.jp"], ["encrypted_password", "$2a$04$Mhz.5IMe/YuAQI/ol22X/u11t/y3RqI.PRSTsJKjOU03xJwgCk19S"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_103"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:11 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:11 UTC +00:00], ["user_id", 13]]  (18.4ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:11.256253' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user_102' LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" ORDER BY "rgt" desc LIMIT 1 SQL (7.7ms) INSERT INTO "messages" ("body", "created_at", "lft", "message_request_id", "parent_id", "read_at", "receiver_id", "rgt", "sender_id", "state", "subject", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "new message body is really short"], ["created_at", Sat, 17 Dec 2011 20:45:11 UTC +00:00], ["lft", 9], ["message_request_id", nil], ["parent_id", nil], ["read_at", nil], ["receiver_id", 12], ["rgt", 10], ["sender_id", 13], ["state", "unread"], ["subject", "new message"], ["updated_at", Sat, 17 Dec 2011 20:45:11 UTC +00:00]] SQL (5.0ms) INSERT INTO "delayed_jobs" ("attempts", "created_at", "failed_at", "handler", "last_error", "locked_at", "locked_by", "priority", "run_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attempts", 0], ["created_at", Sat, 17 Dec 2011 20:45:11 UTC +00:00], ["failed_at", nil], ["handler", "--- !ruby/struct:Delayed::PerformableMailer \nobject: !ruby/class Notifier\nmethod_name: :message_notification\nargs: \n- !ruby/ActiveRecord:Message \n attributes: \n id: 8\n read_at: \n receiver_id: 12\n sender_id: 13\n subject: new message\n body: new message body is really short\n message_request_id: \n state: unread\n parent_id: \n created_at: &id001 2011-12-17 20:45:11.278155 Z\n updated_at: *id001\n lft: 9\n rgt: 10\n"], ["last_error", nil], ["locked_at", nil], ["locked_by", nil], ["priority", 0], ["run_at", Sat, 17 Dec 2011 20:45:11 UTC +00:00], ["updated_at", Sat, 17 Dec 2011 20:45:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#edit as HTML Parameters: {"id"=>"8"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "8"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 49ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_27@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_27@example.jp"], ["encrypted_password", "$2a$04$17xHwXA1BDi6aRHxJ.Cs0.dvMHDfpWyB1a1uaIAV/hcZMaoeAZuOi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_27"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:11 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:45:11 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:11.373086' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user1", "subject"=>"test", "body"=>"test"}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user1' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user1' LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" ORDER BY "rgt" desc LIMIT 1 SQL (1.2ms) INSERT INTO "messages" ("body", "created_at", "lft", "message_request_id", "parent_id", "read_at", "receiver_id", "rgt", "sender_id", "state", "subject", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "test"], ["created_at", Sat, 17 Dec 2011 20:45:11 UTC +00:00], ["lft", 9], ["message_request_id", nil], ["parent_id", nil], ["read_at", nil], ["receiver_id", 3], ["rgt", 10], ["sender_id", 12], ["state", "unread"], ["subject", "test"], ["updated_at", Sat, 17 Dec 2011 20:45:11 UTC +00:00]] SQL (21.7ms) INSERT INTO "delayed_jobs" ("attempts", "created_at", "failed_at", "handler", "last_error", "locked_at", "locked_by", "priority", "run_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attempts", 0], ["created_at", Sat, 17 Dec 2011 20:45:11 UTC +00:00], ["failed_at", nil], ["handler", "--- !ruby/struct:Delayed::PerformableMailer \nobject: !ruby/class Notifier\nmethod_name: :message_notification\nargs: \n- !ruby/ActiveRecord:Message \n attributes: \n id: 8\n read_at: \n receiver_id: 3\n sender_id: 12\n subject: test\n body: test\n message_request_id: \n state: unread\n parent_id: \n created_at: &id001 2011-12-17 20:45:11.387258 Z\n updated_at: *id001\n lft: 9\n rgt: 10\n"], ["last_error", nil], ["locked_at", nil], ["locked_by", nil], ["priority", 0], ["run_at", Sat, 17 Dec 2011 20:45:11 UTC +00:00], ["updated_at", Sat, 17 Dec 2011 20:45:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/messages Completed 302 Found in 40ms User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_28@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (38.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_28@example.jp"], ["encrypted_password", "$2a$04$.C.k1NWtLQLxh7YrJmsfHOJBXgU8aK92znYUDgr9kDnIj0napSfue"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_28"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:11 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:45:11 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:11.468704' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user1", "subject"=>"test", "body"=>"test"}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user1' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user1' LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" ORDER BY "rgt" desc LIMIT 1 SQL (10.0ms) INSERT INTO "messages" ("body", "created_at", "lft", "message_request_id", "parent_id", "read_at", "receiver_id", "rgt", "sender_id", "state", "subject", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "test"], ["created_at", Sat, 17 Dec 2011 20:45:11 UTC +00:00], ["lft", 9], ["message_request_id", nil], ["parent_id", nil], ["read_at", nil], ["receiver_id", 3], ["rgt", 10], ["sender_id", 12], ["state", "unread"], ["subject", "test"], ["updated_at", Sat, 17 Dec 2011 20:45:11 UTC +00:00]] SQL (1.6ms) INSERT INTO "delayed_jobs" ("attempts", "created_at", "failed_at", "handler", "last_error", "locked_at", "locked_by", "priority", "run_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attempts", 0], ["created_at", Sat, 17 Dec 2011 20:45:11 UTC +00:00], ["failed_at", nil], ["handler", "--- !ruby/struct:Delayed::PerformableMailer \nobject: !ruby/class Notifier\nmethod_name: :message_notification\nargs: \n- !ruby/ActiveRecord:Message \n attributes: \n id: 8\n read_at: \n receiver_id: 3\n sender_id: 12\n subject: test\n body: test\n message_request_id: \n state: unread\n parent_id: \n created_at: &id001 2011-12-17 20:45:11.486046 Z\n updated_at: *id001\n lft: 9\n rgt: 10\n"], ["last_error", nil], ["locked_at", nil], ["locked_by", nil], ["priority", 0], ["run_at", Sat, 17 Dec 2011 20:45:11 UTC +00:00], ["updated_at", Sat, 17 Dec 2011 20:45:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/messages Completed 302 Found in 30ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_29@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (22.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_29@example.jp"], ["encrypted_password", "$2a$04$bWmg/qEEsuUp7YogoDkOh.KuSuUJSy6I1zo/Jvu9t0EdeNzB7hNIK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_29"]] SQL (4.7ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:11 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:45:11 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:11.571331' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user1", "subject"=>"test", "body"=>""}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user1' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 14ms (Views: 1.0ms | ActiveRecord: 0.6ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_30@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (29.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_30@example.jp"], ["encrypted_password", "$2a$04$85gnFVZtP.OSSdMuerNwDekCdn2bOZDM5mqueBOUOwNP0bSaNYtW2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_30"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:11 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:45:11 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:11.634503' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user1", "subject"=>"test", "body"=>""}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user1' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 13ms (Views: 1.2ms | ActiveRecord: 0.7ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test", "parent_id"=>"2"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user2' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user2' LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" ORDER BY "rgt" desc LIMIT 1 SQL (17.8ms) INSERT INTO "messages" ("body", "created_at", "lft", "message_request_id", "parent_id", "read_at", "receiver_id", "rgt", "sender_id", "state", "subject", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "test"], ["created_at", Sat, 17 Dec 2011 20:45:11 UTC +00:00], ["lft", 9], ["message_request_id", nil], ["parent_id", 2], ["read_at", nil], ["receiver_id", 5], ["rgt", 10], ["sender_id", 2], ["state", "unread"], ["subject", "test"], ["updated_at", Sat, 17 Dec 2011 20:45:11 UTC +00:00]] Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? ORDER BY "lft" LIMIT 1 [["id", 2]] Message Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 8]] SQL (0.6ms) UPDATE "messages" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 8 THEN 2 ELSE "parent_id" END WHERE "messages"."id" IN (SELECT "messages"."id" FROM "messages" ORDER BY "lft") Message Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 2]] Message Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/messages Completed 302 Found in 37ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test", "parent_id"=>"2"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user1", "subject"=>"test", "body"=>"test"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 64ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user1", "subject"=>"test", "body"=>"test"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user1", "subject"=>"test", "body"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user1", "subject"=>"test", "body"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_104@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (22.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_104@example.jp"], ["encrypted_password", "$2a$04$AHa3p/N5t/olsFdJ5UqUgOzIqP/hoEtb1.igcrd8Kv2nUlBHjF8eW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_104"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:11 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:11 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:11.864517' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_105@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (20.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_105@example.jp"], ["encrypted_password", "$2a$04$yS2xIXW2RUqWENEaWo9H9eNAVM1StCcLZyQECSX25MiXKIAX0qnWO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_105"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:11 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:11 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:11.895599' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_104", "sender_id"=>"13", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 9ms (Views: 0.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_106@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_106@example.jp"], ["encrypted_password", "$2a$04$Qlh7N8C2a9cj.IJoWVdGCONtkxt8AXw/Sv0s7wBzbuLLFEV.GOMn6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_106"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:11 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:11 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:11.971532' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_107@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (28.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_107@example.jp"], ["encrypted_password", "$2a$04$Cqk21EucmqgONOGAn9hUxOzdfcc5rznNGLz2gq1Wpt8KTRaWIgmhq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_107"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:12 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:12 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:12.011194' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_106", "sender_id"=>"13", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 24ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_108@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_108@example.jp"], ["encrypted_password", "$2a$04$eFpjJZmklZDW5WR7NT2SNuknYnxFNxMgZ1h5FN4woj9OYAr1kUPjy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_108"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:12 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:12 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:12.059293' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_109@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_109@example.jp"], ["encrypted_password", "$2a$04$S86ZgmsciEkm1DftrLGdoOS7ebWdV38mue6THM80fkH4WX5uGbvp6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_109"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:12 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:12 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:12.073272' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 11ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_110@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_110@example.jp"], ["encrypted_password", "$2a$04$EDr41ALRS5ZWTHncrEhe7ejA2jkF5Z4rMYaWHRb28FfFggJGHliG."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_110"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:12 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:12 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:12.103746' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_111@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (60.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_111@example.jp"], ["encrypted_password", "$2a$04$pZ5SXbp0eA0HBvlWLERTluSDaun2XIKu10mUnko7RgDu3VGSaPjw6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_111"]] SQL (8.6ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:12 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:12 UTC +00:00], ["user_id", 13]]  (0.3ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:12.184011' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 10ms (Views: 1.1ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_112@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_112@example.jp"], ["encrypted_password", "$2a$04$EkhuhkX1lSLgWjuu5N53neoovdrrF/Eu9e6dR83vLKMWjffrhy.PS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_112"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:12 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:12 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:12.229520' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_113@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_113@example.jp"], ["encrypted_password", "$2a$04$9hrkTT7oRfuHy1Fi7QlRD.5k.tGmh.fB96PLVuD4X3JyalOP0SdRu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_113"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:12 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:12 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:12.241933' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_112", "sender_id"=>"13", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.2ms | ActiveRecord: 0.7ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_114@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (11.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_114@example.jp"], ["encrypted_password", "$2a$04$rbDMUqcbG5buXrSfDk.vr.dhb0fSTT1L63.ZtT9zfugHFQnt/mo/S"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_114"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:12 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:12 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:12.348961' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_115@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (19.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_115@example.jp"], ["encrypted_password", "$2a$04$9/NJLv2WWCZiXMgz47uVruoLLuy5AdKzHNUBwrTF7LPth8eWb6Pmq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_115"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:12 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:12 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:12.379715' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_114", "sender_id"=>"13", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_116@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_116@example.jp"], ["encrypted_password", "$2a$04$i3UaeMiFKI73BSRmb8mqQ.P5dd5jBKAerR1ydXHoyy6N6G7ZTEOiC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_116"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:12 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:12 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:12.420147' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_117@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_117@example.jp"], ["encrypted_password", "$2a$04$CytkzvjwI8dYJsafY.1uk.u.vhWhbdWNcePf4x7FpLWzOY/OtMLk2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_117"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:12 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:12 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:12.434079' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_118@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (19.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_118@example.jp"], ["encrypted_password", "$2a$04$/0lQ0TWM3k39dM7a0MB00.ryrA/UOJQ5jZCGuLxCaS50ARvOwSvQC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_118"]] SQL (3.7ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:12 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:12 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:12.491031' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_119@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (27.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_119@example.jp"], ["encrypted_password", "$2a$04$CGrwAN3hEkL6innghJqjRulMDJuqyx7WQiG67de9em9UuZYVI5WcO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_119"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:12 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:12 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:12.531432' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 82ms (Views: 1.4ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_120@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (32.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_120@example.jp"], ["encrypted_password", "$2a$04$N.inkB68UhNb6sPVRLjwkuRWSD36DxWN4eKdqCzukRHc8z67zc/mu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_120"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:12 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:12 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:12.670132' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_121@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_121@example.jp"], ["encrypted_password", "$2a$04$KBFdkl0mFgDTr394HJKYf.iZpLk13HbBQLa6jsR5W72THXhEFj0YO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_121"]] SQL (0.8ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:12 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:12 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:12.689546' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_122@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_122@example.jp"], ["encrypted_password", "$2a$04$PsWxR3txNJhbhZbhLarRC.jc1CgN/xE2XBrhmwdBcgpe6MBcuZ7wK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_122"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:12 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:12 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:12.730000' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_123@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_123@example.jp"], ["encrypted_password", "$2a$04$dQFvo0ldVCejnw0xBFigEu4Y4qf6MH3lzjQ62rX5YBxRGdPOTZ3OK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_123"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:12 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:12 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:12.745290' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 14ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_124@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (44.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_124@example.jp"], ["encrypted_password", "$2a$04$9li6OzeXGYLdTsdzFvAzG.EWygNzd.Czg0hvFBWIG5y3e7sJui1F2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_124"]] SQL (16.9ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:12 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:12 UTC +00:00], ["user_id", 12]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:12.850495' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_125@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (19.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_125@example.jp"], ["encrypted_password", "$2a$04$OMY2h/4mDiNKgcy0i.VDRuXYmJC3OHLqMCdwxDeSV9zorlQkUKp3m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_125"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:12 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:12 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:12.881677' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_124", "sender_id"=>"13", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 13ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_126@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_126@example.jp"], ["encrypted_password", "$2a$04$qzIXYTeBx7QW7C1hl9AgrO0v/IlPRglwXW116NbGoNNL/XGQt/vLK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_126"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:12 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:12 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:12.924347' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_127@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_127@example.jp"], ["encrypted_password", "$2a$04$r1mgt1lOjb3epeo4uz0j3OFvplCA9IWEdlgMnjvKTdADiPrm1p.r."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_127"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:12 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:12 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:12.938471' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_126", "sender_id"=>"13", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_128@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (70.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_128@example.jp"], ["encrypted_password", "$2a$04$xniVM90CohVSWm3SbxCFfeHY1xQ/FgaG.90w1QZWxiinb81HLaJ6K"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_128"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:13 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:13.041440' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_129@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (16.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_129@example.jp"], ["encrypted_password", "$2a$04$pXuSCJ6LlD99ztUsbcDnKuyfSV.1MEax3Lhw0Ykxd53ZrvFB.Oczu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_129"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:13 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:13.069363' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_130@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (5.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_130@example.jp"], ["encrypted_password", "$2a$04$oj1YjrCvaF9etW/GbjuW2uE/3r1u/q6yGONSBygsv0p2p2QA4KGuq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_130"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:13 UTC +00:00], ["user_id", 12]]  (0.8ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:13.125445' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_131@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (21.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_131@example.jp"], ["encrypted_password", "$2a$04$MyMAiFOcMF3S0uUTFFlPs.9VMPLLEcKSDrnH//wS44IYjb3aZrYvG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_131"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:13 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:13.161522' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_132@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (35.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_132@example.jp"], ["encrypted_password", "$2a$04$yTA1TbJrRRSTup.v.FIct.Gn9kxxh0GjSoSvnDSrdyyMD2A1hqsna"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_132"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:13 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:13.230389' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_133@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (11.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_133@example.jp"], ["encrypted_password", "$2a$04$HUyiynIsKka9vmnvXXohM.jI.QyPK3jQZaeCtiMfLZkGi3RL0lysa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:45:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_133"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:45:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:45:13 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:45:13.254570' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 8ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#destroy as HTML Parameters: {"id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 3 AND "messages"."id" = ? LIMIT 1 [["id", "2"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "messages" WHERE ("lft" > 3 AND "rgt" < 4) SQL (29.2ms) UPDATE "messages" SET "lft" = ("lft" - 2) WHERE "messages"."id" IN (SELECT "messages"."id" FROM "messages" WHERE ("lft" > 4) ORDER BY "lft") SQL (6.4ms) UPDATE "messages" SET "rgt" = ("rgt" - 2) WHERE "messages"."id" IN (SELECT "messages"."id" FROM "messages" WHERE ("rgt" > 4) ORDER BY "lft") SQL (0.2ms) DELETE FROM "messages" WHERE "messages"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/messages Completed 302 Found in 51ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 9ms Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms LibraryGroup Load (3.5ms) SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]] LibraryGroup Load (0.1ms) SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]] Fixture Delete (0.4ms) DELETE FROM "library_groups" Fixture Insert (0.2ms) INSERT INTO "library_groups" ("id", "name", "display_name", "short_name", "email", "note", "my_networks", "url", "created_at", "updated_at") VALUES (1, 'unknown', 'unknown', 'unknown', 'next-l@library.example.jp', NULL, '0.0.0.0/0', 'http://localhost:3000/', '2011-12-17 20:53:55', '2011-12-17 20:53:55') Fixture Delete (0.1ms) DELETE FROM "message_requests" Fixture Insert (0.1ms) INSERT INTO "message_requests" ("sender_id", "receiver_id", "message_template_id", "state", "created_at", "updated_at", "id") VALUES (1, 1, 1, 'pending', '2011-12-17 20:53:55', '2011-12-17 20:53:55', 980190962) Fixture Insert (0.2ms) INSERT INTO "message_requests" ("sender_id", "receiver_id", "message_template_id", "state", "created_at", "updated_at", "id") VALUES (1, 1, 1, 'pending', '2011-12-17 20:53:55', '2011-12-17 20:53:55', 298486374) Fixture Delete (0.1ms) DELETE FROM "message_templates" Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (1, 'reservation_accepted', 'Reservation accepted', 'Reservation accepted', 1, '2011-12-17 20:53:56', '2011-12-17 20:53:56') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (2, 'item_received', 'Item received', 'Item received', 2, '2011-12-17 20:53:56', '2011-12-17 20:53:56') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (3, 'reservation_expired_for_patron', 'Reservation expired', 'Reservation expired', 3, '2011-12-17 20:53:56', '2011-12-17 20:53:56') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (4, 'reservation_expired_for_library', 'Reservation expired', 'Reservation expired', 4, '2011-12-17 20:53:56', '2011-12-17 20:53:56') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (5, 'reservation_canceled_for_patron', 'Reservation canceled', 'Reservation canceled', 5, '2011-12-17 20:53:56', '2011-12-17 20:53:56') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (6, 'reservation_canceled_for_library', 'Reservation canceled', 'Reservation canceled', 6, '2011-12-17 20:53:56', '2011-12-17 20:53:56') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (7, 'recall_item', 'Recall item', 'Recall item', 7, '2011-12-17 20:53:56', '2011-12-17 20:53:56') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (8, 'recall_overdue_item', 'Recall overdue item', 'Recall overdue item', 8, '2011-12-17 20:53:56', '2011-12-17 20:53:56') Fixture Delete (0.3ms) DELETE FROM "messages" Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "read_at", "state", "lft", "rgt", "updated_at") VALUES (1, 3, 4, 'First Message', 'Abby, you get the first message', '2007-07-04 12:10:47.0', '2011-12-14 20:53:55', 'unread', 1, 2, '2011-12-17 20:53:56') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (2, 4, 3, 'RE: First Message', 'Thanks Dad! You are the coolest!', '2011-12-15 20:53:55', 'unread', 3, 4, '2011-12-17 20:53:56') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (3, 3, 4, 'Second Message', 'Catie, you get the 2nd message', '2011-12-16 20:53:55', 'unread', 5, 6, '2011-12-17 20:53:56') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (6, 4, 5, 'Dad!', 'He is sucha dork.', '2011-12-15 20:53:55', 'unread', 7, 8, '2011-12-17 20:53:56') Fixture Delete (0.1ms) DELETE FROM "roles" Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Guest', 'Guest', 1, NULL, '2011-12-17 20:53:56', '2011-12-17 20:53:56') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('User', 'User', 2, NULL, '2011-12-17 20:53:56', '2011-12-17 20:53:56') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Librarian', 'Librarian', 3, NULL, '2011-12-17 20:53:56', '2011-12-17 20:53:56') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Administrator', 'Administrator', 4, NULL, '2011-12-17 20:53:56', '2011-12-17 20:53:56') Fixture Delete (0.5ms) DELETE FROM "user_groups" Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('(not specified)', '(not specified)', '2007-12-13 12:00:51.564542', 1, '', '2007-12-13 12:00:01.674976', 1) Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('User', 'User', '2007-12-22 18:14:56.836548', 2, '', '2007-12-22 18:14:40.173954', 2) Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('Faculty', 'Faculty', '2007-12-22 18:15:05.134351', 3, '', '2007-12-22 18:15:05.126457', 3) Fixture Delete (33.9ms) DELETE FROM "user_has_roles" Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (1, 4, '2011-12-17 20:53:56', '2011-12-17 20:53:56', 135138680) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (2, 3, '2011-12-17 20:53:56', '2011-12-17 20:53:56', 344583537) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (3, 2, '2011-12-17 20:53:56', '2011-12-17 20:53:56', 206669143) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (4, 3, '2011-12-17 20:53:56', '2011-12-17 20:53:56', 226540757) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (5, 2, '2011-12-17 20:53:56', '2011-12-17 20:53:56', 358143215) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (6, 2, '2011-12-17 20:53:56', '2011-12-17 20:53:56', 576709754) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (7, 2, '2011-12-17 20:53:56', '2011-12-17 20:53:56', 1010528733) Fixture Delete (68.9ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:16:30.163731', '$2a$10$vHohD1WflnTIqAa8zMkF9evwAgIZRw3XuR4d3bi29M.jph/MB/AJi', 2, 1, NULL, 'admin', 'tanabe@kamata.lib.teu.ac.jp', '2007-11-19 07:58:32.111941', 4) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 03:41:16.337474', '$2a$10$9O2VuTccN4gHq36ARg0QReSrb1D7WrBBhZZ759RM9moHbB0W5zCzS', 1, 2, NULL, 'librarian1', 'librarian1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:33.172441', 1) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', '$2a$10$JthS59A0BNkDOoFpCXM0V.GhhffKaoWKbzpPahYp/vTFrOyM7h/uW', 1, 3, NULL, 'user1', 'user1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:23.340575', '$2a$10$YmmTGrYQ1Ir6oc7wXnp.GuNeO1eYLoP3sv8wMSIrTdaGw2BPwRrpS', 1, 4, NULL, 'librarian2', '2008-01-18 03:24:04.222344', 1) Fixture Insert (0.2ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:44.711117', '$2a$10$i7UjJhLVrJM/J7qaTwW39OXw1NiwowUEbtNHVDV0sqMLjX9.UO9ca', 1, 5, NULL, 'user2', '2008-01-18 04:29:06.922728', 2) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 6, NULL, 'user3', 'user3@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 7, NULL, 'user4', 'user4@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (13.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:53:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_1@example.jp"], ["encrypted_password", "$2a$04$NY6NFaaNNwBBpdXKpfLkKue3HozFSRFfhuD7twC.E9MwborrZONHe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:53:57 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_1"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:53:57 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:53:57 UTC +00:00], ["user_id", 12]]  (26.4ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:53:57.223890' WHERE "roles"."id" = 4  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Rendered /Users/kosuke/enju_message/app/views/message_requests/index.html.erb within layouts/application (7.5ms) Completed 200 OK in 295ms (Views: 223.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:53:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_1@example.jp"], ["encrypted_password", "$2a$04$g3u7pmyI7Mcyl4aOHCNZg.ueBTLr4O39iVoqG30/7PCNviWJFPWAS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:53:57 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_1"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:53:57 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:53:57 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:53:57.619728' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 200 OK in 11ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:53:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_1@example.jp"], ["encrypted_password", "$2a$04$ObKODCrhpXhuG7mpi40zYOsrWYrdzAou3YO0uZFDVwYTvvrBkg1OW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:53:57 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_1"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:53:57 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:53:57 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:53:57.653383' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 2.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "message_requests" WHERE ('t'='f') Processing by MessageRequestsController#index as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 13ms  (0.1ms) SELECT COUNT(*) FROM "message_requests" WHERE ('t'='f') Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:53:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_2@example.jp"], ["encrypted_password", "$2a$04$4GYuDLSDgtzKamUuNJe/Out4/T.tn1tnEmO0K/k471.bA3qJdP5Lu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:53:57 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_2"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:53:57 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:53:57 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:53:57.708707' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.4ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:53:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_2@example.jp"], ["encrypted_password", "$2a$04$vwNyHz5Y33Sktr6oyHqU8..TF9y.9DC7CkxKfg6xrnykr9Lsf4KLa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:53:57 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_2"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:53:57 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:53:57 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:53:57.723074' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:53:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_3@example.jp"], ["encrypted_password", "$2a$04$TuZ1XafvbCumO6C.O0SXGubvu.v07yaq5.72t.92zP/dM2t5V61d6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:53:57 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_3"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:53:57 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:53:57 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:53:57.763568' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_1' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_1"], ["created_at", Sat, 17 Dec 2011 20:53:57 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_1"], ["title", "message_template_1"], ["updated_at", Sat, 17 Dec 2011 20:53:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_1' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:53:57 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 14], ["sender_id", 13], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:53:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.2ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 200 OK in 14ms (Views: 3.9ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:53:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_2@example.jp"], ["encrypted_password", "$2a$04$sFmMyi6RcjWlce6TBqK7O.FWskVnmk2UGuSdPoY7QB4wbFwxCy2.6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:53:57 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_2"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:53:57 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:53:57 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:53:57.886497' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:53:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_4@example.jp"], ["encrypted_password", "$2a$04$yClEQ8PuKHDvY525bYfxD.3KGTDmdMBf.9eFV2VLzslV9TBZ6q8Du"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:53:57 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_4"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:53:57 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:53:57 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:53:57.900242' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:53:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_5@example.jp"], ["encrypted_password", "$2a$04$W267rdXknl3NGim7lv/ayO4Zc9GFolh8PvYJbI3863sotD3pOwPS."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:53:57 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_5"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:53:57 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:53:57 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:53:57.912353' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_2' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_2"], ["created_at", Sat, 17 Dec 2011 20:53:57 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_2"], ["title", "message_template_2"], ["updated_at", Sat, 17 Dec 2011 20:53:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_2' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:53:57 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 14], ["sender_id", 13], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:53:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 200 OK in 54ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (39.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:53:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_6@example.jp"], ["encrypted_password", "$2a$04$5mnsLvZlKSeHJUNr7X01fu4.augaNVha3fPctrIOESK7WcjypRgDC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:53:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_6"]] SQL (18.6ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:53:58 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:53:58 UTC +00:00], ["user_id", 12]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:53:58.089010' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (47.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:53:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_7@example.jp"], ["encrypted_password", "$2a$04$sZJDB944hHndpf39i8BAvOvK8V9SU5UeLddoMhPwiW/SyDiPo9uEK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:53:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_7"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:53:58 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:53:58 UTC +00:00], ["user_id", 13]]  (51.9ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:53:58.149915' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:53:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_8@example.jp"], ["encrypted_password", "$2a$04$Fo9JvkSZObqPUEyPmW5Pj./mjADQ4lR4fNcaprkXNbHuvpzFQYjtO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:53:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_8"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:53:58 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:53:58 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:53:58.215000' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_3' LIMIT 1 SQL (17.0ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_3"], ["created_at", Sat, 17 Dec 2011 20:53:58 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_3"], ["title", "message_template_3"], ["updated_at", Sat, 17 Dec 2011 20:53:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_3' AND "message_templates"."id" != 9) LIMIT 1 SQL (22.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:53:58 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 14], ["sender_id", 13], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:53:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 13ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:53:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_9@example.jp"], ["encrypted_password", "$2a$04$XAsnE91Ofzm9T1lxs1fuL.w0Vsre6mI3yEToL6WmPqZAO.RHQbrLC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:53:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_9"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:53:58 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:53:58 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:53:58.299537' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:53:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_10@example.jp"], ["encrypted_password", "$2a$04$ygDMSeLCnEm2RpDpEfF0P.luif42/WFwPvKQbE5.swpQ.bitcF2um"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:53:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_10"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:53:58 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:53:58 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:53:58.313905' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_4' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_4"], ["created_at", Sat, 17 Dec 2011 20:53:58 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_4"], ["title", "message_template_4"], ["updated_at", Sat, 17 Dec 2011 20:53:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_4' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.9ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:53:58 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:53:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (53.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:53:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_3@example.jp"], ["encrypted_password", "$2a$04$oG23TdIrwQyAK6xKhN9dl.d1UBgmQz2He.VNuvT2XmEdjTi33jT6G"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:53:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_3"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:53:58 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:53:58 UTC +00:00], ["user_id", 12]]  (39.5ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:53:58.505157' WHERE "roles"."id" = 4  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (7.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:53:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_11@example.jp"], ["encrypted_password", "$2a$04$IUziHldrMoQ89SSSUXtleuF/js7vpr70iOdSrwXIp7GTii54BiIJK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:53:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_11"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:53:58 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:53:58 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:53:58.564246' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:53:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_12@example.jp"], ["encrypted_password", "$2a$04$rIljo8qnPCv5oL6PcLpMaeWBTypbTlgVXFv9Xh5E0sCoEN84sb2By"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:53:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_12"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:53:58 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:53:58 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:53:58.577780' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_5' LIMIT 1 SQL (18.0ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_5"], ["created_at", Sat, 17 Dec 2011 20:53:58 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_5"], ["title", "message_template_5"], ["updated_at", Sat, 17 Dec 2011 20:53:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_5' AND "message_templates"."id" != 9) LIMIT 1 SQL (20.2ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:53:58 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 14], ["sender_id", 13], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:53:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 12ms (Views: 2.5ms | ActiveRecord: 0.6ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:53:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_3@example.jp"], ["encrypted_password", "$2a$04$NSplV6LxEgz9IQtDkDu6y.jwdhm3wGmcADJLBkkpgR/BpuY3KCkcO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:53:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_3"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:53:58 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:53:58 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:53:58.657701' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:53:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_13@example.jp"], ["encrypted_password", "$2a$04$NUznIrLwP6HHvHKaFJiZpO7VncvrvFeNAM/vAPc.xxLgUI/R/v.k6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:53:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_13"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:53:58 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:53:58 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:53:58.671430' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:53:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_14@example.jp"], ["encrypted_password", "$2a$04$B5W4/iT7FdvD07Bf91sLtuCTAtQ9rsIbpr7rM3sR3WKbHuRXXEQx2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:53:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_14"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:53:58 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:53:58 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:53:58.685482' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_6' LIMIT 1 SQL (52.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_6"], ["created_at", Sat, 17 Dec 2011 20:53:58 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_6"], ["title", "message_template_6"], ["updated_at", Sat, 17 Dec 2011 20:53:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_6' AND "message_templates"."id" != 9) LIMIT 1 SQL (10.1ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:53:58 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 14], ["sender_id", 13], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:53:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:53:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_15@example.jp"], ["encrypted_password", "$2a$04$8y6SLMToFOVzOVjI/HoqROGhUCMaB733Qy7eB3S2dtN88IP9T1JYq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:53:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_15"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:53:58 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:53:58 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:53:58.816001' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:53:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_16@example.jp"], ["encrypted_password", "$2a$04$AWsgq7Y0pguyzzBjxBinL.GnIm6p8z1dknhQLnXrjAJhiSVQv06kS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:53:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_16"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:53:58 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:53:58 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:53:58.825105' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:53:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_17@example.jp"], ["encrypted_password", "$2a$04$/hUZ3wR/cP92f8AA2INRZeXIB6ibAzTZAMzocdpti6iJZfP.D2Yze"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:53:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_17"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:53:58 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:53:58 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:53:58.832914' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_7' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_7"], ["created_at", Sat, 17 Dec 2011 20:53:58 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_7"], ["title", "message_template_7"], ["updated_at", Sat, 17 Dec 2011 20:53:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_7' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:53:58 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 14], ["sender_id", 13], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:53:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (83.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:53:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_18@example.jp"], ["encrypted_password", "$2a$04$y7bGjOsvJRBEzX9Pxuphm.3uQ8oGcSTZJrxtXyQc1ZejL95PC7mea"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:53:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_18"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:53:58 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:53:58 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:53:58.999222' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:53:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_19@example.jp"], ["encrypted_password", "$2a$04$eh82qUFYeAiYvCzqdD4zPe9yiNMd.544t43C8EJhmTWiXd2RTNmSW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:53:59 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_19"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:53:59 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:53:59 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:53:59.007799' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_8' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_8"], ["created_at", Sat, 17 Dec 2011 20:53:59 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_8"], ["title", "message_template_8"], ["updated_at", Sat, 17 Dec 2011 20:53:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_8' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:53:59 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:53:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:53:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_20@example.jp"], ["encrypted_password", "$2a$04$y5ZbVgyaP5Bqauh8mSIu/.fJiPNaMilvMNxJa2ogkR4MPnkqGdBl6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:53:59 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_20"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:53:59 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:53:59 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:53:59.030327' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (46.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:53:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_21@example.jp"], ["encrypted_password", "$2a$04$qUXuoJ0uF8KCspAuaWVTwe7noJXlWA6URBhaqdhePvf1OFX/Aj/dO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:53:59 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_21"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:53:59 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:53:59 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:53:59.084217' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_9' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_9"], ["created_at", Sat, 17 Dec 2011 20:53:59 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_9"], ["title", "message_template_9"], ["updated_at", Sat, 17 Dec 2011 20:53:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_9' AND "message_templates"."id" != 9) LIMIT 1 SQL (2.1ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:53:59 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:53:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:53:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_22@example.jp"], ["encrypted_password", "$2a$04$2vRXgv/D4abOLiJfcZsvkOmOHtNxfrbb4MhIKEnlkldMve6txvg3G"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:53:59 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_22"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:53:59 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:53:59 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:53:59.100920' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:53:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_23@example.jp"], ["encrypted_password", "$2a$04$plzrDPsoDm3FLpkChOp5Ne.3dDD4m/x4AfmCZu46iNeL6xxKT2LNG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:53:59 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_23"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:53:59 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:53:59 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:53:59.125193' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_10' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_10"], ["created_at", Sat, 17 Dec 2011 20:53:59 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_10"], ["title", "message_template_10"], ["updated_at", Sat, 17 Dec 2011 20:53:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:53:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_4@example.jp"], ["encrypted_password", "$2a$04$EAIswvkcax2Vq/PU66qkKe3WAx2q6xA6y0hComzbB0sYThQGlwVuO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:53:59 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_4"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:53:59 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:53:59 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:53:59.142629' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"14", "receiver_id"=>"15", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 15 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_10' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 14, "receiver_id" = 15, "message_template_id" = 10, "updated_at" = '2011-12-17 20:53:59.153726' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 12ms Role Load (76.3ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (46.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:53:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_24@example.jp"], ["encrypted_password", "$2a$04$TNahdAneoOWT649G8Vt7fOFmFL0VCXsxygpQrdnC6iLWjiMUSrfMe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:53:59 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_24"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:53:59 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:53:59 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:53:59.370758' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:53:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_25@example.jp"], ["encrypted_password", "$2a$04$RWWgJR2zeAjdlBlfVEFbWe6McOZ2BMFHGIgMbCH.uKP95kzN1iEeO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:53:59 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_25"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:53:59 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:53:59 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:53:59.380990' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_11' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_11"], ["created_at", Sat, 17 Dec 2011 20:53:59 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_11"], ["title", "message_template_11"], ["updated_at", Sat, 17 Dec 2011 20:53:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_11' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:53:59 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:53:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_26@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:53:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_26@example.jp"], ["encrypted_password", "$2a$04$MbaqR33zsAM8ospaGlhy4eQJRa/Q/EiNtBojw.H0p.8GAlWyxvnbu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:53:59 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_26"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:53:59 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:53:59 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:53:59.400120' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_27@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:53:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_27@example.jp"], ["encrypted_password", "$2a$04$do47Ecn4FQHOJ0Ez0UWxjOcTiQDNH8UF2pDnPfRITa7Mhm2P8G.v6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:53:59 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_27"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:53:59 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:53:59 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:53:59.479345' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_12' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_12"], ["created_at", Sat, 17 Dec 2011 20:53:59 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_12"], ["title", "message_template_12"], ["updated_at", Sat, 17 Dec 2011 20:53:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:53:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_5@example.jp"], ["encrypted_password", "$2a$04$nwxhH.TNt0xCFlJXwcubJeGNA27irx4mlvBn6NcZnbvCjDxKz05oW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:53:59 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_5"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:53:59 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:53:59 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:53:59.491319' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"14", "receiver_id"=>"15", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 15 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_12' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 14, "receiver_id" = 15, "message_template_id" = 10, "updated_at" = '2011-12-17 20:53:59.519491' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 27ms Role Load (12.8ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_28@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (170.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:53:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_28@example.jp"], ["encrypted_password", "$2a$04$NNarahPKmDXuAUjl1ast2e7vgB7qM0.k3Z.kQ8evxcil5b/3AW9OS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:53:59 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_28"]] SQL (30.6ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:53:59 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:53:59 UTC +00:00], ["user_id", 12]]  (803.8ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:53:59.826381' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_29@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (387.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:00 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_29@example.jp"], ["encrypted_password", "$2a$04$zFu/LLJrVqmfi1sQDrl/me0PMojwfNUa77kFOCvOhvecny/deRC1G"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:00 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_29"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:01.029385' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_13' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_13"], ["created_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_13"], ["title", "message_template_13"], ["updated_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_13' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_30@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_30@example.jp"], ["encrypted_password", "$2a$04$b0PrtilAtIgZ3s03GxYoR.8VdpOLpSXvCub9qfLconaIng3CETET2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_30"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:01.053343' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_31@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_31@example.jp"], ["encrypted_password", "$2a$04$Q.dcOSHps7BSQcnpaTNxXuhBGnovY59IpqyXJnMb9.MSij1CMBFyS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_31"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:01.069974' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_14' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_14"], ["created_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_14"], ["title", "message_template_14"], ["updated_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_6@example.jp"], ["encrypted_password", "$2a$04$56MpD8VIlWDqdvsScG6Q9OSV52rll40tlRxvRDbfxhX5mBnOUqmge"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_6"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:01.090396' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_13' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 18ms (Views: 3.0ms | ActiveRecord: 1.0ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_32@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (5.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_32@example.jp"], ["encrypted_password", "$2a$04$hRB/5G45FvGWXZvmiEi6NOLm4tXIEt.4sD4Um97Ecd99m5.458Gni"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_32"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:01.131730' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_33@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_33@example.jp"], ["encrypted_password", "$2a$04$WZaXaAfxmLog74az2B06b.u45bwQuTONoqmYPu.xtHIoSP8g4.kSW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_33"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:01.145420' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_15' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_15"], ["created_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_15"], ["title", "message_template_15"], ["updated_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_15' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_34@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (60.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_34@example.jp"], ["encrypted_password", "$2a$04$la2xvgTUcki0Ocq3L3MfhOzWjJmihwWNjM99lDAfKc9knfvYRDmB2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_34"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:01.232232' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_35@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_35@example.jp"], ["encrypted_password", "$2a$04$NbPIMKHCwgg6KazLvSj8xOZezi0LTteZDRX1ctxI9OIqXkWzw.3JO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_35"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:01.245593' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_16' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_16"], ["created_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_16"], ["title", "message_template_16"], ["updated_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_4@example.jp"], ["encrypted_password", "$2a$04$wvMHgHvKSSSI55qP0omLy.HwPCUFlbXP6bOuneMZ5zERpKZhqjo0O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_4"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:01.265784' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"14", "receiver_id"=>"15", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 15 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_16' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 14, "receiver_id" = 15, "message_template_id" = 10, "updated_at" = '2011-12-17 20:54:01.281914' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 16ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_36@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_36@example.jp"], ["encrypted_password", "$2a$04$0y8q3gbgZbYxQehjhvicY.SoP9UEH2/j89Tivy.6PRHkeWVVuGOu6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_36"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:01.300471' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_37@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_37@example.jp"], ["encrypted_password", "$2a$04$zt27igvr7nocGl2SdxisJOa.ldm.SgdKmh3XrBBxxpGZ5WfrAJJ8."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_37"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:01.314995' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_17' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_17"], ["created_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_17"], ["title", "message_template_17"], ["updated_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_17' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_38@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_38@example.jp"], ["encrypted_password", "$2a$04$YpgBfcvAmd/lq.gMJl4LR.ne1bi/vOdh1JNscsgbdiOW7RHLwzohe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_38"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:01.342420' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_39@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_39@example.jp"], ["encrypted_password", "$2a$04$Ft/dPc8wrZnW9Z/C8Ifo2OQDvSEsOoYyGbKpXV7HJdpn33B.udzBW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_39"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:01.357887' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_18' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_18"], ["created_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_18"], ["title", "message_template_18"], ["updated_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_5@example.jp"], ["encrypted_password", "$2a$04$7/5HiD8Xv5mKMnoc6yvwOu2Zh8kex6wWRxHCKcWf8ddvLtVoce8Ga"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_5"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:01.374742' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"14", "receiver_id"=>"15", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 15 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_18' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 14, "receiver_id" = 15, "message_template_id" = 10, "updated_at" = '2011-12-17 20:54:01.391653' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 17ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_40@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_40@example.jp"], ["encrypted_password", "$2a$04$D6SaPTewdRF2KKj7uk0aFOL2glI5wHpeaYzreS.xYrl2ok90XD1Z2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_40"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:01.415064' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_41@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_41@example.jp"], ["encrypted_password", "$2a$04$1GdqMYXCNk2zT2HV3B1wg.rFDvRGj83hbO/j35MsEABYJ2q/QpirC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_41"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:01.429422' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_19' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_19"], ["created_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_19"], ["title", "message_template_19"], ["updated_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_19' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_42@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (65.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_42@example.jp"], ["encrypted_password", "$2a$04$N4qQifyr4fqKIaW7RVgEJOeLwGzKP5ESWRi7XjKBFr4Z06YW32E5e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_42"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:01.521423' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_43@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_43@example.jp"], ["encrypted_password", "$2a$04$CgV7Ey8tUJQ93jo3fybwTe6W/72kpEP/MD2hYqkIRS1u8jkk.DkpW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_43"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:01.542042' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_20' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_20"], ["created_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_20"], ["title", "message_template_20"], ["updated_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_6@example.jp"], ["encrypted_password", "$2a$04$2H5q92Am.RQu3cvczWh3l.C1Zpas81AB3Hq0RHTyuyvE20.VAJMxi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_6"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:01.593662' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_19' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 16ms (Views: 1.2ms | ActiveRecord: 1.0ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_44@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (7.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_44@example.jp"], ["encrypted_password", "$2a$04$9jc3amqFNE6xMfPNRd7TW.bWWm7PpTgXFyiYNLuZ4BQYe1Qy3GksO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_44"]] SQL (30.6ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:01.867009' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_45@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (61.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_45@example.jp"], ["encrypted_password", "$2a$04$UUEfn0y7NbO4E/jZI09JuObpy/8xDKoqOPSI0l0eW.OThGeUcvDfG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_45"]] SQL (59.0ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:01 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:01.999403' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_21' LIMIT 1 SQL (41.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_21"], ["created_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_21"], ["title", "message_template_21"], ["updated_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_21' AND "message_templates"."id" != 9) LIMIT 1 SQL (10.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_46@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_46@example.jp"], ["encrypted_password", "$2a$04$Q5wBu0GvoqnrUU6xYmOqdeAL3tMGtgj7pLXk/VUiLzIzlBxpVaF9i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_46"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:02.085482' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_47@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_47@example.jp"], ["encrypted_password", "$2a$04$37Qd61dLxT5I8DJtKr2QfOhf/zfHoc/HEdlenFJLkA40lI/Y817WS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_47"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:02.106786' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_22' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_22"], ["created_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_22"], ["title", "message_template_22"], ["updated_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_48@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_48@example.jp"], ["encrypted_password", "$2a$04$S6MVpHJAmW94JI3HwZMKQOiXv.uWyRWUD7ldQMQvxHkpP98uryPry"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_48"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:02.124096' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"14", "receiver_id"=>"15", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 2.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_49@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (33.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_49@example.jp"], ["encrypted_password", "$2a$04$TQtvQRhevd7.8Jxt7mJJK.XwtcaJsanqzP1kXScdbsoqZa.u/XuU."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_49"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["user_id", 12]]  (17.3ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:02.205715' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_50@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (14.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_50@example.jp"], ["encrypted_password", "$2a$04$Fn2jbaaapOBIKFsK1MksGe.LgnF6LVJZulsxFuT9/V4CwDHLOQTli"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_50"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:02.250100' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_23' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_23"], ["created_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_23"], ["title", "message_template_23"], ["updated_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_23' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_51@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (63.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_51@example.jp"], ["encrypted_password", "$2a$04$EgowYI38t7tOh6aYuREWS.E1h0QG9Y1VeJf.9aIWMB34BdkpeODRu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_51"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:02.339923' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_52@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_52@example.jp"], ["encrypted_password", "$2a$04$ecIxadt0V1KxwYFqE2fRdu4m1c/WZgsBajq9KwzFS8rnG4YVONX7O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_52"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:02.353423' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_24' LIMIT 1 SQL (2.0ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_24"], ["created_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_24"], ["title", "message_template_24"], ["updated_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_53@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_53@example.jp"], ["encrypted_password", "$2a$04$fg2.uSDZgr4c8qB5jOsHdu6h9fXxFqO6k/DSNBAEtwizq97GJZoJ."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_53"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:02.372637' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"14", "receiver_id"=>"15", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_54@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_54@example.jp"], ["encrypted_password", "$2a$04$MXtMe1bl/cUwcQV86iUrBO.r8PPRRcvK6jAXce/RYZ0h/fL02NWQa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_54"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:02.404463' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.2ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_55@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_55@example.jp"], ["encrypted_password", "$2a$04$evJW2jDi04LrNAfUsBCruO2cGFqkVFfuZwafozWChjwbY3oHbP4ka"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_55"]] SQL (2.0ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:02.421420' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_25' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_25"], ["created_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_25"], ["title", "message_template_25"], ["updated_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_25' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_56@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_56@example.jp"], ["encrypted_password", "$2a$04$CtSdHkmg2xAC3C1T4uz2/OnITxwbWUyX.3MLtIpW.enIimACJ5b3G"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_56"]] SQL (0.4ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:02.447126' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_57@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_57@example.jp"], ["encrypted_password", "$2a$04$GueE7tJ1QLPO9aX2GFwQ5O3WCsHTFgFBL1wjtMHCo6SeDSRTA5KLi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_57"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:02.460010' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_26' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_26"], ["created_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_26"], ["title", "message_template_26"], ["updated_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_58@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_58@example.jp"], ["encrypted_password", "$2a$04$VEyBqWXsI5rxIWHY4.JOyuCFxsOefLEeUtBGebjT/xPl.x.ZlGQIy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_58"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:02.482045' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_59@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_59@example.jp"], ["encrypted_password", "$2a$04$/DL5Sa5ao0XFC6CkAEZ//eclw8h5C0yiLJvPmNBpALPNBT4G.wFP6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_59"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:02.511850' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_60@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_60@example.jp"], ["encrypted_password", "$2a$04$MEN/Md2ZJmqs5gHYD6tTFu/ds0I4o/ShvzWZ7lJQbO2cZSD3MGzsi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_60"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:02.532244' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_27' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_27"], ["created_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_27"], ["title", "message_template_27"], ["updated_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_27' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_61@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (60.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_61@example.jp"], ["encrypted_password", "$2a$04$/h2mH4gVGY4fX4Xs2JiTV.NNLDQdm43S0G/9aNbDCjNFdqXLmcY.e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_61"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:02.616477' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.4ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_62@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_62@example.jp"], ["encrypted_password", "$2a$04$XBBK4etGqjyu7uAtBjKXjOW.EzzuEld3KHsLp0BByHw5BIibKdEne"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_62"]] SQL (1.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:02.630847' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_28' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_28"], ["created_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_28"], ["title", "message_template_28"], ["updated_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"14", "receiver_id"=>"15", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_63@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_63@example.jp"], ["encrypted_password", "$2a$04$aVC.Fp.G.5lQYYIlFJyBku6h6Jr1VK7jqHS.3CQRHMJ7BNwWHrV32"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_63"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:02.661363' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_64@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_64@example.jp"], ["encrypted_password", "$2a$04$RVsvMiTz.FNCoAP5wGVm2uXNSNNwC.OjFhPmsoc2BocibYmtC3ei6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_64"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:02.675405' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_29' LIMIT 1 SQL (0.9ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_29"], ["created_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_29"], ["title", "message_template_29"], ["updated_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_29' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_65@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_65@example.jp"], ["encrypted_password", "$2a$04$Qc/lt6EVPpQYPdpbrgcxS.pqaM8PSwVNiDTMchTQW8pc9sT5HRgKC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_65"]] SQL (0.5ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:02.713559' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_66@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_66@example.jp"], ["encrypted_password", "$2a$04$N/OVGStUsBoE6TxreDDFEekZJ1V8eoC8M8a3jzN1ZpU07Hv.6K78m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_66"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:02.727776' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_30' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_30"], ["created_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_30"], ["title", "message_template_30"], ["updated_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"14", "receiver_id"=>"15", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_67@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_67@example.jp"], ["encrypted_password", "$2a$04$XKciFMGLSmDsLXC/PDfEueTOLsNPf77jUC08Cm0xXp8PkBzapBOnS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_67"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:02.759083' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_68@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (15.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_68@example.jp"], ["encrypted_password", "$2a$04$6sIqrtfdEwufgvip06REwO9.bukBBy0WS9kCtwd8KonAtlUAw4SAa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_68"]] SQL (7.6ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["user_id", 13]]  (19.3ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:02.793124' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_31' LIMIT 1 SQL (9.8ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_31"], ["created_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_31"], ["title", "message_template_31"], ["updated_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_31' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_69@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_69@example.jp"], ["encrypted_password", "$2a$04$4ox7qXx4zHB2blmokGGNnewsO7gELxfjPsTVkV6GeVn0mliFjQcNm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_69"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:02.871714' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.6ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_70@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_70@example.jp"], ["encrypted_password", "$2a$04$5QW853iyMgAUWVRhML3RnOo2TQ/EXAh/SFDFe5ibyKQ.7rweAqerW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_70"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:02.897629' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_32' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_32"], ["created_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_32"], ["title", "message_template_32"], ["updated_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_71@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (86.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_71@example.jp"], ["encrypted_password", "$2a$04$E75ki8xOUcvtoNIA.QJt3ePYJ9yPRtMDfhyj90Gco9yA.myq46uvG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_71"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:03.045724' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_72@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (26.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_72@example.jp"], ["encrypted_password", "$2a$04$Ftjh4ad1kNNUQ944zHAuUODMGg5Xro2mMQzhP2yNzFsRX82WxVNha"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_72"]] SQL (0.7ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00], ["user_id", 13]]  (9.6ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:03.084409' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_33' LIMIT 1 SQL (8.1ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_33"], ["created_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_33"], ["title", "message_template_33"], ["updated_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_33' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_7@example.jp"], ["encrypted_password", "$2a$04$hK.XVJldWtbLYa5ur/VXYubWoGoeRJadaXCJAgABd/nO3i.Cc/97W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_7"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:03.127313' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 10ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_73@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_73@example.jp"], ["encrypted_password", "$2a$04$Etu4dFlzTgCPMIOjaWcFb.XqkmIU15hc2uWNcoKNoDXrSQQfsSeA2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_73"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:03.159149' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_74@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_74@example.jp"], ["encrypted_password", "$2a$04$SioduKJKIVtlPZoOj8VwBeJc26UVqtibZNvHhh/hskdyOxXJ7RKxS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_74"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:03.173869' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_34' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_34"], ["created_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_34"], ["title", "message_template_34"], ["updated_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_34' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_8@example.jp"], ["encrypted_password", "$2a$04$HCAKKbnw3Ss7kJC7OF6WG.1UGKvKI9HllbBbyhW4BikuxBjlFuPem"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_8"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:03.197849' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 10ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_75@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_75@example.jp"], ["encrypted_password", "$2a$04$5E83eofsfGaet29grZhmteuSZvfbrQvk9ZoUIqdSKZWZBwYNXxXIq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_75"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:03.233963' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_76@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_76@example.jp"], ["encrypted_password", "$2a$04$8MZuO1xPrqJ9aBrpDYT8texk8TelNN8/sUGYdBQ6NBBW2GJtecV0u"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_76"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:03.248360' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_35' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_35"], ["created_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_35"], ["title", "message_template_35"], ["updated_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_35' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.9ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_7@example.jp"], ["encrypted_password", "$2a$04$8O9aSyozvJmwZdsZ1YnuI.tsUPfy0rrvxIXbLfMF4T.wqifwlTa9e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_7"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:03.276501' WHERE "roles"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 10ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_77@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_77@example.jp"], ["encrypted_password", "$2a$04$LsSY4S8cadlTVY1zVbIxUOviNasCRTVX3Q54olyY/7IXlA.9kWvJa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_77"]] SQL (0.4ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:03.364792' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_78@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_78@example.jp"], ["encrypted_password", "$2a$04$tbL3vYs4iZvKI4Eh4e3Px.oyr2Oj7tbQ9QleD6XvMZ83Sx/Fc/9hO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_78"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:03.384142' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_36' LIMIT 1 SQL (30.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_36"], ["created_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_36"], ["title", "message_template_36"], ["updated_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_36' AND "message_templates"."id" != 9) LIMIT 1 SQL (49.9ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_8@example.jp"], ["encrypted_password", "$2a$04$d1lDbHxOdpSTkqaWBffAseiHI8ObryAZh3DW01GpaF6olLoCCMfkW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_8"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:03.489086' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 13ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_79@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_79@example.jp"], ["encrypted_password", "$2a$04$R3PZQ.GSO6neOWx82W7uV.tRcfcjRrmBSfAbRt3.lyP2T5u.UmWMa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_79"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:03.524291' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (1.8ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_80@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (25.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_80@example.jp"], ["encrypted_password", "$2a$04$uOzF5.QbF6f/D74osAXWWeaB50BA.OULpj38vhhYkOyg/CG0SnZoW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_80"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00], ["user_id", 13]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:03.562838' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_37' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_37"], ["created_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_37"], ["title", "message_template_37"], ["updated_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_37' AND "message_templates"."id" != 9) LIMIT 1 SQL (5.6ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_81@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_81@example.jp"], ["encrypted_password", "$2a$04$Wea8QmlDSWWTwG0zq2.64ONauroiSzXIXKius.5ILwM1MrEOcPzRy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_81"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:03.692767' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1 Completed 403 Forbidden in 8ms (Views: 1.0ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (82.0ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_82@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_82@example.jp"], ["encrypted_password", "$2a$04$Aa2Rd4XTWaUvB9DHOtwgPOwklqSdh67OJn4KTviU3gM3YgEO.OZUG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_82"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:03.885818' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_83@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_83@example.jp"], ["encrypted_password", "$2a$04$DDIIT/RNlY2GfOcJp.cGMuj3sIMP5fFjmLHgVLSI1xA94Kvtg48W6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_83"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:03.894479' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_38' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_38"], ["created_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_38"], ["title", "message_template_38"], ["updated_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_38' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_84@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_84@example.jp"], ["encrypted_password", "$2a$04$hyDiIg5phgLAtbUojIVcPugKlJNrRHWWrkRYjLcHrL7kMrlWXVRcy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_84"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:03.909104' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_85@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_85@example.jp"], ["encrypted_password", "$2a$04$tLYUo8ijvALpPwozMjj/t.EczOy6fg5nURQ781w1PCjt6gn6jG2le"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_85"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:03.927014' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_86@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (48.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_86@example.jp"], ["encrypted_password", "$2a$04$nwLDimjZ0./jd2ZRqi9oxeAuemtBHujAYJ3DZ2BpbRRCDVYNGXDh2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_86"]] SQL (46.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:03 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:04.028874' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_39' LIMIT 1 SQL (12.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_39"], ["created_at", Sat, 17 Dec 2011 20:54:04 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_39"], ["title", "message_template_39"], ["updated_at", Sat, 17 Dec 2011 20:54:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_39' AND "message_templates"."id" != 9) LIMIT 1 SQL (16.6ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:54:04 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:54:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_87@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (68.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:04 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_87@example.jp"], ["encrypted_password", "$2a$04$BPGfogcQb3j2yiAqN0l1Te5Wf12JQQ70BfxznT/wl0ppoN3r29t1m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:04 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_87"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:04 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:04 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:04.192185' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_88@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:04 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_88@example.jp"], ["encrypted_password", "$2a$04$C9MUdqUngyJEbp9HKmd4ceB25M2/Xr9FbjebtwqShF3bjHaPsn31C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:04 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_88"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:04 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:04 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:04.200871' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_40' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_40"], ["created_at", Sat, 17 Dec 2011 20:54:04 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_40"], ["title", "message_template_40"], ["updated_at", Sat, 17 Dec 2011 20:54:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_40' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:54:04 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:54:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_41' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_41"], ["created_at", Sat, 17 Dec 2011 20:54:04 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_41"], ["title", "message_template_41"], ["updated_at", Sat, 17 Dec 2011 20:54:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (171.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:04 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_9@example.jp"], ["encrypted_password", "$2a$04$M4ct3RjDB8bDsO3G5929YuEDTqwZVrQy795wu3ZfVttrR0scSZ7k."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:04 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_9"]] SQL (18.8ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:04 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:54:04 UTC +00:00], ["user_id", 12]]  (47.0ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:04.415591' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 200 OK in 10ms (Views: 4.4ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position LIMIT 10 OFFSET 0  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_42' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_42"], ["created_at", Sat, 17 Dec 2011 20:54:04 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_42"], ["title", "message_template_42"], ["updated_at", Sat, 17 Dec 2011 20:54:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:04 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_9@example.jp"], ["encrypted_password", "$2a$04$SCCbSSNXaP/lcLjHf4KjBuz6LpzlHA69I5YGyOh9./E3HDxOGNi7W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:04 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_9"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:04 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:54:04 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:04.489231' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position LIMIT 10 OFFSET 0  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_43' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_43"], ["created_at", Sat, 17 Dec 2011 20:54:04 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_43"], ["title", "message_template_43"], ["updated_at", Sat, 17 Dec 2011 20:54:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_89@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:04 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_89@example.jp"], ["encrypted_password", "$2a$04$oyss2sYbFDld4S3523qv5OixThQ.EpzE91LxJrAptoRNj/0hBwCmW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:04 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_89"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:04 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:04 UTC +00:00], ["user_id", 12]]  (15.5ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:04.511934' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "message_templates" WHERE ('t'='f')  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_44' LIMIT 1 SQL (90.8ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_44"], ["created_at", Sat, 17 Dec 2011 20:54:04 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_44"], ["title", "message_template_44"], ["updated_at", Sat, 17 Dec 2011 20:54:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms  (0.1ms) SELECT COUNT(*) FROM "message_templates" WHERE ('t'='f') Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:04 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_10@example.jp"], ["encrypted_password", "$2a$04$mK2tqvWajv5Da/8KzAtqReXGmtWZpqG3n0ZfCNjvdzwhkfMI0U4pe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:04 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_10"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:04 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:54:04 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:04.717654' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_45' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_45"], ["created_at", Sat, 17 Dec 2011 20:54:04 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_45"], ["title", "message_template_45"], ["updated_at", Sat, 17 Dec 2011 20:54:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 200 OK in 74ms (Views: 9.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:04 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_10@example.jp"], ["encrypted_password", "$2a$04$NsgXc5XniJHdjGfTc2ZQE.nZgRWom3k6KX5teAmkePVqC5sok0Ag."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:04 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_10"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:04 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:54:04 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:04.816478' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_46' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_46"], ["created_at", Sat, 17 Dec 2011 20:54:04 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_46"], ["title", "message_template_46"], ["updated_at", Sat, 17 Dec 2011 20:54:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 200 OK in 9ms (Views: 1.5ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_90@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (88.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:04 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_90@example.jp"], ["encrypted_password", "$2a$04$Xb2g66P5HSmcb4xovL1a.u09Z.B826EBYyw3dYSXIseqrtOdeDpvi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:04 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_90"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:04 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:04 UTC +00:00], ["user_id", 12]]  (6.6ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:04.940616' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_47' LIMIT 1 SQL (56.1ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_47"], ["created_at", Sat, 17 Dec 2011 20:54:04 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_47"], ["title", "message_template_47"], ["updated_at", Sat, 17 Dec 2011 20:54:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_48' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_48"], ["created_at", Sat, 17 Dec 2011 20:54:05 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_48"], ["title", "message_template_48"], ["updated_at", Sat, 17 Dec 2011 20:54:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:05 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_11@example.jp"], ["encrypted_password", "$2a$04$0EqNb9VDK8ggwXIdeI7J8O2gA6eOf7VZZOHEEP9PtO7DWVpwHZUEG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:05 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_11"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:05 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:54:05 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:05.052832' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 15ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:05 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_11@example.jp"], ["encrypted_password", "$2a$04$QUxXttGBNz7oOpu8JpEBXOWnwoolRqKpRpzQbIca3MP58bSzvHWf."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:05 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_11"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:05 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:54:05 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:05.118595' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_91@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (22.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:05 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_91@example.jp"], ["encrypted_password", "$2a$04$JOo2fl9DQ.1jcY3CnDIx/O6vswLWs3JxPqH3R/MXq8KhJANrybfIS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:05 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_91"]] SQL (3.4ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:05 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:05 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:05.183186' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Processing by MessageTemplatesController#new as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 5ms MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (101.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:05 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_12@example.jp"], ["encrypted_password", "$2a$04$LOI4aX6jTgP8ke/mbgDujOcQXHyVAsmtzMCbL/MOMi0FmToSzLPFq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:05 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_12"]] SQL (71.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:05 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:54:05 UTC +00:00], ["user_id", 12]]  (39.8ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:05.502421' WHERE "roles"."id" = 4  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_49' LIMIT 1 SQL (96.8ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_49"], ["created_at", Sat, 17 Dec 2011 20:54:05 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_49"], ["title", "message_template_49"], ["updated_at", Sat, 17 Dec 2011 20:54:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 200 OK in 81ms (Views: 73.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:05 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_12@example.jp"], ["encrypted_password", "$2a$04$DCnSZbvjquXlghaggK6QC.Z3S9/uIokm3pNKdojvFU4IhnVMv7Xy."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:05 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_12"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:05 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:54:05 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:05.827209' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_50' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_50"], ["created_at", Sat, 17 Dec 2011 20:54:05 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_50"], ["title", "message_template_50"], ["updated_at", Sat, 17 Dec 2011 20:54:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_92@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:05 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_92@example.jp"], ["encrypted_password", "$2a$04$TfhoMbGG2MMTLKisbGYXhu52.PcNtlb1wtKpjohFcp2CQcixeoVBe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:05 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_92"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:05 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:05 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:05.863349' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_51' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_51"], ["created_at", Sat, 17 Dec 2011 20:54:05 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_51"], ["title", "message_template_51"], ["updated_at", Sat, 17 Dec 2011 20:54:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 2.7ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_52' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_52"], ["created_at", Sat, 17 Dec 2011 20:54:05 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_52"], ["title", "message_template_52"], ["updated_at", Sat, 17 Dec 2011 20:54:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (3.6ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 11ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:05 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_13@example.jp"], ["encrypted_password", "$2a$04$Q/xwH4PMLigvhNadXWFWZersvcBIA6mqVRKpFWjKHJu7vHpzn9GMW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:05 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_13"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:05 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:54:05 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:05.919015' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_53", "status"=>"message_template_53", "body"=>"message_template_53"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 15ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_53' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:05 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_14@example.jp"], ["encrypted_password", "$2a$04$1IvTYAVJd6bf79bK1jU9hOlRVplF9O0Dcm4WKnaY1T12rPP3lQA5a"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:05 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_14"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:05 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:54:05 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:05.954652' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_54", "status"=>"message_template_54", "body"=>"message_template_54"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:05 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_15@example.jp"], ["encrypted_password", "$2a$04$DQuoyCp8m1NS8jjzAtDIZO3Qa9E/WE8Arf0wJJrd0isF0NH0jEWdi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:05 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_15"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:05 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:54:05 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:05.984441' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:06 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_16@example.jp"], ["encrypted_password", "$2a$04$kpi36Fpd2DmqdKHVkdceTufM/FokBCDzCscb78aX/5SpegMqB6HBC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:06 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_16"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:06 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:54:06 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:06.019042' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:06 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_13@example.jp"], ["encrypted_password", "$2a$04$3WKppZS.0B2OYIlwRnSBAO58ZSlE8llScKHQ0ztmDkCMfPYaX3eey"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:06 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_13"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:06 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:54:06 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:06.049483' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_57", "status"=>"message_template_57", "body"=>"message_template_57"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 72ms (Views: 1.5ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_57' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:06 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_14@example.jp"], ["encrypted_password", "$2a$04$/pWHMnGS06VP7QE64l7RnO8ecTdnmpcr0YPrxY/P0F9OwO8l3BQ4W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:06 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_14"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:06 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:54:06 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:06.147220' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_58", "status"=>"message_template_58", "body"=>"message_template_58"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (50.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:06 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_15@example.jp"], ["encrypted_password", "$2a$04$1erf2DrN9abD/krVNsnf5e7.iz3cvAYRw/u8ZdrKbZLGlflprHLQO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:06 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_15"]] SQL (28.0ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:06 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:54:06 UTC +00:00], ["user_id", 12]]  (11.6ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:06.305241' WHERE "roles"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.3ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (164.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:06 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_16@example.jp"], ["encrypted_password", "$2a$04$VvK4PzRDcElqmpFvOJt9kOj4mvujhLbDeR9gkt0kMJcrVz3XKx8dq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:06 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_16"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:06 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:54:06 UTC +00:00], ["user_id", 12]]  (46.3ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:06.577938' WHERE "roles"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 3.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_93@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:06 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_93@example.jp"], ["encrypted_password", "$2a$04$n23gRMK8Eer8nE1fBmri0OA1Z27VTIvUS86WxFR1qxQJkEdmJOxuK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:06 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_93"]] SQL (2.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:06 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:06 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:06.778534' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_61", "status"=>"message_template_61", "body"=>"message_template_61"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_61' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_94@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:06 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_94@example.jp"], ["encrypted_password", "$2a$04$Ru6.cxZFVGvpdCkOnXEzGuB8R4lSm4b7Fg5E811l6mkt22cSv9tQq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:06 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_94"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:06 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:06 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:06.812923' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_62", "status"=>"message_template_62", "body"=>"message_template_62"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_95@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:06 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_95@example.jp"], ["encrypted_password", "$2a$04$rj.JAcR.Gh1qq0aH7irKxuFoBRu1yqqtXH9uplLIEFrGoZ2i5XVJu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:06 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_95"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:06 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:06 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:06.841313' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_96@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:06 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_96@example.jp"], ["encrypted_password", "$2a$04$S/CpOjsRhFUIqoqdte71kOX/phmKgkKKs9hx10YizoxKi2ZJaaB9W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:06 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_96"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:06 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:06 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:06.878301' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_65", "status"=>"message_template_65", "body"=>"message_template_65"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 71ms MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_65' LIMIT 1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_66", "status"=>"message_template_66", "body"=>"message_template_66"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 5ms Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_69' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_69"], ["created_at", Sat, 17 Dec 2011 20:54:07 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_69"], ["title", "message_template_69"], ["updated_at", Sat, 17 Dec 2011 20:54:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:07 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_17@example.jp"], ["encrypted_password", "$2a$04$fd8yMvhjm5P.qnbTsrZCHuWEsK.epvFNZOE6pByvkE5fP6IUNlRFC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:07 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_17"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:07 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:54:07 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:07.034245' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_70", "status"=>"message_template_70", "body"=>"message_template_70"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_70' AND "message_templates"."id" != 9) LIMIT 1  (14.1ms) UPDATE "message_templates" SET "title" = 'message_template_70', "status" = 'message_template_70', "body" = 'message_template_70', "updated_at" = '2011-12-17 20:54:07.055996' WHERE "message_templates"."id" = 9  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates/9 Completed 302 Found in 38ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_71' LIMIT 1 SQL (30.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_71"], ["created_at", Sat, 17 Dec 2011 20:54:07 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_71"], ["title", "message_template_71"], ["updated_at", Sat, 17 Dec 2011 20:54:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (8.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:07 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_18@example.jp"], ["encrypted_password", "$2a$04$sAfNBdTil2ACCSKvmMHgD.XqmeLUMNgC25y0fjklytjJYSLqMH2Gu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:07 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_18"]] SQL (18.8ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:07 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:54:07 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:07.165350' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_72", "status"=>"message_template_72", "body"=>"message_template_72"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_72' AND "message_templates"."id" != 9) LIMIT 1  (12.1ms) UPDATE "message_templates" SET "title" = 'message_template_72', "status" = 'message_template_72', "body" = 'message_template_72', "updated_at" = '2011-12-17 20:54:07.178961' WHERE "message_templates"."id" = 9  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates/9 Completed 302 Found in 25ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_73' LIMIT 1 SQL (6.1ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_73"], ["created_at", Sat, 17 Dec 2011 20:54:07 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_73"], ["title", "message_template_73"], ["updated_at", Sat, 17 Dec 2011 20:54:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (10.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:07 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_19@example.jp"], ["encrypted_password", "$2a$04$v0pnNz5IgnkwYO5Av6kuHO7.bXvRCSZE2y4WqYeZClbxOajflsCDq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:07 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_19"]] SQL (1.7ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:07 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:54:07 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:07.355016' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_74", "status"=>"message_template_74", "body"=>"message_template_74"}, "position"=>"2", "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "message_templates" SET "position" = 0, "updated_at" = '2011-12-17 20:54:07.369563' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "message_templates" SET position = (position - 1) WHERE "message_templates"."id" IN (SELECT "message_templates"."id" FROM "message_templates" WHERE (1 = 1 AND position > 9) ORDER BY position) SQL (0.2ms) UPDATE "message_templates" SET position = (position + 1) WHERE "message_templates"."id" IN (SELECT "message_templates"."id" FROM "message_templates" WHERE (1 = 1 AND position >= 2) ORDER BY position)  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "message_templates" SET "position" = 2, "updated_at" = '2011-12-17 20:54:07.372052' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates Completed 302 Found in 15ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_75' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_75"], ["created_at", Sat, 17 Dec 2011 20:54:07 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_75"], ["title", "message_template_75"], ["updated_at", Sat, 17 Dec 2011 20:54:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:07 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_20@example.jp"], ["encrypted_password", "$2a$04$TDjxTXtk8QSOzy.PgsmDweBE0ouNNQd2UgX81SKAqGCLTeVH9A.JG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:07 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_20"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:07 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:54:07 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:07.395309' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = '' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 14ms (Views: 1.1ms | ActiveRecord: 0.0ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_77' LIMIT 1 SQL (112.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_77"], ["created_at", Sat, 17 Dec 2011 20:54:07 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_77"], ["title", "message_template_77"], ["updated_at", Sat, 17 Dec 2011 20:54:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (56.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:07 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_17@example.jp"], ["encrypted_password", "$2a$04$juFYAggALZm7KiPjJqHzEOe7RiemXRa.YMfPHnDHielzldHtKg4ku"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:07 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_17"]] SQL (0.8ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:07 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:54:07 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:07.709416' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_78", "status"=>"message_template_78", "body"=>"message_template_78"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 14ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_79' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_79"], ["created_at", Sat, 17 Dec 2011 20:54:07 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_79"], ["title", "message_template_79"], ["updated_at", Sat, 17 Dec 2011 20:54:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:07 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_18@example.jp"], ["encrypted_password", "$2a$04$4A6c1BnmDqS0fXaFqi7oYeZGT8EQt8fSnIt6.rOs8O9SuVfQ9x4Am"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:07 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_18"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:07 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:54:07 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:07.746752' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_80", "status"=>"message_template_80", "body"=>"message_template_80"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.5ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_81' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_81"], ["created_at", Sat, 17 Dec 2011 20:54:07 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_81"], ["title", "message_template_81"], ["updated_at", Sat, 17 Dec 2011 20:54:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (37.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:07 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_19@example.jp"], ["encrypted_password", "$2a$04$1zsDC1n7wJd5QuJ15P3SJeGD6sLNsyA3mZuWfOs9nBUk0jOEez0ua"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:07 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_19"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:07 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:54:07 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:07.823637' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_83' LIMIT 1 SQL (52.1ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_83"], ["created_at", Sat, 17 Dec 2011 20:54:07 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_83"], ["title", "message_template_83"], ["updated_at", Sat, 17 Dec 2011 20:54:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_97@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (83.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:07 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_97@example.jp"], ["encrypted_password", "$2a$04$RZUrliqQ9MUH.qpcfvqoB.8HCSwC4LHZdBbKeV8eDW1XUyTTo93Ei"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:07 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_97"]] SQL (82.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:07 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:07 UTC +00:00], ["user_id", 12]]  (20.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:08.075804' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_84", "status"=>"message_template_84", "body"=>"message_template_84"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_85' LIMIT 1 SQL (48.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_85"], ["created_at", Sat, 17 Dec 2011 20:54:08 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_85"], ["title", "message_template_85"], ["updated_at", Sat, 17 Dec 2011 20:54:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_98@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (43.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_98@example.jp"], ["encrypted_password", "$2a$04$2Q/lzrnnpXG5qaLL8u/4kO19BIoka0no7isUdaicxHSmC3G2QjnpW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:08 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_98"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:08 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:08 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:08.358464' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_86", "status"=>"message_template_86", "body"=>"message_template_86"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 36ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.9ms) SAVEPOINT active_record_1 MessageTemplate Load (19.4ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_87' LIMIT 1 SQL (34.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_87"], ["created_at", Sat, 17 Dec 2011 20:54:08 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_87"], ["title", "message_template_87"], ["updated_at", Sat, 17 Dec 2011 20:54:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_99@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (10.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_99@example.jp"], ["encrypted_password", "$2a$04$f6Zstj6e8jDi35rMYUMT6.mPWCBHof2Bd//F66ZIHWJXJlvj3Kq42"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:08 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_99"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:08 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:08 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:08.546874' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.4ms | ActiveRecord: 0.6ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_89' LIMIT 1 SQL (51.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_89"], ["created_at", Sat, 17 Dec 2011 20:54:08 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_89"], ["title", "message_template_89"], ["updated_at", Sat, 17 Dec 2011 20:54:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_90", "status"=>"message_template_90", "body"=>"message_template_90"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 5ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_91' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_91"], ["created_at", Sat, 17 Dec 2011 20:54:08 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_91"], ["title", "message_template_91"], ["updated_at", Sat, 17 Dec 2011 20:54:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_92", "status"=>"message_template_92", "body"=>"message_template_92"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 49ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_93' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_93"], ["created_at", Sat, 17 Dec 2011 20:54:08 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_93"], ["title", "message_template_93"], ["updated_at", Sat, 17 Dec 2011 20:54:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_95' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_95"], ["created_at", Sat, 17 Dec 2011 20:54:08 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_95"], ["title", "message_template_95"], ["updated_at", Sat, 17 Dec 2011 20:54:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_21@example.jp"], ["encrypted_password", "$2a$04$KMa9Y8oiaxuzWut0ai9zCuDhHv7MBLt3pv2L13GkQ1x.NTqR3686G"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:08 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_21"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:08 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:54:08 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:08.832267' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 1.2ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_96' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_96"], ["created_at", Sat, 17 Dec 2011 20:54:08 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_96"], ["title", "message_template_96"], ["updated_at", Sat, 17 Dec 2011 20:54:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_22@example.jp"], ["encrypted_password", "$2a$04$47ICSVQs1q4cVwZQnF.QXui4gEs6BElvzxbzYbuIdN5U4Qjjd9LwS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:08 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_22"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:08 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:54:08 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:08.853694' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_97' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_97"], ["created_at", Sat, 17 Dec 2011 20:54:08 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_97"], ["title", "message_template_97"], ["updated_at", Sat, 17 Dec 2011 20:54:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_20@example.jp"], ["encrypted_password", "$2a$04$aTVLVNyTrdgjsRHZV9.oVuzJolcjSykcsnT9Dr1vPWIYVevc6CGBq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:08 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_20"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:08 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:54:08 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:08.875647' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_98' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_98"], ["created_at", Sat, 17 Dec 2011 20:54:08 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_98"], ["title", "message_template_98"], ["updated_at", Sat, 17 Dec 2011 20:54:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_21@example.jp"], ["encrypted_password", "$2a$04$kYB3z7asAULXjfsbT/vUvOjOcYaJTU/gMhomUXjSaun9BeYRsnCJa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:08 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_21"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:08 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:54:08 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:08.895278' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_99' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_99"], ["created_at", Sat, 17 Dec 2011 20:54:08 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_99"], ["title", "message_template_99"], ["updated_at", Sat, 17 Dec 2011 20:54:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_100@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_100@example.jp"], ["encrypted_password", "$2a$04$J9R3.PssNdcbpHlt0I9n6.h7UfKTNqWxS3o9jOWj1AGlQo/WCdxOq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:08 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_100"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:08 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:08 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:08.915916' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_100' LIMIT 1 SQL (75.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_100"], ["created_at", Sat, 17 Dec 2011 20:54:09 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_100"], ["title", "message_template_100"], ["updated_at", Sat, 17 Dec 2011 20:54:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_101@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (204.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_101@example.jp"], ["encrypted_password", "$2a$04$Yt7cMiRsWVrX.X1Qgkl2SOtxqGZgOg5LGnQTBbsYPsxz1WjpOT5/K"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:09 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_101"]] SQL (14.6ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:09 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:09 UTC +00:00], ["user_id", 12]]  (2.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:09.341430' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 29ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_101' LIMIT 1 SQL (65.0ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_101"], ["created_at", Sat, 17 Dec 2011 20:54:09 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_101"], ["title", "message_template_101"], ["updated_at", Sat, 17 Dec 2011 20:54:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_102' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_102"], ["created_at", Sat, 17 Dec 2011 20:54:09 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_102"], ["title", "message_template_102"], ["updated_at", Sat, 17 Dec 2011 20:54:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms Role Load (0.3ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.2ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_23@example.jp"], ["encrypted_password", "$2a$04$munF4ASAT6isoMz6NdpVPeji32BUFF1f3IvipEBIM.3FdUsD5T7aW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_23"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:10 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:54:10 UTC +00:00], ["user_id", 12]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:10.747852' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 SOLR Request (5.9ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A12&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (6.9ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A12&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 51ms (Views: 8.0ms | ActiveRecord: 0.4ms | Solr: 12.8ms) Role Load (0.4ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_24@example.jp"], ["encrypted_password", "$2a$04$M19Z0xzrdaOTr15fCcf0bOoFQRUDHqWgVgM1ZjNp/aCg4DdKxtINe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_24"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:10 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:54:10 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:10.828165' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML Parameters: {"user_id"=>"admin_24"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'admin_24' LIMIT 1 SOLR Request (6.0ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A12&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (10.6ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A12&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 30ms (Views: 1.5ms | ActiveRecord: 0.5ms | Solr: 16.6ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_22@example.jp"], ["encrypted_password", "$2a$04$TfSjDvIIroUyfaHXDVayzOz9U1XdqodpZ90Klbc9vteg3sPdVilx6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_22"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:10 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:54:10 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:10.879050' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 SOLR Request (4.9ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A12&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (7.2ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A12&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 22ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 12.1ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_23@example.jp"], ["encrypted_password", "$2a$04$AFa1wu8yFeZWud0yeGKln.s6qrOFc3flo5KxqS8P3fIHYO85GbBZG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_23"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:10 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:54:10 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:10.921619' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML Parameters: {"user_id"=>"librarian_23"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'librarian_23' LIMIT 1 SOLR Request (75.9ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A12&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (15.4ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A12&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 102ms (Views: 1.6ms | ActiveRecord: 0.5ms | Solr: 91.3ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 SOLR Request (10.8ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (8.7ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IN (2) Completed 200 OK in 56ms (Views: 1.2ms | ActiveRecord: 0.5ms | Solr: 19.5ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML Parameters: {"query"=>"you"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 SOLR Request (11.3ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&q=you&fl=%2A+score&qf=body_text+subject_text&defType=dismax&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (8.1ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&q=you&fl=%2A+score&qf=body_text+subject_text&defType=dismax&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IN (2) Completed 200 OK in 41ms (Views: 1.5ms | ActiveRecord: 0.5ms | Solr: 19.3ms) User Load (0.9ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 SOLR Request (8.0ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (5.6ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IN (2) Completed 200 OK in 28ms (Views: 1.4ms | ActiveRecord: 0.5ms | Solr: 13.6ms) Processing by MessagesController#index as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 5ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 30ms (Views: 3.2ms | ActiveRecord: 0.6ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 403 Forbidden in 13ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#show as HTML Parameters: {"id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 3 AND "messages"."id" = ? LIMIT 1 [["id", "2"]]  (0.0ms) SAVEPOINT active_record_1  (0.3ms) UPDATE "messages" SET "read_at" = '2011-12-17 20:54:11.257621', "updated_at" = '2011-12-17 20:54:11.258055' WHERE "messages"."id" = 2 User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1  (0.4ms) UPDATE "messages" SET "state" = 'read', "updated_at" = '2011-12-17 20:54:11.328367' WHERE "messages"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 92ms (Views: 3.9ms | ActiveRecord: 1.8ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.4ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 9ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_25@example.jp"], ["encrypted_password", "$2a$04$Q7jcQa4DidPr5Cp.fLqfGeYZe0W0iAavv4/ObjeWHp6FOAbFb/aaK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_25"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:11 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:54:11 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:11.390319' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 Completed 200 OK in 14ms (Views: 2.5ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_24@example.jp"], ["encrypted_password", "$2a$04$xlnwSaaIwoakvRqGdr0tQ.A0O8H567rOkIHkNXmznv0QXPiSX1DZG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_24"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:11 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:54:11 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:11.427236' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 Completed 200 OK in 11ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML Parameters: {"parent_id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML Parameters: {"parent_id"=>"2"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Processing by MessagesController#new as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 72ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.3ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_26@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (128.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_26@example.jp"], ["encrypted_password", "$2a$04$FWDM.1wSnIXJzwK.R7mXMuFWlH/VpiDA669F8z3f7CNvdnmZZ9H22"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_26"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:11 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:54:11 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:11.725187' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 12 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 12ms (Views: 1.2ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (467.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_25@example.jp"], ["encrypted_password", "$2a$04$j5WAYabEyq33qbDZcRP9m.NK6xG7ZMJmSDvdTR7G3Dfw0XQnbtEhW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_25"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:12 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:54:12 UTC +00:00], ["user_id", 12]]  (16.8ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:12.316525' WHERE "roles"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 17ms (Views: 1.3ms | ActiveRecord: 0.6ms | Solr: 0.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_102@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_102@example.jp"], ["encrypted_password", "$2a$04$tN34p9SNfKjP7BdbRQCvcOPmwmdnUzhc6rMkhGM3WTxdPuilWD0UW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_102"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:12 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:12 UTC +00:00], ["user_id", 12]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:12.391984' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_103@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_103@example.jp"], ["encrypted_password", "$2a$04$w12h6ESagr9Ir2D5Wpy5EuCQFc9QT0bBZ/0NKLoiw9.TrdOH1Tndi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_103"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:12 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:12 UTC +00:00], ["user_id", 13]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:12.407108' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user_102' LIMIT 1 Message Load (0.3ms) SELECT "messages".* FROM "messages" ORDER BY "rgt" desc LIMIT 1 SQL (0.9ms) INSERT INTO "messages" ("body", "created_at", "lft", "message_request_id", "parent_id", "read_at", "receiver_id", "rgt", "sender_id", "state", "subject", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "new message body is really short"], ["created_at", Sat, 17 Dec 2011 20:54:12 UTC +00:00], ["lft", 9], ["message_request_id", nil], ["parent_id", nil], ["read_at", nil], ["receiver_id", 12], ["rgt", 10], ["sender_id", 13], ["state", "unread"], ["subject", "new message"], ["updated_at", Sat, 17 Dec 2011 20:54:12 UTC +00:00]] SQL (1.3ms) INSERT INTO "delayed_jobs" ("attempts", "created_at", "failed_at", "handler", "last_error", "locked_at", "locked_by", "priority", "run_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attempts", 0], ["created_at", Sat, 17 Dec 2011 20:54:12 UTC +00:00], ["failed_at", nil], ["handler", "--- !ruby/struct:Delayed::PerformableMailer \nobject: !ruby/class Notifier\nmethod_name: :message_notification\nargs: \n- !ruby/ActiveRecord:Message \n attributes: \n id: 8\n read_at: \n receiver_id: 12\n sender_id: 13\n subject: new message\n body: new message body is really short\n message_request_id: \n state: unread\n parent_id: \n created_at: &id001 2011-12-17 20:54:12.413583 Z\n updated_at: *id001\n lft: 9\n rgt: 10\n"], ["last_error", nil], ["locked_at", nil], ["locked_by", nil], ["priority", 0], ["run_at", Sat, 17 Dec 2011 20:54:12 UTC +00:00], ["updated_at", Sat, 17 Dec 2011 20:54:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#edit as HTML Parameters: {"id"=>"8"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "8"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_27@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (15.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_27@example.jp"], ["encrypted_password", "$2a$04$7OIxRf9taB/HUVprPsvtmuriBEWSuOl2Xwu83/urlfqIjbGAG4MeO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_27"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:12 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:54:12 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:12.559182' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user1", "subject"=>"test", "body"=>"test"}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user1' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user1' LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" ORDER BY "rgt" desc LIMIT 1 SQL (37.2ms) INSERT INTO "messages" ("body", "created_at", "lft", "message_request_id", "parent_id", "read_at", "receiver_id", "rgt", "sender_id", "state", "subject", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "test"], ["created_at", Sat, 17 Dec 2011 20:54:12 UTC +00:00], ["lft", 9], ["message_request_id", nil], ["parent_id", nil], ["read_at", nil], ["receiver_id", 3], ["rgt", 10], ["sender_id", 12], ["state", "unread"], ["subject", "test"], ["updated_at", Sat, 17 Dec 2011 20:54:12 UTC +00:00]] SQL (31.7ms) INSERT INTO "delayed_jobs" ("attempts", "created_at", "failed_at", "handler", "last_error", "locked_at", "locked_by", "priority", "run_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attempts", 0], ["created_at", Sat, 17 Dec 2011 20:54:12 UTC +00:00], ["failed_at", nil], ["handler", "--- !ruby/struct:Delayed::PerformableMailer \nobject: !ruby/class Notifier\nmethod_name: :message_notification\nargs: \n- !ruby/ActiveRecord:Message \n attributes: \n id: 8\n read_at: \n receiver_id: 3\n sender_id: 12\n subject: test\n body: test\n message_request_id: \n state: unread\n parent_id: \n created_at: &id001 2011-12-17 20:54:12.577993 Z\n updated_at: *id001\n lft: 9\n rgt: 10\n"], ["last_error", nil], ["locked_at", nil], ["locked_by", nil], ["priority", 0], ["run_at", Sat, 17 Dec 2011 20:54:12 UTC +00:00], ["updated_at", Sat, 17 Dec 2011 20:54:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/messages Completed 302 Found in 90ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_28@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_28@example.jp"], ["encrypted_password", "$2a$04$TkyfleK2zIiktbqM1LPzteYWnl2MAKyM6ZWOMUSPdn.U0K8exGIwC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_28"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:12 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:54:12 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:12.675482' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user1", "subject"=>"test", "body"=>"test"}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user1' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user1' LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" ORDER BY "rgt" desc LIMIT 1 SQL (40.9ms) INSERT INTO "messages" ("body", "created_at", "lft", "message_request_id", "parent_id", "read_at", "receiver_id", "rgt", "sender_id", "state", "subject", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "test"], ["created_at", Sat, 17 Dec 2011 20:54:12 UTC +00:00], ["lft", 9], ["message_request_id", nil], ["parent_id", nil], ["read_at", nil], ["receiver_id", 3], ["rgt", 10], ["sender_id", 12], ["state", "unread"], ["subject", "test"], ["updated_at", Sat, 17 Dec 2011 20:54:12 UTC +00:00]] SQL (1.2ms) INSERT INTO "delayed_jobs" ("attempts", "created_at", "failed_at", "handler", "last_error", "locked_at", "locked_by", "priority", "run_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attempts", 0], ["created_at", Sat, 17 Dec 2011 20:54:12 UTC +00:00], ["failed_at", nil], ["handler", "--- !ruby/struct:Delayed::PerformableMailer \nobject: !ruby/class Notifier\nmethod_name: :message_notification\nargs: \n- !ruby/ActiveRecord:Message \n attributes: \n id: 8\n read_at: \n receiver_id: 3\n sender_id: 12\n subject: test\n body: test\n message_request_id: \n state: unread\n parent_id: \n created_at: &id001 2011-12-17 20:54:12.696544 Z\n updated_at: *id001\n lft: 9\n rgt: 10\n"], ["last_error", nil], ["locked_at", nil], ["locked_by", nil], ["priority", 0], ["run_at", Sat, 17 Dec 2011 20:54:12 UTC +00:00], ["updated_at", Sat, 17 Dec 2011 20:54:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/messages Completed 302 Found in 64ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_29@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (127.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_29@example.jp"], ["encrypted_password", "$2a$04$COxYiUFInqCyfRAtkw8mI.Nx0D.fAn/Rnfy7EqwIfQfPrL6uTlkv6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_29"]] SQL (11.5ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:12 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:54:12 UTC +00:00], ["user_id", 12]]  (15.6ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:12.908038' WHERE "roles"."id" = 4  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user1", "subject"=>"test", "body"=>""}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user1' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 13ms (Views: 1.3ms | ActiveRecord: 0.6ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_30@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (36.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_30@example.jp"], ["encrypted_password", "$2a$04$hybudMjUGFafwoendkq4wuHM83MRrmA/33BcjvhE6qLX5R.9BiDDG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_30"]] SQL (10.7ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["user_id", 12]]  (29.3ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:13.013790' WHERE "roles"."id" = 4  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user1", "subject"=>"test", "body"=>""}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user1' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 13ms (Views: 1.2ms | ActiveRecord: 0.6ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test", "parent_id"=>"2"}} User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user2' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user2' LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" ORDER BY "rgt" desc LIMIT 1 SQL (58.1ms) INSERT INTO "messages" ("body", "created_at", "lft", "message_request_id", "parent_id", "read_at", "receiver_id", "rgt", "sender_id", "state", "subject", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "test"], ["created_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["lft", 9], ["message_request_id", nil], ["parent_id", 2], ["read_at", nil], ["receiver_id", 5], ["rgt", 10], ["sender_id", 2], ["state", "unread"], ["subject", "test"], ["updated_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00]] Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? ORDER BY "lft" LIMIT 1 [["id", 2]] Message Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 8]] SQL (55.2ms) UPDATE "messages" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 8 THEN 2 ELSE "parent_id" END WHERE "messages"."id" IN (SELECT "messages"."id" FROM "messages" ORDER BY "lft") Message Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 2]] Message Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/messages Completed 302 Found in 155ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test", "parent_id"=>"2"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user1", "subject"=>"test", "body"=>"test"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user1", "subject"=>"test", "body"=>"test"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 8ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user1", "subject"=>"test", "body"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user1", "subject"=>"test", "body"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_104@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_104@example.jp"], ["encrypted_password", "$2a$04$dumRPvEvsEcKWbXGHbFkdOcA5vb4iKZID/60/YoiySuQPb3LaNOtm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_104"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:13.554460' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_105@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (6.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_105@example.jp"], ["encrypted_password", "$2a$04$QmGjMNkQD/IJ5SoltLy5BuzJBb/6mJbx3xHFMYuSgqWquV/JM.zE6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_105"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:13.573019' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_104", "sender_id"=>"13", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 11ms (Views: 1.5ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_106@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_106@example.jp"], ["encrypted_password", "$2a$04$vtnvlArE62H5/M6478liluV5PLgEZNwYdAwbXYQwZk9O6l6lWIDya"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_106"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:13.608067' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_107@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_107@example.jp"], ["encrypted_password", "$2a$04$lStwiQ/CsSW3jPWGLALHyuq/jowzIjGPN5GDAk.5Ge0NtardISZlS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_107"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:13.623289' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_106", "sender_id"=>"13", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 11ms (Views: 1.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_108@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_108@example.jp"], ["encrypted_password", "$2a$04$mEQnlAlMvZKOf4F4qBNJfuaJOzKoyDBYxZuJm9WB24Q0IpbluPJ4i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_108"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:13.661701' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_109@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_109@example.jp"], ["encrypted_password", "$2a$04$6X27gJJwRaE802E2yfc8B.HfvnsVlpb8y2RkoTHAQvdDqxpMH4Yl."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_109"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:13.680024' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 11ms (Views: 1.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_110@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_110@example.jp"], ["encrypted_password", "$2a$04$KpxwJ1kErvEYt4JPTol4heoAf5yc8/nbUkVxTpXGxpxIQg9FB1HWy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_110"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:13.710901' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_111@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_111@example.jp"], ["encrypted_password", "$2a$04$8sUujmE2IEgDrCAtBNc14edQIgAigpydbVY0mhMm2od44H.w9Jmma"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_111"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:13.723160' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 46ms (Views: 0.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_112@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_112@example.jp"], ["encrypted_password", "$2a$04$R1IFxCssJ5UYK4Ew/DIklOfi3XCsiUUqYVF.KBnfcRQSgY.57dfBq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_112"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:13.782178' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_113@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_113@example.jp"], ["encrypted_password", "$2a$04$GKuyTbpfdEODOarij1f.h.5kyvKMtLYtAgmvOgAxwO5vQL5hgPYJ2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_113"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:13.790753' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_112", "sender_id"=>"13", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.8ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_114@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_114@example.jp"], ["encrypted_password", "$2a$04$UGKI3VpcLAEUmYHm2ksL/uZl317jvpmgBstko4sXu/oy/d4WNiDyq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_114"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:13.812391' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_115@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_115@example.jp"], ["encrypted_password", "$2a$04$1n1rRqMSrq6r9PhJCD9M9.ivB5gNBU28FoqSni7f5S00KyO7V9o.6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_115"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:13.822983' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_114", "sender_id"=>"13", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.8ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_116@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_116@example.jp"], ["encrypted_password", "$2a$04$ZNagNLRArbA9/sqZnb6tZ.9UVzhP1.hgLE7OfKAFzsRMa0EZUjYcS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_116"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:13.843806' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_117@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_117@example.jp"], ["encrypted_password", "$2a$04$4ja7VzKovJxO2ipuVk7XY.C/hI24WpjA2LeNFDTtLVnMq7zFtQFL6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_117"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:13.852160' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.8ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_118@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_118@example.jp"], ["encrypted_password", "$2a$04$BkS5dLuAbcCdyqB/lCGdre74aikKXKjZCv4DZJXC9eTtGmKsbys4q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_118"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:13.871213' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_119@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_119@example.jp"], ["encrypted_password", "$2a$04$oTeU8FVRPSJXh2xq9jqlHeeIb67sihkffHYZP/eU6CTUuLCKO/aTi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_119"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:13.880514' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (38.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_120@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_120@example.jp"], ["encrypted_password", "$2a$04$OtFNVvKbhKHE0hZu3k1XHe8hLMFXXRcYpfl22LGYykjapGpVCK/NC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_120"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:13.938289' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_121@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_121@example.jp"], ["encrypted_password", "$2a$04$HSgkmbD5jZH/ldj.aNl9U./t7wzkqAuzSyZuEpZcsRLrzrqPqbTh6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_121"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:13.946847' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"2"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_122@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_122@example.jp"], ["encrypted_password", "$2a$04$KHzs0cg09x7GHir3yaJF7eaNebWOdsU.NX6kgxwPHOovavmRL95a2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_122"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:13.964713' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_123@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_123@example.jp"], ["encrypted_password", "$2a$04$leOAzwQ2Rqs9b7ZYWV4OCO2XUgeqDCew4EsJLGp9K9EimkbBlkxoy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_123"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:13.972840' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_124@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_124@example.jp"], ["encrypted_password", "$2a$04$nti2qrvZLCtIuVe04P6uuO72Ro.ZeKl.hHLbh2Zjjx6JQ1rW/oaLm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_124"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:13.991285' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_125@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_125@example.jp"], ["encrypted_password", "$2a$04$YsttRevI9XgN3C1RWQvQ2OIz9ksvaEbI0RJNEciKy7Drnw3pXBFM."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_125"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:13 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:13.999347' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_124", "sender_id"=>"13", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_126@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_126@example.jp"], ["encrypted_password", "$2a$04$xHjSpmLhoBr5nuSIhQEMseM4tDFzV35x25qTa4ZahnoufLYmqbbJS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_126"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:14 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:14 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:14.018592' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_127@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_127@example.jp"], ["encrypted_password", "$2a$04$2tkR8tdQuZdaVk8jmW98X.MB0TKqdAzxoEPC7milsD4XvQxniBonW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_127"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:14 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:14 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:14.027231' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_126", "sender_id"=>"13", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_128@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_128@example.jp"], ["encrypted_password", "$2a$04$CNNJZ45BQYJ4j3r8hbMt6eeYys/kg8T0Zrf9ot3SC.Gg2E3/l.1pK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_128"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:14 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:14 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:14.047467' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_129@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (39.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_129@example.jp"], ["encrypted_password", "$2a$04$aZlIEd4H5Wflv5BIJybW6eK646qOpmJCZDVtzIZ0w0z/TPS/C3zrC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_129"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:14 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:14 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:14.093960' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_130@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_130@example.jp"], ["encrypted_password", "$2a$04$gYx7lxbcKJoe4HxRrRAJmO7Zf8dBFmMiPIEa9Z6OI1nQjhZTSV5jW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_130"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:14 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:14 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:14.112788' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_131@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_131@example.jp"], ["encrypted_password", "$2a$04$oVvyUYK7yKvDoDQK.0qu..Z6no1.K3CMPFkQrncsoxVwB7EQtfsse"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_131"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:14 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:14 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:14.121040' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.7ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_132@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_132@example.jp"], ["encrypted_password", "$2a$04$6nXeWnL/WT2PcjlC/bAqX.M6DPm47TpuxKBDc1DIADsvKXqmFlabe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_132"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:14 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:14 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:14.139212' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_133@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_133@example.jp"], ["encrypted_password", "$2a$04$0cCrwAJ1UH8qu.Pq.hO4ieoCO8oEkJn8yke6xPXWf8A06Ru3GTlxy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:54:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_133"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:54:14 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:54:14 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:54:14.147505' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"2"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#destroy as HTML Parameters: {"id"=>"2"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 3 AND "messages"."id" = ? LIMIT 1 [["id", "2"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "messages" WHERE ("lft" > 3 AND "rgt" < 4) SQL (0.4ms) UPDATE "messages" SET "lft" = ("lft" - 2) WHERE "messages"."id" IN (SELECT "messages"."id" FROM "messages" WHERE ("lft" > 4) ORDER BY "lft") SQL (0.4ms) UPDATE "messages" SET "rgt" = ("rgt" - 2) WHERE "messages"."id" IN (SELECT "messages"."id" FROM "messages" WHERE ("rgt" > 4) ORDER BY "lft") SQL (0.1ms) DELETE FROM "messages" WHERE "messages"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/messages Completed 302 Found in 9ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms LibraryGroup Load (3.2ms) SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]] LibraryGroup Load (0.1ms) SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]] Fixture Delete (61.7ms) DELETE FROM "library_groups" Fixture Insert (15.2ms) INSERT INTO "library_groups" ("id", "name", "display_name", "short_name", "email", "note", "my_networks", "url", "created_at", "updated_at") VALUES (1, 'unknown', 'unknown', 'unknown', 'next-l@library.example.jp', NULL, '0.0.0.0/0', 'http://localhost:3000/', '2011-12-17 20:55:10', '2011-12-17 20:55:10') Fixture Delete (39.1ms) DELETE FROM "message_requests" Fixture Insert (0.2ms) INSERT INTO "message_requests" ("sender_id", "receiver_id", "message_template_id", "state", "created_at", "updated_at", "id") VALUES (1, 1, 1, 'pending', '2011-12-17 20:55:10', '2011-12-17 20:55:10', 980190962) Fixture Insert (0.1ms) INSERT INTO "message_requests" ("sender_id", "receiver_id", "message_template_id", "state", "created_at", "updated_at", "id") VALUES (1, 1, 1, 'pending', '2011-12-17 20:55:10', '2011-12-17 20:55:10', 298486374) Fixture Delete (32.9ms) DELETE FROM "message_templates" Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (1, 'reservation_accepted', 'Reservation accepted', 'Reservation accepted', 1, '2011-12-17 20:55:10', '2011-12-17 20:55:10') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (2, 'item_received', 'Item received', 'Item received', 2, '2011-12-17 20:55:10', '2011-12-17 20:55:10') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (3, 'reservation_expired_for_patron', 'Reservation expired', 'Reservation expired', 3, '2011-12-17 20:55:10', '2011-12-17 20:55:10') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (4, 'reservation_expired_for_library', 'Reservation expired', 'Reservation expired', 4, '2011-12-17 20:55:10', '2011-12-17 20:55:10') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (5, 'reservation_canceled_for_patron', 'Reservation canceled', 'Reservation canceled', 5, '2011-12-17 20:55:10', '2011-12-17 20:55:10') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (6, 'reservation_canceled_for_library', 'Reservation canceled', 'Reservation canceled', 6, '2011-12-17 20:55:10', '2011-12-17 20:55:10') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (7, 'recall_item', 'Recall item', 'Recall item', 7, '2011-12-17 20:55:10', '2011-12-17 20:55:10') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (8, 'recall_overdue_item', 'Recall overdue item', 'Recall overdue item', 8, '2011-12-17 20:55:10', '2011-12-17 20:55:10') Fixture Delete (66.9ms) DELETE FROM "messages" Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "read_at", "state", "lft", "rgt", "updated_at") VALUES (1, 3, 4, 'First Message', 'Abby, you get the first message', '2007-07-04 12:10:47.0', '2011-12-14 20:55:10', 'unread', 1, 2, '2011-12-17 20:55:10') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (2, 4, 3, 'RE: First Message', 'Thanks Dad! You are the coolest!', '2011-12-15 20:55:10', 'unread', 3, 4, '2011-12-17 20:55:10') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (3, 3, 4, 'Second Message', 'Catie, you get the 2nd message', '2011-12-16 20:55:10', 'unread', 5, 6, '2011-12-17 20:55:10') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (6, 4, 5, 'Dad!', 'He is sucha dork.', '2011-12-15 20:55:10', 'unread', 7, 8, '2011-12-17 20:55:10') Fixture Delete (0.1ms) DELETE FROM "roles" Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Guest', 'Guest', 1, NULL, '2011-12-17 20:55:10', '2011-12-17 20:55:10') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('User', 'User', 2, NULL, '2011-12-17 20:55:10', '2011-12-17 20:55:10') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Librarian', 'Librarian', 3, NULL, '2011-12-17 20:55:10', '2011-12-17 20:55:10') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Administrator', 'Administrator', 4, NULL, '2011-12-17 20:55:10', '2011-12-17 20:55:10') Fixture Delete (0.1ms) DELETE FROM "user_groups" Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('(not specified)', '(not specified)', '2007-12-13 12:00:51.564542', 1, '', '2007-12-13 12:00:01.674976', 1) Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('User', 'User', '2007-12-22 18:14:56.836548', 2, '', '2007-12-22 18:14:40.173954', 2) Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('Faculty', 'Faculty', '2007-12-22 18:15:05.134351', 3, '', '2007-12-22 18:15:05.126457', 3) Fixture Delete (0.1ms) DELETE FROM "user_has_roles" Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (1, 4, '2011-12-17 20:55:10', '2011-12-17 20:55:10', 135138680) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (2, 3, '2011-12-17 20:55:10', '2011-12-17 20:55:10', 344583537) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (3, 2, '2011-12-17 20:55:10', '2011-12-17 20:55:10', 206669143) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (4, 3, '2011-12-17 20:55:10', '2011-12-17 20:55:10', 226540757) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (5, 2, '2011-12-17 20:55:10', '2011-12-17 20:55:10', 358143215) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (6, 2, '2011-12-17 20:55:10', '2011-12-17 20:55:10', 576709754) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (7, 2, '2011-12-17 20:55:10', '2011-12-17 20:55:10', 1010528733) Fixture Delete (0.2ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:16:30.163731', '$2a$10$vHohD1WflnTIqAa8zMkF9evwAgIZRw3XuR4d3bi29M.jph/MB/AJi', 2, 1, NULL, 'admin', 'tanabe@kamata.lib.teu.ac.jp', '2007-11-19 07:58:32.111941', 4) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 03:41:16.337474', '$2a$10$9O2VuTccN4gHq36ARg0QReSrb1D7WrBBhZZ759RM9moHbB0W5zCzS', 1, 2, NULL, 'librarian1', 'librarian1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:33.172441', 1) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', '$2a$10$JthS59A0BNkDOoFpCXM0V.GhhffKaoWKbzpPahYp/vTFrOyM7h/uW', 1, 3, NULL, 'user1', 'user1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:23.340575', '$2a$10$YmmTGrYQ1Ir6oc7wXnp.GuNeO1eYLoP3sv8wMSIrTdaGw2BPwRrpS', 1, 4, NULL, 'librarian2', '2008-01-18 03:24:04.222344', 1) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:44.711117', '$2a$10$i7UjJhLVrJM/J7qaTwW39OXw1NiwowUEbtNHVDV0sqMLjX9.UO9ca', 1, 5, NULL, 'user2', '2008-01-18 04:29:06.922728', 2) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 6, NULL, 'user3', 'user3@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 7, NULL, 'user4', 'user4@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (62.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_1@example.jp"], ["encrypted_password", "$2a$04$rxz4MNZhv3S/S1xjB7GcMuXi4.2DUZ1xwUAKQp6iAPmEqSlsjcl2m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:10 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_1"]] SQL (10.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:11 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:55:11 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:11.041764' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Rendered /Users/kosuke/enju_message/app/views/message_requests/index.html.erb within layouts/application (3.8ms) Completed 200 OK in 101ms (Views: 84.7ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (35.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_1@example.jp"], ["encrypted_password", "$2a$04$EV7IAfeDv2n7dXweapRH1eR0f3GFxvsHphGGecBx.GDnhqbhoUiKS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_1"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:11 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:55:11 UTC +00:00], ["user_id", 12]]  (6.3ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:11.286287' WHERE "roles"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 200 OK in 10ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_1@example.jp"], ["encrypted_password", "$2a$04$.CbPGe2s5dM0j8EG6.Bhs.d/RXEE1nPk/EAVIHTRV0blhJ5cznwbC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_1"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:11 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:11 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:11.364653' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 13ms (Views: 2.8ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "message_requests" WHERE ('t'='f') Processing by MessageRequestsController#index as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 18ms  (0.1ms) SELECT COUNT(*) FROM "message_requests" WHERE ('t'='f') Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_2@example.jp"], ["encrypted_password", "$2a$04$TorEQyI/qp7f65DLxI/x0u0QiGwEUxeB91rf.XjnD23qn4QSwwWSO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_2"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:11 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:55:11 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:11.423208' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_2@example.jp"], ["encrypted_password", "$2a$04$hpVEvFmMtREuxHNMgFkO0uTsuPUt0DiLpGVoZIVTeIcS2tIbT8jhO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_2"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:11 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:11 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:11.438111' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (53.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_3@example.jp"], ["encrypted_password", "$2a$04$fsPwNZuYEcHquMMCjMWIduogcnv6Y7rLFaCjVEmctO5OVctkyfIJ."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_3"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:11 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:11 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:11.517532' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_1' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_1"], ["created_at", Sat, 17 Dec 2011 20:55:11 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_1"], ["title", "message_template_1"], ["updated_at", Sat, 17 Dec 2011 20:55:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_1' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:55:11 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 14], ["sender_id", 13], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:55:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.2ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 200 OK in 13ms (Views: 4.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (21.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_2@example.jp"], ["encrypted_password", "$2a$04$EXaRWv7HHXor.lRBDZmUGusrXHe/MSRWyM5IokD4/reypcZZHnAy."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_2"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:11 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:55:11 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:11.607761' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (10.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_4@example.jp"], ["encrypted_password", "$2a$04$X8HaNYNSrqCr1DBYlDRxJ.sMoO2nUix.gdwZn/cA/VvrU75z4/vuu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_4"]] SQL (44.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:11 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:11 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:11.702737' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_5@example.jp"], ["encrypted_password", "$2a$04$q18NFDmh73MEalQqZItjG.4M1XSTnrR0WFm7xAAPryIRC.hSHHykK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_5"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:11 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:11 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:11.715959' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_2' LIMIT 1 SQL (3.8ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_2"], ["created_at", Sat, 17 Dec 2011 20:55:11 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_2"], ["title", "message_template_2"], ["updated_at", Sat, 17 Dec 2011 20:55:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_2' AND "message_templates"."id" != 9) LIMIT 1 SQL (19.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:55:11 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 14], ["sender_id", 13], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:55:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 200 OK in 10ms (Views: 1.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (6.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_6@example.jp"], ["encrypted_password", "$2a$04$WnMwEZ0OkAcBu8AthTpzHOpMs0q2P67geo5YT26roentZUpe5AXVC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_6"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:11 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:11 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:11.827673' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_7@example.jp"], ["encrypted_password", "$2a$04$jXS37yBvkbqCpC26UmxVquqfSEiZf.vS1.7/VnbzBfgPSoEZw1u2W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_7"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:11 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:11 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:11.841607' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_8@example.jp"], ["encrypted_password", "$2a$04$4fjMR0hvov9ZApz5mkry0.sMyrFe/MAxI4vJAE8YAyL8s/kCciVlW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_8"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:11 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:11 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:11.854036' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_3' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_3"], ["created_at", Sat, 17 Dec 2011 20:55:11 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_3"], ["title", "message_template_3"], ["updated_at", Sat, 17 Dec 2011 20:55:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_3' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:55:11 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 14], ["sender_id", 13], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:55:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (52.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_9@example.jp"], ["encrypted_password", "$2a$04$EpGfyBSGX9YXfACxe3bnpuTtn4TSjZ8vbvQexOcau9bke2tHzUZoy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_9"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:11 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:11 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:11.946924' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (8.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_10@example.jp"], ["encrypted_password", "$2a$04$IQNazCdcP546E0RRqSNnFuDVFQowEjZQGdOVP3RrGsxj..ORZKNDi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:11 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_10"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:11 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:11 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:11.972696' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_4' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_4"], ["created_at", Sat, 17 Dec 2011 20:55:11 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_4"], ["title", "message_template_4"], ["updated_at", Sat, 17 Dec 2011 20:55:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_4' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:55:11 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:55:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_3@example.jp"], ["encrypted_password", "$2a$04$BeWD5L4Y8rISlsR7f3vnZumhdSiLkpmsJq29nAHdxHyCANkZRRpJW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_3"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:12.015127' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_11@example.jp"], ["encrypted_password", "$2a$04$nmC988rAbcWFw3De/Ir4MuYhPDIJPD7utQ4EVdaCURxcGirML1RYG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_11"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:12.029231' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_12@example.jp"], ["encrypted_password", "$2a$04$jzce/StaQ2SniUA8vSh2Duwfn5W8D5mTLa.Kqn0WQkPUJqQa1QTtC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_12"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:12.042256' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_5' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_5"], ["created_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_5"], ["title", "message_template_5"], ["updated_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_5' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 14], ["sender_id", 13], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 13ms (Views: 2.6ms | ActiveRecord: 0.7ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_3@example.jp"], ["encrypted_password", "$2a$04$blgNLA.qTV6/.egaubrOUuqLt9oQCUEoUBAX9Oe8.D5NojmS8yaMS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_3"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:12.087771' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_13@example.jp"], ["encrypted_password", "$2a$04$VA4FwqDpSXcLKXyWMCpigOJb6tF9rt4R/x1iHY71bSsVKnLADPCuO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_13"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:12.102345' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.6ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_14@example.jp"], ["encrypted_password", "$2a$04$nvTXNJ42nRjBO0Zkr5YEAuV1VKDCIGjMYrQsOabH31xEbmsXbtnEO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_14"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:12.120613' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_6' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_6"], ["created_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_6"], ["title", "message_template_6"], ["updated_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_6' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 14], ["sender_id", 13], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 17ms (Views: 5.3ms | ActiveRecord: 0.6ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_15@example.jp"], ["encrypted_password", "$2a$04$VNcV.l2vso3Gb/ASO2Ki/.vv2kUR71q4d/yuX/BRTXoTgHOltPm8G"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_15"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:12.172243' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_16@example.jp"], ["encrypted_password", "$2a$04$vCbSzIXZ9cKP29nbnKyVCue3QGd6AqCf0/nAz5W5vTwwzR5LljhyO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_16"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:12.187352' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (60.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_17@example.jp"], ["encrypted_password", "$2a$04$IPmz90EMOo9oVvEJVpaXbua3xiai8t8GElVDFO7WSxXcyHXDwbAc2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_17"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:12.263680' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_7' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_7"], ["created_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_7"], ["title", "message_template_7"], ["updated_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_7' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 14], ["sender_id", 13], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_18@example.jp"], ["encrypted_password", "$2a$04$/ZGrrDhWPXacx1000LDtv.vnlXLa5WLQOtwGpBbv6EXg7q2xxyzj2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_18"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:12.316820' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_19@example.jp"], ["encrypted_password", "$2a$04$LTCW.9bx26Ubn7C.hwHnlum4zY/O6D6X4ofIRafHHjNoCnIh2n/ea"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_19"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:12.330184' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_8' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_8"], ["created_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_8"], ["title", "message_template_8"], ["updated_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_8' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 8ms Role Load (26.6ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (38.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_20@example.jp"], ["encrypted_password", "$2a$04$rqfi.TtvRhdZH6/5Usz61uvLAzTrvZAnfIG7qZxO8FEDNvEdEAHKy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_20"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["user_id", 12]]  (50.4ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:12.447393' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_21@example.jp"], ["encrypted_password", "$2a$04$m6VXazEB.scAkGCuVkDhqeCSMmUX0vA4hRE/KsyHegy/YlUwEy3uy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_21"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:12.579346' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_9' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_9"], ["created_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_9"], ["title", "message_template_9"], ["updated_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_9' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_22@example.jp"], ["encrypted_password", "$2a$04$JJrU0Lg8nXjGkoLgV2IzkOYfTBII25.7iT7AsZJQ3Drmux5guy6mS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_22"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:12.606942' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_23@example.jp"], ["encrypted_password", "$2a$04$tiyEzuWRIinvSZTCast7quB0310E/gqNOED2ykyAm1/2dUv8SYHb."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_23"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:12.621490' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_10' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_10"], ["created_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_10"], ["title", "message_template_10"], ["updated_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_4@example.jp"], ["encrypted_password", "$2a$04$71I3ishE/e1JAfB9AzwlI.s8U44C0EA0nxlvhYNrXsMKr8e/IsiES"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_4"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:12.639295' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"14", "receiver_id"=>"15", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 15 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_10' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 14, "receiver_id" = 15, "message_template_id" = 10, "updated_at" = '2011-12-17 20:55:12.657977' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 20ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (30.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_24@example.jp"], ["encrypted_password", "$2a$04$72acCMTgsjcg8qxfqgyVyuToJahoAqYBO1nIRElhISFpAk93DmKha"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_24"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["user_id", 12]]  (40.5ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:12.723914' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (62.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_25@example.jp"], ["encrypted_password", "$2a$04$ErIg7dKtVqL.s8HwJMwPr.JTCOQaXTSoPvUheRteItqClo4qGwyFm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_25"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["user_id", 13]]  (7.0ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:12.839014' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_11' LIMIT 1 SQL (9.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_11"], ["created_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_11"], ["title", "message_template_11"], ["updated_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_11' AND "message_templates"."id" != 9) LIMIT 1 SQL (31.3ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_26@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_26@example.jp"], ["encrypted_password", "$2a$04$qKwQyKNB79BhybiLr8HMH.dMDdMizbL6pnswxN3VRhWzXmmMbsayC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_26"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:12.910972' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_27@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_27@example.jp"], ["encrypted_password", "$2a$04$SwE2RF6h2wGYJM8.Oj1Oo.mIWZ89NiqCkF7UzGxPth8oBEJSlRGGW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_27"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:12.934226' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_12' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_12"], ["created_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_12"], ["title", "message_template_12"], ["updated_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_5@example.jp"], ["encrypted_password", "$2a$04$brG5N5NmrlAF/mfaaYlvBuE14uZ9JhHZhIQi.oWahW4tvdK7WIvw."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_5"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:12.955067' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"14", "receiver_id"=>"15", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 15 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_12' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 14, "receiver_id" = 15, "message_template_id" = 10, "updated_at" = '2011-12-17 20:55:12.978073' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 17ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_28@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_28@example.jp"], ["encrypted_password", "$2a$04$jgAtqWzqIqhf4U.r/.19w.B1AB90oXz/QKolwnhom5KpSMze4n0G."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:12 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_28"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["user_id", 12]]  (62.9ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:13.002748' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_29@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (192.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_29@example.jp"], ["encrypted_password", "$2a$04$WBALvc2UBoqkSruKHuBTtuaZzdyE.MqxDwbv33EvO.ran3.zie5VK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_29"]] SQL (106.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["user_id", 13]]  (24.4ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:13.374648' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_13' LIMIT 1 SQL (69.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_13"], ["created_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_13"], ["title", "message_template_13"], ["updated_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_13' AND "message_templates"."id" != 9) LIMIT 1 SQL (8.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_30@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_30@example.jp"], ["encrypted_password", "$2a$04$LRtIDortOgXu9S7FZ1cJCepSiHZ9y/adcr4RfQKD4x89xpkJtNjs."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_30"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:13.539908' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_31@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_31@example.jp"], ["encrypted_password", "$2a$04$Yf9aqSh8xrdHdBzmI7DJt.6L0L6MGT1Ketee0/z/rFR8hT4jsHqeW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_31"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:13.568103' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_14' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_14"], ["created_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_14"], ["title", "message_template_14"], ["updated_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_6@example.jp"], ["encrypted_password", "$2a$04$Xy8LBZ3G24WIBUb19n5nwO4CsBPmMLUS67/9I6WqeT3IybxEdFYxK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_6"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:13.578162' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_13' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 17ms (Views: 0.9ms | ActiveRecord: 0.7ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_32@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (43.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_32@example.jp"], ["encrypted_password", "$2a$04$StWmUSGVZgazHIJWtDZHse4x8SYaF6dRHlhrKU0ci77MecB35JJrK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_32"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:13.705407' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_33@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_33@example.jp"], ["encrypted_password", "$2a$04$vXAT6pxIU0rJXKBxSw9kDelr1R6OkQ2UJT8y./LQGuE8upXcMY0R."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_33"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:13.755009' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_15' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_15"], ["created_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_15"], ["title", "message_template_15"], ["updated_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_15' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_34@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_34@example.jp"], ["encrypted_password", "$2a$04$.VZpzdnODUmx5U5ZUejm8.4YZkyXaEJWb/5ixr/s0zeje1Iex5woS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_34"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:13.771479' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_35@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_35@example.jp"], ["encrypted_password", "$2a$04$iRo7ImOOWKMiLcxLoRX7w./4vZWNDu/K823zrahXHfI.olg2oKdwa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_35"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:13.779473' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_16' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_16"], ["created_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_16"], ["title", "message_template_16"], ["updated_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_4@example.jp"], ["encrypted_password", "$2a$04$l7hOjTPqPf5y7g5lG83LIOqxLKsUt.4GuCVWXHN7zZF.Akt30uQYS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_4"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:13.790666' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"14", "receiver_id"=>"15", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 15 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_16' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 14, "receiver_id" = 15, "message_template_id" = 10, "updated_at" = '2011-12-17 20:55:13.804262' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 13ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_36@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_36@example.jp"], ["encrypted_password", "$2a$04$ZS1YkJdNE8FPR77QOdtO6ORTbq4/mp.yxCTKC4IekEMHBGU8WbJxq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_36"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:13.816371' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_37@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_37@example.jp"], ["encrypted_password", "$2a$04$z5gFEmbXj849Ka6oS18gGewKqo1/5cQMwbhusqs/3tMpFlawzpZQe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_37"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:13.825439' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_17' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_17"], ["created_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_17"], ["title", "message_template_17"], ["updated_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_17' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_38@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_38@example.jp"], ["encrypted_password", "$2a$04$Mfv.qklDCAfUGPESE7ghaOglYu9sU.wW7kmJYFWPUuY8vzUkLe8s2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_38"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:13.843280' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_39@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_39@example.jp"], ["encrypted_password", "$2a$04$BR6tIkj2zLpCyf5vBfkvBefh6FlpJETO5tRJpTLTCYWoP7l8KOYUC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_39"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:13.851360' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_18' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_18"], ["created_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_18"], ["title", "message_template_18"], ["updated_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_5@example.jp"], ["encrypted_password", "$2a$04$9IuV3u8M2I83dFoMPR0Wo.yGfUiBre4v1FQo4n/sVcWOEaO1MQUzK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_5"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:13.861233' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"14", "receiver_id"=>"15", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 15 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_18' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 14, "receiver_id" = 15, "message_template_id" = 10, "updated_at" = '2011-12-17 20:55:13.871849' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 11ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_40@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (33.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_40@example.jp"], ["encrypted_password", "$2a$04$hDQISch087snqe61OswbbOIGVdlt4ZbKGmKlnPd4zikj3md1GKsOW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_40"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:13.917478' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_41@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_41@example.jp"], ["encrypted_password", "$2a$04$PUBqam2gIWKuJH42ZcljyuxY1VK3Jpt0lp5MuC69uVF8txVX5I5oC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_41"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:13.925996' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_19' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_19"], ["created_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_19"], ["title", "message_template_19"], ["updated_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_19' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_42@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_42@example.jp"], ["encrypted_password", "$2a$04$rhXwrMFZvE0jP6hEu8P1wOgudmkQEdIEdTEgMPZWavJjPym/uzeLS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_42"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:13.943004' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_43@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_43@example.jp"], ["encrypted_password", "$2a$04$/mFGt/dVhnib/inuQI6iJOjmrfVmJvf3zz/BbV61Wr6B4.dTg1wiC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_43"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:13.950943' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_20' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_20"], ["created_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_20"], ["title", "message_template_20"], ["updated_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_6@example.jp"], ["encrypted_password", "$2a$04$FHvQ/eXMlj.QKdNCFv2I/ugDQfaggwRRq6cVdyjndJtHvnDfqHn3i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_6"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:13.960722' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_19' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 10ms (Views: 0.8ms | ActiveRecord: 0.6ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_44@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_44@example.jp"], ["encrypted_password", "$2a$04$epbWk8xbUJ3N14yYhRCf0e4CIGq0n8fuZZ7reG7uiIzlcoKb4E066"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_44"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:13.982584' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_45@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_45@example.jp"], ["encrypted_password", "$2a$04$CfapGdNGN0t.303jI07sH.g0OFy.ZPajag3Htk/yUQ3AXbAnTMbuW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_45"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:13.991192' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_21' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_21"], ["created_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_21"], ["title", "message_template_21"], ["updated_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_21' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:55:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_46@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_46@example.jp"], ["encrypted_password", "$2a$04$LiMBEC.97kdseIdcOatRZew0v2hx4XyJ9e8fFiQlRvHhdg7q7fhMy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_46"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:14.007207' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_47@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_47@example.jp"], ["encrypted_password", "$2a$04$toz4gby0tbhnO1Tzjn9P2eR2oZtZhxEr0wczsKIALBXUAsLqLT2XK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_47"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:14.015056' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_22' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_22"], ["created_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_22"], ["title", "message_template_22"], ["updated_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_48@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_48@example.jp"], ["encrypted_password", "$2a$04$2Rita7w9hstVlGKqTda/he1jxa7KlxFlSXbuPc5BsIvpLufazXtuG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_48"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:14.027179' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"14", "receiver_id"=>"15", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_49@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (34.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_49@example.jp"], ["encrypted_password", "$2a$04$sslmjQENSQfLPX/j.eqi1.e/WV9LtIwFo/G6485QXmNw47QgfPm8y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_49"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:14.080158' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_50@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_50@example.jp"], ["encrypted_password", "$2a$04$IcvilS0ESvIQFcKV5er0heiGzIB2eOSXcT6BB3juiuMRvdfbI5wMW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_50"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:14.089294' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_23' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_23"], ["created_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_23"], ["title", "message_template_23"], ["updated_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_23' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_51@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_51@example.jp"], ["encrypted_password", "$2a$04$UZ6jfEZ.twoux2d16jQVze6pg6HiB8vncKIXignPoedqtfToR3/Ue"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_51"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:14.105796' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_52@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_52@example.jp"], ["encrypted_password", "$2a$04$U2YbrOCzxMHvC5sOVGOrYeWuK3QIBoWgmMj98ae3KIqWwcARpbwTy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_52"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:14.114402' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_24' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_24"], ["created_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_24"], ["title", "message_template_24"], ["updated_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_53@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_53@example.jp"], ["encrypted_password", "$2a$04$qfPzYVCgH/klLcnYtXz84uf781pUq56et.PSP2MDrwD92q1gteyu2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_53"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:14.128468' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"14", "receiver_id"=>"15", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_54@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_54@example.jp"], ["encrypted_password", "$2a$04$kwdOQ.Lkx57/gn.bCZiiNeVxtuIDsjZKH1hsPDK4wpY0YfYA1n9/2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_54"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:14.159749' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_55@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_55@example.jp"], ["encrypted_password", "$2a$04$IgN0CvaBl0rbHnaSZ32aReSIALzi3p/NOQ6lMQH12QpOp30LpUqW."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_55"]] SQL (0.6ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:14.177126' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_25' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_25"], ["created_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_25"], ["title", "message_template_25"], ["updated_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_25' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_56@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_56@example.jp"], ["encrypted_password", "$2a$04$UlHBTbg7xk6jXxizeY9U9.sqfNbByBwxV4MLrSC1YmwSk2is4q6ly"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_56"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:14.200959' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_57@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_57@example.jp"], ["encrypted_password", "$2a$04$lZDcRUR3QtPSDpfL9rld0ePkDVLBuChl/5SP.GcuzTr9d2uf44lVG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_57"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:14.215460' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_26' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_26"], ["created_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_26"], ["title", "message_template_26"], ["updated_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_58@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_58@example.jp"], ["encrypted_password", "$2a$04$k1ydsGn0uxmpo6bdCPvhK.tCy.zdutJmc03fXNSJxymFIP.2gX2o."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_58"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:14.235776' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 2.1ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_59@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (71.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_59@example.jp"], ["encrypted_password", "$2a$04$tsKFWHqIYfXJqXXe8SolF.xj/T/y6bmWn3G04ZOUxr4gD30fPSc/K"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_59"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:14.338451' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_60@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_60@example.jp"], ["encrypted_password", "$2a$04$aJUpglpIqU0uoAZeflKsw.TlMQrd2a6XvI9Ikk5biCbpSSETNrWuK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_60"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:14.354888' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_27' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_27"], ["created_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_27"], ["title", "message_template_27"], ["updated_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_27' AND "message_templates"."id" != 9) LIMIT 1 SQL (39.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_61@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_61@example.jp"], ["encrypted_password", "$2a$04$JhbwI10E7Felv3BXeTezyO6gJRIodqNpEY.y2cXhBOKnrlTxAs/me"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_61"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:14.440370' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_62@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_62@example.jp"], ["encrypted_password", "$2a$04$MBEoWulA/RrAQ21KX5.3vOHOV0YzLRIawm.INHwGVxOWIoP14NQlm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_62"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:14.453575' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_28' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_28"], ["created_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_28"], ["title", "message_template_28"], ["updated_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"14", "receiver_id"=>"15", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_63@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_63@example.jp"], ["encrypted_password", "$2a$04$BlP33uMfGUiBp4ANDhPI3.tUz82kOCOnn7WGiDfhTyuyBC16ZmCjW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_63"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:14.538087' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_64@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_64@example.jp"], ["encrypted_password", "$2a$04$4aNWqUYyX3ouVbVVYn2Mjey8/fXwTgrrnOyKTw2TISBXAoEEwE6Wa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_64"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:14.551605' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_29' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_29"], ["created_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_29"], ["title", "message_template_29"], ["updated_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_29' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_65@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_65@example.jp"], ["encrypted_password", "$2a$04$xVjQ5lW9dySwc56R4umrwuB7qxowHEAXD/GlwaDnJmwLwEmXsOw/K"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_65"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:14.580111' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_66@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_66@example.jp"], ["encrypted_password", "$2a$04$DwVorgxM5qYoh4o1WJbizONk1ma9SgsHE.nakXhzqMn8mZXY0hLlu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_66"]] SQL (0.7ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:14.593360' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_30' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_30"], ["created_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_30"], ["title", "message_template_30"], ["updated_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"14", "receiver_id"=>"15", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_67@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (9.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_67@example.jp"], ["encrypted_password", "$2a$04$3zsAoojdEKrJpDkEZ3OUTeufvT8XdowTPUjImbxdvB282fxvC5Ara"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_67"]] SQL (9.8ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["user_id", 12]]  (22.5ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:14.685192' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_68@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (7.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_68@example.jp"], ["encrypted_password", "$2a$04$26mNGJ6N1aE0CZBQvgdheuGpyL9QTT7xAbKt.GQpMHcT.dlY6nhea"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_68"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:14.727068' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_31' LIMIT 1 SQL (20.1ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_31"], ["created_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_31"], ["title", "message_template_31"], ["updated_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_31' AND "message_templates"."id" != 9) LIMIT 1 SQL (11.1ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_69@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (66.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_69@example.jp"], ["encrypted_password", "$2a$04$UXKEXoPcZDNDgSVSKG9XXO1SMXMGi6TFtYdKrLtcKw5hCOjDupkPW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_69"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:14.874903' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_70@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_70@example.jp"], ["encrypted_password", "$2a$04$4UjvVeKxsX3lEY.cuvf7tuVSJEDH4RzZlRtPM1/xPHp1rW6J1vxWq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_70"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:14.889156' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_32' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_32"], ["created_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_32"], ["title", "message_template_32"], ["updated_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_71@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (107.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_71@example.jp"], ["encrypted_password", "$2a$04$eHTbUF5gnQ8zBO..FeVHkeNv6boCymKUAsRf3MqTq3XpHe3UQ2smW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:14 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_71"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:15.096998' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_72@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (25.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_72@example.jp"], ["encrypted_password", "$2a$04$5/yw5dLrrcJX8SW/uLRFQOVmvq/kk7S2R0zV6pMGuJP.Crr0X6xTq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_72"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:15.139183' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_33' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_33"], ["created_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_33"], ["title", "message_template_33"], ["updated_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_33' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_7@example.jp"], ["encrypted_password", "$2a$04$XetJf6iFz7qE3lrY5RADYeXDV7bmJOCvTdXnHDC7QUIrPgZj3b83C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_7"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:15.166822' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 11ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.5ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_73@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_73@example.jp"], ["encrypted_password", "$2a$04$YAklsmPHcA24VyU4eWJQBOZbFFqrONRqCmqxVAATsRMrEehrUVLCW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_73"]] SQL (0.6ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["user_id", 12]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:15.202236' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.2ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_74@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_74@example.jp"], ["encrypted_password", "$2a$04$moh1LB/0mlsTyO5oxUfM2.tZx1q0xs9sWfE/gq8hhBX5jrTpzbDjK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_74"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:15.223547' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_34' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_34"], ["created_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_34"], ["title", "message_template_34"], ["updated_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_34' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_8@example.jp"], ["encrypted_password", "$2a$04$vOaicJhW37ePTMN7N8KUnObk1le9ROdsmUSDJZdZPbtvrO6mSBe8O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_8"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["user_id", 14]]  (1.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:15.250005' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 10ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_75@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_75@example.jp"], ["encrypted_password", "$2a$04$e73sqejK/L9AWPWQvjPv2eQ.XlylxM5enYyYkC6L8HTWQDErAW5J."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_75"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:15.286500' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_76@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_76@example.jp"], ["encrypted_password", "$2a$04$eCTeRQ.KGynafk2gg38Mp.4MHA8.pbyxWDW1.t/AoytjQsIrmPZRW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_76"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:15.301798' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_35' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_35"], ["created_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_35"], ["title", "message_template_35"], ["updated_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_35' AND "message_templates"."id" != 9) LIMIT 1 SQL (65.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_7@example.jp"], ["encrypted_password", "$2a$04$i8jvNVgOgsYyfJMzqxOype68Ur9DHmuIKGQFNcycPKETgSUBbfB8q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_7"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:15.392594' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 9ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_77@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_77@example.jp"], ["encrypted_password", "$2a$04$vM/fEiPQ5suhoJyj580.euYaewoV9rs9drPdW.grB.z3OoIQMiTy6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_77"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["user_id", 12]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:15.433524' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_78@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_78@example.jp"], ["encrypted_password", "$2a$04$/Es5AbI6ednk5A0A.5ZAq.RdvfNK1TPPbEHTmrYgSfcExoZqT2/YS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_78"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:15.448162' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_36' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_36"], ["created_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_36"], ["title", "message_template_36"], ["updated_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_36' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_8@example.jp"], ["encrypted_password", "$2a$04$B.N/IbhbL5yjDb2JkPXWBO/7dYmU7FsGe4QIJBYerM4IzNQBRJ2lS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_8"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:15.477794' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 9ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_79@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (6.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_79@example.jp"], ["encrypted_password", "$2a$04$WUA6WafyJCuRcRjR0vqJguIAHJf6simrIA1EWjJIIqWs0uh.opinm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_79"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:15.510686' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_80@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_80@example.jp"], ["encrypted_password", "$2a$04$NnAbhpbgBbQrGAkmITv/SueFwzMf/c/xHmVIBUpYZIxQRHE7JgneC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_80"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:15.523606' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_37' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_37"], ["created_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_37"], ["title", "message_template_37"], ["updated_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_37' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_81@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_81@example.jp"], ["encrypted_password", "$2a$04$O6U4zlX23hQIIaYl92iz2ukmEs/RF4NNfrbVvLcZL7MWPUYm1F3zW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_81"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:15.551395' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_82@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (48.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_82@example.jp"], ["encrypted_password", "$2a$04$uwnm7wCTbk7sAGYDDcIbe.qSPsUwApwUMssvYBIWzaVRxtFAIIy7K"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_82"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:15.632423' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_83@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (65.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_83@example.jp"], ["encrypted_password", "$2a$04$hXlq.k5V2PNpK1yxyRqVOe4kkGgY4BGqqOPynN/dxYP5CXPXQZ4xi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_83"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["user_id", 13]]  (54.8ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:15.709126' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_38' LIMIT 1 SQL (17.8ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_38"], ["created_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_38"], ["title", "message_template_38"], ["updated_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_38' AND "message_templates"."id" != 9) LIMIT 1 SQL (53.6ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_84@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (66.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_84@example.jp"], ["encrypted_password", "$2a$04$9h.Lq5YgOuZ/poKmOI/w8uiCNxYeOOFaLf8M8qMkKw5dm4BaBpQwq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_84"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:15.928758' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_85@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_85@example.jp"], ["encrypted_password", "$2a$04$gnEVSRLWzhDpX95ZBHe3MOj8wAUMkYfK8LiV5ILFjc8ENfd1u4doS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_85"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:15.963253' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_86@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_86@example.jp"], ["encrypted_password", "$2a$04$e7ek.KiexCXNJedwpk8Ix.4dFcCj0XX2Wxm2vjffMkKCWv9NBbm6u"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_86"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:15.978612' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_39' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_39"], ["created_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_39"], ["title", "message_template_39"], ["updated_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_39' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:55:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_87@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:16 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_87@example.jp"], ["encrypted_password", "$2a$04$dpcMRRp0sOdXXDF5aJl69uAEUR7UBpnRaI7F/oXWu2I4H/dLcCQGC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:16 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_87"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:16 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:16 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:16.023113' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (1.8ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_88@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:16 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_88@example.jp"], ["encrypted_password", "$2a$04$DkuzKd7DpiA3eLo9YiaOquBx6AWokNuZLQTdv60fnTkaQZEsn1/wa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:16 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_88"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:16 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:16 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:16.038206' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_40' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_40"], ["created_at", Sat, 17 Dec 2011 20:55:16 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_40"], ["title", "message_template_40"], ["updated_at", Sat, 17 Dec 2011 20:55:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_40' AND "message_templates"."id" != 9) LIMIT 1 SQL (4.6ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 20:55:16 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 20:55:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_41' LIMIT 1 SQL (45.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_41"], ["created_at", Sat, 17 Dec 2011 20:55:16 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_41"], ["title", "message_template_41"], ["updated_at", Sat, 17 Dec 2011 20:55:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (23.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:16 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_9@example.jp"], ["encrypted_password", "$2a$04$QiWVFDBEjLq.SlK7zxS9pOwY6os2wihD2sOPWG1J4q.o0PNohVc4a"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:16 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_9"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:16 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:55:16 UTC +00:00], ["user_id", 12]]  (22.3ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:16.229163' WHERE "roles"."id" = 4  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 200 OK in 17ms (Views: 7.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position LIMIT 10 OFFSET 0  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_42' LIMIT 1 SQL (48.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_42"], ["created_at", Sat, 17 Dec 2011 20:55:16 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_42"], ["title", "message_template_42"], ["updated_at", Sat, 17 Dec 2011 20:55:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (27.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:16 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_9@example.jp"], ["encrypted_password", "$2a$04$a2qCu6dItanP2paNlFkGPO3VShwd//qozb1cuN14maMWxC/JA/bR."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:16 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_9"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:16 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:55:16 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:16.440306' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 200 OK in 43ms (Views: 1.5ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position LIMIT 10 OFFSET 0  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_43' LIMIT 1 SQL (41.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_43"], ["created_at", Sat, 17 Dec 2011 20:55:16 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_43"], ["title", "message_template_43"], ["updated_at", Sat, 17 Dec 2011 20:55:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_89@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (17.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:16 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_89@example.jp"], ["encrypted_password", "$2a$04$GElxMwH7jMidb72QNf3iWeytfLP0yMr8jGa7gEzeEtEZxTQc3j1p6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:16 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_89"]] SQL (10.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:16 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:16 UTC +00:00], ["user_id", 12]]  (22.5ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:16.663567' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 79ms (Views: 1.8ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "message_templates" WHERE ('t'='f')  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_44' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_44"], ["created_at", Sat, 17 Dec 2011 20:55:16 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_44"], ["title", "message_template_44"], ["updated_at", Sat, 17 Dec 2011 20:55:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms  (0.1ms) SELECT COUNT(*) FROM "message_templates" WHERE ('t'='f') Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:16 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_10@example.jp"], ["encrypted_password", "$2a$04$MSCW7ktiAVI5pI7jDwxQAuAYNmgzNeqFsaq3Yr/SFYBaWWGHJsBFS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:16 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_10"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:16 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:55:16 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:16.807578' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_45' LIMIT 1 SQL (1.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_45"], ["created_at", Sat, 17 Dec 2011 20:55:16 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_45"], ["title", "message_template_45"], ["updated_at", Sat, 17 Dec 2011 20:55:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.4ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 200 OK in 11ms (Views: 2.8ms | ActiveRecord: 0.7ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:16 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_10@example.jp"], ["encrypted_password", "$2a$04$f.6unh.WCVr8vMiJoRu9f.BEYU/CKEfAAZk7TJCaLOJ8Z72mrzCkO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:16 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_10"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:16 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:55:16 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:16.850576' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_46' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_46"], ["created_at", Sat, 17 Dec 2011 20:55:16 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_46"], ["title", "message_template_46"], ["updated_at", Sat, 17 Dec 2011 20:55:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 200 OK in 11ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_90@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:16 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_90@example.jp"], ["encrypted_password", "$2a$04$XiGNJsmM2P.nspnOzhlnHOje2GDGrlaUKfg0sKY6qzQGLeGPm3ifO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:16 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_90"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:16 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:16 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:16.893488' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_47' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_47"], ["created_at", Sat, 17 Dec 2011 20:55:16 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_47"], ["title", "message_template_47"], ["updated_at", Sat, 17 Dec 2011 20:55:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_48' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_48"], ["created_at", Sat, 17 Dec 2011 20:55:16 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_48"], ["title", "message_template_48"], ["updated_at", Sat, 17 Dec 2011 20:55:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:16 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_11@example.jp"], ["encrypted_password", "$2a$04$2y59BsayvHYrHic9f9/eMuVATKkKEXESERgcKpd45KEKn1c39kz22"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:16 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_11"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:16 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:55:16 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:16.951729' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:16 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_11@example.jp"], ["encrypted_password", "$2a$04$ukxey3lV0JZGQU.VlZZrYOeBiMqftSJWBz.4Z8Qj8b2wp9pd9uzWm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:16 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_11"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:16 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:55:16 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:16.989702' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.5ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_91@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:17 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_91@example.jp"], ["encrypted_password", "$2a$04$P/xYwNLAJjxB.1CCifjdfuDLbBL3cCxqEsMMzxjVNkMZ0K9WnubfK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:17 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_91"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:17 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:17 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:17.025448' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 67ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Processing by MessageTemplatesController#new as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.4ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:17 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_12@example.jp"], ["encrypted_password", "$2a$04$TZkU6lX6MNbzR3TofStTzOBFgKzuH0fuwnaKZ6ZsU6v988yhFh8jG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:17 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_12"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:17 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:55:17 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:17.131043' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (2.6ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_49' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_49"], ["created_at", Sat, 17 Dec 2011 20:55:17 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_49"], ["title", "message_template_49"], ["updated_at", Sat, 17 Dec 2011 20:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 200 OK in 13ms (Views: 2.8ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:17 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_12@example.jp"], ["encrypted_password", "$2a$04$PJKwLsLsBTHhiNI8Mph/4O5VrrkgEaejWN1yZSWIb9D87vgCkEZ1S"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:17 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_12"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:17 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:55:17 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:17.173925' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_50' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_50"], ["created_at", Sat, 17 Dec 2011 20:55:17 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_50"], ["title", "message_template_50"], ["updated_at", Sat, 17 Dec 2011 20:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_92@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:17 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_92@example.jp"], ["encrypted_password", "$2a$04$YlHc9DzfxidBexgq1/wRxOER4/pbrQUy7TQln2Nywm93bq0yU.xgW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:17 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_92"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:17 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:17 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:17.208484' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_51' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_51"], ["created_at", Sat, 17 Dec 2011 20:55:17 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_51"], ["title", "message_template_51"], ["updated_at", Sat, 17 Dec 2011 20:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_52' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_52"], ["created_at", Sat, 17 Dec 2011 20:55:17 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_52"], ["title", "message_template_52"], ["updated_at", Sat, 17 Dec 2011 20:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:17 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_13@example.jp"], ["encrypted_password", "$2a$04$yKbbGGoDQd0QdjA.sEmT/eIzhUvspei8srQh/G/9BR69iVN8ku01S"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:17 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_13"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:17 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:55:17 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:17.262959' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_53", "status"=>"message_template_53", "body"=>"message_template_53"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_53' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (47.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:17 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_14@example.jp"], ["encrypted_password", "$2a$04$Ze2OOL482cpgj53tI/p97ujei.2VIaoMLivtmN6crLvhRCgTuRyay"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:17 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_14"]] SQL (32.6ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:17 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:55:17 UTC +00:00], ["user_id", 12]]  (18.6ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:17.441152' WHERE "roles"."id" = 4  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_54", "status"=>"message_template_54", "body"=>"message_template_54"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (65.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:17 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_15@example.jp"], ["encrypted_password", "$2a$04$VcZArvKfS7SWy5wzg79JCu4Y8uMgxQ/4.Hcsb2NRN2ygxLbnwurC6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:17 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_15"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:17 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:55:17 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:17.637195' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 68ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (31.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:17 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_16@example.jp"], ["encrypted_password", "$2a$04$mibSf/xr3tzI/9Jwo3WEkewS9koIw3SZsnhrjHJb7Sd4xoruW0Uca"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:17 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_16"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:17 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:55:17 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:17.789669' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (169.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:17 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_13@example.jp"], ["encrypted_password", "$2a$04$k1RzQEsv5c1M4.J4.mUi0OPquwFbcurEXRBBDtXnxiIScUayVY6ue"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:17 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_13"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:18.055023' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_57", "status"=>"message_template_57", "body"=>"message_template_57"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_57' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_14@example.jp"], ["encrypted_password", "$2a$04$6RZYKhcJSmjv/zTGXusALe/MMaCAMAfYnYvZujOR9kjKyHOXthRV."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_14"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:18.089340' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_58", "status"=>"message_template_58", "body"=>"message_template_58"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_15@example.jp"], ["encrypted_password", "$2a$04$HW6P2uJGd4SYX664xv1YmuvSnUPtC/9hi5eemBQ5MNEfjKMfIRXeS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_15"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:18.118834' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (38.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_16@example.jp"], ["encrypted_password", "$2a$04$1xdMpFnAXkVtSi3/PWaVie1dUyQjxLC/aGfxduIdbmGUC5HAdlfny"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_16"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["user_id", 12]]  (19.7ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:18.196216' WHERE "roles"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_93@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_93@example.jp"], ["encrypted_password", "$2a$04$b98I1HgwYfREYi4dhh4qm.SOL9Q75.BAJKhw.lqmh3/yJcvrudiQG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_93"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:18.242606' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_61", "status"=>"message_template_61", "body"=>"message_template_61"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_61' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_94@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_94@example.jp"], ["encrypted_password", "$2a$04$ICDzQWxRqG61LczexWLhXeaVwFDS0zhf0ZXylaS22yWMlNEqc.J1m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_94"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:18.262834' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_62", "status"=>"message_template_62", "body"=>"message_template_62"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_95@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (39.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_95@example.jp"], ["encrypted_password", "$2a$04$VwLbcf4n63fQpXB.tXXybu2AN618oXPpfkBGnOpWuMVMKbqg7dRYq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_95"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:18.324775' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_96@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_96@example.jp"], ["encrypted_password", "$2a$04$ewqFIAwY.Tv2ash4Zjr2iuOzmy/FArR9BqnnJCL4x8qVSvEwJH/yO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_96"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:18.345255' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_65", "status"=>"message_template_65", "body"=>"message_template_65"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 3ms MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_65' LIMIT 1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_66", "status"=>"message_template_66", "body"=>"message_template_66"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 3ms Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 3ms MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 3ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_69' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_69"], ["created_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_69"], ["title", "message_template_69"], ["updated_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_17@example.jp"], ["encrypted_password", "$2a$04$H1gPTJZBJM8CzlbExrta3Ozj79b.17iHCQ0SuL9FFQz1QSOuxNPEK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_17"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:18.392924' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_70", "status"=>"message_template_70", "body"=>"message_template_70"}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_70' AND "message_templates"."id" != 9) LIMIT 1  (0.1ms) UPDATE "message_templates" SET "title" = 'message_template_70', "status" = 'message_template_70', "body" = 'message_template_70', "updated_at" = '2011-12-17 20:55:18.401638' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates/9 Completed 302 Found in 14ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_71' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_71"], ["created_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_71"], ["title", "message_template_71"], ["updated_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_18@example.jp"], ["encrypted_password", "$2a$04$9sJJZ8lV5mdggxzpBgR6kuAx/CWfdI61dLseXpaTh7r/NAiU.MSEa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_18"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:18.422045' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_72", "status"=>"message_template_72", "body"=>"message_template_72"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_72' AND "message_templates"."id" != 9) LIMIT 1  (0.1ms) UPDATE "message_templates" SET "title" = 'message_template_72', "status" = 'message_template_72', "body" = 'message_template_72', "updated_at" = '2011-12-17 20:55:18.431303' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates/9 Completed 302 Found in 8ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_73' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_73"], ["created_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_73"], ["title", "message_template_73"], ["updated_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (36.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_19@example.jp"], ["encrypted_password", "$2a$04$T3tIgX0bvZ3Bio8bUYhCN.UMThvAXHpLWs67VURxgIy2QegTfeYrS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_19"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:18.483539' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_74", "status"=>"message_template_74", "body"=>"message_template_74"}, "position"=>"2", "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "message_templates" SET "position" = 0, "updated_at" = '2011-12-17 20:55:18.490827' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "message_templates" SET position = (position - 1) WHERE "message_templates"."id" IN (SELECT "message_templates"."id" FROM "message_templates" WHERE (1 = 1 AND position > 9) ORDER BY position) SQL (0.2ms) UPDATE "message_templates" SET position = (position + 1) WHERE "message_templates"."id" IN (SELECT "message_templates"."id" FROM "message_templates" WHERE (1 = 1 AND position >= 2) ORDER BY position)  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "message_templates" SET "position" = 2, "updated_at" = '2011-12-17 20:55:18.492578' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates Completed 302 Found in 8ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_75' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_75"], ["created_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_75"], ["title", "message_template_75"], ["updated_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_20@example.jp"], ["encrypted_password", "$2a$04$gyMUxDZeynJA9N2RmQBvDO5uoIZTLwRmQJRKRyP7M8zXzetzCqKv."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_20"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:18.509239' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = '' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 9ms (Views: 0.7ms | ActiveRecord: 0.0ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_77' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_77"], ["created_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_77"], ["title", "message_template_77"], ["updated_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_17@example.jp"], ["encrypted_password", "$2a$04$r4MJhsJ01tzvIrtXnwxzbO26HB6Wdu30t9/I//aceFdF1RvQV3m.m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_17"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:18.594478' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_78", "status"=>"message_template_78", "body"=>"message_template_78"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_79' LIMIT 1 SQL (62.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_79"], ["created_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_79"], ["title", "message_template_79"], ["updated_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (25.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_18@example.jp"], ["encrypted_password", "$2a$04$V1rwlUGrI2rDNnMSjYBZa.D8lGeWWe3aUNS.HnxTM.2rSFGBtcUbS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_18"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:18.702631' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_80", "status"=>"message_template_80", "body"=>"message_template_80"}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_81' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_81"], ["created_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_81"], ["title", "message_template_81"], ["updated_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_19@example.jp"], ["encrypted_password", "$2a$04$MWTJZ/wqaNQtAuvHREDDzeRsskcWCavQe6xC.RVUZhjJQeFgTeZya"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_19"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:18.723143' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_83' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_83"], ["created_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_83"], ["title", "message_template_83"], ["updated_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_97@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_97@example.jp"], ["encrypted_password", "$2a$04$23Ed8nr6dwtZJFo1yySdi.WNOCvlgkjKgUBSm2dn2w4nnRgqPRKBq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_97"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:18.743420' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_84", "status"=>"message_template_84", "body"=>"message_template_84"}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_85' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_85"], ["created_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_85"], ["title", "message_template_85"], ["updated_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_98@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_98@example.jp"], ["encrypted_password", "$2a$04$WDQygM1jM6oCFnjCfdFgMeM6ANFlCFj27QgKyHsSfi6So1kOoz05W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_98"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:18.763386' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_86", "status"=>"message_template_86", "body"=>"message_template_86"}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 43ms (Views: 0.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_87' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_87"], ["created_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_87"], ["title", "message_template_87"], ["updated_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_99@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_99@example.jp"], ["encrypted_password", "$2a$04$ueLKOvMAUNRwMeE2n7jM8.GVaK4r9kOEr7y.uJ0HkVVkWf8wV8Gfq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_99"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:18.821944' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_89' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_89"], ["created_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_89"], ["title", "message_template_89"], ["updated_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_90", "status"=>"message_template_90", "body"=>"message_template_90"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_91' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_91"], ["created_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_91"], ["title", "message_template_91"], ["updated_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_92", "status"=>"message_template_92", "body"=>"message_template_92"}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_93' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_93"], ["created_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_93"], ["title", "message_template_93"], ["updated_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_95' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_95"], ["created_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_95"], ["title", "message_template_95"], ["updated_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_21@example.jp"], ["encrypted_password", "$2a$04$AQ06JiZh31zlnu5IpEh3qewxWGiV9O8FDW.Gdbnprg510wKsjLw9C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_21"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:18.870940' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_96' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_96"], ["created_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_96"], ["title", "message_template_96"], ["updated_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_22@example.jp"], ["encrypted_password", "$2a$04$IsVC54kBZKSzuxdzhc1eSeeAnF4ek.1BVm4ycU31k0sxhjwaoybFG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_22"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:18.891453' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_97' LIMIT 1 SQL (46.1ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_97"], ["created_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_97"], ["title", "message_template_97"], ["updated_at", Sat, 17 Dec 2011 20:55:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_20@example.jp"], ["encrypted_password", "$2a$04$cTLcVKPOnVLTc95d/3NmQuNOkzrvA8DYzfFvYfnBZ5LD3rmMk.YnK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_20"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:19 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:55:19 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:19.011110' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_98' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_98"], ["created_at", Sat, 17 Dec 2011 20:55:19 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_98"], ["title", "message_template_98"], ["updated_at", Sat, 17 Dec 2011 20:55:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_21@example.jp"], ["encrypted_password", "$2a$04$RX4D.ceBTSRJHOtDblf.4OzfF/Dm891EMojgTjZhz4ch113dBsITK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_21"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:19 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:55:19 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:19.031433' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 41ms (Views: 35.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_99' LIMIT 1 SQL (74.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_99"], ["created_at", Sat, 17 Dec 2011 20:55:19 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_99"], ["title", "message_template_99"], ["updated_at", Sat, 17 Dec 2011 20:55:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_100@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_100@example.jp"], ["encrypted_password", "$2a$04$QOKyL38Uo.d3tmQdp5gDpOh4tKKEY.MEzjCGjJe1dzvpiERI97pbW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_100"]] SQL (1.4ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:19 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:19 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:19.310867' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_100' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_100"], ["created_at", Sat, 17 Dec 2011 20:55:19 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_100"], ["title", "message_template_100"], ["updated_at", Sat, 17 Dec 2011 20:55:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.2ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_101@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_101@example.jp"], ["encrypted_password", "$2a$04$4hA1wjir6Fu0RNJ0BPiAuusZ/ZXYHt3JzV0lUdTuXRAvJDeT7YpCm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_101"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:19 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:19 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:19.340480' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_101' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_101"], ["created_at", Sat, 17 Dec 2011 20:55:19 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_101"], ["title", "message_template_101"], ["updated_at", Sat, 17 Dec 2011 20:55:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_102' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_102"], ["created_at", Sat, 17 Dec 2011 20:55:19 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_102"], ["title", "message_template_102"], ["updated_at", Sat, 17 Dec 2011 20:55:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms Role Load (64.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.9ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.2ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (174.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_23@example.jp"], ["encrypted_password", "$2a$04$bnjdSeO0L30ZY6B6aWtB0u66R0FAXZOyWTjCECxMk6p2UZWgpQ4oO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_23"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:20 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:55:20 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:20.865032' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 SOLR Request (3.0ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A12&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (3.2ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A12&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 32ms (Views: 5.8ms | ActiveRecord: 0.4ms | Solr: 6.2ms) Role Load (0.3ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_24@example.jp"], ["encrypted_password", "$2a$04$569lwaHubE3fGV8sG0rct.I0T21GjC.UNKPLf2hP5hspRS8G.0HnK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_24"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:20 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:55:20 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:20.933245' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML Parameters: {"user_id"=>"admin_24"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'admin_24' LIMIT 1 SOLR Request (76.7ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A12&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (12.4ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A12&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 100ms (Views: 1.4ms | ActiveRecord: 0.5ms | Solr: 89.1ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_22@example.jp"], ["encrypted_password", "$2a$04$etKQ7RUZmSC4ybGvO0E1We4MCZvHmlpMMlBP8YlGhv7GafT0/4uHq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_22"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:21 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:55:21 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:21.054042' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 SOLR Request (3.1ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A12&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (4.2ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A12&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 17ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 7.3ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_23@example.jp"], ["encrypted_password", "$2a$04$EvSIlVyjmg/0YVurQvuvWOtJ5xUdYBa9lurpGXRbQZyHvIK7xta76"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_23"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:21 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:55:21 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:21.093195' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML Parameters: {"user_id"=>"librarian_23"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'librarian_23' LIMIT 1 SOLR Request (3.4ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A12&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (18.4ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A12&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 31ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 21.8ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 SOLR Request (3.7ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (11.7ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Message Load (0.3ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IN (2) Completed 200 OK in 65ms (Views: 1.4ms | ActiveRecord: 0.6ms | Solr: 15.4ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML Parameters: {"query"=>"you"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 SOLR Request (4.8ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&q=you&fl=%2A+score&qf=body_text+subject_text&defType=dismax&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (11.4ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&q=you&fl=%2A+score&qf=body_text+subject_text&defType=dismax&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IN (2) Completed 200 OK in 33ms (Views: 3.9ms | ActiveRecord: 0.5ms | Solr: 16.2ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 SOLR Request (8.8ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (9.4ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IN (2) Completed 200 OK in 32ms (Views: 1.5ms | ActiveRecord: 0.6ms | Solr: 18.3ms) Processing by MessagesController#index as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 94ms (Views: 6.6ms | ActiveRecord: 0.6ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 403 Forbidden in 13ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#show as HTML Parameters: {"id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 3 AND "messages"."id" = ? LIMIT 1 [["id", "2"]]  (0.0ms) SAVEPOINT active_record_1  (64.4ms) UPDATE "messages" SET "read_at" = '2011-12-17 20:55:21.526732', "updated_at" = '2011-12-17 20:55:21.527186' WHERE "messages"."id" = 2 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1  (11.9ms) UPDATE "messages" SET "state" = 'read', "updated_at" = '2011-12-17 20:55:21.599335' WHERE "messages"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 126ms (Views: 23.4ms | ActiveRecord: 77.2ms | Solr: 0.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 11ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_25@example.jp"], ["encrypted_password", "$2a$04$IHHFaAJpwbyXNKgZyko/meJn66f3N9uIR2VJHvUFUx6MElwYPO8A6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_25"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:21 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:55:21 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:21.696069' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#new as HTML User Load (1.9ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 Completed 200 OK in 23ms (Views: 5.6ms | ActiveRecord: 2.1ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_24@example.jp"], ["encrypted_password", "$2a$04$hTsCBvhyat3muNPctMZiree/CDZ3KPiSOkMbGNgVvBvCnw40fKYc."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_24"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:21 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:55:21 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:21.748971' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (1.9ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 Completed 200 OK in 90ms (Views: 1.5ms | ActiveRecord: 2.3ms | Solr: 0.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 16ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML Parameters: {"parent_id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 22ms (Views: 1.5ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML Parameters: {"parent_id"=>"2"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 14ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Processing by MessagesController#new as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 8ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_26@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_26@example.jp"], ["encrypted_password", "$2a$04$GwjIQQP/3tqgt8auAYlCROL/n6UhrSxNtcRLcGfKZwMeGVBg2DKla"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_26"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:21 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:55:21 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:21.976625' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 12 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 12ms (Views: 1.3ms | ActiveRecord: 0.6ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_25@example.jp"], ["encrypted_password", "$2a$04$TBeaoqh.tDyRnkOmXhYqA.0/NJIeblj7M.FV/oXqhN4.ctNAw/r66"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_25"]] SQL (0.5ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:22 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 20:55:22 UTC +00:00], ["user_id", 12]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:22.022224' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 37ms (Views: 1.3ms | ActiveRecord: 0.6ms | Solr: 0.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_102@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_102@example.jp"], ["encrypted_password", "$2a$04$RwMJBb8/64B2nY06MiG.XuvHc2b/Bdn0xrYOqtOADZabrDbXL479q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_102"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:22 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:22 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:22.103644' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (1.6ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_103@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_103@example.jp"], ["encrypted_password", "$2a$04$shbNTlTQRynge2en7sVm6uMAgdJ8j0AQ9AL.62jjYMVoA9L7n7/wG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_103"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:22 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:22 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:22.120156' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user_102' LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" ORDER BY "rgt" desc LIMIT 1 SQL (0.9ms) INSERT INTO "messages" ("body", "created_at", "lft", "message_request_id", "parent_id", "read_at", "receiver_id", "rgt", "sender_id", "state", "subject", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "new message body is really short"], ["created_at", Sat, 17 Dec 2011 20:55:22 UTC +00:00], ["lft", 9], ["message_request_id", nil], ["parent_id", nil], ["read_at", nil], ["receiver_id", 12], ["rgt", 10], ["sender_id", 13], ["state", "unread"], ["subject", "new message"], ["updated_at", Sat, 17 Dec 2011 20:55:22 UTC +00:00]] SQL (4.1ms) INSERT INTO "delayed_jobs" ("attempts", "created_at", "failed_at", "handler", "last_error", "locked_at", "locked_by", "priority", "run_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attempts", 0], ["created_at", Sat, 17 Dec 2011 20:55:22 UTC +00:00], ["failed_at", nil], ["handler", "--- !ruby/struct:Delayed::PerformableMailer \nobject: !ruby/class Notifier\nmethod_name: :message_notification\nargs: \n- !ruby/ActiveRecord:Message \n attributes: \n id: 8\n read_at: \n receiver_id: 12\n sender_id: 13\n subject: new message\n body: new message body is really short\n message_request_id: \n state: unread\n parent_id: \n created_at: &id001 2011-12-17 20:55:22.127051 Z\n updated_at: *id001\n lft: 9\n rgt: 10\n"], ["last_error", nil], ["locked_at", nil], ["locked_by", nil], ["priority", 0], ["run_at", Sat, 17 Dec 2011 20:55:22 UTC +00:00], ["updated_at", Sat, 17 Dec 2011 20:55:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#edit as HTML Parameters: {"id"=>"8"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "8"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_27@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (74.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_27@example.jp"], ["encrypted_password", "$2a$04$vekAZtGP.ekSV4WxcunFSep6cq/gREZ42yfQ3nVtgT3sWYW3XV6Hm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_27"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:22 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:55:22 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:22.419971' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user1", "subject"=>"test", "body"=>"test"}, "user_id"=>"user1"} User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user1' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user1' LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" ORDER BY "rgt" desc LIMIT 1 SQL (9.5ms) INSERT INTO "messages" ("body", "created_at", "lft", "message_request_id", "parent_id", "read_at", "receiver_id", "rgt", "sender_id", "state", "subject", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "test"], ["created_at", Sat, 17 Dec 2011 20:55:22 UTC +00:00], ["lft", 9], ["message_request_id", nil], ["parent_id", nil], ["read_at", nil], ["receiver_id", 3], ["rgt", 10], ["sender_id", 12], ["state", "unread"], ["subject", "test"], ["updated_at", Sat, 17 Dec 2011 20:55:22 UTC +00:00]] SQL (25.8ms) INSERT INTO "delayed_jobs" ("attempts", "created_at", "failed_at", "handler", "last_error", "locked_at", "locked_by", "priority", "run_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attempts", 0], ["created_at", Sat, 17 Dec 2011 20:55:22 UTC +00:00], ["failed_at", nil], ["handler", "--- !ruby/struct:Delayed::PerformableMailer \nobject: !ruby/class Notifier\nmethod_name: :message_notification\nargs: \n- !ruby/ActiveRecord:Message \n attributes: \n id: 8\n read_at: \n receiver_id: 3\n sender_id: 12\n subject: test\n body: test\n message_request_id: \n state: unread\n parent_id: \n created_at: &id001 2011-12-17 20:55:22.437777 Z\n updated_at: *id001\n lft: 9\n rgt: 10\n"], ["last_error", nil], ["locked_at", nil], ["locked_by", nil], ["priority", 0], ["run_at", Sat, 17 Dec 2011 20:55:22 UTC +00:00], ["updated_at", Sat, 17 Dec 2011 20:55:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/messages Completed 302 Found in 55ms User Load (27.9ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_28@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (25.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_28@example.jp"], ["encrypted_password", "$2a$04$sUxdJJ858PO03n9M2i/cseqtzbJEUGYjuZGs5RDv3.wPH8KGcgj1."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_28"]] SQL (26.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:22 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:55:22 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:22.642129' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user1", "subject"=>"test", "body"=>"test"}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user1' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user1' LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" ORDER BY "rgt" desc LIMIT 1 SQL (45.6ms) INSERT INTO "messages" ("body", "created_at", "lft", "message_request_id", "parent_id", "read_at", "receiver_id", "rgt", "sender_id", "state", "subject", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "test"], ["created_at", Sat, 17 Dec 2011 20:55:22 UTC +00:00], ["lft", 9], ["message_request_id", nil], ["parent_id", nil], ["read_at", nil], ["receiver_id", 3], ["rgt", 10], ["sender_id", 12], ["state", "unread"], ["subject", "test"], ["updated_at", Sat, 17 Dec 2011 20:55:22 UTC +00:00]] SQL (1.2ms) INSERT INTO "delayed_jobs" ("attempts", "created_at", "failed_at", "handler", "last_error", "locked_at", "locked_by", "priority", "run_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attempts", 0], ["created_at", Sat, 17 Dec 2011 20:55:22 UTC +00:00], ["failed_at", nil], ["handler", "--- !ruby/struct:Delayed::PerformableMailer \nobject: !ruby/class Notifier\nmethod_name: :message_notification\nargs: \n- !ruby/ActiveRecord:Message \n attributes: \n id: 8\n read_at: \n receiver_id: 3\n sender_id: 12\n subject: test\n body: test\n message_request_id: \n state: unread\n parent_id: \n created_at: &id001 2011-12-17 20:55:22.682799 Z\n updated_at: *id001\n lft: 9\n rgt: 10\n"], ["last_error", nil], ["locked_at", nil], ["locked_by", nil], ["priority", 0], ["run_at", Sat, 17 Dec 2011 20:55:22 UTC +00:00], ["updated_at", Sat, 17 Dec 2011 20:55:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/messages Completed 302 Found in 88ms User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_29@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_29@example.jp"], ["encrypted_password", "$2a$04$1rFK.YQqPMeQchyt3pZeIe1FzfSZiNNEYiOSbeFdd3m/nVsBD9HwC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_29"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:22 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:55:22 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:22.752044' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user1", "subject"=>"test", "body"=>""}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user1' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 17ms (Views: 4.3ms | ActiveRecord: 0.6ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_30@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_30@example.jp"], ["encrypted_password", "$2a$04$JQcz5R6Z4sBZYWWhN763yuAmw16R8QwLALFn9GeCTnZDc0Le3bwHa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_30"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:22 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 20:55:22 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:22.793385' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user1", "subject"=>"test", "body"=>""}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user1' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 81ms (Views: 1.2ms | ActiveRecord: 0.7ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test", "parent_id"=>"2"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user2' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user2' LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" ORDER BY "rgt" desc LIMIT 1 SQL (0.9ms) INSERT INTO "messages" ("body", "created_at", "lft", "message_request_id", "parent_id", "read_at", "receiver_id", "rgt", "sender_id", "state", "subject", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "test"], ["created_at", Sat, 17 Dec 2011 20:55:22 UTC +00:00], ["lft", 9], ["message_request_id", nil], ["parent_id", 2], ["read_at", nil], ["receiver_id", 5], ["rgt", 10], ["sender_id", 2], ["state", "unread"], ["subject", "test"], ["updated_at", Sat, 17 Dec 2011 20:55:22 UTC +00:00]] Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? ORDER BY "lft" LIMIT 1 [["id", 2]] Message Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 8]] SQL (0.6ms) UPDATE "messages" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 8 THEN 2 ELSE "parent_id" END WHERE "messages"."id" IN (SELECT "messages"."id" FROM "messages" ORDER BY "lft") Message Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 2]] Message Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/messages Completed 302 Found in 21ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test", "parent_id"=>"2"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 15ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user1", "subject"=>"test", "body"=>"test"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user1", "subject"=>"test", "body"=>"test"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user1", "subject"=>"test", "body"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user1", "subject"=>"test", "body"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_104@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_104@example.jp"], ["encrypted_password", "$2a$04$TgWagjbZzeIQR6dLHeUWxeg9aEuwnETSZbNOlVFZ7.KcFdLbW2qBO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_104"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:23 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:23.012818' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.6ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_105@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_105@example.jp"], ["encrypted_password", "$2a$04$qVjNhFEa1qwhY/dyc9fdaO2JMxN6IoKP4lDr0UImafyr7sdWXiT8q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_105"]] SQL (18.5ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:23 UTC +00:00], ["user_id", 13]]  (8.7ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:23.045719' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_104", "sender_id"=>"13", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 12ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_106@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (34.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_106@example.jp"], ["encrypted_password", "$2a$04$ZXla2HUEmM4FBUNExL4bcOWKuAS9HYWNhPutGL.0vCaBd91eL4XkG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_106"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:23 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:23.127946' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_107@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (15.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_107@example.jp"], ["encrypted_password", "$2a$04$FQeD/n3D3RlSa5ESztSfdehE4nhToTaoyS3.yfCToDUuH04wPSxvq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_107"]] SQL (10.7ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:23 UTC +00:00], ["user_id", 13]]  (15.8ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:23.165988' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_106", "sender_id"=>"13", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 10ms (Views: 1.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_108@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (51.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_108@example.jp"], ["encrypted_password", "$2a$04$rfKC0DSgMtgHDy34W7m50eMFhtS0itz6yqTYenOeHP5.96ZuTAWgC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_108"]] SQL (17.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:23 UTC +00:00], ["user_id", 12]]  (12.0ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:23.309127' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_109@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (12.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_109@example.jp"], ["encrypted_password", "$2a$04$uKfDTABt0J2JxnD66qaBH.mkrA.HfnxkACT.m0vQ9mRF0SrCIifCu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_109"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:23 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:23.341389' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 7ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_110@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_110@example.jp"], ["encrypted_password", "$2a$04$/TPQqDGXJl880PMSibNT1uMAwh.IbqA0vb0xwETETUvzHZiRvq42."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_110"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:23 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:23.361902' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_111@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (111.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_111@example.jp"], ["encrypted_password", "$2a$04$tdmX8HCBo1G2STaq8Xuhu.rmHQx5nEJXc.591616B0LreP6Oiy6Se"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_111"]] SQL (21.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:23 UTC +00:00], ["user_id", 13]]  (34.3ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:23.550205' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_112@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (85.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_112@example.jp"], ["encrypted_password", "$2a$04$51P24LbSi1hz8VfCGYy3.OMutLPRpAzergjMjpGWyLEm/cyw/6q3W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_112"]] SQL (8.8ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:23 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:23.764906' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_113@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (44.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_113@example.jp"], ["encrypted_password", "$2a$04$tbXQClpWdMt1gQ9m9dI.5Oq.Bs/qqDsaRD3MpZJB76r4QokOos/eS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_113"]] SQL (12.9ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:23 UTC +00:00], ["user_id", 13]]  (3.0ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:23.829939' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_112", "sender_id"=>"13", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.8ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_114@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_114@example.jp"], ["encrypted_password", "$2a$04$prkKxrOKgcWpwR3lw00hyuC3NGTSkhkG/2U3KHA0tZhTqLwWd2OW6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_114"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:23 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:23.897135' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_115@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_115@example.jp"], ["encrypted_password", "$2a$04$YV8mb9t/gGTtE8u64kOnO.NwiPJtb8yIK.4AF31vt8KDiOL8Lnd/W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_115"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:23 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:23.908232' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_114", "sender_id"=>"13", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.8ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_116@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_116@example.jp"], ["encrypted_password", "$2a$04$EMzcnZcasdruy/B4Uy0rweZKs6Z11XBmTNKVbsd5K63OjzXzO3pfG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_116"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:23 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:23.928985' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_117@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (38.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_117@example.jp"], ["encrypted_password", "$2a$04$sebZYjeTs8T5v2o0D8YyDOTS1bmLLNOiZ6F3ymVYw30C1OtH7fldi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_117"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:23 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:23.974704' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.8ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_118@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_118@example.jp"], ["encrypted_password", "$2a$04$sjwpNStW6Kx5EXUxouiwVuOu4TQXx2.nQsV3JnX7LO/qesOu8KoRy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_118"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:23 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:23.994466' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_119@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_119@example.jp"], ["encrypted_password", "$2a$04$gQoA7bBRjrkgQ69HOzOCfOKk8r02Of4uEUrE5IkuvwUtgR5S3dGT."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_119"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:24 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:24 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:24.003211' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_120@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_120@example.jp"], ["encrypted_password", "$2a$04$MGVe3B02Bq2chiQm/UeQz.vc47AQN0h./GF4WFmvuXuI8RkdpgN4m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_120"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:24 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:24 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:24.023658' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_121@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_121@example.jp"], ["encrypted_password", "$2a$04$mLSrxv/VK3d80qckYeWaI.4FnONOP4439aXPAHAEtn4d7r4/HEM/q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_121"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:24 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:24 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:24.032855' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"2"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_122@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_122@example.jp"], ["encrypted_password", "$2a$04$.tuWJxpMWsvj6Kb/AnccV./9HQmcqvBSTHsxAs/xHYlQ91EFYvgiu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_122"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:24 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:24 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:24.051656' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_123@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_123@example.jp"], ["encrypted_password", "$2a$04$RUnxEXaLwo8oRmI8WivDC.yEyUibKBQC61H.JBhu2659R5oLu2M36"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_123"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:24 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:24 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:24.060285' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.7ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_124@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_124@example.jp"], ["encrypted_password", "$2a$04$7c306..RCsa0DOQ8v2K5P.Kb6rCN78GiK0n50elMTc0dplY5Ibbv2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_124"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:24 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:24 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:24.078966' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_125@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_125@example.jp"], ["encrypted_password", "$2a$04$Da.BUMusVBsCi/vh.TvGV.gjJR9emlgKyl5ZlKWDYiISCpZoo7yWG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_125"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:24 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:24 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:24.087557' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_124", "sender_id"=>"13", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 43ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_126@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_126@example.jp"], ["encrypted_password", "$2a$04$slmhI5GPrhVIZOHFKL5TPen0pOvPIhjHmYZf.otc0axrZMh8iLkGO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_126"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:24 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:24 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:24.143807' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_127@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_127@example.jp"], ["encrypted_password", "$2a$04$KfM3JKDz/lHNZ48H5wHAqOvHSDnEAIXAfhKhB3BUgjv8H0RZ1e3JW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_127"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:24 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:24 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:24.152180' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_126", "sender_id"=>"13", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.7ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_128@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_128@example.jp"], ["encrypted_password", "$2a$04$HVuttrctYYD38F/eswqAjel8/oH3dWwk7FsZxHJIHbCS3tV1mnxDW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_128"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:24 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:24 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:24.170796' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_129@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_129@example.jp"], ["encrypted_password", "$2a$04$o8u0Y0dpI1FNVW9TkUpiZOhluCInH1TVcPWrMwnP0efTq7Bgkx/L2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_129"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:24 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:24 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:24.179726' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_130@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_130@example.jp"], ["encrypted_password", "$2a$04$fXiXaFISI1FUYbzGayVHR.4VFZasK.tBkNsrHATkK.8x55uHVMYOW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_130"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:24 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:24 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:24.198992' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_131@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_131@example.jp"], ["encrypted_password", "$2a$04$abXte6S1VXo6hqlA1qiTdeh/U3cI1BtoA/.f.aXhwijwYEhv3rDLa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_131"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:24 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:24 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:24.208285' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_132@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_132@example.jp"], ["encrypted_password", "$2a$04$zquZ4hxPG4uB5vM2Vn/GLeuu3c3.EsMmJlh/c5RH.hrmJ5k04qkom"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_132"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:24 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:24 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:24.235546' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_133@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_133@example.jp"], ["encrypted_password", "$2a$04$bu8sPDmekwANE/ymMUzieuXBF0svqLSAOMFLT0oPWRteW80.Qtz8S"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 20:55:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_133"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 20:55:24 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 20:55:24 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 20:55:24.248787' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#destroy as HTML Parameters: {"id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 3 AND "messages"."id" = ? LIMIT 1 [["id", "2"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "messages" WHERE ("lft" > 3 AND "rgt" < 4) SQL (0.4ms) UPDATE "messages" SET "lft" = ("lft" - 2) WHERE "messages"."id" IN (SELECT "messages"."id" FROM "messages" WHERE ("lft" > 4) ORDER BY "lft") SQL (0.5ms) UPDATE "messages" SET "rgt" = ("rgt" - 2) WHERE "messages"."id" IN (SELECT "messages"."id" FROM "messages" WHERE ("rgt" > 4) ORDER BY "lft") SQL (0.2ms) DELETE FROM "messages" WHERE "messages"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/messages Completed 302 Found in 16ms User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 9ms LibraryGroup Load (3.0ms) SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]] LibraryGroup Load (0.1ms) SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]] Fixture Delete (0.4ms) DELETE FROM "library_groups" Fixture Insert (0.2ms) INSERT INTO "library_groups" ("id", "name", "display_name", "short_name", "email", "note", "my_networks", "url", "created_at", "updated_at") VALUES (1, 'unknown', 'unknown', 'unknown', 'next-l@library.example.jp', NULL, '0.0.0.0/0', 'http://localhost:3000/', '2011-12-17 21:04:18', '2011-12-17 21:04:18') Fixture Delete (0.1ms) DELETE FROM "message_requests" Fixture Insert (1.5ms) INSERT INTO "message_requests" ("sender_id", "receiver_id", "message_template_id", "state", "created_at", "updated_at", "id") VALUES (1, 1, 1, 'pending', '2011-12-17 21:04:18', '2011-12-17 21:04:18', 980190962) Fixture Insert (0.1ms) INSERT INTO "message_requests" ("sender_id", "receiver_id", "message_template_id", "state", "created_at", "updated_at", "id") VALUES (1, 1, 1, 'pending', '2011-12-17 21:04:18', '2011-12-17 21:04:18', 298486374) Fixture Delete (0.1ms) DELETE FROM "message_templates" Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (1, 'reservation_accepted', 'Reservation accepted', 'Reservation accepted', 1, '2011-12-17 21:04:18', '2011-12-17 21:04:18') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (2, 'item_received', 'Item received', 'Item received', 2, '2011-12-17 21:04:18', '2011-12-17 21:04:18') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (3, 'reservation_expired_for_patron', 'Reservation expired', 'Reservation expired', 3, '2011-12-17 21:04:18', '2011-12-17 21:04:18') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (4, 'reservation_expired_for_library', 'Reservation expired', 'Reservation expired', 4, '2011-12-17 21:04:18', '2011-12-17 21:04:18') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (5, 'reservation_canceled_for_patron', 'Reservation canceled', 'Reservation canceled', 5, '2011-12-17 21:04:18', '2011-12-17 21:04:18') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (6, 'reservation_canceled_for_library', 'Reservation canceled', 'Reservation canceled', 6, '2011-12-17 21:04:18', '2011-12-17 21:04:18') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (7, 'recall_item', 'Recall item', 'Recall item', 7, '2011-12-17 21:04:18', '2011-12-17 21:04:18') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (8, 'recall_overdue_item', 'Recall overdue item', 'Recall overdue item', 8, '2011-12-17 21:04:18', '2011-12-17 21:04:18') Fixture Delete (0.3ms) DELETE FROM "messages" Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "read_at", "state", "lft", "rgt", "updated_at") VALUES (1, 3, 4, 'First Message', 'Abby, you get the first message', '2007-07-04 12:10:47.0', '2011-12-14 21:04:18', 'unread', 1, 2, '2011-12-17 21:04:18') Fixture Insert (0.2ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (2, 4, 3, 'RE: First Message', 'Thanks Dad! You are the coolest!', '2011-12-15 21:04:18', 'unread', 3, 4, '2011-12-17 21:04:18') Fixture Insert (0.2ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (3, 3, 4, 'Second Message', 'Catie, you get the 2nd message', '2011-12-16 21:04:18', 'unread', 5, 6, '2011-12-17 21:04:18') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (6, 4, 5, 'Dad!', 'He is sucha dork.', '2011-12-15 21:04:18', 'unread', 7, 8, '2011-12-17 21:04:18') Fixture Delete (0.1ms) DELETE FROM "roles" Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Guest', 'Guest', 1, NULL, '2011-12-17 21:04:18', '2011-12-17 21:04:18') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('User', 'User', 2, NULL, '2011-12-17 21:04:18', '2011-12-17 21:04:18') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Librarian', 'Librarian', 3, NULL, '2011-12-17 21:04:18', '2011-12-17 21:04:18') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Administrator', 'Administrator', 4, NULL, '2011-12-17 21:04:18', '2011-12-17 21:04:18') Fixture Delete (0.1ms) DELETE FROM "user_groups" Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('(not specified)', '(not specified)', '2007-12-13 12:00:51.564542', 1, '', '2007-12-13 12:00:01.674976', 1) Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('User', 'User', '2007-12-22 18:14:56.836548', 2, '', '2007-12-22 18:14:40.173954', 2) Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('Faculty', 'Faculty', '2007-12-22 18:15:05.134351', 3, '', '2007-12-22 18:15:05.126457', 3) Fixture Delete (0.1ms) DELETE FROM "user_has_roles" Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (1, 4, '2011-12-17 21:04:18', '2011-12-17 21:04:18', 135138680) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (2, 3, '2011-12-17 21:04:18', '2011-12-17 21:04:18', 344583537) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (3, 2, '2011-12-17 21:04:18', '2011-12-17 21:04:18', 206669143) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (4, 3, '2011-12-17 21:04:18', '2011-12-17 21:04:18', 226540757) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (5, 2, '2011-12-17 21:04:18', '2011-12-17 21:04:18', 358143215) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (6, 2, '2011-12-17 21:04:18', '2011-12-17 21:04:18', 576709754) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (7, 2, '2011-12-17 21:04:18', '2011-12-17 21:04:18', 1010528733) Fixture Delete (0.2ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:16:30.163731', '$2a$10$vHohD1WflnTIqAa8zMkF9evwAgIZRw3XuR4d3bi29M.jph/MB/AJi', 2, 1, NULL, 'admin', 'tanabe@kamata.lib.teu.ac.jp', '2007-11-19 07:58:32.111941', 4) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 03:41:16.337474', '$2a$10$9O2VuTccN4gHq36ARg0QReSrb1D7WrBBhZZ759RM9moHbB0W5zCzS', 1, 2, NULL, 'librarian1', 'librarian1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:33.172441', 1) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', '$2a$10$JthS59A0BNkDOoFpCXM0V.GhhffKaoWKbzpPahYp/vTFrOyM7h/uW', 1, 3, NULL, 'user1', 'user1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:23.340575', '$2a$10$YmmTGrYQ1Ir6oc7wXnp.GuNeO1eYLoP3sv8wMSIrTdaGw2BPwRrpS', 1, 4, NULL, 'librarian2', '2008-01-18 03:24:04.222344', 1) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:44.711117', '$2a$10$i7UjJhLVrJM/J7qaTwW39OXw1NiwowUEbtNHVDV0sqMLjX9.UO9ca', 1, 5, NULL, 'user2', '2008-01-18 04:29:06.922728', 2) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 6, NULL, 'user3', 'user3@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 7, NULL, 'user4', 'user4@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_1@example.jp"], ["encrypted_password", "$2a$04$1ozruWkyh9OweW/5j3PE.e/3QCorPkc7wiOqQh09obhLcHl2hUmbe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_1"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:18 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:04:18 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:18.629866' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 MessageRequest Load (0.3ms) SELECT "message_requests".* FROM "message_requests" WHERE (sent_at IS NULL AND state = 'pending') ORDER BY created_at DESC Completed 500 Internal Server Error in 74ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (5.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_1@example.jp"], ["encrypted_password", "$2a$04$bvI/dYMb84QkkqnAV/8xBeeLhF4irP9QcmDk6tGuvh2OcLOlgvmLi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_1"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:18 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:04:18 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:18.739132' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 MessageRequest Load (0.3ms) SELECT "message_requests".* FROM "message_requests" WHERE (sent_at IS NULL AND state = 'pending') ORDER BY created_at DESC Completed 500 Internal Server Error in 12ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_1@example.jp"], ["encrypted_password", "$2a$04$E5cduwMIWbLbkww770Mo5e14OfaziLeYel5OEwGIAij.iDjE.0PkS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_1"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:18 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:18 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:18.772653' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 49ms (Views: 40.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "message_requests" WHERE ('t'='f') Processing by MessageRequestsController#index as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 62ms  (0.1ms) SELECT COUNT(*) FROM "message_requests" WHERE ('t'='f') Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_2@example.jp"], ["encrypted_password", "$2a$04$oX1yaGGG2o1y//196RxeDOgJAkUISFld9TygvLJk7IGL5y8pfkHam"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_2"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:18 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:04:18 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:18.908615' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_2@example.jp"], ["encrypted_password", "$2a$04$uTuAfj/.zssLZBLbmAvBj.BKIfTYBY0/RMaOg/8vA3DeVORaff/Ce"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_2"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:18 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:18 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:18.923492' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_3@example.jp"], ["encrypted_password", "$2a$04$ePzmgcYwBm7/dJ1G9VCfSeJpZTFxSAvY3YJ9rOIlRHuv5umpkoTO6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_3"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:18 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:18 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:18.937439' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_1' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_1"], ["created_at", Sat, 17 Dec 2011 21:04:18 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_1"], ["title", "message_template_1"], ["updated_at", Sat, 17 Dec 2011 21:04:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_1' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:04:18 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 14], ["sender_id", 13], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:04:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.2ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 200 OK in 13ms (Views: 2.5ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (5.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_2@example.jp"], ["encrypted_password", "$2a$04$WFb8YoHzmEsHBHGCW63tHeWidZjDhR675G5agPcBLONW8h.MgnPey"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:18 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_2"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:19.006405' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (1.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_4@example.jp"], ["encrypted_password", "$2a$04$9Nl3j0FWyo0AFZ76zNrDwumUFwlLkjEgrYiYxnuQ6QNZv5tw98HdC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_4"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:19.020758' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_5@example.jp"], ["encrypted_password", "$2a$04$favuMAn8sAOuLZCzehLliuDtH1aMakp7QCvEzVIKxw3r0bAY41uVS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_5"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:19.034304' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_2' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_2"], ["created_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_2"], ["title", "message_template_2"], ["updated_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_2' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 14], ["sender_id", 13], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 200 OK in 10ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_6@example.jp"], ["encrypted_password", "$2a$04$YYpQ1hFQQjoseqmHY.TFY.tNWg9S3v0yKcjG/HSJ3O8r/lRbnszru"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_6"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:19.076150' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (54.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_7@example.jp"], ["encrypted_password", "$2a$04$R5QSBVUBSBgC.QTcfhi1Ief3fHK7CT5JGnSPb4Rpw/bMK4iqBHkV."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_7"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:19.142596' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_8@example.jp"], ["encrypted_password", "$2a$04$Ms/uEg7/fe5FkWQjSUEKVu/NahY8X1gUzo1YD3CHIk46yG/UYH8nW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_8"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:19.157766' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_3' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_3"], ["created_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_3"], ["title", "message_template_3"], ["updated_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_3' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 14], ["sender_id", 13], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_9@example.jp"], ["encrypted_password", "$2a$04$nWWpSzaoEBRdnQx0GQCk1uhNxSsbgwy7MsZvMZQlucwMcl5amuWxq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_9"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:19.200654' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_10@example.jp"], ["encrypted_password", "$2a$04$zNY6GWgE38AhsR.2lMtIeOyKhKz6p2kYGeUDxGEyE7BEd1nz7Gc/O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_10"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:19.216759' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_4' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_4"], ["created_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_4"], ["title", "message_template_4"], ["updated_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_4' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.6ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 8ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_3@example.jp"], ["encrypted_password", "$2a$04$bDeHCH33vSVJw9MaeaH5SeX3xOdE/D.Qzsia8bi.Qa2tIv902yoeq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_3"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:19.255210' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_11@example.jp"], ["encrypted_password", "$2a$04$qwjHLTjKA0RyaOU7WxoIrO4QsxIj1lDuGqo73Yf9lK3vkqYH9mb8u"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_11"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:19.269053' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_12@example.jp"], ["encrypted_password", "$2a$04$qTq26vwlplL6xz8n9pWrtuU1jjzYdf2qqz9BN9JVnBq/T7YcJEmdG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_12"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:19.281990' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_5' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_5"], ["created_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_5"], ["title", "message_template_5"], ["updated_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_5' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 14], ["sender_id", 13], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 11ms (Views: 2.0ms | ActiveRecord: 0.6ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_3@example.jp"], ["encrypted_password", "$2a$04$Z6UDMzVfKpayUS2sG5zOTuasN7OP4dlgUNMpDgXOq1pZjHlZeGyV2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_3"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:19.324044' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_13@example.jp"], ["encrypted_password", "$2a$04$o9X1d3oKDP5GNLU0dHNQ/uIjbfYOHmvF.s2bqKci/Kmoekis3kZZW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_13"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["user_id", 13]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:19.339356' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (1.4ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.2ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_14@example.jp"], ["encrypted_password", "$2a$04$8T1j6GiebxwssakdzCfoBeXUD528whb266/vNtdIABj1EfQ36yxUS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_14"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:19.362217' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_6' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_6"], ["created_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_6"], ["title", "message_template_6"], ["updated_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_6' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 14], ["sender_id", 13], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 67ms (Views: 1.5ms | ActiveRecord: 0.6ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_15@example.jp"], ["encrypted_password", "$2a$04$t8UP8TZY.hWcrthht2/5A.CF/7lmob9IKk6GyFCLI7kcZ4frXg4qG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_15"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:19.465391' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_16@example.jp"], ["encrypted_password", "$2a$04$Il/SVVukbYL.FuYrfYftZeu0tKkMvrnRaqAuZ77hEHtM9p69G5Dpi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_16"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:19.479029' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_17@example.jp"], ["encrypted_password", "$2a$04$bLz/nRrPk8DlayKwwXhdKea28ePGKWK3fZDtjmG9.uPZkl4bgPywi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_17"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:19.491618' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_7' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_7"], ["created_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_7"], ["title", "message_template_7"], ["updated_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_7' AND "message_templates"."id" != 9) LIMIT 1 SQL (3.2ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 14], ["sender_id", 13], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.5ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_18@example.jp"], ["encrypted_password", "$2a$04$5.O/tkGAPAyXY3x/4OsGQ.7XuEYL/v7R2S1f3XT0gnP6OH34j5fk2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_18"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:19.540190' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_19@example.jp"], ["encrypted_password", "$2a$04$sA6qRC/Vgz3iWICwmt0fG.t.t/v5SGLA.ijmJqZhabRp5BwhviBC."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_19"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:19.554840' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.5ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_8' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_8"], ["created_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_8"], ["title", "message_template_8"], ["updated_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_8' AND "message_templates"."id" != 9) LIMIT 1 SQL (1.1ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (7.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_20@example.jp"], ["encrypted_password", "$2a$04$FU233.puobdcvAxxRI.dIeZ8wSmB9ENDlWyk5PUHqOWWmviNMQv02"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_20"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:19.597768' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_21@example.jp"], ["encrypted_password", "$2a$04$9KQVdZEomRPEgFqmYyxNLO29/lbm.9u/8BZe8WcNlhN4j3dF8FAKm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_21"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["user_id", 13]]  (0.4ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:19.620040' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_9' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_9"], ["created_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_9"], ["title", "message_template_9"], ["updated_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (1.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_9' AND "message_templates"."id" != 9) LIMIT 1 SQL (2.1ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_22@example.jp"], ["encrypted_password", "$2a$04$qffp7dIRmZ.sWAGcxSQikOuShXkaszqfJxzSiHMGomU9A7L8pG1E6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_22"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:19.652603' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_23@example.jp"], ["encrypted_password", "$2a$04$MQwJaUyPFX/QLNGZ5xxneOsF7v1D2xDSevZeSkmH.iF.pLMoUEWIe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_23"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:19.665633' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_10' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_10"], ["created_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_10"], ["title", "message_template_10"], ["updated_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (68.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_4@example.jp"], ["encrypted_password", "$2a$04$xApLABTrUOZsyAh3F0ImkOaiwrrodPvGYolfHHnpJywTNUlOU8pzy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_4"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:19.749323' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"14", "receiver_id"=>"15", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 15 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_10' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 14, "receiver_id" = 15, "message_template_id" = 10, "updated_at" = '2011-12-17 21:04:19.767069' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 18ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_24@example.jp"], ["encrypted_password", "$2a$04$3r0s99mekHOFUUmwb1xbfOmtTDZJvvQ/aOY9bTYXjzYDWihtXBDJK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_24"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:19.788837' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_25@example.jp"], ["encrypted_password", "$2a$04$pu2iDu7GuPTNk.bWJwsdXe5p.0fpmFdryWp27bTRsZHBhMvPkWdXW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_25"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:19.801656' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_11' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_11"], ["created_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_11"], ["title", "message_template_11"], ["updated_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_11' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_26@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_26@example.jp"], ["encrypted_password", "$2a$04$RHg83rcqQn/8RtrjU6qBu.UZXB06XRDhEATPnyXSrF6e04muxoikm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_26"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:19.826606' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_27@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_27@example.jp"], ["encrypted_password", "$2a$04$1stnJaOvosGc9rb/hE5wZuPNM.xM2OwaM3xOMQxxiY5UxQXrZXfAC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_27"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:19.838875' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_12' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_12"], ["created_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_12"], ["title", "message_template_12"], ["updated_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_5@example.jp"], ["encrypted_password", "$2a$04$ZKqBJflrfXqQWt/NqIlc0OCQpjZJSkkUpKOpGa6DloGog3MNKdbdW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_5"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:19.854594' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"14", "receiver_id"=>"15", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 15 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_12' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 14, "receiver_id" = 15, "message_template_id" = 10, "updated_at" = '2011-12-17 21:04:19.877838' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 19ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_28@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_28@example.jp"], ["encrypted_password", "$2a$04$XeDZYjI2a.JKmEP/nK8tcuhnzVIOrL8gwUuxqWz5Ud/vB1Rg2rsga"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_28"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:19.899712' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_29@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_29@example.jp"], ["encrypted_password", "$2a$04$hjDj96i1NNiimMRyLoX7AerUw82oF/iN7ALnQ1mWh0GTPjlN.5tI2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_29"]] SQL (1.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:19.915208' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_13' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_13"], ["created_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_13"], ["title", "message_template_13"], ["updated_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_13' AND "message_templates"."id" != 9) LIMIT 1 SQL (4.2ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_30@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_30@example.jp"], ["encrypted_password", "$2a$04$fZkAceDYgtRGnozFUymej.pnTsMRP1YjO0iS1Sdf7HpARKXfxnVPe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_30"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:19.943906' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_31@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_31@example.jp"], ["encrypted_password", "$2a$04$isLKbEPgsVa.Lm4AXrHgnu5FUSjramoJ.HnOLsBXmEtjrD43cSJla"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_31"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:19.962936' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_14' LIMIT 1 SQL (1.1ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_14"], ["created_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_14"], ["title", "message_template_14"], ["updated_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (65.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_6@example.jp"], ["encrypted_password", "$2a$04$mZ0LM6sCbm5JyE7THqPi4ulR36vtvrMfxWB5kQQWdq46qiqPnqCuS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:19 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_6"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:20.045026' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_13' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 19ms (Views: 1.3ms | ActiveRecord: 1.0ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_32@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_32@example.jp"], ["encrypted_password", "$2a$04$R28faVaeI5umlPH5x5jN9uEDf7It.7S1UQHZcJbV6c9BkegW2nWjO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_32"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:20.087373' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_33@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_33@example.jp"], ["encrypted_password", "$2a$04$BfosNccRzX/8EPcfAafAj.K8c50zzB1qlof6ClA7uLZwEuawPJet2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_33"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:20.100677' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (1.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_15' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_15"], ["created_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_15"], ["title", "message_template_15"], ["updated_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_15' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_34@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_34@example.jp"], ["encrypted_password", "$2a$04$je4UdkzDooY03KCmMMDZ/u5OdHZLLSYJ.oH5NVF9Bd8V.PseqbALW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_34"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:20.133451' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_35@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_35@example.jp"], ["encrypted_password", "$2a$04$.FFeeNX1f.jbqyN65FiuGelfA14o.8JhTh3ifRKFFB1G0gd7b/oVC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_35"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:20.147665' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_16' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_16"], ["created_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_16"], ["title", "message_template_16"], ["updated_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_4@example.jp"], ["encrypted_password", "$2a$04$Lqic4BlETa1l2OQeXEi.meAoXrd05NZk7I7j2NteXiUxh/DLZZFHW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_4"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:20.165216' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"14", "receiver_id"=>"15", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 15 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_16' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 14, "receiver_id" = 15, "message_template_id" = 10, "updated_at" = '2011-12-17 21:04:20.182643' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 17ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_36@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_36@example.jp"], ["encrypted_password", "$2a$04$t2PJ2GfSIsV9WghlwIul2eGxpt8ZPaD0.6K3rh3Zd4TtzXBKDkU2e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_36"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:20.201790' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_37@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_37@example.jp"], ["encrypted_password", "$2a$04$n0luBeXoXkjX9/GKCTJ4FOuazNMJfUjOdpn58oIzHxA3tnd1kQI62"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_37"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:20.218263' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_17' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_17"], ["created_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_17"], ["title", "message_template_17"], ["updated_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_17' AND "message_templates"."id" != 9) LIMIT 1 SQL (2.9ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_38@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_38@example.jp"], ["encrypted_password", "$2a$04$Iy5Stq3yRuG6mhVuXWG55OyC3XeMIQeoWPxMGfJBHPR8JBLHJXuoC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_38"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:20.246723' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_39@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_39@example.jp"], ["encrypted_password", "$2a$04$yYXC5H6J1/U6/V6PDKumKOGQe/.vrXKWVD0SuIs.WY2LmpoqsNtVC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_39"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:20.259799' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_18' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_18"], ["created_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_18"], ["title", "message_template_18"], ["updated_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (57.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_5@example.jp"], ["encrypted_password", "$2a$04$InBfaXGAF7beVmA6faiwNuLBrRMKRD0afCbzz4gem70Y5Ny9U./iq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_5"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:20.332711' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"14", "receiver_id"=>"15", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 15 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_18' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 14, "receiver_id" = 15, "message_template_id" = 10, "updated_at" = '2011-12-17 21:04:20.350363' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 17ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_40@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_40@example.jp"], ["encrypted_password", "$2a$04$R5U6DkTVHegM61vWN4KY9.ee4ueAPZTQWtDpXGKGI7NGsEF4VaMHS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_40"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:20.376023' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_41@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_41@example.jp"], ["encrypted_password", "$2a$04$73pcYNoZmZSglVOioTeXFOlajZUNAQdHIHY6Vp.3fk6Wdy5tdhP4q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_41"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:20.389798' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_19' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_19"], ["created_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_19"], ["title", "message_template_19"], ["updated_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_19' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_42@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_42@example.jp"], ["encrypted_password", "$2a$04$jBg94b5k/rra/VtHPDgicuHhDzhXqopC.HBBbeD.OJHXzYa9WQ57O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_42"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:20.416590' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_43@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_43@example.jp"], ["encrypted_password", "$2a$04$.Gbnyqvwayn/b.O/U8ItWeWUVopgQLOlzk3ffNYethBJP40vRoXF."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_43"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:20.429985' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_20' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_20"], ["created_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_20"], ["title", "message_template_20"], ["updated_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_6@example.jp"], ["encrypted_password", "$2a$04$tQAx93kYDBuVeAM3pbuAe..04f4VYr8D4JbeKaaXYMo0wTPK7zAZy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_6"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:20.446713' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_19' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 22ms (Views: 1.4ms | ActiveRecord: 1.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_44@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_44@example.jp"], ["encrypted_password", "$2a$04$opGLKGI4oZVmyd9eBlXv1uOW5e7bFjpVMb43F46WGHIfnGo8SSoAC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_44"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:20.488922' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_45@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_45@example.jp"], ["encrypted_password", "$2a$04$NAmBFeWFegA/svVWskqtO.K1KSzlVN.f73eq1oi.yVCDWdmKBiPW."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_45"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:20.503564' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_21' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_21"], ["created_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_21"], ["title", "message_template_21"], ["updated_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_21' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_46@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_46@example.jp"], ["encrypted_password", "$2a$04$Tau70OpH94Uplu4syT02veByiaJd5MqOazlF3yAASF.mXusRQ/TBa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_46"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:20.528581' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.6ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_47@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_47@example.jp"], ["encrypted_password", "$2a$04$.hn5Zz32yMAwnyKyTYw7WOg8nwhgvnbJwRICci8joSSzmwC0/V9ja"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_47"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:20.605300' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_22' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_22"], ["created_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_22"], ["title", "message_template_22"], ["updated_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_48@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_48@example.jp"], ["encrypted_password", "$2a$04$t2d/sUq7j3k7Al6fbnnYq.sDIos3uoHBo8Nry/TNTEAf8Mr/wqZ2S"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_48"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:20.622164' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"14", "receiver_id"=>"15", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_49@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_49@example.jp"], ["encrypted_password", "$2a$04$ETyXDTegE/n986JI1JM94Ob6KS9UNF9n1tY08BJd6Bty7yejvEAAi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_49"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:20.654222' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_50@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_50@example.jp"], ["encrypted_password", "$2a$04$0o0ijytIZKR5tMNcMjdWtOBC2qFYjPr6Ta57wxWJhuRS04kkAlaxG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_50"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:20.667577' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_23' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_23"], ["created_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_23"], ["title", "message_template_23"], ["updated_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_23' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_51@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_51@example.jp"], ["encrypted_password", "$2a$04$3ZKpDPBWjiW.pxsnwpmWNeN5W38lcAjSmJzEljRzxS9nkYsvmyGEe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_51"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:20.699260' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_52@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_52@example.jp"], ["encrypted_password", "$2a$04$fNqLYb12G4im.RTkF8R0WOGntD2q3VeYQjCOe4LUtpudSaCQuWvoO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_52"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:20.714450' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_24' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_24"], ["created_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_24"], ["title", "message_template_24"], ["updated_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_53@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_53@example.jp"], ["encrypted_password", "$2a$04$wwq2b8/P3bm5UPH4LFSa2OsoE49sPVtw.tAMlJhLolclSLSTTIOqy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_53"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:20.731154' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"14", "receiver_id"=>"15", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_54@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_54@example.jp"], ["encrypted_password", "$2a$04$nmBoNMrukgrMwVPlF/xnLuU7USXGYzejWIMtRHVf5kHQJ51XK6rGy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_54"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:20.761491' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_55@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_55@example.jp"], ["encrypted_password", "$2a$04$49RspfuzBF39OjA3a1DA.uhHZqMeIqNJBCDHKHgSIcDM7iWMISRIW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_55"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:20.774650' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_25' LIMIT 1 SQL (1.0ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_25"], ["created_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_25"], ["title", "message_template_25"], ["updated_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_25' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_56@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_56@example.jp"], ["encrypted_password", "$2a$04$WO/RhYFOl0SUxzDcwz9fTO7UBrQ3nWD82XmGVzP/wMkHmfiJuZkyS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_56"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:20.799567' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_57@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_57@example.jp"], ["encrypted_password", "$2a$04$WKyU75qb6Nnip8XIUyqskO6m1kz5QUWdcPUQBrRPgpjUlnGaEq0ky"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_57"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:20.812263' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_26' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_26"], ["created_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_26"], ["title", "message_template_26"], ["updated_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (63.8ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_58@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_58@example.jp"], ["encrypted_password", "$2a$04$kS2QxeYVUBJORDuixSVwvuG2Yd6iQYb9O1Zaz2X0e601yPyienjAS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_58"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:20.893904' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_59@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_59@example.jp"], ["encrypted_password", "$2a$04$x0QFiqNwPcHVftM8NJSALuW9k5SWz8aDeZWB2rV1QMz.DNmfxpFQy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_59"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:20.921434' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_60@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_60@example.jp"], ["encrypted_password", "$2a$04$80Ax/i.1a5ZzIs4y55KE7uP/U/wd0Rf/D4y1uAm4S9qihwTlzc2nG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_60"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:20.936322' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_27' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_27"], ["created_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_27"], ["title", "message_template_27"], ["updated_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_27' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_61@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (6.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_61@example.jp"], ["encrypted_password", "$2a$04$zG5b5R0MDLvXt.7kD5VFzOWMn.4xPIghr.zaYRB6Uwkd6Wbl3MzD2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_61"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:20.970566' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_62@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_62@example.jp"], ["encrypted_password", "$2a$04$SfDvQLjIb4l0y6JEwZpw9ea4jx6RcfxoGFuFIiuA2Lc2fyBKfOwJe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_62"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:20.985969' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (2.4ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_28' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_28"], ["created_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_28"], ["title", "message_template_28"], ["updated_at", Sat, 17 Dec 2011 21:04:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"14", "receiver_id"=>"15", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 10ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_63@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_63@example.jp"], ["encrypted_password", "$2a$04$3hXmnWf2U2ZfBEbdibTJ.uZ3xkt6VSqVlsq5c/5cpKWoUSsOfUwJW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_63"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:21.024932' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_64@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_64@example.jp"], ["encrypted_password", "$2a$04$6xDzN5dPhMuIJB2uYO4OkunBM0Fnr5HX.PpxZs4LpZZ4EqhaVOC9."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_64"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:21.039440' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_29' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_29"], ["created_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_29"], ["title", "message_template_29"], ["updated_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_29' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_65@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_65@example.jp"], ["encrypted_password", "$2a$04$LAUvAmWaRnx9qMDG0lnXiOqIz47LHVfN4oz6wZsPwXh7bvb6LLMPq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_65"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:21.065660' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_66@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_66@example.jp"], ["encrypted_password", "$2a$04$kQbP.odwIYY04epu/nDWr.9MPYfv9yKTH0v91dtZGh4co1N9zjp/."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_66"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:21.079042' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_30' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_30"], ["created_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_30"], ["title", "message_template_30"], ["updated_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"14", "receiver_id"=>"15", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 13ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_67@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (61.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_67@example.jp"], ["encrypted_password", "$2a$04$sWXkkJ7rAAh9QER3II7MLeDCydZMfQSdSxkru2CVHWhwowF6fy6Ii"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_67"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:21.183139' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_68@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_68@example.jp"], ["encrypted_password", "$2a$04$zrtUYekkzK9pxh4KsC5YfuaPw5zfGQuqovZR7KjeSFTt7isIBCrH."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_68"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:21.202512' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_31' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_31"], ["created_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_31"], ["title", "message_template_31"], ["updated_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_31' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_69@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_69@example.jp"], ["encrypted_password", "$2a$04$6xSQa0TsV/rgqiFqq4FZ7uByjvKx4a.aVxcJFf.FusmBi5l2CDUxi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_69"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:21.227453' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_70@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_70@example.jp"], ["encrypted_password", "$2a$04$Vx.F4V3qQrUx4WdgqTLhxeQFqbTGalF94s2hfcSvPUtj2d8UxB.d2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_70"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:21.239546' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_32' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_32"], ["created_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_32"], ["title", "message_template_32"], ["updated_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_71@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_71@example.jp"], ["encrypted_password", "$2a$04$NmkDAMPJthCtiZCY3pDPBOnxptdMh51Agmb8QBQVLmorhQhVbGL6C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_71"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:21.267737' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_72@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_72@example.jp"], ["encrypted_password", "$2a$04$eDlIcMu4SwOotJSWQx.m2Ov9BLva3406A40t3NMoDn3..wim/MfWG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_72"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:21.281346' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_33' LIMIT 1 SQL (1.0ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_33"], ["created_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_33"], ["title", "message_template_33"], ["updated_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (1.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_33' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_7@example.jp"], ["encrypted_password", "$2a$04$fZKZSHiKpVxiOkfjNv02buFkf8Cqwj6lquWLKL88PwzxLMz9k1O36"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_7"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:21.307063' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 10ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_73@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_73@example.jp"], ["encrypted_password", "$2a$04$6sP6wf/Zzj9Oyz2405rt/ez/pzCBLIrhdjnjPE6DNa2CMQTH0kYJq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_73"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:21.335557' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_74@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_74@example.jp"], ["encrypted_password", "$2a$04$nMEU1IQhivzd5XdGlTbFmuVhI8o4t2Hi2r6GyRPDyDUKsjw/RwDJS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_74"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:21.351698' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_34' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_34"], ["created_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_34"], ["title", "message_template_34"], ["updated_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_34' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_8@example.jp"], ["encrypted_password", "$2a$04$aQMrjANEIlH3H6FNmkGo2O4454bzxDUBmUrMKSwtf3wP5m/DvcKp6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_8"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:21.378642' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 70ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_75@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_75@example.jp"], ["encrypted_password", "$2a$04$IIQuUXFGXnkjVL9FL9bFVOIKcp6fbFdOiiYo.bBKwRKgtWNA9CXJq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_75"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:21.467764' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_76@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_76@example.jp"], ["encrypted_password", "$2a$04$.l1vRQqozZZRuvf6tBVPGueGShXIlyjFatzqDUmOSEA0wFAwA3fhO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_76"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:21.481084' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_35' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_35"], ["created_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_35"], ["title", "message_template_35"], ["updated_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_35' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_7@example.jp"], ["encrypted_password", "$2a$04$/yiinm5Hoav4tgB7kecY1eix4qaB01Au25dg92som8tjdxgYiDRo2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_7"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:21.508516' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 9ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_77@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (7.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_77@example.jp"], ["encrypted_password", "$2a$04$.tqJZJYV/WMPrk2xuo8WnOy/WaCY5Q.YCcnu5mTleYRIs01xDhrMK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_77"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:21.541850' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_78@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_78@example.jp"], ["encrypted_password", "$2a$04$XkPIWy2BMBH9tZTZaoEALOYLKR1QSYTdVgFNeST9PZ2.pIdIxZEuC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_78"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:21.555412' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_36' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_36"], ["created_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_36"], ["title", "message_template_36"], ["updated_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_36' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_8@example.jp"], ["encrypted_password", "$2a$04$47NMUycM1pzyNNh7lJF2y.Mqf/KDlqjc75aJXIsiWVlUi7frVEQQK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_8"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:21.580673' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 11ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_79@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_79@example.jp"], ["encrypted_password", "$2a$04$Q8WpzAu7speMRmD8pICZUev89jHRBFccxpfbfCwmzvLwtwVNVSA9e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_79"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:21.615570' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_80@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_80@example.jp"], ["encrypted_password", "$2a$04$mIPgrMoOftmxGXqkUGkJD.gHMmz0bthX7XgqFQTmF4QxBEsZPrtLC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_80"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:21.630479' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_37' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_37"], ["created_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_37"], ["title", "message_template_37"], ["updated_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_37' AND "message_templates"."id" != 9) LIMIT 1 SQL (2.9ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.3ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_81@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_81@example.jp"], ["encrypted_password", "$2a$04$VxVoD4NTp9mEDxbGMeq7AepeZWahzCYIWbW25enE6YEC5u7.b5IBC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_81"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:21.660251' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_82@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (75.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_82@example.jp"], ["encrypted_password", "$2a$04$TTgEhRcwQEJpdqEjjGWeiuiTZ5dx3MInJcrg1dUhlPSln7dl6/meu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_82"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:21.764163' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_83@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_83@example.jp"], ["encrypted_password", "$2a$04$9T5fgixjYSzjQaxlXkrTCuI8gaXFq7lT2ZiM/objal4L19t2OlH6a"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_83"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:21.780323' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_38' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_38"], ["created_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_38"], ["title", "message_template_38"], ["updated_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_38' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_84@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_84@example.jp"], ["encrypted_password", "$2a$04$CVJEYV2tEnq7oHGfwUVJDuM5RTKyAB3NUPsTtoqnSQiPPpt.kPPIG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_84"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:21.808631' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_85@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_85@example.jp"], ["encrypted_password", "$2a$04$hyTxhQcOKKnPUKX/a82WIOAVbFE1hAA23UckO4mD6BLQxjSPMy8zW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_85"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:21.837728' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_86@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_86@example.jp"], ["encrypted_password", "$2a$04$0rP4IkJjPPASvoRPF3/bL.5azEF4k5W8MBuZ1Nu64H62H0a6uyqRW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_86"]] SQL (1.0ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:21.853868' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_39' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_39"], ["created_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_39"], ["title", "message_template_39"], ["updated_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.2ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_39' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_87@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_87@example.jp"], ["encrypted_password", "$2a$04$nS.EfHJyBmhxXEBROWLW7uInWBu9sxNSEUtWetN3TeXuMpsaiCNxe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_87"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:21.900348' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_88@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_88@example.jp"], ["encrypted_password", "$2a$04$7ylDNtsmDvT3.k6eYfP2c.ZbgFIxGwliOQH/o/2bwsPgzbAwOS/kC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_88"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:21.916243' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (2.0ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_40' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_40"], ["created_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_40"], ["title", "message_template_40"], ["updated_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_40' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_41' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_41"], ["created_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_41"], ["title", "message_template_41"], ["updated_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_9@example.jp"], ["encrypted_password", "$2a$04$bIU9Q9ZjsiK9ejcP6PGrDePwrx57VyUCcEoDl85/I41RNZKAVWRba"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_9"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:21.963628' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 500 Internal Server Error in 11ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_42' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_42"], ["created_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_42"], ["title", "message_template_42"], ["updated_at", Sat, 17 Dec 2011 21:04:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_9@example.jp"], ["encrypted_password", "$2a$04$nLLipH65Rj/rMLeVxXhlUuc0qxD4XCK.4MmC3/S289CO4nJT/0Ne2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_9"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:22.004673' WHERE "roles"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 500 Internal Server Error in 6ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_43' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_43"], ["created_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_43"], ["title", "message_template_43"], ["updated_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_89@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_89@example.jp"], ["encrypted_password", "$2a$04$5/o/.0thej5uJU.92uYn7OoEFTrxvUIvtbnjrVazZHmR9s//UYxEu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_89"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:22.089479' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 4.6ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "message_templates" WHERE ('t'='f')  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_44' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_44"], ["created_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_44"], ["title", "message_template_44"], ["updated_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms  (0.1ms) SELECT COUNT(*) FROM "message_templates" WHERE ('t'='f') Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_10@example.jp"], ["encrypted_password", "$2a$04$RpxLwZsbfqef/uyNKBbeo.S84HuCiPHKRWk4OfLUwqY1BHY8Cteo2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_10"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:22.128920' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_45' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_45"], ["created_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_45"], ["title", "message_template_45"], ["updated_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 200 OK in 7ms (Views: 1.5ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_10@example.jp"], ["encrypted_password", "$2a$04$eqm0bkLCyhiX4mxdrV7spuH3jsDsjcoljt.bTfjKVkKfUGfea.l2O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_10"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:22.151360' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_46' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_46"], ["created_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_46"], ["title", "message_template_46"], ["updated_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 200 OK in 5ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_90@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_90@example.jp"], ["encrypted_password", "$2a$04$fa3L4HlClcEmUgiRPD.8uOVjThIhJ7YgV/p4RkYn47sbjRUp1YdZe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_90"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:22.172379' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_47' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_47"], ["created_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_47"], ["title", "message_template_47"], ["updated_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_48' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_48"], ["created_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_48"], ["title", "message_template_48"], ["updated_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_11@example.jp"], ["encrypted_password", "$2a$04$2Zgo7UYLAgAV7RCTA.ZPyuT8oOHb7AOTCa0QRXkgM8FUh9QhJeyDO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_11"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:22.201802' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_11@example.jp"], ["encrypted_password", "$2a$04$vOPvJzInLwBvveoxlSEdQuU53fJCxBlZPrSeKxl8rZ3rNt3wlNYG6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_11"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:22.222242' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_91@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_91@example.jp"], ["encrypted_password", "$2a$04$tU2LrAF03ykWyKd/yA3DVO9LtB9tkly3.Rrc3O8FqgiHOyUeB/mPW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_91"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:22.279373' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Processing by MessageTemplatesController#new as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 3ms MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_12@example.jp"], ["encrypted_password", "$2a$04$1CAVXntI51t/Q6S6tOrJv.A5hDmaO4pnH9PH0zqnzY6SJEjvb.h5W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_12"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:22.307455' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_49' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_49"], ["created_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_49"], ["title", "message_template_49"], ["updated_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 200 OK in 7ms (Views: 1.5ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_12@example.jp"], ["encrypted_password", "$2a$04$5Uc.SL3sEBJJWX1RMrVoEOwiY3w6.90qgvWbe2OSzqeLSMHF3UGqe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_12"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:22.328784' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_50' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_50"], ["created_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_50"], ["title", "message_template_50"], ["updated_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_92@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_92@example.jp"], ["encrypted_password", "$2a$04$mzjSOrmUH4imqnBPJFa3/e6kPDenOwnBUsd6crNdKjGey8EIiiK6K"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_92"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:22.349790' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_51' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_51"], ["created_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_51"], ["title", "message_template_51"], ["updated_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_52' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_52"], ["created_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_52"], ["title", "message_template_52"], ["updated_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_13@example.jp"], ["encrypted_password", "$2a$04$G6RM5qQ4bn1k5id0ctLhS.ulaJNjQzSO7fgMHhPtD61Aya7r/3s3i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_13"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:22.379868' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_53", "status"=>"message_template_53", "body"=>"message_template_53"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_53' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_14@example.jp"], ["encrypted_password", "$2a$04$zzAx6W.V3jo3kB2R7Q/4H.xx36nCuvspIJ43W7f06uTbIGdKIG5BK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_14"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:22.397372' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_54", "status"=>"message_template_54", "body"=>"message_template_54"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_15@example.jp"], ["encrypted_password", "$2a$04$Mxu.NJGQW2vN9d6m1OSxAuzLTn6Rmfk961/O9znuJfI7VihbWbrWi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_15"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:22.450932' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_16@example.jp"], ["encrypted_password", "$2a$04$CpPFO/TlE27hG.6txDXyC.lQ8o1GJWFxewe5UuQh4xTAZWMszGsVO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_16"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:22.469083' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_13@example.jp"], ["encrypted_password", "$2a$04$qqcpys.wcceSW7AqzRFx1O0dInEmXW4ovcBuVDeAg77jpfPkROF6y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_13"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:22.486614' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_57", "status"=>"message_template_57", "body"=>"message_template_57"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_57' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_14@example.jp"], ["encrypted_password", "$2a$04$gj1wHvFuxT9iCZQ69gxzdOiFQ0LLT5u5LEPncqgWaZWOudUdFpgkK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_14"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:22.504535' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_58", "status"=>"message_template_58", "body"=>"message_template_58"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_15@example.jp"], ["encrypted_password", "$2a$04$J4VhQ4jMOhOPgs/4oNaXUObZh8APNcatyFzL4qiBqAxIdebIa4H0S"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_15"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:22.521413' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_16@example.jp"], ["encrypted_password", "$2a$04$17i90T/gcp1QqqHLwHo6H.9eTQsdwkVM5bz4W/fEH7neDRC0Z1ACa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_16"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:22.540092' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_93@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_93@example.jp"], ["encrypted_password", "$2a$04$sCbNadSjkqwNeT8ikZG1rOGuJdz60Nj2f8yH4jP1M0lMyW/5pG.8i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_93"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:22.556549' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_61", "status"=>"message_template_61", "body"=>"message_template_61"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_61' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_94@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_94@example.jp"], ["encrypted_password", "$2a$04$el6M7v8C699njquIjTMXLOOExkYRpZJer4MeeDIczv6HqV8iKb2su"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_94"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:22.610413' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_62", "status"=>"message_template_62", "body"=>"message_template_62"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_95@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_95@example.jp"], ["encrypted_password", "$2a$04$fMcw7PUOBHWJka2Zat8o2e.X.i/5YD8EBa8lVxn5XUKx57R.O8tQC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_95"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:22.626926' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_96@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_96@example.jp"], ["encrypted_password", "$2a$04$SuTTz.Z1.0QJRW7EhpgT8OGZ//Aj2SOljnAS/9DslcDSHSyi2EAXK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_96"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:22.646688' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_65", "status"=>"message_template_65", "body"=>"message_template_65"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_65' LIMIT 1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_66", "status"=>"message_template_66", "body"=>"message_template_66"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 3ms Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 3ms MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 3ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_69' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_69"], ["created_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_69"], ["title", "message_template_69"], ["updated_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_17@example.jp"], ["encrypted_password", "$2a$04$0rtFTsC/834SN8ZssBhPF.DCm7CCTHqSEdapT0FjICFx3RWqNCuUy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_17"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:22.694694' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_70", "status"=>"message_template_70", "body"=>"message_template_70"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_70' AND "message_templates"."id" != 9) LIMIT 1  (0.1ms) UPDATE "message_templates" SET "title" = 'message_template_70', "status" = 'message_template_70', "body" = 'message_template_70', "updated_at" = '2011-12-17 21:04:22.702964' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates/9 Completed 302 Found in 13ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_71' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_71"], ["created_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_71"], ["title", "message_template_71"], ["updated_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_18@example.jp"], ["encrypted_password", "$2a$04$oyxPr9wiD9/x7h5PVfrznOpDKojWNhlqO0oZrTEKZiPNjZ5dPpYPu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_18"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:22.757521' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_72", "status"=>"message_template_72", "body"=>"message_template_72"}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_72' AND "message_templates"."id" != 9) LIMIT 1  (0.1ms) UPDATE "message_templates" SET "title" = 'message_template_72', "status" = 'message_template_72', "body" = 'message_template_72', "updated_at" = '2011-12-17 21:04:22.766072' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates/9 Completed 302 Found in 8ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_73' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_73"], ["created_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_73"], ["title", "message_template_73"], ["updated_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_19@example.jp"], ["encrypted_password", "$2a$04$bnwHm8s0NhMfLUN7kgpoN.43vuBtYBGge.c1pZgtOQgjcqhbDSg0q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_19"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:22.782699' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_74", "status"=>"message_template_74", "body"=>"message_template_74"}, "position"=>"2", "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "message_templates" SET "position" = 0, "updated_at" = '2011-12-17 21:04:22.790004' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "message_templates" SET position = (position - 1) WHERE "message_templates"."id" IN (SELECT "message_templates"."id" FROM "message_templates" WHERE (1 = 1 AND position > 9) ORDER BY position) SQL (0.1ms) UPDATE "message_templates" SET position = (position + 1) WHERE "message_templates"."id" IN (SELECT "message_templates"."id" FROM "message_templates" WHERE (1 = 1 AND position >= 2) ORDER BY position)  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "message_templates" SET "position" = 2, "updated_at" = '2011-12-17 21:04:22.791535' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates Completed 302 Found in 7ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_75' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_75"], ["created_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_75"], ["title", "message_template_75"], ["updated_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_20@example.jp"], ["encrypted_password", "$2a$04$DbW/CaRHX1wb1/DGOvtRleC5UEsHuTPciZWzsh4zOQKbygVbYsfWK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_20"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:22.805200' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = '' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 0.7ms | ActiveRecord: 0.0ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_77' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_77"], ["created_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_77"], ["title", "message_template_77"], ["updated_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_17@example.jp"], ["encrypted_password", "$2a$04$C5LODJe3yLR/dxWxea9vhupKSbyJzR1A9hPBZfK9w4N.QWDxnhTEa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_17"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:22.828346' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_78", "status"=>"message_template_78", "body"=>"message_template_78"}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_79' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_79"], ["created_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_79"], ["title", "message_template_79"], ["updated_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_18@example.jp"], ["encrypted_password", "$2a$04$Truc4pFL2LaJk7NM2yx.6uQ6ooQLbkwP97JA9Y2LEE6onEyfGaotK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_18"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:22.848293' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_80", "status"=>"message_template_80", "body"=>"message_template_80"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_81' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_81"], ["created_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_81"], ["title", "message_template_81"], ["updated_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_19@example.jp"], ["encrypted_password", "$2a$04$k41mupTHtOlV.p.9.MpFaOn5GaaRRmFUDyBf8qZW9Qpu/x9bUQ2T2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_19"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:22.868888' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_83' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_83"], ["created_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_83"], ["title", "message_template_83"], ["updated_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_97@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_97@example.jp"], ["encrypted_password", "$2a$04$Fa.pUTopQMyZB7yFHPXHVuanIY2zkH152cZEok4IbkYLzDd.VFeRO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_97"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:22.888861' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_84", "status"=>"message_template_84", "body"=>"message_template_84"}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 41ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_85' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_85"], ["created_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_85"], ["title", "message_template_85"], ["updated_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_98@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_98@example.jp"], ["encrypted_password", "$2a$04$VzSgLUy7usgyiSBtkR7p9OBKC8yJyw1Fch4983/dkRuIfPj2AISpm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_98"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:22.944472' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_86", "status"=>"message_template_86", "body"=>"message_template_86"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_87' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_87"], ["created_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_87"], ["title", "message_template_87"], ["updated_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_99@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_99@example.jp"], ["encrypted_password", "$2a$04$0VT1cYAchamXT8FYvP5oD.dzZKylLRJ28FZbiIJQ7Ez23I3DIK41O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_99"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:22.964665' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_89' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_89"], ["created_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_89"], ["title", "message_template_89"], ["updated_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_90", "status"=>"message_template_90", "body"=>"message_template_90"}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_91' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_91"], ["created_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_91"], ["title", "message_template_91"], ["updated_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_92", "status"=>"message_template_92", "body"=>"message_template_92"}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 3ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_93' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_93"], ["created_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_93"], ["title", "message_template_93"], ["updated_at", Sat, 17 Dec 2011 21:04:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 5ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_95' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_95"], ["created_at", Sat, 17 Dec 2011 21:04:23 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_95"], ["title", "message_template_95"], ["updated_at", Sat, 17 Dec 2011 21:04:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_21@example.jp"], ["encrypted_password", "$2a$04$HjZ7v1NvITnRApQfjuzINesDGUdf5Fc0XWdqBMH9UjnUaOhL6W7ee"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_21"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:23 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:04:23 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:23.014434' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_96' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_96"], ["created_at", Sat, 17 Dec 2011 21:04:23 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_96"], ["title", "message_template_96"], ["updated_at", Sat, 17 Dec 2011 21:04:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_22@example.jp"], ["encrypted_password", "$2a$04$BZPyfziyhHaS7TF7ZuPeqO4IW72C5/4cQx3GXWMy/9cP4Pi.Nz/U."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_22"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:23 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:04:23 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:23.033734' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 8ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_97' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_97"], ["created_at", Sat, 17 Dec 2011 21:04:23 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_97"], ["title", "message_template_97"], ["updated_at", Sat, 17 Dec 2011 21:04:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_20@example.jp"], ["encrypted_password", "$2a$04$yMgbjXkTrXPXNrwZLc3fGeU3Y.8ZzmFbBKZuF5wbVQ83720BN7wqa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_20"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:23 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:04:23 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:23.062304' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_98' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_98"], ["created_at", Sat, 17 Dec 2011 21:04:23 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_98"], ["title", "message_template_98"], ["updated_at", Sat, 17 Dec 2011 21:04:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_21@example.jp"], ["encrypted_password", "$2a$04$/mmg9/XwdSj9pmo7TRJkxeq9Um6dic703bH2kpm8wFHXm4dKvBMvW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_21"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:23 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:04:23 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:23.146308' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_99' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_99"], ["created_at", Sat, 17 Dec 2011 21:04:23 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_99"], ["title", "message_template_99"], ["updated_at", Sat, 17 Dec 2011 21:04:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_100@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_100@example.jp"], ["encrypted_password", "$2a$04$2b2lpHPza4SpzCiRDMbJI.yH3AhEV64tF2gVIhehVSHrW9vEWXKoC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_100"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:23 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:23.177371' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_100' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_100"], ["created_at", Sat, 17 Dec 2011 21:04:23 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_100"], ["title", "message_template_100"], ["updated_at", Sat, 17 Dec 2011 21:04:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_101@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_101@example.jp"], ["encrypted_password", "$2a$04$G.nQm2duUMLhFXrZWu.RbOG3Hkvds0F4S6lK5KUGcQ9tV/9pEoqSO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_101"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:23 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:23.208807' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_101' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_101"], ["created_at", Sat, 17 Dec 2011 21:04:23 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_101"], ["title", "message_template_101"], ["updated_at", Sat, 17 Dec 2011 21:04:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_102' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_102"], ["created_at", Sat, 17 Dec 2011 21:04:23 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_102"], ["title", "message_template_102"], ["updated_at", Sat, 17 Dec 2011 21:04:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms Role Load (0.3ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.2ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_23@example.jp"], ["encrypted_password", "$2a$04$yvDizAqF3sSHTTxvZTIzv.6t1kz6LsvL5NxC3d5B2ZomLM.ZG8TOS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_23"]] SQL (1.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:24 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:04:24 UTC +00:00], ["user_id", 12]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:24.523883' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 SOLR Request (3.8ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A12&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (7.6ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A12&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 48ms (Views: 7.1ms | ActiveRecord: 0.4ms | Solr: 11.5ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (75.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_24@example.jp"], ["encrypted_password", "$2a$04$iRVYewFM/4Wv7FInXg.AouCmFTA9U1wmyO.vDRSInyyYUb0wGjvbO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_24"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:24 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:04:24 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:24.669778' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML Parameters: {"user_id"=>"admin_24"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'admin_24' LIMIT 1 SOLR Request (12.8ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A12&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (4.7ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A12&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 28ms (Views: 1.4ms | ActiveRecord: 0.5ms | Solr: 17.5ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_22@example.jp"], ["encrypted_password", "$2a$04$ctliLoHetWU5/SrLApTKtO147h6FaH6jMpnPPwgi3TzHMkDRqaimi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_22"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:24 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:04:24 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:24.722822' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 SOLR Request (9.5ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A12&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (3.1ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A12&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 24ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 12.7ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_23@example.jp"], ["encrypted_password", "$2a$04$5r1mIksFfgR5Lopym143Zu0lwteh3zXBnOKp.vCcDM10ene2hp9pe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_23"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:24 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:04:24 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:24.768073' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML Parameters: {"user_id"=>"librarian_23"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'librarian_23' LIMIT 1 SOLR Request (8.8ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A12&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (5.7ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A12&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 27ms (Views: 1.4ms | ActiveRecord: 0.5ms | Solr: 14.4ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 SOLR Request (9.1ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (6.6ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IN (2) Completed 200 OK in 53ms (Views: 1.5ms | ActiveRecord: 0.6ms | Solr: 15.6ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML Parameters: {"query"=>"you"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 SOLR Request (6.5ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&q=you&fl=%2A+score&qf=body_text+subject_text&defType=dismax&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (9.4ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&q=you&fl=%2A+score&qf=body_text+subject_text&defType=dismax&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IN (2) Completed 200 OK in 29ms (Views: 1.2ms | ActiveRecord: 0.5ms | Solr: 16.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 SOLR Request (5.4ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (7.3ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IN (2) Completed 200 OK in 28ms (Views: 1.3ms | ActiveRecord: 0.6ms | Solr: 12.7ms) Processing by MessagesController#index as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 5ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 103ms (Views: 10.4ms | ActiveRecord: 0.6ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.5ms | ActiveRecord: 0.5ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#show as HTML Parameters: {"id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 3 AND "messages"."id" = ? LIMIT 1 [["id", "2"]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) UPDATE "messages" SET "read_at" = '2011-12-17 21:04:25.087480', "updated_at" = '2011-12-17 21:04:25.087967' WHERE "messages"."id" = 2 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1  (0.5ms) UPDATE "messages" SET "state" = 'read', "updated_at" = '2011-12-17 21:04:25.099837' WHERE "messages"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 41ms (Views: 5.8ms | ActiveRecord: 1.8ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 2.0ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_25@example.jp"], ["encrypted_password", "$2a$04$L9rKgXbmtAor20drfpmyD.WdHe7V3v.EwXrZDW.Jy68CitCbPaMaS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_25"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:25 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:04:25 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:25.233761' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 Completed 200 OK in 16ms (Views: 3.4ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_24@example.jp"], ["encrypted_password", "$2a$04$S3c0kg37u.4HL/i31iXlEuREhmCOsauWZgzrzACh73LIUORLOJymW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_24"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:25 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:04:25 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:25.334802' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 Completed 200 OK in 12ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 20ms (Views: 6.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML Parameters: {"parent_id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 29ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML Parameters: {"parent_id"=>"2"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 14ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Processing by MessagesController#new as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 12ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_26@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_26@example.jp"], ["encrypted_password", "$2a$04$ZDkPynGsXXQuxei2z9vbQeTW.MtPNtCyfDUS2VqdjO6dvIKei.u9u"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_26"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:25 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:04:25 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:25.499010' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 12 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 13ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_25@example.jp"], ["encrypted_password", "$2a$04$eJSo4f365wpBgONds8pDXOMmvqNbPEV610z6BdZTV6H09aRc..PK2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_25"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:25 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:04:25 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:25.532409' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 User Load (1.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 17ms (Views: 1.3ms | ActiveRecord: 1.5ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 14ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_102@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_102@example.jp"], ["encrypted_password", "$2a$04$oQ/Lh5x4075buDWVZtloV.Envkuo9ieN3HvvbPDap9t80/TI2i36S"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_102"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:25 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:25 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:25.598612' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_103@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_103@example.jp"], ["encrypted_password", "$2a$04$Qep0/EqhodOeOoDMdX0ZOuCjgawNf9pbLywfBHHNWYwo/CgsyBz2."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_103"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:25 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:25 UTC +00:00], ["user_id", 13]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:25.614701' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user_102' LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" ORDER BY "rgt" desc LIMIT 1 SQL (76.1ms) INSERT INTO "messages" ("body", "created_at", "lft", "message_request_id", "parent_id", "read_at", "receiver_id", "rgt", "sender_id", "state", "subject", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "new message body is really short"], ["created_at", Sat, 17 Dec 2011 21:04:25 UTC +00:00], ["lft", 9], ["message_request_id", nil], ["parent_id", nil], ["read_at", nil], ["receiver_id", 12], ["rgt", 10], ["sender_id", 13], ["state", "unread"], ["subject", "new message"], ["updated_at", Sat, 17 Dec 2011 21:04:25 UTC +00:00]] SQL (1.2ms) INSERT INTO "delayed_jobs" ("attempts", "created_at", "failed_at", "handler", "last_error", "locked_at", "locked_by", "priority", "run_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attempts", 0], ["created_at", Sat, 17 Dec 2011 21:04:25 UTC +00:00], ["failed_at", nil], ["handler", "--- !ruby/struct:Delayed::PerformableMailer \nobject: !ruby/class Notifier\nmethod_name: :message_notification\nargs: \n- !ruby/ActiveRecord:Message \n attributes: \n id: 8\n read_at: \n receiver_id: 12\n sender_id: 13\n subject: new message\n body: new message body is really short\n message_request_id: \n state: unread\n parent_id: \n created_at: &id001 2011-12-17 21:04:25.620301 Z\n updated_at: *id001\n lft: 9\n rgt: 10\n"], ["last_error", nil], ["locked_at", nil], ["locked_by", nil], ["priority", 0], ["run_at", Sat, 17 Dec 2011 21:04:25 UTC +00:00], ["updated_at", Sat, 17 Dec 2011 21:04:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#edit as HTML Parameters: {"id"=>"8"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "8"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 8ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_27@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_27@example.jp"], ["encrypted_password", "$2a$04$Tg8hAI1JaDVeAHliQIZBDuPz/UMqGqoJX.dVt5oUcY2jTRYQykCpC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_27"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:25 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:04:25 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:25.752300' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user1", "subject"=>"test", "body"=>"test"}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user1' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user1' LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" ORDER BY "rgt" desc LIMIT 1 SQL (1.2ms) INSERT INTO "messages" ("body", "created_at", "lft", "message_request_id", "parent_id", "read_at", "receiver_id", "rgt", "sender_id", "state", "subject", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "test"], ["created_at", Sat, 17 Dec 2011 21:04:25 UTC +00:00], ["lft", 9], ["message_request_id", nil], ["parent_id", nil], ["read_at", nil], ["receiver_id", 3], ["rgt", 10], ["sender_id", 12], ["state", "unread"], ["subject", "test"], ["updated_at", Sat, 17 Dec 2011 21:04:25 UTC +00:00]] SQL (1.1ms) INSERT INTO "delayed_jobs" ("attempts", "created_at", "failed_at", "handler", "last_error", "locked_at", "locked_by", "priority", "run_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attempts", 0], ["created_at", Sat, 17 Dec 2011 21:04:25 UTC +00:00], ["failed_at", nil], ["handler", "--- !ruby/struct:Delayed::PerformableMailer \nobject: !ruby/class Notifier\nmethod_name: :message_notification\nargs: \n- !ruby/ActiveRecord:Message \n attributes: \n id: 8\n read_at: \n receiver_id: 3\n sender_id: 12\n subject: test\n body: test\n message_request_id: \n state: unread\n parent_id: \n created_at: &id001 2011-12-17 21:04:25.769624 Z\n updated_at: *id001\n lft: 9\n rgt: 10\n"], ["last_error", nil], ["locked_at", nil], ["locked_by", nil], ["priority", 0], ["run_at", Sat, 17 Dec 2011 21:04:25 UTC +00:00], ["updated_at", Sat, 17 Dec 2011 21:04:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/messages Completed 302 Found in 21ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_28@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_28@example.jp"], ["encrypted_password", "$2a$04$p/jJhJ0WnRY5nXeGdyK0jevPUKVXCh4F.Gvc9wUGgPkARDXDu.hn2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_28"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:25 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:04:25 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:25.797194' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user1", "subject"=>"test", "body"=>"test"}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user1' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user1' LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" ORDER BY "rgt" desc LIMIT 1 SQL (1.3ms) INSERT INTO "messages" ("body", "created_at", "lft", "message_request_id", "parent_id", "read_at", "receiver_id", "rgt", "sender_id", "state", "subject", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "test"], ["created_at", Sat, 17 Dec 2011 21:04:25 UTC +00:00], ["lft", 9], ["message_request_id", nil], ["parent_id", nil], ["read_at", nil], ["receiver_id", 3], ["rgt", 10], ["sender_id", 12], ["state", "unread"], ["subject", "test"], ["updated_at", Sat, 17 Dec 2011 21:04:25 UTC +00:00]] SQL (1.3ms) INSERT INTO "delayed_jobs" ("attempts", "created_at", "failed_at", "handler", "last_error", "locked_at", "locked_by", "priority", "run_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attempts", 0], ["created_at", Sat, 17 Dec 2011 21:04:25 UTC +00:00], ["failed_at", nil], ["handler", "--- !ruby/struct:Delayed::PerformableMailer \nobject: !ruby/class Notifier\nmethod_name: :message_notification\nargs: \n- !ruby/ActiveRecord:Message \n attributes: \n id: 8\n read_at: \n receiver_id: 3\n sender_id: 12\n subject: test\n body: test\n message_request_id: \n state: unread\n parent_id: \n created_at: &id001 2011-12-17 21:04:25.815231 Z\n updated_at: *id001\n lft: 9\n rgt: 10\n"], ["last_error", nil], ["locked_at", nil], ["locked_by", nil], ["priority", 0], ["run_at", Sat, 17 Dec 2011 21:04:25 UTC +00:00], ["updated_at", Sat, 17 Dec 2011 21:04:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/messages Completed 302 Found in 22ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_29@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_29@example.jp"], ["encrypted_password", "$2a$04$1hPgkG8MGa/XytYy3brbHeqt4.gJcKXC/y8bu23W8JupHbMT9DnES"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_29"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:25 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:04:25 UTC +00:00], ["user_id", 12]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:25.845459' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user1", "subject"=>"test", "body"=>""}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user1' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 13ms (Views: 1.8ms | ActiveRecord: 0.6ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_30@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_30@example.jp"], ["encrypted_password", "$2a$04$Kn9gG1OLFMoTJsCijj69qeuO4mg.3jTqj6nbff75g2IGZlzGwAWqq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_30"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:25 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:04:25 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:25.974290' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user1", "subject"=>"test", "body"=>""}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user1' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 13ms (Views: 1.2ms | ActiveRecord: 0.6ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test", "parent_id"=>"2"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user2' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user2' LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" ORDER BY "rgt" desc LIMIT 1 SQL (1.0ms) INSERT INTO "messages" ("body", "created_at", "lft", "message_request_id", "parent_id", "read_at", "receiver_id", "rgt", "sender_id", "state", "subject", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "test"], ["created_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["lft", 9], ["message_request_id", nil], ["parent_id", 2], ["read_at", nil], ["receiver_id", 5], ["rgt", 10], ["sender_id", 2], ["state", "unread"], ["subject", "test"], ["updated_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00]] Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? ORDER BY "lft" LIMIT 1 [["id", 2]] Message Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 8]] SQL (0.6ms) UPDATE "messages" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 8 THEN 2 ELSE "parent_id" END WHERE "messages"."id" IN (SELECT "messages"."id" FROM "messages" ORDER BY "lft") Message Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 2]] Message Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/messages Completed 302 Found in 21ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test", "parent_id"=>"2"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user1", "subject"=>"test", "body"=>"test"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user1", "subject"=>"test", "body"=>"test"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 8ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user1", "subject"=>"test", "body"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user1", "subject"=>"test", "body"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_104@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_104@example.jp"], ["encrypted_password", "$2a$04$rq4nBaeJbGbAGeW4jIrzzO1LaVt1SprxZdulBYuVNylgFUss0sGgy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_104"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:26.119689' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_105@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_105@example.jp"], ["encrypted_password", "$2a$04$adlPrt34HRQVuULS.C0pn.Um8oTpgY1J1Ot7aTUyznLwonaCI4BY6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_105"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:26.132613' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_104", "sender_id"=>"13", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 7ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_106@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_106@example.jp"], ["encrypted_password", "$2a$04$nL9gNno2BRNXkOHlQBxpAecWGcqKcf/4pf/91toaikr62EKZwObSi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_106"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:26.152884' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_107@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_107@example.jp"], ["encrypted_password", "$2a$04$89ANxDVQAPgdY7.WRTYin.xSaEl.RF.aIaMkuqkw5DSk3VWf8kx96"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_107"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:26.160749' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_106", "sender_id"=>"13", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 45ms (Views: 0.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_108@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_108@example.jp"], ["encrypted_password", "$2a$04$WEAAn7Qhn0VHwZirGvbiduNqGDPyNLKYr36yjmkZQIGvcncIx211."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_108"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:26.218738' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_109@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_109@example.jp"], ["encrypted_password", "$2a$04$cy5GFYGdOnstxxZu2y3tOedFt.VwOgEjHqqTZxHk6CgoPhsA6qc4i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_109"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:26.226623' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 6ms (Views: 0.7ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_110@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_110@example.jp"], ["encrypted_password", "$2a$04$Mu4Fm.ld0qwhTR6UbsKG3.EUzt2wM5DjzqRU/xZqOBOhkyuCdeDA6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_110"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:26.244421' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_111@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_111@example.jp"], ["encrypted_password", "$2a$04$YpKgeAZFz0ldE.gOQ9IH0.KP0rpu2pApHDXkGGzMDMcEVU1jw6bRy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_111"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:26.252829' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_112@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_112@example.jp"], ["encrypted_password", "$2a$04$HLe5S4/Cz1IdswThZak9huN57zID9PETZ0.cwHM8FXwkju56q9rXC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_112"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:26.270929' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_113@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_113@example.jp"], ["encrypted_password", "$2a$04$eF40cUuxwziQTtVs0tDHFet.p0Ba2LZAZi8zevBqPBdE6xTbj5auW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_113"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:26.278763' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_112", "sender_id"=>"13", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.8ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_114@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_114@example.jp"], ["encrypted_password", "$2a$04$i0qI22vLZCVzQwCnKP/I9eQwEnCIxAvpxEDC0iWyGNai4oHHQJHOS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_114"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:26.297705' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_115@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_115@example.jp"], ["encrypted_password", "$2a$04$SJVxoh9IilMvW.42dO3jburr9ncnHZT4tm8MtZsCkqdwXPIgcb7/q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_115"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:26.305647' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_114", "sender_id"=>"13", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.8ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_116@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (38.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_116@example.jp"], ["encrypted_password", "$2a$04$sflWEt6wxlA.2ba589H8DOoEhJgNeE/Ysbw/aQGM7uSejDprEyk8K"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_116"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:26.362570' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_117@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_117@example.jp"], ["encrypted_password", "$2a$04$AoADGL/ePKwH9AvX6g0SW.EcA2qOYE1q8MmFsfrYY.RR5dZI6P7ja"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_117"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:26.371078' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.8ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_118@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_118@example.jp"], ["encrypted_password", "$2a$04$jzrbeXRhUbauNd3ZjwSBwOD6IWHyLO255Blx0wsMSlAYLNh615f/i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_118"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:26.390026' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_119@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_119@example.jp"], ["encrypted_password", "$2a$04$8pR.dvqhc8GBBW7B0ErUxesTZ9NE3PMSvccP1x1MBEwZEdEykIeDi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_119"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:26.397987' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_120@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_120@example.jp"], ["encrypted_password", "$2a$04$P2L8gW2RVh/NZhaYZRxtg./6bBiQ6a0WOEEi85nktTG1FN0V40wmq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_120"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:26.418073' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_121@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_121@example.jp"], ["encrypted_password", "$2a$04$RjbChGRxqPGnDdWxUr/AZ./P.yCMh.jj8AizYO4SQmFss7kSgAafC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_121"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:26.426296' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"2"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.7ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_122@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_122@example.jp"], ["encrypted_password", "$2a$04$JHMfDL49io691u2mJ91mFuzF.ZQqL4jq36cb88jOAun6joSZRHNYy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_122"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:26.443941' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_123@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_123@example.jp"], ["encrypted_password", "$2a$04$3U5EmrHue.fx2VSwNCY6P.C9j0uifrOn4/.EJp70w7YP3HgdpvJAC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_123"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:26.452373' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.7ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_124@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_124@example.jp"], ["encrypted_password", "$2a$04$mxvmKA5yFEFuqvvhfD3VAeXp7MyiXobyC1c92X3QCjOeivUPvWAny"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_124"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:26.469561' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_125@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (37.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_125@example.jp"], ["encrypted_password", "$2a$04$0kV1qvT5JFBlhD5Y332w3OY.zid.iDWAPW/uOZE3ae85h2bNTSwXG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_125"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:26.514524' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_124", "sender_id"=>"13", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_126@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_126@example.jp"], ["encrypted_password", "$2a$04$vqyiK91RgPc0RMYqwMx7Du78fbfoFGSjMc7WCR4kkis0PoweZoKY2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_126"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:26.533129' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_127@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_127@example.jp"], ["encrypted_password", "$2a$04$To/Na43PWYtmgOABA20rh.z.fnKQnaARRtPP9J3UVZncUXeuBouNW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_127"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:26.540788' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_126", "sender_id"=>"13", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_128@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_128@example.jp"], ["encrypted_password", "$2a$04$4aUmGI5R1mR6T3Kx6C0dIO2.XJ9mCE6G6YqfaJkLp2Z5GC1TbHzui"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_128"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:26.559546' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_129@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_129@example.jp"], ["encrypted_password", "$2a$04$yWJ5dg/zUW7zF4dYv4TeD.FPAZu9DDx786XJuLxEsCumJXvVKVYqq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_129"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:26.567571' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_130@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_130@example.jp"], ["encrypted_password", "$2a$04$BDAYZINY//6Q/iGR2MdTUe7jDlFUANHj/wFZ9Nf3W.WTrckxZzxdi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_130"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:26.585796' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_131@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_131@example.jp"], ["encrypted_password", "$2a$04$/.DS/4HP3vTMRolOmtGo4Omm2jA7o3qfTtVC9T3gxBZpsiHO.5l1u"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_131"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:26.593670' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_132@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_132@example.jp"], ["encrypted_password", "$2a$04$sTwU0eRHhmyG8wZ2WPZ/ielfrl5GqPDhXDaM.89ao5hWa0EDhi54W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_132"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:26.611926' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_133@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_133@example.jp"], ["encrypted_password", "$2a$04$BG1gTZac8YVgTMxOrvKtZevdFbv2hcrsEhiyCyR/sG0wncxmMRVrm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_133"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:26 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:26.619808' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"2"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#destroy as HTML Parameters: {"id"=>"2"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 3 AND "messages"."id" = ? LIMIT 1 [["id", "2"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "messages" WHERE ("lft" > 3 AND "rgt" < 4) SQL (0.4ms) UPDATE "messages" SET "lft" = ("lft" - 2) WHERE "messages"."id" IN (SELECT "messages"."id" FROM "messages" WHERE ("lft" > 4) ORDER BY "lft") SQL (0.4ms) UPDATE "messages" SET "rgt" = ("rgt" - 2) WHERE "messages"."id" IN (SELECT "messages"."id" FROM "messages" WHERE ("rgt" > 4) ORDER BY "lft") SQL (0.1ms) DELETE FROM "messages" WHERE "messages"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/messages Completed 302 Found in 46ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.8ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms LibraryGroup Load (3.5ms) SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]] LibraryGroup Load (0.1ms) SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]] Fixture Delete (0.4ms) DELETE FROM "library_groups" Fixture Insert (0.2ms) INSERT INTO "library_groups" ("id", "name", "display_name", "short_name", "email", "note", "my_networks", "url", "created_at", "updated_at") VALUES (1, 'unknown', 'unknown', 'unknown', 'next-l@library.example.jp', NULL, '0.0.0.0/0', 'http://localhost:3000/', '2011-12-17 21:04:53', '2011-12-17 21:04:53') Fixture Delete (0.1ms) DELETE FROM "message_requests" Fixture Insert (0.1ms) INSERT INTO "message_requests" ("sender_id", "receiver_id", "message_template_id", "state", "created_at", "updated_at", "id") VALUES (1, 1, 1, 'pending', '2011-12-17 21:04:53', '2011-12-17 21:04:53', 980190962) Fixture Insert (0.1ms) INSERT INTO "message_requests" ("sender_id", "receiver_id", "message_template_id", "state", "created_at", "updated_at", "id") VALUES (1, 1, 1, 'pending', '2011-12-17 21:04:53', '2011-12-17 21:04:53', 298486374) Fixture Delete (0.2ms) DELETE FROM "message_templates" Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (1, 'reservation_accepted', 'Reservation accepted', 'Reservation accepted', 1, '2011-12-17 21:04:53', '2011-12-17 21:04:53') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (2, 'item_received', 'Item received', 'Item received', 2, '2011-12-17 21:04:53', '2011-12-17 21:04:53') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (3, 'reservation_expired_for_patron', 'Reservation expired', 'Reservation expired', 3, '2011-12-17 21:04:53', '2011-12-17 21:04:53') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (4, 'reservation_expired_for_library', 'Reservation expired', 'Reservation expired', 4, '2011-12-17 21:04:53', '2011-12-17 21:04:53') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (5, 'reservation_canceled_for_patron', 'Reservation canceled', 'Reservation canceled', 5, '2011-12-17 21:04:53', '2011-12-17 21:04:53') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (6, 'reservation_canceled_for_library', 'Reservation canceled', 'Reservation canceled', 6, '2011-12-17 21:04:53', '2011-12-17 21:04:53') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (7, 'recall_item', 'Recall item', 'Recall item', 7, '2011-12-17 21:04:53', '2011-12-17 21:04:53') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (8, 'recall_overdue_item', 'Recall overdue item', 'Recall overdue item', 8, '2011-12-17 21:04:53', '2011-12-17 21:04:53') Fixture Delete (0.3ms) DELETE FROM "messages" Fixture Insert (0.2ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "read_at", "state", "lft", "rgt", "updated_at") VALUES (1, 3, 4, 'First Message', 'Abby, you get the first message', '2007-07-04 12:10:47.0', '2011-12-14 21:04:53', 'unread', 1, 2, '2011-12-17 21:04:53') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (2, 4, 3, 'RE: First Message', 'Thanks Dad! You are the coolest!', '2011-12-15 21:04:53', 'unread', 3, 4, '2011-12-17 21:04:53') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (3, 3, 4, 'Second Message', 'Catie, you get the 2nd message', '2011-12-16 21:04:53', 'unread', 5, 6, '2011-12-17 21:04:53') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (6, 4, 5, 'Dad!', 'He is sucha dork.', '2011-12-15 21:04:53', 'unread', 7, 8, '2011-12-17 21:04:53') Fixture Delete (0.1ms) DELETE FROM "roles" Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Guest', 'Guest', 1, NULL, '2011-12-17 21:04:54', '2011-12-17 21:04:54') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('User', 'User', 2, NULL, '2011-12-17 21:04:54', '2011-12-17 21:04:54') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Librarian', 'Librarian', 3, NULL, '2011-12-17 21:04:54', '2011-12-17 21:04:54') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Administrator', 'Administrator', 4, NULL, '2011-12-17 21:04:54', '2011-12-17 21:04:54') Fixture Delete (0.1ms) DELETE FROM "user_groups" Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('(not specified)', '(not specified)', '2007-12-13 12:00:51.564542', 1, '', '2007-12-13 12:00:01.674976', 1) Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('User', 'User', '2007-12-22 18:14:56.836548', 2, '', '2007-12-22 18:14:40.173954', 2) Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('Faculty', 'Faculty', '2007-12-22 18:15:05.134351', 3, '', '2007-12-22 18:15:05.126457', 3) Fixture Delete (0.1ms) DELETE FROM "user_has_roles" Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (1, 4, '2011-12-17 21:04:54', '2011-12-17 21:04:54', 135138680) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (2, 3, '2011-12-17 21:04:54', '2011-12-17 21:04:54', 344583537) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (3, 2, '2011-12-17 21:04:54', '2011-12-17 21:04:54', 206669143) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (4, 3, '2011-12-17 21:04:54', '2011-12-17 21:04:54', 226540757) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (5, 2, '2011-12-17 21:04:54', '2011-12-17 21:04:54', 358143215) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (6, 2, '2011-12-17 21:04:54', '2011-12-17 21:04:54', 576709754) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (7, 2, '2011-12-17 21:04:54', '2011-12-17 21:04:54', 1010528733) Fixture Delete (0.2ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:16:30.163731', '$2a$10$vHohD1WflnTIqAa8zMkF9evwAgIZRw3XuR4d3bi29M.jph/MB/AJi', 2, 1, NULL, 'admin', 'tanabe@kamata.lib.teu.ac.jp', '2007-11-19 07:58:32.111941', 4) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 03:41:16.337474', '$2a$10$9O2VuTccN4gHq36ARg0QReSrb1D7WrBBhZZ759RM9moHbB0W5zCzS', 1, 2, NULL, 'librarian1', 'librarian1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:33.172441', 1) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', '$2a$10$JthS59A0BNkDOoFpCXM0V.GhhffKaoWKbzpPahYp/vTFrOyM7h/uW', 1, 3, NULL, 'user1', 'user1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:23.340575', '$2a$10$YmmTGrYQ1Ir6oc7wXnp.GuNeO1eYLoP3sv8wMSIrTdaGw2BPwRrpS', 1, 4, NULL, 'librarian2', '2008-01-18 03:24:04.222344', 1) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:44.711117', '$2a$10$i7UjJhLVrJM/J7qaTwW39OXw1NiwowUEbtNHVDV0sqMLjX9.UO9ca', 1, 5, NULL, 'user2', '2008-01-18 04:29:06.922728', 2) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 6, NULL, 'user3', 'user3@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Fixture Insert (2.9ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 7, NULL, 'user4', 'user4@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_1@example.jp"], ["encrypted_password", "$2a$04$v9RXjpD2f7kPXg.sP77eLO6K0OvJqazWTbUvyFX540Xy/pzTaNwiG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_1"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:54 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:04:54 UTC +00:00], ["user_id", 12]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:54.483617' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Rendered /Users/kosuke/enju_message/app/views/message_requests/index.html.erb within layouts/application (10.3ms) Completed 200 OK in 110ms (Views: 93.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_1@example.jp"], ["encrypted_password", "$2a$04$3vBnorEKQsZvmvaoQP4.6u6C9mvMiwNkPH5J2XIOC0Xd/oVwC/TCq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_1"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:54 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:04:54 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:54.629495' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 200 OK in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_1@example.jp"], ["encrypted_password", "$2a$04$orSThcKC7ilkiLVzNLS2..RqQKCwApWQ9fYWBFZ1TNWhicsadLUvK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_1"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:54 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:54 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:54.666678' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 16ms (Views: 6.7ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "message_requests" WHERE ('t'='f') Processing by MessageRequestsController#index as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 12ms  (0.1ms) SELECT COUNT(*) FROM "message_requests" WHERE ('t'='f') Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_2@example.jp"], ["encrypted_password", "$2a$04$46Wu8tjD/OTi07UEHSmUgeqXkjmYCQ/JgMhorIHQQ9laSPvWIA0mi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_2"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:54 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:04:54 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:54.721683' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_2@example.jp"], ["encrypted_password", "$2a$04$meF1SyXDLmbn9YcHFQ2v5eEIvmMCaufKM.k48.BTYhToLL2SOb1a6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_2"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:54 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:54 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:54.735230' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_3@example.jp"], ["encrypted_password", "$2a$04$G077iVcG1qg3Vif1Z8Bry.37njJ6zQh4LK.r9b8gXVwaSEggCTEqi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_3"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:54 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:54 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:54.760241' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_1' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_1"], ["created_at", Sat, 17 Dec 2011 21:04:54 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_1"], ["title", "message_template_1"], ["updated_at", Sat, 17 Dec 2011 21:04:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_1' AND "message_templates"."id" != 9) LIMIT 1 SQL (1.0ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:04:54 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 14], ["sender_id", 13], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:04:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.2ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 200 OK in 11ms (Views: 2.1ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_2@example.jp"], ["encrypted_password", "$2a$04$4x0E6RtuUIDud5kB1Y5ar.fNn8tyBpda1Y0Hru/x0WNtP0f7iy.Oq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_2"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:54 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:04:54 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:54.868872' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_4@example.jp"], ["encrypted_password", "$2a$04$WYvc0feGYUGGZRHXsBTF.ekyf3Zl7PoAoPtRRsr5tXW8WNGYfhRR."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_4"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:54 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:54 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:54.881899' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_5@example.jp"], ["encrypted_password", "$2a$04$ewNe0ZxXmQJooxlr.qEpn.uEjTysqCvI.WRhVjlMsBjGOsunTjak6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_5"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:54 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:54 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:54.894571' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_2' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_2"], ["created_at", Sat, 17 Dec 2011 21:04:54 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_2"], ["title", "message_template_2"], ["updated_at", Sat, 17 Dec 2011 21:04:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_2' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:04:54 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 14], ["sender_id", 13], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:04:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 200 OK in 10ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_6@example.jp"], ["encrypted_password", "$2a$04$i51Jez40RnlnDMbPCpdWt.D7DY0TVvGbbscWfr6GI0vxFUqpmqlyq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_6"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:54 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:54 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:54.936046' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_7@example.jp"], ["encrypted_password", "$2a$04$TtfxgFdpYU4x3Z4XDwNvWuiwMRDNfoZkDJkZSubGRWWMbz2FqT1li"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_7"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:54 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:54 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:54.951525' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_8@example.jp"], ["encrypted_password", "$2a$04$38FoeQETHgHhos8/KhNUJeU1QHsQHR7icWmxvSinvcQeRITXo7Ioy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_8"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:54 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:54 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:54.967072' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_3' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_3"], ["created_at", Sat, 17 Dec 2011 21:04:54 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_3"], ["title", "message_template_3"], ["updated_at", Sat, 17 Dec 2011 21:04:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 User Load (1.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_3' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:04:54 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 14], ["sender_id", 13], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:04:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.3ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.2ms | ActiveRecord: 0.6ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_9@example.jp"], ["encrypted_password", "$2a$04$dDKflcICrllotVx8EbcwxO6J7TIEGFHazHhTRpA.6NKT8IwJxLUby"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_9"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:55.010813' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_10@example.jp"], ["encrypted_password", "$2a$04$o1NREzl.YEoubemCIfCnAuSnPUdLllUqsiAkHHoOp1tN1nA095C6y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_10"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:55.023628' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_4' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_4"], ["created_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_4"], ["title", "message_template_4"], ["updated_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_4' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 64ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.3ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_3@example.jp"], ["encrypted_password", "$2a$04$UWQ7/eW4RxcXdFFMkqwwyuiLuSi.1GkeQnz6FrV1PzjbcH7J36tPC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_3"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:55.125890' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_11@example.jp"], ["encrypted_password", "$2a$04$EqTaP8FO.EbY6lmwda7xAuUN1plrR2nS.b3y6oCfn4AiRrNhprSw6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_11"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["user_id", 13]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:55.139986' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_12@example.jp"], ["encrypted_password", "$2a$04$qFa7sZabn0wcR49QlGMjzuPHhW5ziansdfLmHxrWLZ08ENVfYDxB6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_12"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:55.157069' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_5' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_5"], ["created_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_5"], ["title", "message_template_5"], ["updated_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_5' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 14], ["sender_id", 13], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 13ms (Views: 3.1ms | ActiveRecord: 0.7ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_3@example.jp"], ["encrypted_password", "$2a$04$2YV.fMMW9LB5U5CIOiIcVuTGb9BtYKW/6E3249f2nspVr9CBtYime"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_3"]] SQL (0.4ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:55.200425' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_13@example.jp"], ["encrypted_password", "$2a$04$sDCwclNaOB8Ltezmk8j4uOfCTBYfpa2llnXtpW48uIAo.VgM9i9h2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_13"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:55.216426' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_14@example.jp"], ["encrypted_password", "$2a$04$jyTklAkm9BdNzJJXgTgbIOt4NAIPzQgY4Esc2o8.rZP1Q9uCdyVOy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_14"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:55.230708' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_6' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_6"], ["created_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_6"], ["title", "message_template_6"], ["updated_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_6' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 14], ["sender_id", 13], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 12ms (Views: 1.3ms | ActiveRecord: 0.6ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_15@example.jp"], ["encrypted_password", "$2a$04$EeiVdhJ0PLtomEsPIcRAMO5xv7LWjWIz7k4f3BekAGp.ewslHZ0QG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_15"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:55.279953' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.4ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_16@example.jp"], ["encrypted_password", "$2a$04$5Ktug9Qf9bUSXH8NE0M/ReokfW3IUSPDek0sW9F463tEEzD9Evjde"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_16"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:55.295269' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_17@example.jp"], ["encrypted_password", "$2a$04$AX42DGSa.pOGHc5Q4toQ4u1g5jYAceB/2hZlo5nCE4Q3M3WKZgtk2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_17"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:55.308313' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_7' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_7"], ["created_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_7"], ["title", "message_template_7"], ["updated_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_7' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 14], ["sender_id", 13], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (64.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_18@example.jp"], ["encrypted_password", "$2a$04$0nYvcDT2.SD7zXC3MzVHXuwVpq6VCQ94OQTcVaPbFRCPtc8azHxS6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_18"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:55.416037' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_19@example.jp"], ["encrypted_password", "$2a$04$l.2UkC6Gc/WcDJy5LsYwLesxbHwXeNqT3oygS5BCvVVOGA/.xzodi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_19"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:55.428725' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_8' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_8"], ["created_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_8"], ["title", "message_template_8"], ["updated_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_8' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_20@example.jp"], ["encrypted_password", "$2a$04$dkhjpAW3ldONWaUBa4pkjONxMhnFb7PE2kC7OIf3E77K6f.jMbP7O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_20"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:55.466272' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_21@example.jp"], ["encrypted_password", "$2a$04$J7yrwczN3di9V23QQ16mruG9zNnrUvVJ9LC.Q5rXAvRJp049gjHmO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_21"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:55.481685' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_9' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_9"], ["created_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_9"], ["title", "message_template_9"], ["updated_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_9' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_22@example.jp"], ["encrypted_password", "$2a$04$uOvv4OioLW07fkuso4nISOxRQ71xr6A6UYP.zJxwchSrle8PaNJre"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_22"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:55.512032' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_23@example.jp"], ["encrypted_password", "$2a$04$D.5CXBvm/d2P2Qzi8573buPs3fUJj.OlBGqKPS0ybXTm6oYBAW6Q."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_23"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:55.525792' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_10' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_10"], ["created_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_10"], ["title", "message_template_10"], ["updated_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_4@example.jp"], ["encrypted_password", "$2a$04$vKGs9pz2FDBv7/8/H/mmyOyhKCKgOOHS/.GANtzLgUk.hV/aVXAH6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_4"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:55.544601' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"14", "receiver_id"=>"15", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 15 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_10' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 14, "receiver_id" = 15, "message_template_id" = 10, "updated_at" = '2011-12-17 21:04:55.564309' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 21ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_24@example.jp"], ["encrypted_password", "$2a$04$mMYl0xvS4nE8.xsPLUe5.eVDO/jUMSwJe2MMqxycTNhi49g/HJsHa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_24"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:55.585405' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (1.0ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_25@example.jp"], ["encrypted_password", "$2a$04$0Gb3IXVlSD6EzkAw5Kcw8e7GnvD04ipGIKaGDmON8M1lhZc5LrFqm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_25"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:55.600241' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_11' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_11"], ["created_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_11"], ["title", "message_template_11"], ["updated_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_11' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_26@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_26@example.jp"], ["encrypted_password", "$2a$04$Fs7xqrJwgzsgGlSicuiutegBODHUx2xK5tbFKUnI2DZnwVeHF886G"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_26"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:55.629985' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_27@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (58.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_27@example.jp"], ["encrypted_password", "$2a$04$fLXrSjnt8Z0Q4q5v/lb/YualYR3Z9np96T5d.MsLSVxRDvp6SFZHa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_27"]] SQL (3.9ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:55.703931' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_12' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_12"], ["created_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_12"], ["title", "message_template_12"], ["updated_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_5@example.jp"], ["encrypted_password", "$2a$04$tEhcJpTXDCXzkJibdXbYc.5V241gRIDcKsTggb1SWaQkENK4w.xVu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_5"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:55.722849' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"14", "receiver_id"=>"15", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (2.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 15 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_12' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 14, "receiver_id" = 15, "message_template_id" = 10, "updated_at" = '2011-12-17 21:04:55.743895' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 19ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_28@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_28@example.jp"], ["encrypted_password", "$2a$04$CkW9VZPXZmlNiEy38bAEE.sPugz5vdjIODfWoBc8iZrhZ9M0FS.Yu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_28"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:55.766929' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_29@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_29@example.jp"], ["encrypted_password", "$2a$04$yDyCdIpCmf55JP.zfRapV.XD1wuTuxGdzDenkCbp4PvEH.PG0fwqi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_29"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:55.781085' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_13' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_13"], ["created_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_13"], ["title", "message_template_13"], ["updated_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_13' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_30@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_30@example.jp"], ["encrypted_password", "$2a$04$UIYM7Ut1zBolnS2B0ygCfeh063Vv20041I2UdIvrDxW6nUL9jUnTG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_30"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:55.806456' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_31@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_31@example.jp"], ["encrypted_password", "$2a$04$uikUimX1AlDvwCPV9sg9Q.fU1druhV.1zi/FjAaxYB2QWwKL9UE3O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_31"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:55.819895' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_14' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_14"], ["created_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_14"], ["title", "message_template_14"], ["updated_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_6@example.jp"], ["encrypted_password", "$2a$04$A6xLbz0X1RETi1DijFLIOeD1J6uJXkX9m75AP1G/.RpC62f3bdln."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_6"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:55.836911' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_13' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 20ms (Views: 1.3ms | ActiveRecord: 1.1ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_32@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (7.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_32@example.jp"], ["encrypted_password", "$2a$04$nnuvz1taVpyqrpnxEymXFOX58IwOwqHjvQ19/ALan6xGdRNUWjfPu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_32"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:55.883032' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.4ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_33@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_33@example.jp"], ["encrypted_password", "$2a$04$Xo.cdvZJ7aYOEMMwxUg/X.LxOeN.DrFL2SgHKRpallchR5qamUiR2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_33"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:55.897554' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (2.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_15' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_15"], ["created_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_15"], ["title", "message_template_15"], ["updated_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_15' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_34@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (64.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_34@example.jp"], ["encrypted_password", "$2a$04$/KXNiaNJEWfiN9.18GYKbuJXri8PxgU/QDgq4A9G144AJxZUHzCYu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_34"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:55 UTC +00:00], ["user_id", 14]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:55.988127' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_35@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_35@example.jp"], ["encrypted_password", "$2a$04$mKxbE.nWciKPWukzRJ2LJuABVNXDB34jnwm.532VGfFDgJrgtHgm."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_35"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:56.005934' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.9ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_16' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_16"], ["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_16"], ["title", "message_template_16"], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_4@example.jp"], ["encrypted_password", "$2a$04$UUPkiTOGBsDaS3NNBzkPJeOQjf2odDPE.9XZajeahJ570zlb0vX6i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_4"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:56.026908' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"14", "receiver_id"=>"15", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 15 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_16' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 14, "receiver_id" = 15, "message_template_id" = 10, "updated_at" = '2011-12-17 21:04:56.044972' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 19ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_36@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_36@example.jp"], ["encrypted_password", "$2a$04$Zh7rnEOiukAvsfaCg7Lr7edtDWA7s462xKt4.LJalVMPe7zROlovW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_36"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:56.064146' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_37@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_37@example.jp"], ["encrypted_password", "$2a$04$GlQn701ZlyNAr3031i0gg.79DqW5Vk2BdZkUQMxrS2nnsGK6R6lUG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_37"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:56.077516' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_17' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_17"], ["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_17"], ["title", "message_template_17"], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_17' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_38@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_38@example.jp"], ["encrypted_password", "$2a$04$.gzo94VHymWc18ZDojOtLubfBxsxQ91toxmz3HH9V4Yk2vm27GdH2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_38"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:56.102293' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_39@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_39@example.jp"], ["encrypted_password", "$2a$04$Mw4NfhahDhIJ33H6WcDB6OPrK8Xu3nHhmJFLfE89cBUVkAArvb5SK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_39"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:56.115350' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_18' LIMIT 1 SQL (2.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_18"], ["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_18"], ["title", "message_template_18"], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_5@example.jp"], ["encrypted_password", "$2a$04$FLzyuwCsOcWdWoK6IGE3ge5Iqr3i1J070UHNYmLGzxAORjsR68I8q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_5"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:56.135192' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"14", "receiver_id"=>"15", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 15 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_18' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 14, "receiver_id" = 15, "message_template_id" = 10, "updated_at" = '2011-12-17 21:04:56.154604' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 19ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.3ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_40@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_40@example.jp"], ["encrypted_password", "$2a$04$zLQT1ifht1dP.eAhfSD86O2nQrO602mwrjZbKQ2I5noZFcRod6ztG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_40"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:56.175179' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_41@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_41@example.jp"], ["encrypted_password", "$2a$04$GuLVWHFn3DroMxfzhI2WJuwW/w7HKwVXZNGWnhqp6/CZpF2c5fxie"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_41"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:56.189018' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_19' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_19"], ["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_19"], ["title", "message_template_19"], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_19' AND "message_templates"."id" != 9) LIMIT 1 SQL (1.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_42@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (40.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_42@example.jp"], ["encrypted_password", "$2a$04$705yokVNMNz1QggnT62bQeQ./HXrEzXCvC4dT/aiaHEcfKnkBYYG2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_42"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:56.252924' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_43@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_43@example.jp"], ["encrypted_password", "$2a$04$QnHPVUe20HE1fqq25XSQje5IrGs7ftoEUnGeJWAokB0N5nM8lk5gu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_43"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:56.261552' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_20' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_20"], ["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_20"], ["title", "message_template_20"], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_6@example.jp"], ["encrypted_password", "$2a$04$qqKQeonR0A4/30XSrAppQuTe..47tp4QTa5Z0P0rJfnJH5zJFvuH2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_6"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:56.272428' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_19' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 10ms (Views: 0.9ms | ActiveRecord: 0.6ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_44@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_44@example.jp"], ["encrypted_password", "$2a$04$dcSV/KHpXQA6sqMFTXH9tO2WPw924BKakGyF6nTbLjx2Sz7WEx4z2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_44"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:56.294544' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_45@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_45@example.jp"], ["encrypted_password", "$2a$04$rSHnhFOlTbiMlpZuGJos5.3NDn7C0IKjD5i5z4PKiF7He/YLvYVRa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_45"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:56.302757' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_21' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_21"], ["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_21"], ["title", "message_template_21"], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_21' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_46@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_46@example.jp"], ["encrypted_password", "$2a$04$JZFOfbstBJptSe95Z3zJiu8YcLOSQ5vFTbkW0gcfjyh2YUJ90tFjO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_46"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:56.317134' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_47@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_47@example.jp"], ["encrypted_password", "$2a$04$kMW5OP1941bTvhPXa0f35OgZm30oZ6nEsLdbH8Q4.3Ck9sb2vP/li"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_47"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:56.325278' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_22' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_22"], ["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_22"], ["title", "message_template_22"], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_48@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_48@example.jp"], ["encrypted_password", "$2a$04$RbdV0fyLjxv3PQXG22qZz.N6/N3lYjb4pjcZfd94fCPSOV8ttkLly"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_48"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:56.335114' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"14", "receiver_id"=>"15", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_49@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_49@example.jp"], ["encrypted_password", "$2a$04$ejLluUu178ttciKA1hBpcOW1F.jrL3v.kBTSFTlD1Bx/QNwXUGDXS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_49"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:56.353305' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_50@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_50@example.jp"], ["encrypted_password", "$2a$04$Q9pNo25xfTu5CYbu0ZdTneJ65ZIQN7TILMH6FPJozgVIFkyp0rFq."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_50"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:56.361465' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_23' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_23"], ["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_23"], ["title", "message_template_23"], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_23' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_51@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (34.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_51@example.jp"], ["encrypted_password", "$2a$04$MSDzE26iIxdyOyO.07TyGulxhJ9BBdYCt8dBHmGjyugNi2ZZx3.QC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_51"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:56.410018' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_52@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_52@example.jp"], ["encrypted_password", "$2a$04$gs9fvIlpAWAngftvOmt4v.lIgGrCbPS4YiUPKWcnxL7wYsgb0f3lu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_52"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:56.417956' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_24' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_24"], ["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_24"], ["title", "message_template_24"], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_53@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_53@example.jp"], ["encrypted_password", "$2a$04$Zkp5X3INvL9QC6YmnebTJeD6vdcr8/X50uyIszXW1pzWJRAXx/fqS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_53"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:56.428013' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"14", "receiver_id"=>"15", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_54@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_54@example.jp"], ["encrypted_password", "$2a$04$QYBv.EpJRnIZcx6WhK3dKObszI//lH6qCibOo/sDjaaVSuoi86RZC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_54"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:56.446383' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_55@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_55@example.jp"], ["encrypted_password", "$2a$04$4kcvXABEfUuKteYvzCmVI.t9dIdlgB.00XaQ1Ke66XjZ1ashlxJ1C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_55"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:56.455926' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_25' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_25"], ["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_25"], ["title", "message_template_25"], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_25' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_56@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_56@example.jp"], ["encrypted_password", "$2a$04$uf50dfs4geqhtrIOnwgr5.gyTxsIB2USRYSGAC02.a6OGCs2bz.d."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_56"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:56.469934' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_57@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_57@example.jp"], ["encrypted_password", "$2a$04$Eq89vktYtIC3cu7fEBZRWuZChp6zigEHLdKiHqgAJLnHrLM06piqe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_57"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:56.478266' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_26' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_26"], ["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_26"], ["title", "message_template_26"], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_58@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_58@example.jp"], ["encrypted_password", "$2a$04$TL8hu.yFMP9Z0xKHQ1Hda.ea0LNp24AvnhNsWE4oLAMruBhqryp9u"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_58"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:56.488818' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_59@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_59@example.jp"], ["encrypted_password", "$2a$04$hSCSNF616Nzdfb95Eb0M0uk8hJaonLsP0Kodajl1T0ZTG4p79y8ri"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_59"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:56.506659' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_60@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_60@example.jp"], ["encrypted_password", "$2a$04$KGw4L/oLATqRHU2gps6T1eO2YAr0NSe64/OFidgTk4Gs8JIG.grtW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_60"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:56.515276' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_27' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_27"], ["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_27"], ["title", "message_template_27"], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_27' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_61@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (35.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_61@example.jp"], ["encrypted_password", "$2a$04$vUEYDouhX0pVPABrLCRLt.hLi.Sdy2cfxAz9o3jo5N8ah9xDKk7xy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_61"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:56.564327' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_62@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_62@example.jp"], ["encrypted_password", "$2a$04$uLIaR613mCd6pFNnIvWXeuXZ.u8GyI5QXFeY.7qmfdUwRLd7ohLrm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_62"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:56.572885' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_28' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_28"], ["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_28"], ["title", "message_template_28"], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"14", "receiver_id"=>"15", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_63@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_63@example.jp"], ["encrypted_password", "$2a$04$ZUEx28ZZK3hjtoR/VYW8HOJdOAkzwJIkOt/8VXcWHOrat.iATfVHS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_63"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:56.590777' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_64@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_64@example.jp"], ["encrypted_password", "$2a$04$l5zqi6BL6N5SOG.tc26QGumLJcragD/2AA/VgzODRMjgWSaIwoh32"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_64"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:56.599136' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_29' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_29"], ["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_29"], ["title", "message_template_29"], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_29' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_65@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_65@example.jp"], ["encrypted_password", "$2a$04$XilwGActEfmiTTG0y1bbgO/is4ASwtU.fcpD6z32YGsxl8vs7KVja"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_65"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:56.614823' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_66@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_66@example.jp"], ["encrypted_password", "$2a$04$weGey24GDofXLsnUgQpHLOVYVezeILdACNgHD4EVSEHXiPa4.tKkq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_66"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:56.623240' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_30' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_30"], ["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_30"], ["title", "message_template_30"], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"14", "receiver_id"=>"15", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_67@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_67@example.jp"], ["encrypted_password", "$2a$04$5FG2WCD/6prDsjIMV5TiH.u/ZAErr/XOakh4YEYQOe0qSGRHBdfvm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_67"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:56.641469' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_68@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_68@example.jp"], ["encrypted_password", "$2a$04$9pbURJFAUccKWOtHmxthi.QcTgoASlmlZs8ua.W2NM11ZKYhh2o3e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_68"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:56.649659' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_31' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_31"], ["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_31"], ["title", "message_template_31"], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_31' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_69@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_69@example.jp"], ["encrypted_password", "$2a$04$c9mC3NHAduXtoTgpfn4MCOAxHzyIHEAcszQcAPYE.lkZ.b65QvJFe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_69"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:56.664060' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_70@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_70@example.jp"], ["encrypted_password", "$2a$04$Xbg4k8rgewTG24RK0NoWBuus0EbXoLVunfSAMPyFgJD9eNDr0umya"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_70"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:56.671722' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_32' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_32"], ["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_32"], ["title", "message_template_32"], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 38ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_71@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_71@example.jp"], ["encrypted_password", "$2a$04$2NlQq33A3kZBCY/Ua6.TJuVqgiL2SA7S2xZsu0242R7suBt8KFokS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_71"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:56.724173' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_72@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_72@example.jp"], ["encrypted_password", "$2a$04$7Vh7mQ.dqsOXK9gWjo/rYu4C0m1zREfaFarrZ2QJHNCfe/0KwINlW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_72"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:56.732347' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_33' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_33"], ["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_33"], ["title", "message_template_33"], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_33' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_7@example.jp"], ["encrypted_password", "$2a$04$Y6ziBl7I2y3OhlP1u8r0NepJzXF7KBxyildg8VbbaqTMGvR/FX0F2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_7"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:56.746370' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 6ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_73@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_73@example.jp"], ["encrypted_password", "$2a$04$xaFRlAXgwaoelnxB9aGUuOD5.Y2crSKomXX5fa.GM396h40jNyCjy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_73"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:56.763262' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_74@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_74@example.jp"], ["encrypted_password", "$2a$04$OrD2O/xk2L7nd3A5pSemHev5MSFUVbQRr.x0g/6hJW9OGIeAE6ZJG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_74"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:56.771737' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_34' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_34"], ["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_34"], ["title", "message_template_34"], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_34' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_8@example.jp"], ["encrypted_password", "$2a$04$d7lecX4M2IJk6X/Rg6xo2.lxnX/tUaTn4e3cFknPH91JBrTCI5v4G"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_8"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:56.785802' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 6ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_75@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_75@example.jp"], ["encrypted_password", "$2a$04$xJ5FLh5ddRgXRR11wNZgj.zPFznSVwzYdF3Wb91tmh1vd97NAplZa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_75"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:56.803915' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_76@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_76@example.jp"], ["encrypted_password", "$2a$04$OUEqzIFvJbmjypzJnVO40O4iGj3EtC38egIkl9T9Zz8uj1fYhfx4m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_76"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:56.812706' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_35' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_35"], ["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_35"], ["title", "message_template_35"], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_35' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_7@example.jp"], ["encrypted_password", "$2a$04$SVZr7.pTAxqI0dR8r0Mx5.ceHx.PxM65w4zDh4dFG3yvXli6YN3RC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_7"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:56.827759' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 6ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_77@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (35.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_77@example.jp"], ["encrypted_password", "$2a$04$jkDoLcyzBA.hppIAuFH.JOEwXssaZnIUIDiPaDQjlsS7xKTgEpEaK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_77"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:56.879084' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_78@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_78@example.jp"], ["encrypted_password", "$2a$04$TOGa5WIdmoDQJOaKpSm34.tjByqjgIK.O.RRg2p6Y1j8EtWJiQwJa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_78"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:56.888080' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_36' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_36"], ["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_36"], ["title", "message_template_36"], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_36' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_8@example.jp"], ["encrypted_password", "$2a$04$e0naYe0nmv9OyrA4kY4zQuK7m.87nIr9BX2dd/jJx16ARsJfxC73W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_8"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:56.902410' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 6ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_79@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_79@example.jp"], ["encrypted_password", "$2a$04$bzdieMcI4i3U.oISL0nfRunWctP.31StJmc5j6DLx6rzuXEnLlWqq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_79"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:56.919870' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_80@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_80@example.jp"], ["encrypted_password", "$2a$04$iDh/wgzZ3QwJl6Pjs6mHReOm0EMzbZjpayoiCQ9iga2ZAwj7r7gBK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_80"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:56.928027' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_37' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_37"], ["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_37"], ["title", "message_template_37"], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_37' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_81@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_81@example.jp"], ["encrypted_password", "$2a$04$WiGkit4/kT7OIrz5mXSbqOIWTR62AB0QXVgh7ZGjocbYCzZdZej1K"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_81"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:56.942285' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_82@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_82@example.jp"], ["encrypted_password", "$2a$04$F551ZZAiDBxZIhvkJNAKU.PdtZHN1oidpQhMfSsLETAhAsmu7OUmq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_82"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:56.959651' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_83@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_83@example.jp"], ["encrypted_password", "$2a$04$yiqiicFqXTa0OMXLf7MXe.vPDYDh5AUhPlFk2KGAPZN2k7hRVoQyG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_83"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:56.967877' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_38' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_38"], ["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_38"], ["title", "message_template_38"], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_38' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_84@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_84@example.jp"], ["encrypted_password", "$2a$04$cU2zYHUY4qR..e1xmtKCpetBd1gyoGsb9gaKev2VWFyGzTh6bWjlq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_84"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:56.982517' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_85@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (36.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_85@example.jp"], ["encrypted_password", "$2a$04$fD9aMpS0Mxi.fjBZ8d1b9uo1jG96pdftFzi/o0U.hA22awGnploGW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:56 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_85"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:57.035472' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_86@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_86@example.jp"], ["encrypted_password", "$2a$04$haICiSytGfSYqOqI5q3Ee.pIAOTcH4RGP5POvlLUn30Z0bAbO3gce"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_86"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:57.044042' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_39' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_39"], ["created_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_39"], ["title", "message_template_39"], ["updated_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_39' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_87@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_87@example.jp"], ["encrypted_password", "$2a$04$EK/PVlXePsNZ5SElAH5sEujRKxuWzMGI.EKQgy8lbgBVHU/AejJem"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_87"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:57.065504' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_88@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_88@example.jp"], ["encrypted_password", "$2a$04$kyrjR4jpHNWDpSupyKcaBOmgW2mRkho4djJ/k1hxi86VW0Cr99pPG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_88"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:57.073652' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_40' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_40"], ["created_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_40"], ["title", "message_template_40"], ["updated_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_40' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_41' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_41"], ["created_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_41"], ["title", "message_template_41"], ["updated_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_9@example.jp"], ["encrypted_password", "$2a$04$D504amFD2WShMhNjRI9NDOdR.U31p68VYrwLB9Qbo.bU2El34lJZK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_9"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:57.098885' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 200 OK in 9ms (Views: 3.6ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position LIMIT 10 OFFSET 0  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_42' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_42"], ["created_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_42"], ["title", "message_template_42"], ["updated_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_9@example.jp"], ["encrypted_password", "$2a$04$ZwFo4r2SG2VqmEdFeLCEzexV6bCpXuYYFM0S/GtmdD8nTXepuzQ8y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_9"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:57.124052' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position LIMIT 10 OFFSET 0  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_43' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_43"], ["created_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_43"], ["title", "message_template_43"], ["updated_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_89@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_89@example.jp"], ["encrypted_password", "$2a$04$ye33bQVsuCGu9ZQmG9R5suKoBxHAXr5X9IbmqPuSBgsc9omt5kSAe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_89"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:57.145558' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "message_templates" WHERE ('t'='f')  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_44' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_44"], ["created_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_44"], ["title", "message_template_44"], ["updated_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 3ms  (0.1ms) SELECT COUNT(*) FROM "message_templates" WHERE ('t'='f') Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (37.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_10@example.jp"], ["encrypted_password", "$2a$04$WFJPM3HC6U0qVOAyJqauuOa0aR5UClJQUyAk3oIitSBeXtzdPj74K"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_10"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:57.209232' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_45' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_45"], ["created_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_45"], ["title", "message_template_45"], ["updated_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 200 OK in 7ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_10@example.jp"], ["encrypted_password", "$2a$04$e3E1kPILlKcntFLyv0Bf0uNQ2zAwWxYuYB7nZt3b6pM7Juu1I7l22"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_10"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:57.231022' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_46' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_46"], ["created_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_46"], ["title", "message_template_46"], ["updated_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 200 OK in 9ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_90@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_90@example.jp"], ["encrypted_password", "$2a$04$uwFyT8P5ITYgJyZWXNgqw.NQjm2FUecQSlgL44X6u46TCXIQY8LA."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_90"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:57.265330' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_47' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_47"], ["created_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_47"], ["title", "message_template_47"], ["updated_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_48' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_48"], ["created_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_48"], ["title", "message_template_48"], ["updated_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_11@example.jp"], ["encrypted_password", "$2a$04$m4PTvwsnevCy5v9hyK1tzudDjxF5H0c28K7ZYZfKWCiDES.Z3ho06"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_11"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:57.319930' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_11@example.jp"], ["encrypted_password", "$2a$04$VuFmpgP5Gstmkx5jN/zj6e5FtqbATlnp.HGQxBU8ckYQQuzoctgua"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_11"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:57.356935' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_91@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_91@example.jp"], ["encrypted_password", "$2a$04$ENhX2RdTWs/EMXfBRtFBS.ChT7UjVxSwf8fldBblBkTIy992xzNYe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_91"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:57.389232' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.5ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Processing by MessageTemplatesController#new as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (63.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_12@example.jp"], ["encrypted_password", "$2a$04$V.6LbadFhsrbsXTkdjIYAOjs9OaJYyZKwFOlbXPZ8D2QcqvovXemC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_12"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:57.497694' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_49' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_49"], ["created_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_49"], ["title", "message_template_49"], ["updated_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 200 OK in 11ms (Views: 2.6ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_12@example.jp"], ["encrypted_password", "$2a$04$SkyEBGedF/jPXHNFUr.ym.FM.j93VeHm/GSMYlTDvcyuiNO5tw45i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_12"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:57.531100' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_50' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_50"], ["created_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_50"], ["title", "message_template_50"], ["updated_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_92@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_92@example.jp"], ["encrypted_password", "$2a$04$BoAfvJWbRrvNpOdzXwd7PeMfCofZa.JokJmt9VNVrco1YfuyYi6T."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_92"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:57.564875' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_51' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_51"], ["created_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_51"], ["title", "message_template_51"], ["updated_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_52' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_52"], ["created_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_52"], ["title", "message_template_52"], ["updated_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_13@example.jp"], ["encrypted_password", "$2a$04$h4uoccKRBqDJGx4LZ5XpHOGtppY.nT0trAYUs16IRfOVn/jfnxE0q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_13"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:57.618698' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_53", "status"=>"message_template_53", "body"=>"message_template_53"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_53' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_14@example.jp"], ["encrypted_password", "$2a$04$0RualWg/sM87YO6oOVc5Se2iiV.B/ewZGiiBhBfkipdLFj/yFWIda"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_14"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["user_id", 12]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:57.651544' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_54", "status"=>"message_template_54", "body"=>"message_template_54"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_15@example.jp"], ["encrypted_password", "$2a$04$DeRW4mvPuWfJdRADogXCv.A3wRIHXIttrIRuL5cyfyLC/UlJqnG8y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_15"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:57.680892' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_16@example.jp"], ["encrypted_password", "$2a$04$GnmG5Lpzi0kXulVmZ8JBAuz73BF06AwV.vitz.lU8K/pT5V650.nG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_16"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:57.715580' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_13@example.jp"], ["encrypted_password", "$2a$04$LpbUREIzoMETpzT2bv0n7.z/I/KvSe6LaMI7xi4HGKv2mq48qqFQK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_13"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:57.802271' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_57", "status"=>"message_template_57", "body"=>"message_template_57"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_57' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_14@example.jp"], ["encrypted_password", "$2a$04$cCojoNlnM0uqJSyPV5fnn.Ti3KCz3mUQ/drlYYuaajeFwdmbax5y2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_14"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:57.836344' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_58", "status"=>"message_template_58", "body"=>"message_template_58"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_15@example.jp"], ["encrypted_password", "$2a$04$agbyysg001nLdvO6q6VvSesndA7M/1DttxDdwy98V5oSlQ3lMe3Ta"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_15"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:57.869326' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.5ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_16@example.jp"], ["encrypted_password", "$2a$04$74UUAE/DPEWYMyD629/egO5b63d400IzCbeOT0klBdCA22RuxUXFm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_16"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:57.903895' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_93@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_93@example.jp"], ["encrypted_password", "$2a$04$Fpu8ErqfdSTRqftOvZ5zfOR6Mu7CqeoH2Wgy4ArRa2EiRxo6kdCby"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_93"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:57.933394' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_61", "status"=>"message_template_61", "body"=>"message_template_61"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_61' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_94@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_94@example.jp"], ["encrypted_password", "$2a$04$hc.D2mRrDhxAOHlKB/biJOQaTKE0x3FkbZH0cWSFmPff9IYqFrpVe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_94"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:57.963120' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_62", "status"=>"message_template_62", "body"=>"message_template_62"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_95@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_95@example.jp"], ["encrypted_password", "$2a$04$WHw59Y4zqTanSUMhLlO00uUKQvsS9K93jTf18uAxT1rEPAdA1jSg2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_95"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:57 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:57.998897' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_96@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (61.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_96@example.jp"], ["encrypted_password", "$2a$04$f0bEo7tP4W87hcItsAD0ROjNnkLaKYDWbpbjbhTnoHiF6TExLKhQu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_96"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:58.090731' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_65", "status"=>"message_template_65", "body"=>"message_template_65"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 8ms MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_65' LIMIT 1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_66", "status"=>"message_template_66", "body"=>"message_template_66"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_69' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_69"], ["created_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_69"], ["title", "message_template_69"], ["updated_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_17@example.jp"], ["encrypted_password", "$2a$04$/eOa0K8KWmQjo2bM1dIZJerJhoYis5RhGZrHSq5G7j7tcEvh5AezW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_17"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:58.173842' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_70", "status"=>"message_template_70", "body"=>"message_template_70"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_70' AND "message_templates"."id" != 9) LIMIT 1  (0.1ms) UPDATE "message_templates" SET "title" = 'message_template_70', "status" = 'message_template_70', "body" = 'message_template_70', "updated_at" = '2011-12-17 21:04:58.188634' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates/9 Completed 302 Found in 24ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_71' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_71"], ["created_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_71"], ["title", "message_template_71"], ["updated_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_18@example.jp"], ["encrypted_password", "$2a$04$eNJTgBUnHKtb.XKpKTjQWOtvHTO.EYbhSCSAXra9/F9WD0ajPgMPe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_18"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:58.223223' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_72", "status"=>"message_template_72", "body"=>"message_template_72"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_72' AND "message_templates"."id" != 9) LIMIT 1  (0.2ms) UPDATE "message_templates" SET "title" = 'message_template_72', "status" = 'message_template_72', "body" = 'message_template_72', "updated_at" = '2011-12-17 21:04:58.236694' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates/9 Completed 302 Found in 12ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_73' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_73"], ["created_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_73"], ["title", "message_template_73"], ["updated_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_19@example.jp"], ["encrypted_password", "$2a$04$68.8/eQeqtlm8X8DGBMN1ORwniMMFbGm6fxANJB3Wg3V/e318ecru"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_19"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:58.261315' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_74", "status"=>"message_template_74", "body"=>"message_template_74"}, "position"=>"2", "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "message_templates" SET "position" = 0, "updated_at" = '2011-12-17 21:04:58.275164' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "message_templates" SET position = (position - 1) WHERE "message_templates"."id" IN (SELECT "message_templates"."id" FROM "message_templates" WHERE (1 = 1 AND position > 9) ORDER BY position) SQL (0.2ms) UPDATE "message_templates" SET position = (position + 1) WHERE "message_templates"."id" IN (SELECT "message_templates"."id" FROM "message_templates" WHERE (1 = 1 AND position >= 2) ORDER BY position)  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "message_templates" SET "position" = 2, "updated_at" = '2011-12-17 21:04:58.277716' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates Completed 302 Found in 14ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_75' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_75"], ["created_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_75"], ["title", "message_template_75"], ["updated_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (61.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_20@example.jp"], ["encrypted_password", "$2a$04$zbHVKOlqkXvucBEJBKq1JOqwuN57yP3cBXjqKvVOL3bu4cj/p4GIq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_20"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:58.361835' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = '' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 14ms (Views: 1.0ms | ActiveRecord: 0.0ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_77' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_77"], ["created_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_77"], ["title", "message_template_77"], ["updated_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_17@example.jp"], ["encrypted_password", "$2a$04$tdcMizguJRE7Ssf4bGbmP.UAuB8.zWQtQqzEcJncpoIFwGg.XGmmO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_17"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:58.405713' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_78", "status"=>"message_template_78", "body"=>"message_template_78"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 2.0ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_79' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_79"], ["created_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_79"], ["title", "message_template_79"], ["updated_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.3ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_18@example.jp"], ["encrypted_password", "$2a$04$xIxgcD91I/47FT0QOG1rEe.thmn1SMRFHZ1jT94mdB52e9Yvw/GsO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_18"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:58.443192' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_80", "status"=>"message_template_80", "body"=>"message_template_80"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_81' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_81"], ["created_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_81"], ["title", "message_template_81"], ["updated_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_19@example.jp"], ["encrypted_password", "$2a$04$brsje5Pz5BrvrmcZdvi2Wu0Ly1o.tOvkbnM3.Cm0DDLe.cYnVIS5W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_19"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:58.479534' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_83' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_83"], ["created_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_83"], ["title", "message_template_83"], ["updated_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_97@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_97@example.jp"], ["encrypted_password", "$2a$04$NhHk0COPeel9vza/6zKLN.d8CCMBMTvtt.FEUVvLPfyFPw.cvfhta"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_97"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:58.519153' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_84", "status"=>"message_template_84", "body"=>"message_template_84"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_85' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_85"], ["created_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_85"], ["title", "message_template_85"], ["updated_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_98@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_98@example.jp"], ["encrypted_password", "$2a$04$wNmWyGnh3SD95mdYQ8tYt.b3C1zvrSiO71qtfJwmHI3/9CgFRUwka"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_98"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:58.557117' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_86", "status"=>"message_template_86", "body"=>"message_template_86"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_87' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_87"], ["created_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_87"], ["title", "message_template_87"], ["updated_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_99@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_99@example.jp"], ["encrypted_password", "$2a$04$iFntV6wCVy0puLUJcjPbnOFJ7aRyw.kd44WRnA28ZfahWPADBFW8O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_99"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:58.594058' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 70ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_89' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_89"], ["created_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_89"], ["title", "message_template_89"], ["updated_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_90", "status"=>"message_template_90", "body"=>"message_template_90"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_91' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_91"], ["created_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_91"], ["title", "message_template_91"], ["updated_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_92", "status"=>"message_template_92", "body"=>"message_template_92"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_93' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_93"], ["created_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_93"], ["title", "message_template_93"], ["updated_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 11ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_95' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_95"], ["created_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_95"], ["title", "message_template_95"], ["updated_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_21@example.jp"], ["encrypted_password", "$2a$04$PedUEVKJtw0iRwSAaNXXOeu8S5mF.qo6u3kgttsv8YwTeTQOpoawy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_21"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:58.754493' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_96' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_96"], ["created_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_96"], ["title", "message_template_96"], ["updated_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_22@example.jp"], ["encrypted_password", "$2a$04$7zeGLuGiMZTnkYC2GU527ufTEMtUk95auqF3fc3XQYXG9TXxHn7yK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_22"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:58.793395' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.3ms | ActiveRecord: 0.6ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_97' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_97"], ["created_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_97"], ["title", "message_template_97"], ["updated_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_20@example.jp"], ["encrypted_password", "$2a$04$mq3VCLrsU1NHUaX6/sfXL.AcD9uvGQa6KS9tmvzY4LiapPIoQrOLK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_20"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:58.835118' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.5ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_98' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_98"], ["created_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_98"], ["title", "message_template_98"], ["updated_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_21@example.jp"], ["encrypted_password", "$2a$04$gtDEPHEuq.3X3RlWzBcir.XpCLaDtFOkp5GkXTlwgXtIZVL7UYJIG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_21"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:58.867092' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_99' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_99"], ["created_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_99"], ["title", "message_template_99"], ["updated_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_100@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_100@example.jp"], ["encrypted_password", "$2a$04$.Z7f0eJHjptg8SsXLgySAeb9Ou24S8c.jokA2LgjBMLFo3tGGQ66i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_100"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:58.901849' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 3.0ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_100' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_100"], ["created_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_100"], ["title", "message_template_100"], ["updated_at", Sat, 17 Dec 2011 21:04:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (67.9ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_101@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_101@example.jp"], ["encrypted_password", "$2a$04$K.IV1oFFTmQUJhSUtR8Y9eXRq1Ia8xcsD8ob85uA5HyXSCIaHjQNS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:04:59 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_101"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:04:59 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:04:59 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:04:59.009441' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_101' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_101"], ["created_at", Sat, 17 Dec 2011 21:04:59 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_101"], ["title", "message_template_101"], ["updated_at", Sat, 17 Dec 2011 21:04:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_102' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_102"], ["created_at", Sat, 17 Dec 2011 21:04:59 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_102"], ["title", "message_template_102"], ["updated_at", Sat, 17 Dec 2011 21:04:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.3ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.2ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:05:00 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_23@example.jp"], ["encrypted_password", "$2a$04$Aa1pXny8z0t49wGkI6W7yu2vdDuzSaNvkshcQiM/4rU0zmpVrCQMy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:05:00 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_23"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:05:00 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:05:00 UTC +00:00], ["user_id", 12]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:05:00.348711' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 SOLR Request (9.3ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A12&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (4.4ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A12&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 54ms (Views: 6.6ms | ActiveRecord: 0.4ms | Solr: 13.7ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:05:00 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_24@example.jp"], ["encrypted_password", "$2a$04$5qsfRgMxDJDl4BbhaWlELe5Y6b3JDKYszMtcBJhwERAdGmNb/XXOy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:05:00 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_24"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:05:00 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:05:00 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:05:00.516738' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML Parameters: {"user_id"=>"admin_24"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'admin_24' LIMIT 1 SOLR Request (4.4ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A12&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (7.2ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A12&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 24ms (Views: 1.4ms | ActiveRecord: 0.5ms | Solr: 11.6ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:05:00 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_22@example.jp"], ["encrypted_password", "$2a$04$0Kq5f/qLVF.Q2yHPRPDPx.zx.AkyHmBGc30Mq2CyZR9zfftg9D3Nm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:05:00 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_22"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:05:00 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:05:00 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:05:00.562319' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 SOLR Request (9.0ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A12&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (84.1ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A12&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 106ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 93.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:05:00 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_23@example.jp"], ["encrypted_password", "$2a$04$ufasEs7A.aDKdi4vNqGneOhbPMH5fPPLs7x7uu120UkI/3ZWw3fb2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:05:00 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_23"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:05:00 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:05:00 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:05:00.690444' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML Parameters: {"user_id"=>"librarian_23"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'librarian_23' LIMIT 1 SOLR Request (13.3ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A12&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (6.7ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A12&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 33ms (Views: 1.5ms | ActiveRecord: 0.5ms | Solr: 20.0ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 SOLR Request (5.6ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (6.5ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IN (2) Completed 200 OK in 52ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 12.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML Parameters: {"query"=>"you"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 SOLR Request (9.4ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&q=you&fl=%2A+score&qf=body_text+subject_text&defType=dismax&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (5.2ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&q=you&fl=%2A+score&qf=body_text+subject_text&defType=dismax&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Message Load (0.3ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IN (2) Completed 200 OK in 33ms (Views: 3.1ms | ActiveRecord: 0.5ms | Solr: 14.6ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 SOLR Request (10.5ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (3.0ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IN (2) Completed 200 OK in 35ms (Views: 1.8ms | ActiveRecord: 0.5ms | Solr: 13.5ms) Processing by MessagesController#index as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.5ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 31ms (Views: 2.6ms | ActiveRecord: 1.0ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 403 Forbidden in 80ms (Views: 1.3ms | ActiveRecord: 0.6ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#show as HTML Parameters: {"id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 3 AND "messages"."id" = ? LIMIT 1 [["id", "2"]]  (0.0ms) SAVEPOINT active_record_1  (0.4ms) UPDATE "messages" SET "read_at" = '2011-12-17 21:05:01.023846', "updated_at" = '2011-12-17 21:05:01.024264' WHERE "messages"."id" = 2 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1  (0.5ms) UPDATE "messages" SET "state" = 'read', "updated_at" = '2011-12-17 21:05:01.032358' WHERE "messages"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 31ms (Views: 3.5ms | ActiveRecord: 1.8ms | Solr: 0.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:05:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_25@example.jp"], ["encrypted_password", "$2a$04$mOuy6IjFJylH6O1xfviIFewiO5o5i0M6aStlNswBNwUxqvaFgbIBu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:05:01 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_25"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:05:01 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:05:01 UTC +00:00], ["user_id", 12]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:05:01.099729' WHERE "roles"."id" = 4  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 Completed 200 OK in 18ms (Views: 2.2ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:05:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_24@example.jp"], ["encrypted_password", "$2a$04$wtK810jNUnORHeobFGljFeZoI3Plj5PjnNc77s6d4gZvZnqUbi3O2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:05:01 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_24"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:05:01 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:05:01 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:05:01.140889' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 Completed 200 OK in 13ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 14ms (Views: 1.5ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 89ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML Parameters: {"parent_id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 13ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML Parameters: {"parent_id"=>"2"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 14ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Processing by MessagesController#new as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_26@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:05:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_26@example.jp"], ["encrypted_password", "$2a$04$mQz4AJGxlpNyH7cCix0lbOxiLKMYoX1fI69zP2RQjirsQbD9w2ZpG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:05:01 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_26"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:05:01 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:05:01 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:05:01.344256' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Message Load (0.6ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 12 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 12ms (Views: 1.3ms | ActiveRecord: 1.0ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (6.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:05:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_25@example.jp"], ["encrypted_password", "$2a$04$uHR5hpqLhp8pHfpMRQVy5.zd/SMwmQ.GZwSIv7Jk7obKSikQ5sbg."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:05:01 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_25"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:05:01 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:05:01 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:05:01.388225' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 19ms (Views: 2.2ms | ActiveRecord: 0.5ms | Solr: 0.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_102@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:05:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_102@example.jp"], ["encrypted_password", "$2a$04$HsmhY0wsWHBkpvjSl0KgSOCJCTzW1ksxq8/CqSGS7D5xEpqP30Eqe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:05:01 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_102"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:05:01 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:05:01 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:05:01.447471' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_103@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:05:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_103@example.jp"], ["encrypted_password", "$2a$04$y2aDjIpFdIw0sa23aiC3UuECuL1M67msOPRXQQpNEi4fNLjXcLkDy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:05:01 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_103"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:05:01 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:05:01 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:05:01.461759' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user_102' LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" ORDER BY "rgt" desc LIMIT 1 SQL (0.9ms) INSERT INTO "messages" ("body", "created_at", "lft", "message_request_id", "parent_id", "read_at", "receiver_id", "rgt", "sender_id", "state", "subject", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "new message body is really short"], ["created_at", Sat, 17 Dec 2011 21:05:01 UTC +00:00], ["lft", 9], ["message_request_id", nil], ["parent_id", nil], ["read_at", nil], ["receiver_id", 12], ["rgt", 10], ["sender_id", 13], ["state", "unread"], ["subject", "new message"], ["updated_at", Sat, 17 Dec 2011 21:05:01 UTC +00:00]] SQL (1.4ms) INSERT INTO "delayed_jobs" ("attempts", "created_at", "failed_at", "handler", "last_error", "locked_at", "locked_by", "priority", "run_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attempts", 0], ["created_at", Sat, 17 Dec 2011 21:05:01 UTC +00:00], ["failed_at", nil], ["handler", "--- !ruby/struct:Delayed::PerformableMailer \nobject: !ruby/class Notifier\nmethod_name: :message_notification\nargs: \n- !ruby/ActiveRecord:Message \n attributes: \n id: 8\n read_at: \n receiver_id: 12\n sender_id: 13\n subject: new message\n body: new message body is really short\n message_request_id: \n state: unread\n parent_id: \n created_at: &id001 2011-12-17 21:05:01.466408 Z\n updated_at: *id001\n lft: 9\n rgt: 10\n"], ["last_error", nil], ["locked_at", nil], ["locked_by", nil], ["priority", 0], ["run_at", Sat, 17 Dec 2011 21:05:01 UTC +00:00], ["updated_at", Sat, 17 Dec 2011 21:05:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#edit as HTML Parameters: {"id"=>"8"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "8"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 8ms User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_27@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:05:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_27@example.jp"], ["encrypted_password", "$2a$04$TJijgKGbD4jlDCRfqKYR4u/bwKd7WAQfBDNOghp8DMHyjQhGlyY3u"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:05:01 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_27"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:05:01 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:05:01 UTC +00:00], ["user_id", 12]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:05:01.583296' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user1", "subject"=>"test", "body"=>"test"}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user1' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user1' LIMIT 1 Message Load (2.6ms) SELECT "messages".* FROM "messages" ORDER BY "rgt" desc LIMIT 1 SQL (1.4ms) INSERT INTO "messages" ("body", "created_at", "lft", "message_request_id", "parent_id", "read_at", "receiver_id", "rgt", "sender_id", "state", "subject", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "test"], ["created_at", Sat, 17 Dec 2011 21:05:01 UTC +00:00], ["lft", 9], ["message_request_id", nil], ["parent_id", nil], ["read_at", nil], ["receiver_id", 3], ["rgt", 10], ["sender_id", 12], ["state", "unread"], ["subject", "test"], ["updated_at", Sat, 17 Dec 2011 21:05:01 UTC +00:00]] SQL (1.2ms) INSERT INTO "delayed_jobs" ("attempts", "created_at", "failed_at", "handler", "last_error", "locked_at", "locked_by", "priority", "run_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attempts", 0], ["created_at", Sat, 17 Dec 2011 21:05:01 UTC +00:00], ["failed_at", nil], ["handler", "--- !ruby/struct:Delayed::PerformableMailer \nobject: !ruby/class Notifier\nmethod_name: :message_notification\nargs: \n- !ruby/ActiveRecord:Message \n attributes: \n id: 8\n read_at: \n receiver_id: 3\n sender_id: 12\n subject: test\n body: test\n message_request_id: \n state: unread\n parent_id: \n created_at: &id001 2011-12-17 21:05:01.606240 Z\n updated_at: *id001\n lft: 9\n rgt: 10\n"], ["last_error", nil], ["locked_at", nil], ["locked_by", nil], ["priority", 0], ["run_at", Sat, 17 Dec 2011 21:05:01 UTC +00:00], ["updated_at", Sat, 17 Dec 2011 21:05:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/messages Completed 302 Found in 30ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_28@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:05:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_28@example.jp"], ["encrypted_password", "$2a$04$rDizjVHnZ/Kb2ebxvCa0depE2tKcIrqW5ySu4VdZwO3HSTUBonETS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:05:01 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_28"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:05:01 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:05:01 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:05:01.636994' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user1", "subject"=>"test", "body"=>"test"}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user1' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user1' LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" ORDER BY "rgt" desc LIMIT 1 SQL (1.3ms) INSERT INTO "messages" ("body", "created_at", "lft", "message_request_id", "parent_id", "read_at", "receiver_id", "rgt", "sender_id", "state", "subject", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "test"], ["created_at", Sat, 17 Dec 2011 21:05:01 UTC +00:00], ["lft", 9], ["message_request_id", nil], ["parent_id", nil], ["read_at", nil], ["receiver_id", 3], ["rgt", 10], ["sender_id", 12], ["state", "unread"], ["subject", "test"], ["updated_at", Sat, 17 Dec 2011 21:05:01 UTC +00:00]] SQL (1.1ms) INSERT INTO "delayed_jobs" ("attempts", "created_at", "failed_at", "handler", "last_error", "locked_at", "locked_by", "priority", "run_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attempts", 0], ["created_at", Sat, 17 Dec 2011 21:05:01 UTC +00:00], ["failed_at", nil], ["handler", "--- !ruby/struct:Delayed::PerformableMailer \nobject: !ruby/class Notifier\nmethod_name: :message_notification\nargs: \n- !ruby/ActiveRecord:Message \n attributes: \n id: 8\n read_at: \n receiver_id: 3\n sender_id: 12\n subject: test\n body: test\n message_request_id: \n state: unread\n parent_id: \n created_at: &id001 2011-12-17 21:05:01.656878 Z\n updated_at: *id001\n lft: 9\n rgt: 10\n"], ["last_error", nil], ["locked_at", nil], ["locked_by", nil], ["priority", 0], ["run_at", Sat, 17 Dec 2011 21:05:01 UTC +00:00], ["updated_at", Sat, 17 Dec 2011 21:05:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/messages Completed 302 Found in 23ms User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_29@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:05:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_29@example.jp"], ["encrypted_password", "$2a$04$yTHTxGHIP2CRNtnoyKBZA.nwHK7phS2sQ5KNurnU92xvORiDxsnim"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:05:01 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_29"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:05:01 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:05:01 UTC +00:00], ["user_id", 12]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:05:01.683488' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user1", "subject"=>"test", "body"=>""}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user1' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 20ms (Views: 1.3ms | ActiveRecord: 0.7ms | Solr: 0.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_30@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:05:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_30@example.jp"], ["encrypted_password", "$2a$04$ZZ6fZPNz6EkUJWSuqAjSr.t9g5iZkFLmQtgyD/ZJwOQf2Ln/X/AQy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:05:01 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_30"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:05:01 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:05:01 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:05:01.727070' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user1", "subject"=>"test", "body"=>""}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user1' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 16ms (Views: 1.3ms | ActiveRecord: 0.6ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test", "parent_id"=>"2"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user2' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user2' LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" ORDER BY "rgt" desc LIMIT 1 SQL (1.4ms) INSERT INTO "messages" ("body", "created_at", "lft", "message_request_id", "parent_id", "read_at", "receiver_id", "rgt", "sender_id", "state", "subject", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "test"], ["created_at", Sat, 17 Dec 2011 21:05:01 UTC +00:00], ["lft", 9], ["message_request_id", nil], ["parent_id", 2], ["read_at", nil], ["receiver_id", 5], ["rgt", 10], ["sender_id", 2], ["state", "unread"], ["subject", "test"], ["updated_at", Sat, 17 Dec 2011 21:05:01 UTC +00:00]] Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? ORDER BY "lft" LIMIT 1 [["id", 2]] Message Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 8]] SQL (0.5ms) UPDATE "messages" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 8 THEN 2 ELSE "parent_id" END WHERE "messages"."id" IN (SELECT "messages"."id" FROM "messages" ORDER BY "lft") Message Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 2]] Message Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/messages Completed 302 Found in 25ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test", "parent_id"=>"2"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user1", "subject"=>"test", "body"=>"test"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user1", "subject"=>"test", "body"=>"test"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 10ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user1", "subject"=>"test", "body"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user1", "subject"=>"test", "body"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_104@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:05:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_104@example.jp"], ["encrypted_password", "$2a$04$pfhl3SleDb6CZ2fo5gkSUeVzm1NiAsMZw8MfVMUtllvXs4LAynHza"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:05:01 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_104"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:05:01 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:05:01 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:05:01.960761' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (3.7ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_105@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:05:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_105@example.jp"], ["encrypted_password", "$2a$04$0hsGhzyYZ7ntgp1AH2xAauuzGj6mn.gUA0TPfRXkJ/fOSIx2S4N.S"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:05:01 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_105"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:05:01 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:05:01 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:05:01.979024' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_104", "sender_id"=>"13", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 11ms (Views: 1.4ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_106@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_106@example.jp"], ["encrypted_password", "$2a$04$j7ajwHCmSEkfIkwWf16Dg.Mk5sSOhezmyXHtEbLoAVypQyeKVY2Ya"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_106"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:05:02.013833' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_107@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_107@example.jp"], ["encrypted_password", "$2a$04$gZAaqZxm6DzegjZQ2Xi9wusJEd9giR9WTFuOXKye1CU/eRB8DRbwC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_107"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:05:02.027648' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_106", "sender_id"=>"13", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 12ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.2ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_108@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_108@example.jp"], ["encrypted_password", "$2a$04$QqTiuOma63ZDt00d/p2lOOmiN30icUBC/WPrpvFqsdwJqk4v.xg2O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_108"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:05:02.065822' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_109@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_109@example.jp"], ["encrypted_password", "$2a$04$UAsPAnNgsHllBXFPq6EMoOdfg7FB/ecMRpAUo5lTNhlKU.GxEKrLG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_109"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:05:02.079245' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 75ms (Views: 2.1ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_110@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_110@example.jp"], ["encrypted_password", "$2a$04$WFbEM6GTzilBeyh.fpCc1uXnUOfUM9lMefaS5VsUmZTxuqM/x/i.O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_110"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:05:02.175018' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_111@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_111@example.jp"], ["encrypted_password", "$2a$04$VSuVRVfOtpDZi64VsQNjGua2oI6lp4BJVdaDg6.VOWpusP3HlLs/y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_111"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:05:02.189677' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 11ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_112@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_112@example.jp"], ["encrypted_password", "$2a$04$REGvpKGhuzFbF5T9fUVpZO.X1NGE0bu0uuC6OMDz3E3Q1Rtjcmm9O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_112"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:05:02.221642' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_113@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_113@example.jp"], ["encrypted_password", "$2a$04$B8AsbTbX6TRVFknEU9QqLernws6JIimlR9IIiaDzfS3.oHfjGpOjm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_113"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:05:02.234253' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_112", "sender_id"=>"13", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.2ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_114@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_114@example.jp"], ["encrypted_password", "$2a$04$ccutCT8c.ubuTT6IcPAKPefsZxD2KKqxDBy4wtCP1OYb0cKIdlrbi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_114"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:05:02.263446' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_115@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_115@example.jp"], ["encrypted_password", "$2a$04$uT3NtGAfmsWdU3DNNg0Pie9d.Jgg9iLtrHBRtpte7KM2kUecU8wbS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_115"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:05:02.276674' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_114", "sender_id"=>"13", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.4ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_116@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_116@example.jp"], ["encrypted_password", "$2a$04$7NY1G0OMRNWqTVUH0u3R9es02Rc4wF8b062LWZnKHeUk1qWTPBjoa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_116"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:05:02.305163' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_117@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_117@example.jp"], ["encrypted_password", "$2a$04$CHJ57FiYYsIOzggnrLCyh.Li.g7cEx58u9ejg0FMCjPL6//e/xQoG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_117"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:05:02.316165' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 0.9ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_118@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (38.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_118@example.jp"], ["encrypted_password", "$2a$04$OQfpms5SychxaFR8lHdas.lPOqwc9VMYHvTE59PseG4NzncyWd6mW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_118"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:05:02.377494' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_119@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_119@example.jp"], ["encrypted_password", "$2a$04$TmeKBczKwey0x7Z1mEBAteffGG4qW/KV/R/.ITPqgXEO/bSXGsm.C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_119"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:05:02.386184' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.8ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_120@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_120@example.jp"], ["encrypted_password", "$2a$04$/Mm9YaHJmnsN2amtnFZMluX4outkHCpTLe78i9HwZUJQ1E6Af0f7a"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_120"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:05:02.405940' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_121@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_121@example.jp"], ["encrypted_password", "$2a$04$PR1S1DcYD1vrgNjF/VBvceWZSfBLUul4uRPnJeSwZ8DwdtBD4cXhq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_121"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:05:02.414229' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"2"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_122@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_122@example.jp"], ["encrypted_password", "$2a$04$1LD7sNhbhMQCFVZavnJJTe07xuL9vjsPlMWkLz5kAqrROyfiasvbq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_122"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:05:02.432624' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_123@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_123@example.jp"], ["encrypted_password", "$2a$04$4L9NUWhTNxTehB9D872BeOcVedwZCaThXE4Rhs7Uu6QVdzSYdQJI."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_123"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:05:02.441124' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_124@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_124@example.jp"], ["encrypted_password", "$2a$04$OQf9GNF8ZEQBvDXH2l3SYejGNGgJoDIjsJAkEwbNqfiNySczixiH."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_124"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:05:02.460583' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_125@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_125@example.jp"], ["encrypted_password", "$2a$04$vHUMDkorRknsa2IP9Cqff.Wod//mx8u8bokCOS/p6GcWkfVlih68O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_125"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:05:02.468846' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_124", "sender_id"=>"13", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_126@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_126@example.jp"], ["encrypted_password", "$2a$04$9fPyiWI7kh286sir6.jFhu1MiwKhuALynlBMyt0IeiblxPwIuvtkO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_126"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:05:02.487958' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_127@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_127@example.jp"], ["encrypted_password", "$2a$04$pUiqku8Cjjq3d/3ntgbG2ux.RJ8Gg8fPYGO9b2czk9fp2hmPzy6VC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_127"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:05:02.533796' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_126", "sender_id"=>"13", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.7ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_128@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_128@example.jp"], ["encrypted_password", "$2a$04$zUSInGjYAVX8.Um4EwSNae6Cgpsc9n3F/YCG/ycZdhWWLhkqnPljm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_128"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:05:02.552850' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_129@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_129@example.jp"], ["encrypted_password", "$2a$04$P1J5gCwOD06LnbqumK7iYOpuaHvppG1/0z7Ho.HtOeXIbLn1w1cly"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_129"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:05:02.561000' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 1.3ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_130@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_130@example.jp"], ["encrypted_password", "$2a$04$cHzjlL5VxGLqvdJES6Pxo.Ku4L./l5NYAKpgVMZoivhQ7wjMRJ6oS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_130"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:05:02.580346' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_131@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_131@example.jp"], ["encrypted_password", "$2a$04$V561AKskc8HxQXb3CxCogebCRdaTKaUQKekkyF9921E2rrZM91nPq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_131"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:05:02.588570' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.7ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_132@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_132@example.jp"], ["encrypted_password", "$2a$04$1680TkWh0vma5SGtAz7weuBrHd7jgwCS4DEfxp/W.WXugBSeBpqRy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_132"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:05:02.606865' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_133@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_133@example.jp"], ["encrypted_password", "$2a$04$0HwsIFgHo.8Srni0C5I9ne6Jd/eneEY3CSMAxhGYRYDTbuGqnpROK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_133"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:05:02 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:05:02.615329' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"2"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#destroy as HTML Parameters: {"id"=>"2"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 3 AND "messages"."id" = ? LIMIT 1 [["id", "2"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "messages" WHERE ("lft" > 3 AND "rgt" < 4) SQL (0.3ms) UPDATE "messages" SET "lft" = ("lft" - 2) WHERE "messages"."id" IN (SELECT "messages"."id" FROM "messages" WHERE ("lft" > 4) ORDER BY "lft") SQL (0.4ms) UPDATE "messages" SET "rgt" = ("rgt" - 2) WHERE "messages"."id" IN (SELECT "messages"."id" FROM "messages" WHERE ("rgt" > 4) ORDER BY "lft") SQL (0.1ms) DELETE FROM "messages" WHERE "messages"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/messages Completed 302 Found in 9ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 5ms Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 43ms LibraryGroup Load (45.5ms) SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]] LibraryGroup Load (0.1ms) SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]] Fixture Delete (1.6ms) DELETE FROM "library_groups" Fixture Insert (0.2ms) INSERT INTO "library_groups" ("id", "name", "display_name", "short_name", "email", "note", "my_networks", "url", "created_at", "updated_at") VALUES (1, 'unknown', 'unknown', 'unknown', 'next-l@library.example.jp', NULL, '0.0.0.0/0', 'http://localhost:3000/', '2011-12-17 21:07:33', '2011-12-17 21:07:33') Fixture Delete (0.1ms) DELETE FROM "message_requests" Fixture Insert (0.1ms) INSERT INTO "message_requests" ("sender_id", "receiver_id", "message_template_id", "state", "created_at", "updated_at", "id") VALUES (1, 1, 1, 'pending', '2011-12-17 21:07:33', '2011-12-17 21:07:33', 980190962) Fixture Insert (0.1ms) INSERT INTO "message_requests" ("sender_id", "receiver_id", "message_template_id", "state", "created_at", "updated_at", "id") VALUES (1, 1, 1, 'pending', '2011-12-17 21:07:33', '2011-12-17 21:07:33', 298486374) Fixture Delete (0.1ms) DELETE FROM "message_templates" Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (1, 'reservation_accepted', 'Reservation accepted', 'Reservation accepted', 1, '2011-12-17 21:07:33', '2011-12-17 21:07:33') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (2, 'item_received', 'Item received', 'Item received', 2, '2011-12-17 21:07:33', '2011-12-17 21:07:33') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (3, 'reservation_expired_for_patron', 'Reservation expired', 'Reservation expired', 3, '2011-12-17 21:07:33', '2011-12-17 21:07:33') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (4, 'reservation_expired_for_library', 'Reservation expired', 'Reservation expired', 4, '2011-12-17 21:07:33', '2011-12-17 21:07:33') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (5, 'reservation_canceled_for_patron', 'Reservation canceled', 'Reservation canceled', 5, '2011-12-17 21:07:33', '2011-12-17 21:07:33') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (6, 'reservation_canceled_for_library', 'Reservation canceled', 'Reservation canceled', 6, '2011-12-17 21:07:33', '2011-12-17 21:07:33') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (7, 'recall_item', 'Recall item', 'Recall item', 7, '2011-12-17 21:07:33', '2011-12-17 21:07:33') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (8, 'recall_overdue_item', 'Recall overdue item', 'Recall overdue item', 8, '2011-12-17 21:07:33', '2011-12-17 21:07:33') Fixture Delete (0.2ms) DELETE FROM "messages" Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "read_at", "state", "lft", "rgt", "updated_at") VALUES (1, 3, 4, 'First Message', 'Abby, you get the first message', '2007-07-04 12:10:47.0', '2011-12-14 21:07:33', 'unread', 1, 2, '2011-12-17 21:07:33') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (2, 4, 3, 'RE: First Message', 'Thanks Dad! You are the coolest!', '2011-12-15 21:07:33', 'unread', 3, 4, '2011-12-17 21:07:33') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (3, 3, 4, 'Second Message', 'Catie, you get the 2nd message', '2011-12-16 21:07:33', 'unread', 5, 6, '2011-12-17 21:07:33') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (6, 4, 5, 'Dad!', 'He is sucha dork.', '2011-12-15 21:07:33', 'unread', 7, 8, '2011-12-17 21:07:33') Fixture Delete (0.1ms) DELETE FROM "roles" Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Guest', 'Guest', 1, NULL, '2011-12-17 21:07:34', '2011-12-17 21:07:34') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('User', 'User', 2, NULL, '2011-12-17 21:07:34', '2011-12-17 21:07:34') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Librarian', 'Librarian', 3, NULL, '2011-12-17 21:07:34', '2011-12-17 21:07:34') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Administrator', 'Administrator', 4, NULL, '2011-12-17 21:07:34', '2011-12-17 21:07:34') Fixture Delete (0.1ms) DELETE FROM "user_groups" Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('(not specified)', '(not specified)', '2007-12-13 12:00:51.564542', 1, '', '2007-12-13 12:00:01.674976', 1) Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('User', 'User', '2007-12-22 18:14:56.836548', 2, '', '2007-12-22 18:14:40.173954', 2) Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('Faculty', 'Faculty', '2007-12-22 18:15:05.134351', 3, '', '2007-12-22 18:15:05.126457', 3) Fixture Delete (0.1ms) DELETE FROM "user_has_roles" Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (1, 4, '2011-12-17 21:07:34', '2011-12-17 21:07:34', 135138680) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (2, 3, '2011-12-17 21:07:34', '2011-12-17 21:07:34', 344583537) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (3, 2, '2011-12-17 21:07:34', '2011-12-17 21:07:34', 206669143) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (4, 3, '2011-12-17 21:07:34', '2011-12-17 21:07:34', 226540757) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (5, 2, '2011-12-17 21:07:34', '2011-12-17 21:07:34', 358143215) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (6, 2, '2011-12-17 21:07:34', '2011-12-17 21:07:34', 576709754) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (7, 2, '2011-12-17 21:07:34', '2011-12-17 21:07:34', 1010528733) Fixture Delete (0.2ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:16:30.163731', '$2a$10$vHohD1WflnTIqAa8zMkF9evwAgIZRw3XuR4d3bi29M.jph/MB/AJi', 2, 1, NULL, 'admin', 'tanabe@kamata.lib.teu.ac.jp', '2007-11-19 07:58:32.111941', 4) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 03:41:16.337474', '$2a$10$9O2VuTccN4gHq36ARg0QReSrb1D7WrBBhZZ759RM9moHbB0W5zCzS', 1, 2, NULL, 'librarian1', 'librarian1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:33.172441', 1) Fixture Insert (0.5ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', '$2a$10$JthS59A0BNkDOoFpCXM0V.GhhffKaoWKbzpPahYp/vTFrOyM7h/uW', 1, 3, NULL, 'user1', 'user1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:23.340575', '$2a$10$YmmTGrYQ1Ir6oc7wXnp.GuNeO1eYLoP3sv8wMSIrTdaGw2BPwRrpS', 1, 4, NULL, 'librarian2', '2008-01-18 03:24:04.222344', 1) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:44.711117', '$2a$10$i7UjJhLVrJM/J7qaTwW39OXw1NiwowUEbtNHVDV0sqMLjX9.UO9ca', 1, 5, NULL, 'user2', '2008-01-18 04:29:06.922728', 2) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 6, NULL, 'user3', 'user3@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 7, NULL, 'user4', 'user4@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (54.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:34 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_1@example.jp"], ["encrypted_password", "$2a$04$wopxsZACaoDAl7X35LkDTelbM3JHXtdVEHXDzyc8P31yu2.nNO3vi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:34 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_1"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:34 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:07:34 UTC +00:00], ["user_id", 12]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:34.533670' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Rendered /Users/kosuke/enju_message/app/views/message_requests/index.html.erb within layouts/application (10.9ms) Completed 200 OK in 51ms (Views: 32.5ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:34 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_1@example.jp"], ["encrypted_password", "$2a$04$Zg7AQUjdEG2YmtK95kG1.uxkSMqJUKLZbRJeKBwoRbHP0gCSY4Tda"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:34 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_1"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:34 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:07:34 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:34.624731' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 200 OK in 59ms (Views: 50.7ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:34 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_1@example.jp"], ["encrypted_password", "$2a$04$.1FQvoF7Cmiw.QEPIM/qV.IehOKF.NygeBJe2S1jnZd08KwApyMTq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:34 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_1"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:34 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:34 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:34.712800' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 2.0ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "message_requests" WHERE ('t'='f') Processing by MessageRequestsController#index as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 15ms  (0.1ms) SELECT COUNT(*) FROM "message_requests" WHERE ('t'='f') Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:34 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_2@example.jp"], ["encrypted_password", "$2a$04$E87Os5LnD32ixDGzyeNWF.jqA9Rl.RBEmR.SkqA4J7DmgM5RLmP5u"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:34 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_2"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:34 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:07:34 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:34.764260' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:34 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_2@example.jp"], ["encrypted_password", "$2a$04$6KRmj6JPl5cxjSExEgHhBunymB8zHo8yt4H5kgQyxJHbonIyaedvy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:34 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_2"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:34 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:34 UTC +00:00], ["user_id", 13]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:34.780897' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:34 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_3@example.jp"], ["encrypted_password", "$2a$04$OiC1i694hx0kyQknXBKXSuoa3OMLD82OP0GofRIdHSlyJZ8dVhm2e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:34 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_3"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:34 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:34 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:34.811918' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_1' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_1"], ["created_at", Sat, 17 Dec 2011 21:07:34 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_1"], ["title", "message_template_1"], ["updated_at", Sat, 17 Dec 2011 21:07:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_1' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.9ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:07:34 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 14], ["sender_id", 13], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:07:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.2ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 200 OK in 14ms (Views: 5.8ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:34 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_2@example.jp"], ["encrypted_password", "$2a$04$Iglftn5O.Sg7QB4wls3TK.YvD2go9QHY7iHw55LMEmSVvd/1pQ9fi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:34 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_2"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:34 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:07:34 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:34.876527' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:34 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_4@example.jp"], ["encrypted_password", "$2a$04$aYk648UJ4/9w/mlTDwSXQ.r4BQzjvgyZSNhYeLuray80LxYWd2Qza"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:34 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_4"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:34 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:34 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:34.890654' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (53.2ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:34 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_5@example.jp"], ["encrypted_password", "$2a$04$JUVGIhmVLPMCE0tBI2GSLOyeVjZmL6zDkG0bAUN4HTFu9VSGdOc0i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:34 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_5"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:34 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:34 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:34.959279' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_2' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_2"], ["created_at", Sat, 17 Dec 2011 21:07:34 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_2"], ["title", "message_template_2"], ["updated_at", Sat, 17 Dec 2011 21:07:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_2' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:07:34 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 14], ["sender_id", 13], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:07:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 200 OK in 12ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_6@example.jp"], ["encrypted_password", "$2a$04$.Y8fUXScmIeIGudgBAXEQeeFDWq1aHFxWwI6nE0pIikuCCPkd08HK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_6"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:35.014046' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_7@example.jp"], ["encrypted_password", "$2a$04$LVPkX13DTHwNQU/DU5vbGucml8n0sI4G5FjJl7kmcOEKEYIBwFxfq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_7"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:35.027954' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_8@example.jp"], ["encrypted_password", "$2a$04$bR2bWq7x2sooMJMmO1sXO.NU53tXanar80X3XSy6Q/n7xZTOhOQFG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_8"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:35.042920' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_3' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_3"], ["created_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_3"], ["title", "message_template_3"], ["updated_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_3' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 14], ["sender_id", 13], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_9@example.jp"], ["encrypted_password", "$2a$04$nLZ8xgnhbccg6.4Q4tvw6uCH1yBxNfogFiOFyUucGmaVbpL6I3pgK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_9"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:35.082304' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_10@example.jp"], ["encrypted_password", "$2a$04$vbO03gEL69H50Sz9ScTnf.B.K1lXNrPsylXLUVCU/sTzLoah6jcZC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_10"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:35.095619' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_4' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_4"], ["created_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_4"], ["title", "message_template_4"], ["updated_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_4' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_3@example.jp"], ["encrypted_password", "$2a$04$SqRlSGAkDFESQDhqJRwrwuhGxXzYOimHqxlgyQnZyCGbUBnZxiJtW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_3"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:35.141142' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_11@example.jp"], ["encrypted_password", "$2a$04$qVuqAFtMNdQ6c7NN1aknCenkrOkM0/z.6BilBX7A59x1yIxW2qAn6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_11"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:35.155295' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_12@example.jp"], ["encrypted_password", "$2a$04$Ur6OWJWv0SAK6Q/8nfjeIuF./E6.dYN2gLZ6qOh8vuPKch1Nysk7u"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_12"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:35.169767' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_5' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_5"], ["created_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_5"], ["title", "message_template_5"], ["updated_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_5' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.6ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 14], ["sender_id", 13], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 71ms (Views: 2.2ms | ActiveRecord: 0.7ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_3@example.jp"], ["encrypted_password", "$2a$04$HWRUZsO70lu.ofJJwl0uPuDM4efgVkUHZOPR7XismPO26B0qOBzTG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_3"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:35.281042' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_13@example.jp"], ["encrypted_password", "$2a$04$kP7XQC7dS/zEFvrvTvOabeAr4r477iZ.eglokNwKF7eT0AR3Vy24O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_13"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:35.295414' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_14@example.jp"], ["encrypted_password", "$2a$04$zZQjF02LTbOt8R9yT6VhFuWzOBxSNBEfYqNcDBHo9sf1XlBbh9Qku"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_14"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:35.308429' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_6' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_6"], ["created_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_6"], ["title", "message_template_6"], ["updated_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_6' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 14], ["sender_id", 13], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 10ms (Views: 1.3ms | ActiveRecord: 0.6ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_15@example.jp"], ["encrypted_password", "$2a$04$wHbsvG.nKWfonol1TXPbqu1tF.V3Wkd9nwGHh9uk2xCbG7ACzxy4K"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_15"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:35.356087' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_16@example.jp"], ["encrypted_password", "$2a$04$JxhPpXYv0p9UVyGDwLZkeeTN6rnnx/Q8.XOyR4UbIYci3OwtgFOxe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_16"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:35.374461' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (6.0ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_17@example.jp"], ["encrypted_password", "$2a$04$.YN4VrijnFpT1.hIqX1jf.346yREGupZwpNuP9QBOynekx4Qs4Jy2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_17"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:35.394694' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_7' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_7"], ["created_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_7"], ["title", "message_template_7"], ["updated_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_7' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 14], ["sender_id", 13], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_18@example.jp"], ["encrypted_password", "$2a$04$gWclvePyl/KTKSO4Kk3qKOFYqdROlo5IV3Uaueb1o/vVm/m7DlHBG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_18"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:35.438912' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_19@example.jp"], ["encrypted_password", "$2a$04$MQONF6JbNQxBo9AOLMkROe1BGOyzYGcS2MC3KecGdsEaRN8dZ4cvS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_19"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:35.452482' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_8' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_8"], ["created_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_8"], ["title", "message_template_8"], ["updated_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_8' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 10ms Role Load (0.3ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_20@example.jp"], ["encrypted_password", "$2a$04$I71H9C8Dcqhv15xbJREPju4pnLcGYG/.YH4wZHES68fs8usm6FOqO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_20"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:35.493868' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (59.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_21@example.jp"], ["encrypted_password", "$2a$04$9uSLQNpxHVneo5ehXnAhp.RdmttRTzQFOrWb9lR6VDCjtKAYl/5Ju"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_21"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:35.568099' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_9' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_9"], ["created_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_9"], ["title", "message_template_9"], ["updated_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_9' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_22@example.jp"], ["encrypted_password", "$2a$04$ybL5spfd2FaB5uZNK30Nz.OqTXjhWDn77.XMKOOtsb1VoEa6x/5qO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_22"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:35.593743' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_23@example.jp"], ["encrypted_password", "$2a$04$ADt0C3iDsCw3b4LCJ62PUuDs3KbtVcUiebe0LxVtATVQBOOz2M9.m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_23"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:35.606139' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_10' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_10"], ["created_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_10"], ["title", "message_template_10"], ["updated_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_4@example.jp"], ["encrypted_password", "$2a$04$rN1PUkkwT0QonWOly2bzRekJ.h2/EZIHCEnu0f39ZyMcYZ2w/JDUy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_4"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:35.625291' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"14", "receiver_id"=>"15", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 15 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_10' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 14, "receiver_id" = 15, "message_template_id" = 10, "updated_at" = '2011-12-17 21:07:35.645656' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 21ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_24@example.jp"], ["encrypted_password", "$2a$04$7HLOhafMRITpiy1ZgSbTaOuZ.Iz7F8Znt0WDtjxnyY16F2PE2C7k6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_24"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:35.664877' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_25@example.jp"], ["encrypted_password", "$2a$04$goOTkzAa9FnHMtHbJmnOf.8034YFyxRGrrD0uswTrPCSnwQW5airu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_25"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:35.679205' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_11' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_11"], ["created_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_11"], ["title", "message_template_11"], ["updated_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_11' AND "message_templates"."id" != 9) LIMIT 1 SQL (1.0ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_26@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_26@example.jp"], ["encrypted_password", "$2a$04$0jJyRk64hwHFRVyIunWQuubaKhqjxMn4QuYlq3wxuXblEyJ4RcTMi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_26"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:35.709906' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_27@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_27@example.jp"], ["encrypted_password", "$2a$04$HyAsbm5WANYA0EIslAoNLumrZ5sk6MqItSKBig7I6d3G6hFDJJiz2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_27"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:35.722542' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_12' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_12"], ["created_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_12"], ["title", "message_template_12"], ["updated_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_5@example.jp"], ["encrypted_password", "$2a$04$C5xxzKJ1.RAzWpIfq/33jukllU4HAKp/5JW/rh.A4MXnNQeLRW.zi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_5"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:35.741174' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"14", "receiver_id"=>"15", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 15 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_12' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 14, "receiver_id" = 15, "message_template_id" = 10, "updated_at" = '2011-12-17 21:07:35.759601' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 17ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_28@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (60.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_28@example.jp"], ["encrypted_password", "$2a$04$B6Jon13AK1FKashZma1HC.BV7TaP5rjvzK0s7MBc.oHWntc.PNioe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_28"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["user_id", 12]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:35.837999' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_29@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_29@example.jp"], ["encrypted_password", "$2a$04$ubAo0L9RQXsPbo/.cNUQV.uq9DNsUVv7xUJBTkk4l/UftGG5x.yV6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_29"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["user_id", 13]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:35.854067' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_13' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_13"], ["created_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_13"], ["title", "message_template_13"], ["updated_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_13' AND "message_templates"."id" != 9) LIMIT 1 SQL (2.6ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_30@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_30@example.jp"], ["encrypted_password", "$2a$04$X.2xO8f5B4Capw.vx70NeO4RMZ9562BwbAx6du1ewjdRmo.GcoLjK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_30"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:35.887218' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_31@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_31@example.jp"], ["encrypted_password", "$2a$04$mGeZoFFfD4BiOnQmo0bMrec/Qqv1hhAQD0NOE8P0QSDWx04.sFzA6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_31"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:35.900745' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_14' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_14"], ["created_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_14"], ["title", "message_template_14"], ["updated_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_6@example.jp"], ["encrypted_password", "$2a$04$BHCfWwYgFce8zj.YD0R/1uVU7DufOajxDGVp./2PPyMq80X1XxSK2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_6"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:35.919246' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_13' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 17ms (Views: 1.3ms | ActiveRecord: 1.0ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_32@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_32@example.jp"], ["encrypted_password", "$2a$04$S3bHurMj6nc.hEClAqn7Be5VYwKIxSlDBjA6yMIop6/d3NUbQIRMW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_32"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:35.963701' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_33@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_33@example.jp"], ["encrypted_password", "$2a$04$CsM6dYORJnu.9mhC4CICLewV3p1wP4cvT.iO4.4CBf1e7xHLnpy7e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_33"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:35.981038' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_15' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_15"], ["created_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_15"], ["title", "message_template_15"], ["updated_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_15' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:07:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_34@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_34@example.jp"], ["encrypted_password", "$2a$04$HPDJstZsteR/ofAyJ.hj0Oy5hC0I31jnub/hPLgjtiMdoPPgN.j6."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_34"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:36.008954' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_35@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_35@example.jp"], ["encrypted_password", "$2a$04$0SITxdXs40EnQ/v4KXMnOe9AXywtZOJvfaudebCnltt504I2QvVgC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_35"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:36.023610' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_16' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_16"], ["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_16"], ["title", "message_template_16"], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_4@example.jp"], ["encrypted_password", "$2a$04$Ic2u.slAgLJ/oZ3US/U4j.DW4uvANlbA0zRP4M5/28GcqmvvNseFa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_4"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:36.043140' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"14", "receiver_id"=>"15", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 15 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_16' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 14, "receiver_id" = 15, "message_template_id" = 10, "updated_at" = '2011-12-17 21:07:36.061682' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 16ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_36@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (63.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_36@example.jp"], ["encrypted_password", "$2a$04$F6eFqep0wcYntvwkDADwB.9JxXn8Qjzh8gyFPGAXjjcDukSthzAMS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_36"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:36.143135' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_37@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_37@example.jp"], ["encrypted_password", "$2a$04$K7JJWKnn1Gsj3u8T6lrOquhnSXWVy6guCGBNf4H02PT9acQ6ofCy."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_37"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:36.156750' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_17' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_17"], ["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_17"], ["title", "message_template_17"], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_17' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_38@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_38@example.jp"], ["encrypted_password", "$2a$04$7VqTiVS3yoWxIZwrh.Wm1enz9Zp6sEAiubEkOtSzvPP9/unSC738y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_38"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:36.181608' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_39@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_39@example.jp"], ["encrypted_password", "$2a$04$rC79U0z0bCi37G4fNLPwk.79PM.2URe651z/cSG6ff5AUX1hq4o6C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_39"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:36.194655' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_18' LIMIT 1 SQL (3.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_18"], ["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_18"], ["title", "message_template_18"], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_5@example.jp"], ["encrypted_password", "$2a$04$ph3G0/PBzsYGMNBpr53XeeEWrlHyKqWciW3NzhPcWygbLxZG3UfNu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_5"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:36.216487' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"14", "receiver_id"=>"15", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 15 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_18' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 14, "receiver_id" = 15, "message_template_id" = 10, "updated_at" = '2011-12-17 21:07:36.235288' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 18ms Role Load (0.4ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_40@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_40@example.jp"], ["encrypted_password", "$2a$04$RhL52FLtodFD677nruICIuRcEeBy86SxfITKcGy4wofnpKhb45PLS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_40"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:36.264938' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_41@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_41@example.jp"], ["encrypted_password", "$2a$04$LnYerq1llnR5tpqz4XAxteR9N2hVvvPOHjziauYkc9GMl2Fq2o2Ve"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_41"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:36.279647' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_19' LIMIT 1 SQL (2.0ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_19"], ["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_19"], ["title", "message_template_19"], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_19' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_42@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_42@example.jp"], ["encrypted_password", "$2a$04$oKvfOe.7mmFQw2aiYuILd.y1.V8sHewdxe1/hj56qHLNueiEaD/yO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_42"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:36.308288' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_43@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_43@example.jp"], ["encrypted_password", "$2a$04$k2LdGoCITqFGOiDvHr7mMeT/ejcpXoRG8LUOYi2GvyLB6/kU6KD4y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_43"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:36.325197' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_20' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_20"], ["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_20"], ["title", "message_template_20"], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_6@example.jp"], ["encrypted_password", "$2a$04$xP7I5CaGC8SvsxpyvzzpkO1.h8Ftef4pjhwhGak.4H9/E9t3D9SOS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_6"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:36.342566' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_19' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 16ms (Views: 1.2ms | ActiveRecord: 1.0ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_44@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_44@example.jp"], ["encrypted_password", "$2a$04$IvytxdwB4kCsGkwmo3CaTuAm1IK0PY5ztBh8WAhEtYrtJf9Q3CpFa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_44"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:36.440437' WHERE "roles"."id" = 2  (0.2ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_45@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_45@example.jp"], ["encrypted_password", "$2a$04$gikj0RGw4ZXY3FtlNrAv7uHh/mvdxKT856Kud8HMLRQIFJfgtjw2K"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_45"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:36.456892' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_21' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_21"], ["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_21"], ["title", "message_template_21"], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_21' AND "message_templates"."id" != 9) LIMIT 1 SQL (2.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_46@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_46@example.jp"], ["encrypted_password", "$2a$04$YoEjLCQnRbg/7/aDqetPgubOhAKBdVQjxEOUnup86W1Qn5IJoaZXS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_46"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:36.484913' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_47@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_47@example.jp"], ["encrypted_password", "$2a$04$NBbGt8K2/frxMUjtyjJaOODEyzYDrG8xPCuCmI33BSWFwy/ziCkNi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_47"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:36.500691' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_22' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_22"], ["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_22"], ["title", "message_template_22"], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_48@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_48@example.jp"], ["encrypted_password", "$2a$04$UTg4.MyvmVz6XRvm2PYp/.qRKTOcaW6VdGbZKNU.mZmhGMh76yFWG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_48"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:36.526761' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"14", "receiver_id"=>"15", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 2.5ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.3ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_49@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_49@example.jp"], ["encrypted_password", "$2a$04$A2BaqGinBtdY5k1ioFyGbOKtciQbDQm.sA0QQvAHCb.w50pUyOBHW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_49"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:36.562881' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_50@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_50@example.jp"], ["encrypted_password", "$2a$04$uU2gToedCJuUzcx45KGTKOdrtkqhEoiDVOHKEXA4uB/NLFq.NpJmi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_50"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:36.578304' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_23' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_23"], ["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_23"], ["title", "message_template_23"], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (1.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_23' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_51@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (8.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_51@example.jp"], ["encrypted_password", "$2a$04$DI0ILYjyI7mnJLwwEwF1MO/se3b9A9WCiPgOjGI36Y/8b2Pg0Rujq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_51"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:36.611344' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_52@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_52@example.jp"], ["encrypted_password", "$2a$04$JuZSrhwsf3ciE/lGoxYlqO90y69S8EMRM5p4Bmc3fs07Dcq1c4hx."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_52"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:36.625346' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_24' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_24"], ["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_24"], ["title", "message_template_24"], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_53@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_53@example.jp"], ["encrypted_password", "$2a$04$g43ghrp3Pe0R6hPFzGLul.Iu.TvG47Iu0/bjsn8ML.d1Sk5sExCeu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_53"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:36.642910' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"14", "receiver_id"=>"15", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.1ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_54@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (60.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_54@example.jp"], ["encrypted_password", "$2a$04$pTMbNKC4d8sK.NbnWjK9GeK7I9HxcwHnoZ34lZZAxuL5LKpEmv6ii"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_54"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:36.730900' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_55@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_55@example.jp"], ["encrypted_password", "$2a$04$Ia.PZwjqBVU9ya3xzN/hI.0se1Nxrdt42ETf9Rpxvh0VG4OcSXLxS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_55"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:36.746070' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_25' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_25"], ["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_25"], ["title", "message_template_25"], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_25' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_56@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_56@example.jp"], ["encrypted_password", "$2a$04$7YutHN7HBK4gDGlgppRhD.Ucep926G1SL22UBRF2ZeZ9RFJ7JkdyK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_56"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:36.780057' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_57@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_57@example.jp"], ["encrypted_password", "$2a$04$Nte7ZAqddqBHl83f/sCPnuPuRmy6DzW5ECeknT0EXKm7EnQ6Ci2Sm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_57"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:36.792427' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_26' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_26"], ["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_26"], ["title", "message_template_26"], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_58@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_58@example.jp"], ["encrypted_password", "$2a$04$dOwjA6YvsYkRUwxzCG9DBOWihkxFtH9z.tsaatCKPprhUbqJd5RVq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_58"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:36.809933' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_59@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_59@example.jp"], ["encrypted_password", "$2a$04$wFrzF5oyPLhKsBNruboileCLjUyad1yT5zu1t2taSCgfS5dnUx3sS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_59"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:36.839812' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_60@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_60@example.jp"], ["encrypted_password", "$2a$04$VXti5HtnHuoKpXvW4Hrj2u36.rR8CYLrvxK0vfvrXgAVheJsZK6BO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_60"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:36.853072' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_27' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_27"], ["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_27"], ["title", "message_template_27"], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_27' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_61@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_61@example.jp"], ["encrypted_password", "$2a$04$h/vHNokjDQMHKqx8aOsCzeJgCMIz6jn4GnEBUPJwwWhel.5KM86A2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_61"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:36.875377' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_62@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_62@example.jp"], ["encrypted_password", "$2a$04$wjHmx03pas9AHbt/mFUFke8txvLf/4c4YQ6j8rQihgHs5iUI9hjj6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_62"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:36.886646' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_28' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_28"], ["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_28"], ["title", "message_template_28"], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"14", "receiver_id"=>"15", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_63@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_63@example.jp"], ["encrypted_password", "$2a$04$M/QDY4l8uwXU2JcCVcbpK.JLncVHPvBn1cbQ5m4tmnbdzmhERwKLK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_63"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:36.912188' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_64@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (39.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_64@example.jp"], ["encrypted_password", "$2a$04$JhULGH65NNVpDezm/Tk/CucSpr2ehxFo6Z6qZ6v2tTQhjoi.7vt2y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_64"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:36.959487' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_29' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_29"], ["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_29"], ["title", "message_template_29"], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_29' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_65@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_65@example.jp"], ["encrypted_password", "$2a$04$w3rMAYrUIbOGQde7by1a7OOsNnV7i.qobeEZ60/C11V9af7rZBZC2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_65"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:36.974694' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_66@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_66@example.jp"], ["encrypted_password", "$2a$04$cui8WtihXIJlTy4cOeOts.OGAEQXbZ8S58kmwO8lu92.CLrqps9WK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_66"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:36.982618' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_30' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_30"], ["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_30"], ["title", "message_template_30"], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"14", "receiver_id"=>"15", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_67@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_67@example.jp"], ["encrypted_password", "$2a$04$QgRiSEUH3txkzKndfA40ruobmqDujn338QX73yw5iiaRSoCXVXloS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_67"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:37.001273' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_68@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_68@example.jp"], ["encrypted_password", "$2a$04$F7QXGrr/ImQeiD0TyPxBV.fXmK2DKzO8wNLuLEXTXvVX5x90S3eSW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_68"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:37.009932' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_31' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_31"], ["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_31"], ["title", "message_template_31"], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_31' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_69@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_69@example.jp"], ["encrypted_password", "$2a$04$MohoYDqagYzROZvCHlnjm.Ly/GQ2DwA84tHRYyZf6rKC.PSvwPJs6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_69"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:37.025079' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_70@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_70@example.jp"], ["encrypted_password", "$2a$04$IPzgHgBwKbSs0qoO5OI9E.M1iPsGCGhiwqfG0ZCKlfUFTROFzPGSa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_70"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:37.032946' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_32' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_32"], ["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_32"], ["title", "message_template_32"], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 5ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_71@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_71@example.jp"], ["encrypted_password", "$2a$04$waK3YT9M7LPpSYYeqXrj1eyW5ZuI4v966uSAT5xTB.J6sEZBCAmFK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_71"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:37.052678' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_72@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_72@example.jp"], ["encrypted_password", "$2a$04$b5wAIyr.fbXE8aZUuNnldueq2lOcT97r71mluvR9QMvEA3aIy4olu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_72"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:37.061095' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_33' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_33"], ["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_33"], ["title", "message_template_33"], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_33' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.6ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_7@example.jp"], ["encrypted_password", "$2a$04$DQoProDjvzCi7t4SGOmKLuiDAhn7Pb5cixAqJGJho6kXnfIg.f/3O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_7"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:37.075995' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 41ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_73@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_73@example.jp"], ["encrypted_password", "$2a$04$BQk6jllR5ecYLhHQ4W5Pq.9YBeFg94UVQwmKmsQ/LoD9f5mg0Ucmm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_73"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:37.129159' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_74@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_74@example.jp"], ["encrypted_password", "$2a$04$DtIwpOqPoKkt448ggkzbHewAEAh/BpRuIRVnb/x7XEdQebbcwl1C6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_74"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:37.137803' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_34' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_34"], ["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_34"], ["title", "message_template_34"], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_34' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_8@example.jp"], ["encrypted_password", "$2a$04$g4F62rDVOeJ0//WnWC5ItO8qXn6LoBdml6bP78cYZGeAG8QTaCFKq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_8"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:37.153087' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 5ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_75@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_75@example.jp"], ["encrypted_password", "$2a$04$zA.SvlQQ25wgzR3X0AeIIesCdSogVoeJQ7htAojIZ0pxsP9.977nu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_75"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:37.171050' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_76@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_76@example.jp"], ["encrypted_password", "$2a$04$MzM0ZmofNKHQ53zpnsAze.2ugdBioPJRxx7hMRCwmuHMk77p/P51G"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_76"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:37.179857' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_35' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_35"], ["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_35"], ["title", "message_template_35"], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_35' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_7@example.jp"], ["encrypted_password", "$2a$04$G3/s.0U8DKVFkCR5HcM6oegzCQgy2xyFMZ8JRv8I30fF0JHhJVBOK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_7"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:37.193900' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 6ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_77@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_77@example.jp"], ["encrypted_password", "$2a$04$u4.Ei718aW8THpVuWa5jVe5E4bvHZadYcuuQsGA99rRomOpYnvDNy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_77"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:37.211092' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_78@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_78@example.jp"], ["encrypted_password", "$2a$04$M4VI0JC4GVS1S9PnBsjNkO8pPt9fCL5T8ziNG.XZeEbzUeGSBE6ny"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_78"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:37.219114' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_36' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_36"], ["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_36"], ["title", "message_template_36"], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_36' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_8@example.jp"], ["encrypted_password", "$2a$04$KZr5rPfchbRpuj3JOvIAue9tXMxfYtUUhpqS.1qUNiFL578hjnJlW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_8"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:37.232745' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 6ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_79@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_79@example.jp"], ["encrypted_password", "$2a$04$sptnY1KTOvpTDW3I/HO6SuSmbx3UmEPa/mVt8WACeg/uaAnbrIkGW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_79"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:37.284173' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_80@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_80@example.jp"], ["encrypted_password", "$2a$04$yEousXK0WVXAmkl0bfMYR.Mk9eQkklO/Ipx8e9.cOzNmDWOvr7C3W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_80"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:37.292563' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_37' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_37"], ["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_37"], ["title", "message_template_37"], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_37' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_81@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_81@example.jp"], ["encrypted_password", "$2a$04$e1jnntgDYCjtInUs5q9ruOYYwhEbER1JeHdKLmCC1ntGildjQDJT6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_81"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:37.307621' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_82@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_82@example.jp"], ["encrypted_password", "$2a$04$HPD0LXXBdFjFO3h7ybhlsOYUqf522KSWLqt0I6o21j1cxQYKqU/4O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_82"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:37.326067' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_83@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_83@example.jp"], ["encrypted_password", "$2a$04$xO7xinp/i9De1BrQh3P51.xRG9.qY9xI7cNmFAIHuQYisQRtkzxCW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_83"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:37.334151' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_38' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_38"], ["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_38"], ["title", "message_template_38"], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_38' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_84@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_84@example.jp"], ["encrypted_password", "$2a$04$Dipm6oKh8VXdvXKMVcCD4OghAoS2zJs/1NE5VQHUacJLX6.NZ06QW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_84"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:37.348636' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_85@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_85@example.jp"], ["encrypted_password", "$2a$04$RrhNTAfztl.sJS21au08X.UPvpM64qItj6sf0g7SilskkONSsLJT6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_85"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:37.366497' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_86@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_86@example.jp"], ["encrypted_password", "$2a$04$vizBL2hEslm9Udh4IKR3oOyhvd6v8EOtWCAQdmniJUJ38.JIXVfCy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_86"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:37.374948' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_39' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_39"], ["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_39"], ["title", "message_template_39"], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_39' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_87@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_87@example.jp"], ["encrypted_password", "$2a$04$XQGpu1YQfABUkHVWvTL4tu7hej902zeLR8eODRTC9SGNLsnInsGJK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_87"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:37.396979' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_88@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (35.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_88@example.jp"], ["encrypted_password", "$2a$04$EB66ZzZo0N2ZVL4eJyKYZ.MoS13UjaWU7WaY6FskTEY6BKPNT5jVm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_88"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:37.440197' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_40' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_40"], ["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_40"], ["title", "message_template_40"], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_40' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_41' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_41"], ["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_41"], ["title", "message_template_41"], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_9@example.jp"], ["encrypted_password", "$2a$04$9rEF9PX/T3Cll7uH.8jgturyI45OZ2S2XodcQFFJRGqPJN3fXXHra"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_9"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:37.465769' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 200 OK in 9ms (Views: 3.6ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position LIMIT 10 OFFSET 0  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_42' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_42"], ["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_42"], ["title", "message_template_42"], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_9@example.jp"], ["encrypted_password", "$2a$04$dg4xXa9SwNYj05kH2fsBFuzFholm4u.8EbEWGBHIMBSpwp6Z3xiBe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_9"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:37.491453' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position LIMIT 10 OFFSET 0  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_43' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_43"], ["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_43"], ["title", "message_template_43"], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_89@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_89@example.jp"], ["encrypted_password", "$2a$04$wNdj4jXmJAMQZ1PyXpRh7uuuC3yQ3Tn..gHxZuqBVhuJ6fVIDh.k6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_89"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:37.513120' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "message_templates" WHERE ('t'='f')  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_44' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_44"], ["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_44"], ["title", "message_template_44"], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 3ms  (0.1ms) SELECT COUNT(*) FROM "message_templates" WHERE ('t'='f') Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_10@example.jp"], ["encrypted_password", "$2a$04$Rue28SJMuTxl15e9A8rpgOD5m6X0Jci1gI0FJK4WTUUtleiRX2d2i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_10"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:37.540188' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_45' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_45"], ["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_45"], ["title", "message_template_45"], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 200 OK in 6ms (Views: 1.5ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_10@example.jp"], ["encrypted_password", "$2a$04$xyprEVYhEfxQAQ.bOxA9Bek/pCccMv1KJrupsxtZQGHcU9R.6t21i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_10"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:37.560869' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_46' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_46"], ["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_46"], ["title", "message_template_46"], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 200 OK in 6ms (Views: 1.0ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_90@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (36.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_90@example.jp"], ["encrypted_password", "$2a$04$Kdqxy7zMfC504xK5Vjit.efaj5wvAkoweBNR7iipqZAzwbcYND8EK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_90"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:37.617630' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_47' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_47"], ["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_47"], ["title", "message_template_47"], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_48' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_48"], ["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_48"], ["title", "message_template_48"], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_11@example.jp"], ["encrypted_password", "$2a$04$KJp8.0I9aVAKaR5GGuCGAeO/BTi7tJEYN2GPHrAycOPdFuj0Qqq.W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_11"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:37.648279' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_11@example.jp"], ["encrypted_password", "$2a$04$GAxVrJlWIPnlfA3lKSkfCutcaw8v8mrHs82Sszjq.2zaIY54ra7eC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_11"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:37.668155' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_91@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_91@example.jp"], ["encrypted_password", "$2a$04$UhVaHvr1nap4fKkv7Z4.DuZ03/BuvrYHZ2HGtBiDZbrNxzhlrTTPu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_91"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:37.687722' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Processing by MessageTemplatesController#new as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 3ms MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_12@example.jp"], ["encrypted_password", "$2a$04$Vii9Mv8JELxBo44zoOPKqOHRD3V2EUB7kgf1wCUpkncB2pY8hWEMq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_12"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:37.714832' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_49' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_49"], ["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_49"], ["title", "message_template_49"], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 200 OK in 7ms (Views: 1.5ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_12@example.jp"], ["encrypted_password", "$2a$04$xg/YHLE020Zs9b7HuRIXJO5XHJDt1NxT0e9RXLLe0A06aAR2Yc5t6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_12"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:37.736340' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_50' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_50"], ["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_50"], ["title", "message_template_50"], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_92@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (36.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_92@example.jp"], ["encrypted_password", "$2a$04$7.POH7HBSZuPFtPncnmAzeq4vMRYh80hvYfGYr2atvbyTmxFAcI8q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_92"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:37.792757' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_51' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_51"], ["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_51"], ["title", "message_template_51"], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_52' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_52"], ["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_52"], ["title", "message_template_52"], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_13@example.jp"], ["encrypted_password", "$2a$04$31lfXlh6.nqIjQhQGAj5fOECQGO1tCLAmbE/.kxTI0dSxEK44gFbu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_13"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:37.822463' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_53", "status"=>"message_template_53", "body"=>"message_template_53"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_53' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_14@example.jp"], ["encrypted_password", "$2a$04$cnR.sXcO83Gv27k9LuPm8.bSO7w9k7Mc1SR3DOS.iAsN7KD6dB3IS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_14"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:37.841467' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_54", "status"=>"message_template_54", "body"=>"message_template_54"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_15@example.jp"], ["encrypted_password", "$2a$04$cG0HWTJymJZDVUYfYMt6iehLCw8BxLAwK3B2Xi1jO9m.BaH7U85Si"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_15"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:37.860033' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_16@example.jp"], ["encrypted_password", "$2a$04$qNpEkx6PvW7Czl53ZqDjU.BwsxShfXA7sswwpS7HCCfirbC6vhHj2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_16"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:37.878911' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_13@example.jp"], ["encrypted_password", "$2a$04$QkBeydqCcnpMsRrv0/SmiOdpTeXtEB5BRUi3dFhQfu7SH3xgnwucW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_13"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:37.896368' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_57", "status"=>"message_template_57", "body"=>"message_template_57"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_57' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_14@example.jp"], ["encrypted_password", "$2a$04$ya1MrhcsOPhO/UuIPMhXuOOKHnUiOVavtb6jimow0JDq6tZeJcRCm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_14"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:37.917175' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_58", "status"=>"message_template_58", "body"=>"message_template_58"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (54.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_15@example.jp"], ["encrypted_password", "$2a$04$zdn5aRS14YJEORBbWDm/6.JQVePvd8RolDADoVJUqXrA1.anpldte"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_15"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:07:37 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:37.990755' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 8ms (Views: 0.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_16@example.jp"], ["encrypted_password", "$2a$04$rjEJZXhmvIPFzwU4JndmXOyNUWkuGRsWtneL1Wa241.7in1eRRnd."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_16"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:38.019073' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 8ms (Views: 1.0ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_93@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_93@example.jp"], ["encrypted_password", "$2a$04$RlOzhyVnzwBHXNPMFnl5BOEmJcbmdnwkZNCeByjm/ZNsZOX1eE9Ke"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_93"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:38.043483' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_61", "status"=>"message_template_61", "body"=>"message_template_61"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_61' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_94@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_94@example.jp"], ["encrypted_password", "$2a$04$iUCQ61w3LEuulGErCgrQDOqINw8AaoU2exY2fzB5vWx/KVSFW740O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_94"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:38.068257' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_62", "status"=>"message_template_62", "body"=>"message_template_62"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 8ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_95@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_95@example.jp"], ["encrypted_password", "$2a$04$cXSmWCAsmH34pyiLfTRkJ.BemIVpga.PVt2kgCOVUSQ/eRnm2crEC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_95"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:38.092997' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 8ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_96@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_96@example.jp"], ["encrypted_password", "$2a$04$44YF4UfSfUj2Qe17Sp1WJuVCXSsM9cHTBnurqcp07cOPtH3Fq4kk2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_96"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:38.138788' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 1.1ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_65", "status"=>"message_template_65", "body"=>"message_template_65"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 5ms MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_65' LIMIT 1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_66", "status"=>"message_template_66", "body"=>"message_template_66"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 5ms MessageTemplate Load (0.7ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_69' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_69"], ["created_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_69"], ["title", "message_template_69"], ["updated_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (58.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_17@example.jp"], ["encrypted_password", "$2a$04$2KExwuGlmeH4DJcIP7bYb.rEYQqrRzgedrc16YaZJjq8IkjRxERf2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_17"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:38.270511' WHERE "roles"."id" = 4  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_70", "status"=>"message_template_70", "body"=>"message_template_70"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_70' AND "message_templates"."id" != 9) LIMIT 1  (0.1ms) UPDATE "message_templates" SET "title" = 'message_template_70', "status" = 'message_template_70', "body" = 'message_template_70', "updated_at" = '2011-12-17 21:07:38.284397' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates/9 Completed 302 Found in 21ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_71' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_71"], ["created_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_71"], ["title", "message_template_71"], ["updated_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_18@example.jp"], ["encrypted_password", "$2a$04$jTZj/btP9NTn/IA3dfKcFur.aEEqo0FH09nL3FVIZGbQeVQJc7Nda"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_18"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:38.315108' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_72", "status"=>"message_template_72", "body"=>"message_template_72"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_72' AND "message_templates"."id" != 9) LIMIT 1  (0.1ms) UPDATE "message_templates" SET "title" = 'message_template_72', "status" = 'message_template_72', "body" = 'message_template_72', "updated_at" = '2011-12-17 21:07:38.328739' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates/9 Completed 302 Found in 12ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_73' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_73"], ["created_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_73"], ["title", "message_template_73"], ["updated_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_19@example.jp"], ["encrypted_password", "$2a$04$JdmQAzw6aQVsomgsx1ig7OExBFhGfwcs4oL2fBiJZewjJ9.xZvviW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_19"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:38.348673' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_74", "status"=>"message_template_74", "body"=>"message_template_74"}, "position"=>"2", "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "message_templates" SET "position" = 0, "updated_at" = '2011-12-17 21:07:38.358332' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "message_templates" SET position = (position - 1) WHERE "message_templates"."id" IN (SELECT "message_templates"."id" FROM "message_templates" WHERE (1 = 1 AND position > 9) ORDER BY position) SQL (0.2ms) UPDATE "message_templates" SET position = (position + 1) WHERE "message_templates"."id" IN (SELECT "message_templates"."id" FROM "message_templates" WHERE (1 = 1 AND position >= 2) ORDER BY position)  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "message_templates" SET "position" = 2, "updated_at" = '2011-12-17 21:07:38.360067' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates Completed 302 Found in 9ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_75' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_75"], ["created_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_75"], ["title", "message_template_75"], ["updated_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_20@example.jp"], ["encrypted_password", "$2a$04$0x2WAQCsF7eMqQtTPpm6W.4.wIOTAEP9gP5lQ4RDCQj.5bsskCnIq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_20"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:38.378848' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = '' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 11ms (Views: 1.0ms | ActiveRecord: 0.0ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_77' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_77"], ["created_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_77"], ["title", "message_template_77"], ["updated_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_17@example.jp"], ["encrypted_password", "$2a$04$fh4R2w7EIWT0ce9TiXgakuOnnCyZtSBHDNPDWzETvPxivQJgA65LO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_17"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:38.410055' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_78", "status"=>"message_template_78", "body"=>"message_template_78"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_79' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_79"], ["created_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_79"], ["title", "message_template_79"], ["updated_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (56.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_18@example.jp"], ["encrypted_password", "$2a$04$YPf8VYhBDD8mX/utwOjM3.aMQ62dK5UztujtnmZQxi47hXaDKzBAK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_18"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:38.494320' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_80", "status"=>"message_template_80", "body"=>"message_template_80"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 8ms (Views: 0.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_81' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_81"], ["created_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_81"], ["title", "message_template_81"], ["updated_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_19@example.jp"], ["encrypted_password", "$2a$04$nWME/nIGDRw.aO3O/GQ6z.DXzI0eUL5aswsztD3Qm9/5zml/gWnXW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_19"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:38.524440' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 8ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_83' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_83"], ["created_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_83"], ["title", "message_template_83"], ["updated_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_97@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_97@example.jp"], ["encrypted_password", "$2a$04$cVTPibnOBq6WJ2jeuRK58u0fEOiHpVmtZGZu4V1CtU22io3GPkcR6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_97"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:38.552080' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_84", "status"=>"message_template_84", "body"=>"message_template_84"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 0.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_85' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_85"], ["created_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_85"], ["title", "message_template_85"], ["updated_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_98@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_98@example.jp"], ["encrypted_password", "$2a$04$rbm6X64rsP9NE/rbrzAfLOQP/A8AAX2n7A2BWrMYf4d/hNS8FeG62"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_98"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:38.581054' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_86", "status"=>"message_template_86", "body"=>"message_template_86"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_87' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_87"], ["created_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_87"], ["title", "message_template_87"], ["updated_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_99@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_99@example.jp"], ["encrypted_password", "$2a$04$vXoFtaVCuBrkjiIbzz3nOeguGMvvIfAiJMgHqoHE8SZXk0/4XKiee"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_99"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:38.612103' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_89' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_89"], ["created_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_89"], ["title", "message_template_89"], ["updated_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_90", "status"=>"message_template_90", "body"=>"message_template_90"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_91' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_91"], ["created_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_91"], ["title", "message_template_91"], ["updated_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_92", "status"=>"message_template_92", "body"=>"message_template_92"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_93' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_93"], ["created_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_93"], ["title", "message_template_93"], ["updated_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_95' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_95"], ["created_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_95"], ["title", "message_template_95"], ["updated_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (55.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_21@example.jp"], ["encrypted_password", "$2a$04$BSakQKw8hNZ2qF0Bcc2gc.AdIjNG5x9HUo085nVD7n816DurAgmyS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_21"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:38.745521' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_96' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_96"], ["created_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_96"], ["title", "message_template_96"], ["updated_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_22@example.jp"], ["encrypted_password", "$2a$04$NbXvw5LD9zCuYNB2qgORBefjoKcJLwM0DRwhoafTFejtO.sE6uPQy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_22"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:38.777418' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_97' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_97"], ["created_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_97"], ["title", "message_template_97"], ["updated_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_20@example.jp"], ["encrypted_password", "$2a$04$sAhH7Yd4OrpD5MkUGF74VuIdCB0WLnIr1GjUNi9qT/Ry6VyAmKWXq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_20"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:38.807473' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_98' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_98"], ["created_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_98"], ["title", "message_template_98"], ["updated_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_21@example.jp"], ["encrypted_password", "$2a$04$YR6ldE5qp1RM3SfxSUBivOR4A64jN5xMv2PY6aaStYjfKedD2xNPO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_21"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:38.838268' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_99' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_99"], ["created_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_99"], ["title", "message_template_99"], ["updated_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_100@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_100@example.jp"], ["encrypted_password", "$2a$04$PQ5CrSAtgxPGYoIkgCih8OROBhB67eCsg5xyP7JnRcZwmzS.SSJ.2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_100"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:38.872772' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 8ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_100' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_100"], ["created_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_100"], ["title", "message_template_100"], ["updated_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_101@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_101@example.jp"], ["encrypted_password", "$2a$04$VRYj6XjUme4NGSUzQ6TLoeVynUuIRNMmbFX2bDgeUcZ.AZY6txdgi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_101"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:38.905259' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_101' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_101"], ["created_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_101"], ["title", "message_template_101"], ["updated_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_102' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_102"], ["created_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_102"], ["title", "message_template_102"], ["updated_at", Sat, 17 Dec 2011 21:07:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 28ms (Views: 5.1ms | ActiveRecord: 0.6ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 403 Forbidden in 17ms (Views: 1.2ms | ActiveRecord: 0.6ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#show as HTML Parameters: {"id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 3 AND "messages"."id" = ? LIMIT 1 [["id", "2"]]  (0.0ms) SAVEPOINT active_record_1  (0.3ms) UPDATE "messages" SET "read_at" = '2011-12-17 21:07:39.150430', "updated_at" = '2011-12-17 21:07:39.150774' WHERE "messages"."id" = 2 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1  (0.4ms) UPDATE "messages" SET "state" = 'read', "updated_at" = '2011-12-17 21:07:39.158352' WHERE "messages"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 91ms (Views: 4.3ms | ActiveRecord: 1.6ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.3ms | ActiveRecord: 0.6ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_23@example.jp"], ["encrypted_password", "$2a$04$wGXiWUS1vMM.SzLn0RANReintOu8dEBQsQ/Ulmzs4w3324jJOAxwG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_23"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:39 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:07:39 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:39.269887' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 Completed 200 OK in 14ms (Views: 2.1ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_22@example.jp"], ["encrypted_password", "$2a$04$bXpSpYxgI3Umv08UiV3dLOUFSd9yrZjYLzT6g7NpY5VVIAzbLKvyC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_22"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:39 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:07:39 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:39.305454' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 Completed 200 OK in 13ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 13ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.1ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML Parameters: {"parent_id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML Parameters: {"parent_id"=>"2"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.1ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Processing by MessagesController#new as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_24@example.jp"], ["encrypted_password", "$2a$04$riRJht4PfTseuvMd8hdoMe49rwYdlLRqPdpDoxSQXyig3DW.2Sc1S"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_24"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:39 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:07:39 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:39.416775' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 12 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 11ms (Views: 1.2ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (63.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_23@example.jp"], ["encrypted_password", "$2a$04$6LRquGpnvfHRAfBGsfI8seRK.vIYkp9q6VmyQt/6D8Ye4j8Paq3zO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_23"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:39 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:07:39 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:39.511835' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 18ms (Views: 4.6ms | ActiveRecord: 0.5ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.9ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_102@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_102@example.jp"], ["encrypted_password", "$2a$04$9lZCpA4KBXn6q1w/syAvneHFcep4jVwvCX9PqqlT0XF/6NZPKWwjS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_102"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:39 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:39 UTC +00:00], ["user_id", 12]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:39.568758' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_103@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_103@example.jp"], ["encrypted_password", "$2a$04$WEPO8nivAW5aDBT0jwFdLOzu.zTz9p3NE0iIO6jUxdwD0RckSvE3u"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_103"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:39 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:39 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:39.588125' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user_102' LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" ORDER BY "rgt" desc LIMIT 1 SQL (0.8ms) INSERT INTO "messages" ("body", "created_at", "lft", "message_request_id", "parent_id", "read_at", "receiver_id", "rgt", "sender_id", "state", "subject", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "new message body is really short"], ["created_at", Sat, 17 Dec 2011 21:07:39 UTC +00:00], ["lft", 9], ["message_request_id", nil], ["parent_id", nil], ["read_at", nil], ["receiver_id", 12], ["rgt", 10], ["sender_id", 13], ["state", "unread"], ["subject", "new message"], ["updated_at", Sat, 17 Dec 2011 21:07:39 UTC +00:00]] SQL (1.3ms) INSERT INTO "delayed_jobs" ("attempts", "created_at", "failed_at", "handler", "last_error", "locked_at", "locked_by", "priority", "run_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attempts", 0], ["created_at", Sat, 17 Dec 2011 21:07:39 UTC +00:00], ["failed_at", nil], ["handler", "--- !ruby/struct:Delayed::PerformableMailer \nobject: !ruby/class Notifier\nmethod_name: :message_notification\nargs: \n- !ruby/ActiveRecord:Message \n attributes: \n id: 8\n read_at: \n receiver_id: 12\n sender_id: 13\n subject: new message\n body: new message body is really short\n message_request_id: \n state: unread\n parent_id: \n created_at: &id001 2011-12-17 21:07:39.592648 Z\n updated_at: *id001\n lft: 9\n rgt: 10\n"], ["last_error", nil], ["locked_at", nil], ["locked_by", nil], ["priority", 0], ["run_at", Sat, 17 Dec 2011 21:07:39 UTC +00:00], ["updated_at", Sat, 17 Dec 2011 21:07:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#edit as HTML Parameters: {"id"=>"8"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "8"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 8ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_25@example.jp"], ["encrypted_password", "$2a$04$vx9eTUWWJQNDne2LHj0MeOYdjZhqey3jAWNAaWEKvo4bQRFcOiQAu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_25"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:39 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:07:39 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:39.658652' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user1", "subject"=>"test", "body"=>"test"}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user1' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user1' LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" ORDER BY "rgt" desc LIMIT 1 SQL (1.3ms) INSERT INTO "messages" ("body", "created_at", "lft", "message_request_id", "parent_id", "read_at", "receiver_id", "rgt", "sender_id", "state", "subject", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "test"], ["created_at", Sat, 17 Dec 2011 21:07:39 UTC +00:00], ["lft", 9], ["message_request_id", nil], ["parent_id", nil], ["read_at", nil], ["receiver_id", 3], ["rgt", 10], ["sender_id", 12], ["state", "unread"], ["subject", "test"], ["updated_at", Sat, 17 Dec 2011 21:07:39 UTC +00:00]] SQL (67.7ms) INSERT INTO "delayed_jobs" ("attempts", "created_at", "failed_at", "handler", "last_error", "locked_at", "locked_by", "priority", "run_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attempts", 0], ["created_at", Sat, 17 Dec 2011 21:07:39 UTC +00:00], ["failed_at", nil], ["handler", "--- !ruby/struct:Delayed::PerformableMailer \nobject: !ruby/class Notifier\nmethod_name: :message_notification\nargs: \n- !ruby/ActiveRecord:Message \n attributes: \n id: 8\n read_at: \n receiver_id: 3\n sender_id: 12\n subject: test\n body: test\n message_request_id: \n state: unread\n parent_id: \n created_at: &id001 2011-12-17 21:07:39.678486 Z\n updated_at: *id001\n lft: 9\n rgt: 10\n"], ["last_error", nil], ["locked_at", nil], ["locked_by", nil], ["priority", 0], ["run_at", Sat, 17 Dec 2011 21:07:39 UTC +00:00], ["updated_at", Sat, 17 Dec 2011 21:07:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/messages Completed 302 Found in 91ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_26@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_26@example.jp"], ["encrypted_password", "$2a$04$jU7sYrHhCEAzjY2mnlbVCeHBEkCICYEN0wCCmoX0t.G29xSRNPj1O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_26"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:39 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:07:39 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:39.770159' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user1", "subject"=>"test", "body"=>"test"}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user1' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user1' LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" ORDER BY "rgt" desc LIMIT 1 SQL (1.3ms) INSERT INTO "messages" ("body", "created_at", "lft", "message_request_id", "parent_id", "read_at", "receiver_id", "rgt", "sender_id", "state", "subject", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "test"], ["created_at", Sat, 17 Dec 2011 21:07:39 UTC +00:00], ["lft", 9], ["message_request_id", nil], ["parent_id", nil], ["read_at", nil], ["receiver_id", 3], ["rgt", 10], ["sender_id", 12], ["state", "unread"], ["subject", "test"], ["updated_at", Sat, 17 Dec 2011 21:07:39 UTC +00:00]] SQL (2.2ms) INSERT INTO "delayed_jobs" ("attempts", "created_at", "failed_at", "handler", "last_error", "locked_at", "locked_by", "priority", "run_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attempts", 0], ["created_at", Sat, 17 Dec 2011 21:07:39 UTC +00:00], ["failed_at", nil], ["handler", "--- !ruby/struct:Delayed::PerformableMailer \nobject: !ruby/class Notifier\nmethod_name: :message_notification\nargs: \n- !ruby/ActiveRecord:Message \n attributes: \n id: 8\n read_at: \n receiver_id: 3\n sender_id: 12\n subject: test\n body: test\n message_request_id: \n state: unread\n parent_id: \n created_at: &id001 2011-12-17 21:07:39.787934 Z\n updated_at: *id001\n lft: 9\n rgt: 10\n"], ["last_error", nil], ["locked_at", nil], ["locked_by", nil], ["priority", 0], ["run_at", Sat, 17 Dec 2011 21:07:39 UTC +00:00], ["updated_at", Sat, 17 Dec 2011 21:07:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/messages Completed 302 Found in 21ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_27@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_27@example.jp"], ["encrypted_password", "$2a$04$8kTLNC70/ZgilbQ5.1xQGen6C208BOng46NiHjTl/DAi.QuOYqere"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_27"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:39 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:07:39 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:39.818421' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user1", "subject"=>"test", "body"=>""}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user1' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 15ms (Views: 1.3ms | ActiveRecord: 0.6ms | Solr: 0.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.9ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_28@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_28@example.jp"], ["encrypted_password", "$2a$04$OyS6/FkCcxLS756KzsmHiuIrYjouI2UvZX3PBp.uRX16nZsmVur42"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_28"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:39 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:07:39 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:39.856660' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user1", "subject"=>"test", "body"=>""}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user1' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 16ms (Views: 1.3ms | ActiveRecord: 0.6ms | Solr: 0.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test", "parent_id"=>"2"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user2' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user2' LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" ORDER BY "rgt" desc LIMIT 1 SQL (4.3ms) INSERT INTO "messages" ("body", "created_at", "lft", "message_request_id", "parent_id", "read_at", "receiver_id", "rgt", "sender_id", "state", "subject", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "test"], ["created_at", Sat, 17 Dec 2011 21:07:39 UTC +00:00], ["lft", 9], ["message_request_id", nil], ["parent_id", 2], ["read_at", nil], ["receiver_id", 5], ["rgt", 10], ["sender_id", 2], ["state", "unread"], ["subject", "test"], ["updated_at", Sat, 17 Dec 2011 21:07:39 UTC +00:00]] Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? ORDER BY "lft" LIMIT 1 [["id", 2]] Message Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 8]] SQL (0.5ms) UPDATE "messages" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 8 THEN 2 ELSE "parent_id" END WHERE "messages"."id" IN (SELECT "messages"."id" FROM "messages" ORDER BY "lft") Message Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 2]] Message Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/messages Completed 302 Found in 25ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test", "parent_id"=>"2"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user1", "subject"=>"test", "body"=>"test"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user1", "subject"=>"test", "body"=>"test"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user1", "subject"=>"test", "body"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user1", "subject"=>"test", "body"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 11ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_104@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (71.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_104@example.jp"], ["encrypted_password", "$2a$04$/lP5kX9NR4qjOHaQYakfkuuFmOozif6HQaJ6.knGCr5YQuocb04Ci"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_104"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:40.091015' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_105@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_105@example.jp"], ["encrypted_password", "$2a$04$ZwM0JeS/2Znv49eGmmP8puu.Whj9CBP9tjnkKRyEoN.s4cZnIltYu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_105"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:40.106274' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_104", "sender_id"=>"13", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 13ms (Views: 1.2ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_106@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_106@example.jp"], ["encrypted_password", "$2a$04$XUIQu1kENG3X8YVWJyzMQuWmyhDue7A9cdBiYDL8bUkdzW/gU/Lla"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_106"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:40.143368' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.2ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_107@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_107@example.jp"], ["encrypted_password", "$2a$04$hHm5PquwFT282FWO0Dczc.xZZaHckM45ibEh.DdXf5BdBpfkhi5Xm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_107"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:40.159332' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_106", "sender_id"=>"13", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 11ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_108@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_108@example.jp"], ["encrypted_password", "$2a$04$voh8KXbe4Wpv.lJk.mtAFuZYyB/cmJmJWrSwxyxVK5D8wq1kgWfs2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_108"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:40.199349' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_109@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_109@example.jp"], ["encrypted_password", "$2a$04$wIKmtNKuy72XlS890BABiOkIqrFEnDGiJcrWkzy1lcvPdYbHK6TU2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_109"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:40.212941' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 11ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_110@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (5.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_110@example.jp"], ["encrypted_password", "$2a$04$shJMtMsT3DMvZyHpltmpAOw9wlencsqBMxu7FTqng7KFcRl9TSpz2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_110"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:40.248415' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_111@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_111@example.jp"], ["encrypted_password", "$2a$04$Zs5g2ChlrUO3.GTMdGxPlOvCzDnOeQIjSXUtzhiaZ2cSkHxynE3Ie"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_111"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:40.266926' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 10ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_112@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_112@example.jp"], ["encrypted_password", "$2a$04$J8h9Kc8Q.Hh5giV.leRuKuBj32hyOamrX/yyUz.6bZgOO5VjZqW6G"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_112"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:40.297359' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_113@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (69.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_113@example.jp"], ["encrypted_password", "$2a$04$/Rk/EZCHrFWHH3BzdGT29eCduPcxpa5EDLfOxPD4U9ssYBvDtHo1y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_113"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:40.380338' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_112", "sender_id"=>"13", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 14ms (Views: 1.2ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_114@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_114@example.jp"], ["encrypted_password", "$2a$04$d81E5geunikqG2HJWe/eEelaFv14Il2kCuyh.9yL1qw7qjoOSM07e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_114"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:40.418252' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_115@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_115@example.jp"], ["encrypted_password", "$2a$04$KE84Yl0kK04FbyxuUYikdefsCADByzB1KaxaFvNIVeIsPvYp1BPTG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_115"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:40.438256' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_114", "sender_id"=>"13", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 13ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_116@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_116@example.jp"], ["encrypted_password", "$2a$04$kPipCG7q4r4aYSoCGA35YOcJWEey115Zra82tryr8bS0TQPMie7Ti"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_116"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:40.476109' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_117@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_117@example.jp"], ["encrypted_password", "$2a$04$t8fqVZjUZCyDdlbYMHM6YeZk3hQHiadTG.atqNXm6Tz2uK8pca1iW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_117"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:40.495586' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_118@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_118@example.jp"], ["encrypted_password", "$2a$04$II1h1asZxDm3h/kG70JXdOpK30isRhmOH.e1drfnu/n4G/hpq2M/C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_118"]] SQL (1.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:40.533606' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_119@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_119@example.jp"], ["encrypted_password", "$2a$04$4IttiqrIcDCVAFGOuQH2VeG41rm/Vgs.kI26pW4slME/CCUCKnMQq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_119"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["user_id", 13]]  (0.8ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:40.548934' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 13ms (Views: 1.2ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_120@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_120@example.jp"], ["encrypted_password", "$2a$04$Fd9ieVLUrMx.rGreB1xsaO42Zvg/Q6sHPcF.30MjdoPchBckr9lcO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_120"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:40.584445' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_121@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (14.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_121@example.jp"], ["encrypted_password", "$2a$04$8JYHky48NWhaf7c1./P96OMONNXpYhT5boMKRRSufWph28XJG9tZC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_121"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:40.612396' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 80ms (Views: 1.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_122@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_122@example.jp"], ["encrypted_password", "$2a$04$8e0K.Py8788WY1y7XqgkPOLEIA2ajMtgogxbcYMcxl2AdArZPIU8O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_122"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:40.714553' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_123@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_123@example.jp"], ["encrypted_password", "$2a$04$tJHxm8HrZ3vYttuwaA74nOvEUPSXScTvSzMa3yKWovfW1g.dkWE92"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_123"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:40.731815' WHERE "roles"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 19ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_124@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_124@example.jp"], ["encrypted_password", "$2a$04$/ZmQAfjKhaT/G7Lw6QHOm.zhCfGDLByS/YMc7HLRREezvt7rwfHJC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_124"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:40.773779' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_125@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_125@example.jp"], ["encrypted_password", "$2a$04$ikESDgx7TOTG5i/QZA25gubmZhYhoyUNalZcO6MKPcaDloZrZpu0q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_125"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:40.789995' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_124", "sender_id"=>"13", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 2.0ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_126@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_126@example.jp"], ["encrypted_password", "$2a$04$KeLYIjGzj1abTjG/tq.ez.GFtI2dQ5r4KDevucEu0rSK/6pHKL12a"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_126"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:40.826992' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_127@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_127@example.jp"], ["encrypted_password", "$2a$04$pnc5REYKsOrjvKAiU3zYn.WMSr.qKD487tI/T1BI82TeKISNWqQk6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_127"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:40.841907' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_126", "sender_id"=>"13", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_128@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_128@example.jp"], ["encrypted_password", "$2a$04$DsaNCV5IhFuOc3SWN1tO/em6i6YCa2dIDFdSn9gfQFlk4or08gbxi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_128"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:40.879271' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_129@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_129@example.jp"], ["encrypted_password", "$2a$04$UYpbmwZoBMgh.3LG21SL4eMXIqG0FCyZOKDM0echoc77pBSMg44Jq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_129"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:40.893313' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_130@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (64.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_130@example.jp"], ["encrypted_password", "$2a$04$gX69P7so1kcJzPiHhIxfiu9/3euc8ayEVpLmpY6KsrldIHa62HxDG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_130"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:40.989445' WHERE "roles"."id" = 2  (0.4ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_131@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_131@example.jp"], ["encrypted_password", "$2a$04$Pl1SBke0e7HyxVndYro5AubPDnjB1J9v.MHWNcL1BbjURT9mXnf5C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_131"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:41 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:41 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:41.004533' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 13ms (Views: 1.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_132@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_132@example.jp"], ["encrypted_password", "$2a$04$6liZfN81ETcUDpLcCXKv.uzNt0HDjk0p8CKdq7WQVIy/q1nRHnfXC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_132"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:41 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:41 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:41.041444' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_133@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_133@example.jp"], ["encrypted_password", "$2a$04$X8NfwQUMU/fKGEEOu6mz4eQOS/.wmi32UvbfUjEJr/MCUQtz0j3K."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:07:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_133"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:07:41 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:07:41 UTC +00:00], ["user_id", 13]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:07:41.055981' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#destroy as HTML Parameters: {"id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 3 AND "messages"."id" = ? LIMIT 1 [["id", "2"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "messages" WHERE ("lft" > 3 AND "rgt" < 4) SQL (0.4ms) UPDATE "messages" SET "lft" = ("lft" - 2) WHERE "messages"."id" IN (SELECT "messages"."id" FROM "messages" WHERE ("lft" > 4) ORDER BY "lft") SQL (0.5ms) UPDATE "messages" SET "rgt" = ("rgt" - 2) WHERE "messages"."id" IN (SELECT "messages"."id" FROM "messages" WHERE ("rgt" > 4) ORDER BY "lft") SQL (0.2ms) DELETE FROM "messages" WHERE "messages"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/messages Completed 302 Found in 16ms User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 9ms LibraryGroup Load (8.6ms) SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]] LibraryGroup Load (0.1ms) SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]] Fixture Delete (0.5ms) DELETE FROM "library_groups" Fixture Insert (0.2ms) INSERT INTO "library_groups" ("id", "name", "display_name", "short_name", "email", "note", "my_networks", "url", "created_at", "updated_at") VALUES (1, 'unknown', 'unknown', 'unknown', 'next-l@library.example.jp', NULL, '0.0.0.0/0', 'http://localhost:3000/', '2011-12-17 21:08:45', '2011-12-17 21:08:45') Fixture Delete (0.2ms) DELETE FROM "message_requests" Fixture Insert (0.1ms) INSERT INTO "message_requests" ("sender_id", "receiver_id", "message_template_id", "state", "created_at", "updated_at", "id") VALUES (1, 1, 1, 'pending', '2011-12-17 21:08:45', '2011-12-17 21:08:45', 980190962) Fixture Insert (0.1ms) INSERT INTO "message_requests" ("sender_id", "receiver_id", "message_template_id", "state", "created_at", "updated_at", "id") VALUES (1, 1, 1, 'pending', '2011-12-17 21:08:45', '2011-12-17 21:08:45', 298486374) Fixture Delete (0.1ms) DELETE FROM "message_templates" Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (1, 'reservation_accepted', 'Reservation accepted', 'Reservation accepted', 1, '2011-12-17 21:08:45', '2011-12-17 21:08:45') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (2, 'item_received', 'Item received', 'Item received', 2, '2011-12-17 21:08:45', '2011-12-17 21:08:45') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (3, 'reservation_expired_for_patron', 'Reservation expired', 'Reservation expired', 3, '2011-12-17 21:08:45', '2011-12-17 21:08:45') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (4, 'reservation_expired_for_library', 'Reservation expired', 'Reservation expired', 4, '2011-12-17 21:08:45', '2011-12-17 21:08:45') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (5, 'reservation_canceled_for_patron', 'Reservation canceled', 'Reservation canceled', 5, '2011-12-17 21:08:45', '2011-12-17 21:08:45') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (6, 'reservation_canceled_for_library', 'Reservation canceled', 'Reservation canceled', 6, '2011-12-17 21:08:45', '2011-12-17 21:08:45') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (7, 'recall_item', 'Recall item', 'Recall item', 7, '2011-12-17 21:08:45', '2011-12-17 21:08:45') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (8, 'recall_overdue_item', 'Recall overdue item', 'Recall overdue item', 8, '2011-12-17 21:08:45', '2011-12-17 21:08:45') Fixture Delete (0.2ms) DELETE FROM "messages" Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "read_at", "state", "lft", "rgt", "updated_at") VALUES (1, 3, 4, 'First Message', 'Abby, you get the first message', '2007-07-04 12:10:47.0', '2011-12-14 21:08:45', 'unread', 1, 2, '2011-12-17 21:08:45') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (2, 4, 3, 'RE: First Message', 'Thanks Dad! You are the coolest!', '2011-12-15 21:08:45', 'unread', 3, 4, '2011-12-17 21:08:45') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (3, 3, 4, 'Second Message', 'Catie, you get the 2nd message', '2011-12-16 21:08:45', 'unread', 5, 6, '2011-12-17 21:08:45') Fixture Insert (0.2ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (6, 4, 5, 'Dad!', 'He is sucha dork.', '2011-12-15 21:08:45', 'unread', 7, 8, '2011-12-17 21:08:45') Fixture Delete (0.1ms) DELETE FROM "roles" Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Guest', 'Guest', 1, NULL, '2011-12-17 21:08:46', '2011-12-17 21:08:46') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('User', 'User', 2, NULL, '2011-12-17 21:08:46', '2011-12-17 21:08:46') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Librarian', 'Librarian', 3, NULL, '2011-12-17 21:08:46', '2011-12-17 21:08:46') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Administrator', 'Administrator', 4, NULL, '2011-12-17 21:08:46', '2011-12-17 21:08:46') Fixture Delete (0.1ms) DELETE FROM "user_groups" Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('(not specified)', '(not specified)', '2007-12-13 12:00:51.564542', 1, '', '2007-12-13 12:00:01.674976', 1) Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('User', 'User', '2007-12-22 18:14:56.836548', 2, '', '2007-12-22 18:14:40.173954', 2) Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('Faculty', 'Faculty', '2007-12-22 18:15:05.134351', 3, '', '2007-12-22 18:15:05.126457', 3) Fixture Delete (0.1ms) DELETE FROM "user_has_roles" Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (1, 4, '2011-12-17 21:08:46', '2011-12-17 21:08:46', 135138680) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (2, 3, '2011-12-17 21:08:46', '2011-12-17 21:08:46', 344583537) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (3, 2, '2011-12-17 21:08:46', '2011-12-17 21:08:46', 206669143) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (4, 3, '2011-12-17 21:08:46', '2011-12-17 21:08:46', 226540757) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (5, 2, '2011-12-17 21:08:46', '2011-12-17 21:08:46', 358143215) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (6, 2, '2011-12-17 21:08:46', '2011-12-17 21:08:46', 576709754) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (7, 2, '2011-12-17 21:08:46', '2011-12-17 21:08:46', 1010528733) Fixture Delete (0.2ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:16:30.163731', '$2a$10$vHohD1WflnTIqAa8zMkF9evwAgIZRw3XuR4d3bi29M.jph/MB/AJi', 2, 1, NULL, 'admin', 'tanabe@kamata.lib.teu.ac.jp', '2007-11-19 07:58:32.111941', 4) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 03:41:16.337474', '$2a$10$9O2VuTccN4gHq36ARg0QReSrb1D7WrBBhZZ759RM9moHbB0W5zCzS', 1, 2, NULL, 'librarian1', 'librarian1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:33.172441', 1) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', '$2a$10$JthS59A0BNkDOoFpCXM0V.GhhffKaoWKbzpPahYp/vTFrOyM7h/uW', 1, 3, NULL, 'user1', 'user1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:23.340575', '$2a$10$YmmTGrYQ1Ir6oc7wXnp.GuNeO1eYLoP3sv8wMSIrTdaGw2BPwRrpS', 1, 4, NULL, 'librarian2', '2008-01-18 03:24:04.222344', 1) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:44.711117', '$2a$10$i7UjJhLVrJM/J7qaTwW39OXw1NiwowUEbtNHVDV0sqMLjX9.UO9ca', 1, 5, NULL, 'user2', '2008-01-18 04:29:06.922728', 2) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 6, NULL, 'user3', 'user3@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 7, NULL, 'user4', 'user4@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_1@example.jp"], ["encrypted_password", "$2a$04$O3nF.gT5/AVc9yQQRktuYuye2EFT2tRUv23jcJ788hkcghobJ2R32"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_1"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:46 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:08:46 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:46.517130' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Rendered /Users/kosuke/enju_message/app/views/message_requests/index.html.erb within layouts/application (3.9ms) Completed 200 OK in 95ms (Views: 78.1ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_1@example.jp"], ["encrypted_password", "$2a$04$hYV9xRB3JqxMnmP4YN6aiOqX0POIDXJ9L73FzVnYsHWMvWg5drcXa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_1"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:46 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:08:46 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:46.646177' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 200 OK in 13ms (Views: 2.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_1@example.jp"], ["encrypted_password", "$2a$04$544vZlHdGG7LnZ6w/RP7VefHjY4HSw2DB4fijf.avoKjWWZWemiCS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_1"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:46 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:46 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:46.681950' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.8ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "message_requests" WHERE ('t'='f') Processing by MessageRequestsController#index as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 10ms  (0.1ms) SELECT COUNT(*) FROM "message_requests" WHERE ('t'='f') Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_2@example.jp"], ["encrypted_password", "$2a$04$kwIEYbiNCeXmUJ6OrsG5f.wbh21ZLUHqwLusZJQezG/EjIrR5ptNq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_2"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:46 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:08:46 UTC +00:00], ["user_id", 12]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:46.725053' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (5.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_2@example.jp"], ["encrypted_password", "$2a$04$WgcN3ThMye8tyidzDgVqRuRmkeEvRHbl/I9620D9fn5avxppHsxc2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_2"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:46 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:46 UTC +00:00], ["user_id", 13]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:46.745947' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_3@example.jp"], ["encrypted_password", "$2a$04$7jEBNMLKC8gyNF0vFD2JZe/AxiZLa68tvzV.m04XsSFF2tH2ayXpW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_3"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:46 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:46 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:46.771814' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_1' LIMIT 1 SQL (4.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_1"], ["created_at", Sat, 17 Dec 2011 21:08:46 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_1"], ["title", "message_template_1"], ["updated_at", Sat, 17 Dec 2011 21:08:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_1' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:08:46 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 14], ["sender_id", 13], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:08:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.2ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 200 OK in 15ms (Views: 3.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_2@example.jp"], ["encrypted_password", "$2a$04$7RyaZZWEp0Mi3QrLWPRINe3MNATHB3DvZ2stl7w7YTfXOOpZNrFwC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_2"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:46 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:08:46 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:46.955473' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_4@example.jp"], ["encrypted_password", "$2a$04$/S5VYsU2wRSYAkOmSwa0Fu6jz3O70ru/vR6KmIjOKXTPd/1WnuA3a"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_4"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:46 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:46 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:46.969865' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_5@example.jp"], ["encrypted_password", "$2a$04$MLZGz2RuNxk/kHdKH6CfqO2Aiqd4A4S7OcvpOGolJGd7d1cuhDe6i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_5"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:46 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:46 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:46.984435' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_2' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_2"], ["created_at", Sat, 17 Dec 2011 21:08:46 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_2"], ["title", "message_template_2"], ["updated_at", Sat, 17 Dec 2011 21:08:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_2' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:08:46 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 14], ["sender_id", 13], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:08:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 200 OK in 11ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_6@example.jp"], ["encrypted_password", "$2a$04$U5CjYSc85DhJzv48k3jj1u0OAu4trf74SW3xqOaUkMuPv7DHMJ2Xm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_6"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:47.031792' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_7@example.jp"], ["encrypted_password", "$2a$04$OpvMY5hSSyBFPeCt7YXMs.VP5t1r1WICZ1cjZA7.tEmYSIHKEL4Ay"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_7"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:47.046045' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_8@example.jp"], ["encrypted_password", "$2a$04$DmGrsm.KtJ9Xfz66pxVCLePTDBwMeXxI/yfUedRfgFm2tPzg7bZra"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_8"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:47.063120' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_3' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_3"], ["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_3"], ["title", "message_template_3"], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_3' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 14], ["sender_id", 13], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_9@example.jp"], ["encrypted_password", "$2a$04$QLXKMEOev2b4H9II6JpyUeczIHIcV9r8CDCZ/n2wehjXKNYScFv5G"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_9"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:47.103343' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_10@example.jp"], ["encrypted_password", "$2a$04$mlWQFsXDMccsIUjFv4K9VuFKaBLKsqox9kb4NvDmosXUGYPg3Ef2a"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_10"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:47.120061' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_4' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_4"], ["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_4"], ["title", "message_template_4"], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_4' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 52ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_3@example.jp"], ["encrypted_password", "$2a$04$ztLAHG0qyj0dhJCB8WvdWO8sflPoEcw7PT5H.Ed8DP9b125UON9NO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_3"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:47.198230' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_11@example.jp"], ["encrypted_password", "$2a$04$I8VyU201LIYlvpVkWn5N3eQdoLGXFcKkaLfPEzUb/zzi0IVxB8iiy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_11"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:47.208526' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_12@example.jp"], ["encrypted_password", "$2a$04$rhTibiSWZDspsSm0T4UGB.kWgoJJkdin0RmiCHTmNrxGqkdkfCWL2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_12"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:47.217357' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_5' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_5"], ["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_5"], ["title", "message_template_5"], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_5' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 14], ["sender_id", 13], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 8ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_3@example.jp"], ["encrypted_password", "$2a$04$QkK8MrI/EagZuw60QTWClutHAf/vsxccT9qprTLm42G/yDN17gGgS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_3"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:47.243518' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_13@example.jp"], ["encrypted_password", "$2a$04$OmM4gWY142X2s1O/GhrXUObJCL2/XrPSG.1bz1dRJZVGXT22vIQUS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_13"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:47.252066' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_14@example.jp"], ["encrypted_password", "$2a$04$dDOcnuZ/gfSG8ABHJpnSF.VK32Ljn9S1eGwXsl5NLHVd.nW1.MN1W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_14"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:47.260056' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_6' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_6"], ["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_6"], ["title", "message_template_6"], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_6' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 14], ["sender_id", 13], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_15@example.jp"], ["encrypted_password", "$2a$04$SaW01VFqrMwqn0PWjSb91u7wftfNuJhVP93p2c9LEJfCpHDiZnp.."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_15"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:47.285209' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_16@example.jp"], ["encrypted_password", "$2a$04$/Kp4vbeoRLM8JXWsu2aNwuCtsgHzmAX8yXwlapVn1bIkG16/0S9O."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_16"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:47.293995' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_17@example.jp"], ["encrypted_password", "$2a$04$gc0VRe68Y5Olnfj1gwG5UerEBVAsto2n49U3ZBYJVruG7x9lFd7mi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_17"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:47.301853' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_7' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_7"], ["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_7"], ["title", "message_template_7"], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_7' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 14], ["sender_id", 13], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (35.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_18@example.jp"], ["encrypted_password", "$2a$04$Mx6L60CmG50fZvCPEglUouJ4FM3nYvGWYBpUOlvEpChI8sSF2lgeG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_18"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:47.361602' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_19@example.jp"], ["encrypted_password", "$2a$04$q1nxJH5A9yVL9j9pGDUaEO348jfFH10QOfTPxUAVzFuckxpMagq9y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_19"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:47.369894' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_8' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_8"], ["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_8"], ["title", "message_template_8"], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_8' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_20@example.jp"], ["encrypted_password", "$2a$04$dn3XC9qINA//zazo9e6s1OJUXx01PyUcxX6yKHY.HGJoIr69KErry"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_20"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:47.393885' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_21@example.jp"], ["encrypted_password", "$2a$04$mba6SmFcVw7voikr6m98EOxR5MRfghPXx/cwFLsZ7aQFFFMf7o1A."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_21"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:47.401891' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_9' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_9"], ["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_9"], ["title", "message_template_9"], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_9' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_22@example.jp"], ["encrypted_password", "$2a$04$30s11WiCWOq.E.y6hlYB0eqHOmoRIun3g6HJ5XDirOxkPDamJ3VNW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_22"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:47.417766' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_23@example.jp"], ["encrypted_password", "$2a$04$IzD9YNipKmSH5D5c1eXEwOg1laXmHsC0VsnDOIcQFcAQKaub7.xwa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_23"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:47.425446' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_10' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_10"], ["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_10"], ["title", "message_template_10"], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_4@example.jp"], ["encrypted_password", "$2a$04$/Tz56Y3miTFebtR6/Oq0CO1Wb/8D2IlTwCjAeUm8MInkoDp/ZNZ6W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_4"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:47.435608' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"14", "receiver_id"=>"15", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 15 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_10' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 14, "receiver_id" = 15, "message_template_id" = 10, "updated_at" = '2011-12-17 21:08:47.446326' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 11ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_24@example.jp"], ["encrypted_password", "$2a$04$h11YseO1DMWZenojgP/TF.gSj24BMZ3xiKxoXjXlXq6CQ7EAzZYR2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_24"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:47.458384' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_25@example.jp"], ["encrypted_password", "$2a$04$j5T9nTqS/vbFYOIKDhIFLug5sPUhGzMtUi/7n5t4hpi.xY9LYP.42"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_25"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:47.466408' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_11' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_11"], ["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_11"], ["title", "message_template_11"], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_11' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_26@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_26@example.jp"], ["encrypted_password", "$2a$04$zjK1qFV3lxs8mLk6pVFvyenyAyHvtau4tJLutU.Q0SzPGyEJYqdoi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_26"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:47.481830' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_27@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (34.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_27@example.jp"], ["encrypted_password", "$2a$04$zaJKRHANQZrkaRbbodMA7uwqq1IoaFww41NYbNU53El0LWYc4SCQ6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_27"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:47.523549' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_12' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_12"], ["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_12"], ["title", "message_template_12"], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_5@example.jp"], ["encrypted_password", "$2a$04$bRkfeN7I4lHwz9gkXo0YC.sk93RROZYS/KEcFr6uG2IVC6hDket32"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_5"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:47.534041' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"14", "receiver_id"=>"15", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 15 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_12' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 14, "receiver_id" = 15, "message_template_id" = 10, "updated_at" = '2011-12-17 21:08:47.545488' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 11ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_28@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_28@example.jp"], ["encrypted_password", "$2a$04$IbLTjgfXMsRrPUYEW7NjJOaFiEU6.RIdN40NtpYisqd3q3MrQAC/K"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_28"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:47.557186' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_29@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_29@example.jp"], ["encrypted_password", "$2a$04$RQ4g42Z/rtO0HOjGan2YbeNmmr/mWF0C2USEHNTspUVhtXdspCTq2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_29"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:47.565135' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_13' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_13"], ["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_13"], ["title", "message_template_13"], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_13' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_30@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_30@example.jp"], ["encrypted_password", "$2a$04$3mvhYIeluujGyBl5yRLqxeSFOueUFq7qiJZTTY2VaY0E0y5QckwOS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_30"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:47.581396' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_31@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_31@example.jp"], ["encrypted_password", "$2a$04$1SoP9gyoJZLX07uMHDmEbOT19kuVKqEClUNqWfazsIH4kuXEWVn0y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_31"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:47.589323' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_14' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_14"], ["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_14"], ["title", "message_template_14"], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_6@example.jp"], ["encrypted_password", "$2a$04$6wOGJ9N5/PBPJWVTJ/HPx.pyVO75r00DilQtWOMPBL1yZwvYjzdym"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_6"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:47.599503' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_13' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 10ms (Views: 0.9ms | ActiveRecord: 0.6ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_32@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_32@example.jp"], ["encrypted_password", "$2a$04$Fosc.TNW494OLnx4WCmzE.RD5qfQvk0tkzWtTdlwnV3mrd8DXr.4."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_32"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:47.621655' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_33@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_33@example.jp"], ["encrypted_password", "$2a$04$lw469OQQgLoZR19UbGQjrevNhJFnErVCK3lRuOxvglSHdHKFNx2W6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_33"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:47.629824' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_15' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_15"], ["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_15"], ["title", "message_template_15"], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_15' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_34@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (36.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_34@example.jp"], ["encrypted_password", "$2a$04$IyrXNfC0PdDcDELRbUrsmeRu.oOGGT16iMlfAJXJhc1nmlrMQJ456"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_34"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:47.680618' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_35@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_35@example.jp"], ["encrypted_password", "$2a$04$fB/abl2ghsrXpHCJMN4HPO1gN7by55ohP9OLvAPaNKXpPhWQg.Piu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_35"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:47.688430' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_16' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_16"], ["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_16"], ["title", "message_template_16"], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_4@example.jp"], ["encrypted_password", "$2a$04$ou9dCMVCdgBi.ynA4CtIyOjrYByg34TkKCHipxmLYFV33yAK8RqGW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_4"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:47.698927' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"14", "receiver_id"=>"15", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 15 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_16' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 14, "receiver_id" = 15, "message_template_id" = 10, "updated_at" = '2011-12-17 21:08:47.708536' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 9ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_36@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_36@example.jp"], ["encrypted_password", "$2a$04$UNnYAHd/rmFPX6cfJkOLo.kV2tv76mr8gtIECMf9hNKGhyG/cg70W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_36"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:47.719906' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_37@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_37@example.jp"], ["encrypted_password", "$2a$04$XVXFhM9UFeS4eFIKTtp5W.Cz1MAdj5QCQqLKon9R.C.wjzN5dy1nG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_37"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:47.728335' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_17' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_17"], ["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_17"], ["title", "message_template_17"], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_17' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_38@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_38@example.jp"], ["encrypted_password", "$2a$04$Oca5Y5VPD0QGx3uxDNtVLe3U.kw0VPy5BZFP8P8ZWIV003fEzr2e."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_38"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:47.742713' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_39@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_39@example.jp"], ["encrypted_password", "$2a$04$XPBQLbKwQxGz68wnFeHl7.MIa1x4pJA9xm01dkdwomxSEM/7NR12m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_39"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:47.750785' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_18' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_18"], ["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_18"], ["title", "message_template_18"], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_5@example.jp"], ["encrypted_password", "$2a$04$fbiOzuhjxdhKh/8rl/on0unwe/SfM5S20SIwSk/w4lsyGw.CV8Apa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_5"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:47.760916' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"14", "receiver_id"=>"15", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 15 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_18' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 14, "receiver_id" = 15, "message_template_id" = 10, "updated_at" = '2011-12-17 21:08:47.770991' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 10ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_40@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_40@example.jp"], ["encrypted_password", "$2a$04$3fGOMYvb53h5GVTGnPvr7OuOqjOXqlOxd9Ikshdo3.T2VrZw2SRA6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_40"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:47.783648' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_41@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_41@example.jp"], ["encrypted_password", "$2a$04$veRA7.mTNRaImnI4w9XnV.0kHwZjp8ABzFjTuZ5RICHIBbtdDbt3q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_41"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:47.791904' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_19' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_19"], ["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_19"], ["title", "message_template_19"], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_19' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_42@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (34.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_42@example.jp"], ["encrypted_password", "$2a$04$aENNG8aunPvK4iB6.8brZeh5YUlia61A5gk6POorVp8w0KqD1vqVK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_42"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:47.839925' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_43@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_43@example.jp"], ["encrypted_password", "$2a$04$lFDACSvIYcSwavKXcHzH7eO.o7sAcYHVJjloN2oLxk6TqnG9mp7fy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_43"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:47.848466' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_20' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_20"], ["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_20"], ["title", "message_template_20"], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_6@example.jp"], ["encrypted_password", "$2a$04$Xbhh2SQ8sjL4N3Lh1nApY.ucBUDgUWGiUbq18U24C64tKfTaA.K3a"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_6"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:47.858911' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_19' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 9ms (Views: 0.8ms | ActiveRecord: 0.6ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_44@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_44@example.jp"], ["encrypted_password", "$2a$04$SduOxnhrJNwXq.MdYJfsn.oSmzqVrGiwBCsErCymSIVt2JvJoSY3i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_44"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:47.880528' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_45@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_45@example.jp"], ["encrypted_password", "$2a$04$tQejFnuTuJu5Jl9Pcpo72ujcW1nQb9TMqH0GNQ0k02zMlTx2Kxg4."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_45"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:47.888588' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_21' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_21"], ["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_21"], ["title", "message_template_21"], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_21' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_46@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_46@example.jp"], ["encrypted_password", "$2a$04$47gbj6F2YetQRKLZipZKU.rbFz7dYX05J5deny4b.1pU1JZNej612"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_46"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:47.903286' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_47@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_47@example.jp"], ["encrypted_password", "$2a$04$W5uKwJVNh4qCBGR0Cgf.heFtduRCQYO64bLA3XmOtBU1f41QX5Nmy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_47"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:47.910862' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_22' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_22"], ["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_22"], ["title", "message_template_22"], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_48@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_48@example.jp"], ["encrypted_password", "$2a$04$fWYVhpXzfH9Q5FetAkKVNeaO91F947TyEshkpCZ7Ouns9hYNCvpYW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_48"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:47.921606' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"14", "receiver_id"=>"15", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_49@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_49@example.jp"], ["encrypted_password", "$2a$04$FyPRo1KlHVzugEFZVaRuye/WPeruvEN5FY9chQ82tB8D/hN8/Gjby"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_49"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:47.939650' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_50@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_50@example.jp"], ["encrypted_password", "$2a$04$XL6DHE3UCgrpFnsEMZoU2e70ThaQPvd0UTzL/KFKx.kzfAZrCkr8C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_50"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:47.948318' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_23' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_23"], ["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_23"], ["title", "message_template_23"], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_23' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_51@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (34.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_51@example.jp"], ["encrypted_password", "$2a$04$Uk8mwr6/uiuyWAOxTsVlAebAembljbJZ97WlRFW08S41fm68snLfK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_51"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:47 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:47.996785' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_52@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_52@example.jp"], ["encrypted_password", "$2a$04$FG0o/GmVtsfURiPUrxBW5.GB0lX2ZZepAuiLvCnXawu0ZA6ipyDBC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_52"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:48.005003' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_24' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_24"], ["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_24"], ["title", "message_template_24"], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_53@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_53@example.jp"], ["encrypted_password", "$2a$04$/JNbUMI4Oig0/G4oKvQRMO05owaNapEHGI.FQfmJ/jLccnYkrIMKa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_53"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:48.016163' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"14", "receiver_id"=>"15", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_54@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_54@example.jp"], ["encrypted_password", "$2a$04$RsFR3CwJ/b0LZlQJ8Amd1OC6y9A/HpM4N3IWLjA0HJ7l8bIsXIrwq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_54"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:48.034341' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_55@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_55@example.jp"], ["encrypted_password", "$2a$04$McCXurz/FzjcowfjRFDFbOCMg7/svEdIlSTMZFqL0YsnX2MsexbnK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_55"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:48.042657' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_25' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_25"], ["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_25"], ["title", "message_template_25"], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_25' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_56@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_56@example.jp"], ["encrypted_password", "$2a$04$vOFhd9kKmtQsh28bepDVQucsdTyeC.WiDUPwpNyilqciZ9iJxh21e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_56"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:48.058155' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_57@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_57@example.jp"], ["encrypted_password", "$2a$04$i0YhjIZGvqqMjQN2LuqqE.JD3uPMNOWWln7rRST6lcJC7DBTLGd7G"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_57"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:48.066374' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_26' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_26"], ["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_26"], ["title", "message_template_26"], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_58@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_58@example.jp"], ["encrypted_password", "$2a$04$UbIedBmQSZCQcI386cuIkOWnkYVbVafhc7Pby9Wg9Mijz5elreDAq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_58"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:48.076587' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_59@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_59@example.jp"], ["encrypted_password", "$2a$04$SRP3au2oJCGfCYBDXjrykuwvOS8ZjtfaTPQAp88ocdJqcTheNgPmG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_59"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:48.094553' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_60@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_60@example.jp"], ["encrypted_password", "$2a$04$7d4S1EdzNsZ2RoLdkOA5YOCVgCqAOWysUtdUWieEo5kE1CYz79mzS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_60"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:48.102706' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_27' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_27"], ["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_27"], ["title", "message_template_27"], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_27' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_61@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (34.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_61@example.jp"], ["encrypted_password", "$2a$04$btbp/noCVAtgST0nlRVR7OVyF96Sv6tc7CiUYVjdHhk/t/gCkVllC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_61"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:48.151371' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_62@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_62@example.jp"], ["encrypted_password", "$2a$04$jCb2sLX2KQvkX/qZ.CwpFekwUeE5/Y5UnmsrPVZJpvSFX/tmOC2Ou"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_62"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:48.160108' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_28' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_28"], ["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_28"], ["title", "message_template_28"], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"14", "receiver_id"=>"15", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_63@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_63@example.jp"], ["encrypted_password", "$2a$04$QBh12j4yh9krGM8DZwKlIOHDpDy6sUnku71nLgQJh/ZTGEKfWgx9m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_63"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:48.186598' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_64@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_64@example.jp"], ["encrypted_password", "$2a$04$cYsWzExto5Il/Ib/eBub6eUcUprH3IMN4VouMuvJWhNvTcSGMg59e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_64"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:48.200088' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_29' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_29"], ["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_29"], ["title", "message_template_29"], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_29' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_65@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_65@example.jp"], ["encrypted_password", "$2a$04$ehA98YK05QnILvmd5IKc2e3iRRjIYymg4bqkQNisHHMnlfr98eh42"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_65"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:48.222288' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_66@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_66@example.jp"], ["encrypted_password", "$2a$04$90HCLWG//yei8ZUcU07fVOYTuO22YlT9uJxGsPKdIYGlE/bNAp8gy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_66"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:48.234167' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_30' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_30"], ["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_30"], ["title", "message_template_30"], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"14", "receiver_id"=>"15", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_67@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_67@example.jp"], ["encrypted_password", "$2a$04$qiMhFnrU0nmkiVSScIb34.o8czFAQc7kbT/Mp573Qe51KDVU5GXFa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_67"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:48.264352' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_68@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_68@example.jp"], ["encrypted_password", "$2a$04$2u/Likulybcx3TC5EqIYlO4Zlb3BjuMZFbNhapKeBRCnPY2GsjB4S"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_68"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:48.277330' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.4ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_31' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_31"], ["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_31"], ["title", "message_template_31"], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_31' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_69@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_69@example.jp"], ["encrypted_password", "$2a$04$.vT8QPh0d6AE3fw9DJ98KeGmCk/ctI7wlktFswaOtZl5xZ1QeDpr6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_69"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:48.302642' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_70@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_70@example.jp"], ["encrypted_password", "$2a$04$UNpoIlwZ4k.hXWAVJi4qX.bpm4dcXPZt/37ig9jGDNBz2nNeZ.Ovy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_70"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:48.316587' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_32' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_32"], ["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_32"], ["title", "message_template_32"], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 61ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_71@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_71@example.jp"], ["encrypted_password", "$2a$04$s8Cc79nFqNE63p9lIlOuO.99GhuKxiV87TYgjfJ7DSCs8vOpC0mdq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_71"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:48.400824' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_72@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_72@example.jp"], ["encrypted_password", "$2a$04$E9GdrsXuhEvFaJta2JuIBO6GV0UO/6eSEmuCsee03FVVUAUCWu2yq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_72"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:48.418496' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_33' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_33"], ["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_33"], ["title", "message_template_33"], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_33' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_7@example.jp"], ["encrypted_password", "$2a$04$ETKaiREVygijdhthVmxUBeQ8vhwgaZcyYjXmGkBx8x3CbE014zGPu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_7"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:48.445800' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 10ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_73@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_73@example.jp"], ["encrypted_password", "$2a$04$EQDOnJB2JlMhaBHRdQpEy.nfUELoxN2DrA4IAjyFaAKbvBL8QaewW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_73"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:48.474005' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_74@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_74@example.jp"], ["encrypted_password", "$2a$04$0AzuegJUCMbk8YxNC7Fdo.1mDRf62GoDbeECI6YqHveJj42LjVZm6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_74"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:48.488461' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_34' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_34"], ["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_34"], ["title", "message_template_34"], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_34' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_8@example.jp"], ["encrypted_password", "$2a$04$zeaKy8mecdKYtwa.xDkDQemMysY0PM5kUoAjZnEmKGWTHJLSjCIfe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_8"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:48.511932' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 9ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_75@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_75@example.jp"], ["encrypted_password", "$2a$04$A1wCpgEBPiM.Jan2aWP/HOTo/1TmshIgRpy1pr049YQA9v33Ph.Ya"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_75"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:48.542626' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_76@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_76@example.jp"], ["encrypted_password", "$2a$04$IWQNrA9L/T0SsZC7Hzeyi.KTtH6.jz5MOQzJrJdp8dd7Sgk7Yxhdu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_76"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:48.556645' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_35' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_35"], ["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_35"], ["title", "message_template_35"], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_35' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_7@example.jp"], ["encrypted_password", "$2a$04$lKQEqHriEld.E2x1KKYLT.qFte16ruvVGzwWX15n7M6SWS/Lgeoza"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_7"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:48.580709' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 9ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_77@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (58.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_77@example.jp"], ["encrypted_password", "$2a$04$7iWafXxavLc1X7d7kYNLPuddb/e0snzvKBOHpcMchk65H1vTvV7Jy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_77"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:48.666591' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_78@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_78@example.jp"], ["encrypted_password", "$2a$04$wJR.TD4DJJA33uymsSOFheTNvjer3oZdOFD2H0L8D/M5/14cG0W6i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_78"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:48.679940' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_36' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_36"], ["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_36"], ["title", "message_template_36"], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_36' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_8@example.jp"], ["encrypted_password", "$2a$04$b7GvLcWHog1Pz2h9fIcrQOol/8Xreijb1wIYwQwAVWBqIvQQyevQa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_8"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:48.703471' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 9ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_79@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_79@example.jp"], ["encrypted_password", "$2a$04$Nro23anYR7YMAD1lgr5v..psvjy/XLFneSHHzVdAB1O9G0IBitjFO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_79"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:48.733381' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_80@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_80@example.jp"], ["encrypted_password", "$2a$04$FvG/SVhVR2XX9BB6F2JXKOB374OCbzNiTiIrHU4JqT9yHbegjoi2m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_80"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:48.745754' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_37' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_37"], ["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_37"], ["title", "message_template_37"], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_37' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_81@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_81@example.jp"], ["encrypted_password", "$2a$04$DF60p50VXStxDv.I2yhuu.ADsr1atrUeRQMW7D//W6wpNFKx61ZHK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_81"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:48.771436' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_82@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_82@example.jp"], ["encrypted_password", "$2a$04$lkIwUGBv6igklFk8S1pPkeRnsMubWQs8Qe4T5CbUaNrIDWwx/ETQC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_82"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:48.798948' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_83@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_83@example.jp"], ["encrypted_password", "$2a$04$FYkJDh5UXQbd8jTup1ZZTObNAMYGu0t7o3z.HobePEeemr6LK6X6G"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_83"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:48.812150' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_38' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_38"], ["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_38"], ["title", "message_template_38"], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_38' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_84@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_84@example.jp"], ["encrypted_password", "$2a$04$FihTrtNNxpQZ06k1rK5N.OXl1FVlznibhBNEGgXWx2xbvPEor9hCG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_84"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:48.837472' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_85@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (60.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_85@example.jp"], ["encrypted_password", "$2a$04$8jYQvB7IJmr/WeyxJ7zaWeSM8Tgw.hbUg.sikZcAD8sVVY648UhVS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_85"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:48.925277' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_86@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_86@example.jp"], ["encrypted_password", "$2a$04$0WiIHd7bRk1S0sd8e86pheeacuw1.2t8Zi6fLY6MnIALoPyF5A9Ea"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_86"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:48.939422' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_39' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_39"], ["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_39"], ["title", "message_template_39"], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_39' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_87@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_87@example.jp"], ["encrypted_password", "$2a$04$03UL5MT8hHyhAIzHmiQQUuYkw9IiPALiqAqXX6G.t9fsmY8acUX4K"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_87"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:48.974295' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_88@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_88@example.jp"], ["encrypted_password", "$2a$04$.BjG3v61Oyo8KGN9XN8Ll.xt5RoXHS8V00Msiw8RuwBPfk9wGsGxS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_88"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:48.989998' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_40' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_40"], ["created_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_40"], ["title", "message_template_40"], ["updated_at", Sat, 17 Dec 2011 21:08:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_40' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_41' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_41"], ["created_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_41"], ["title", "message_template_41"], ["updated_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_9@example.jp"], ["encrypted_password", "$2a$04$yOkYJXvlagOA1lX2a4Xp8.OtYcZuKjR4/cCw.toND31v2MFtz9Pe2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_9"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:49.032620' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 200 OK in 14ms (Views: 5.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position LIMIT 10 OFFSET 0  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_42' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_42"], ["created_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_42"], ["title", "message_template_42"], ["updated_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_9@example.jp"], ["encrypted_password", "$2a$04$B5s3P6PkXN3WfaP4a1GLXuaKum3yNtYGs./WcZTvHb.E8Zr0XuNhe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_9"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:49.075989' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 200 OK in 9ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position LIMIT 10 OFFSET 0  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_43' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_43"], ["created_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_43"], ["title", "message_template_43"], ["updated_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_89@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_89@example.jp"], ["encrypted_password", "$2a$04$yOAB.2kQkmPsPqNdaUp6y.iTEP2mgXV0zpUA94vdV0nRaJeXc5N9u"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_89"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:49.111544' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "message_templates" WHERE ('t'='f')  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_44' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_44"], ["created_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_44"], ["title", "message_template_44"], ["updated_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms  (0.3ms) SELECT COUNT(*) FROM "message_templates" WHERE ('t'='f') Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (66.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_10@example.jp"], ["encrypted_password", "$2a$04$LWVUOtUiCjIc9aiQ2eK/ZuVZtxfPk9xOQrKbQceSNTJob3y4tmiXC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_10"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["user_id", 12]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:49.231684' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_45' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_45"], ["created_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_45"], ["title", "message_template_45"], ["updated_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 200 OK in 14ms (Views: 2.2ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_10@example.jp"], ["encrypted_password", "$2a$04$u.uABOv7kqwCyMh6cqrW0e9FARfnMY5SRMethEVzs9Fm.u2XNB8oO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_10"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:49.270624' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_46' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_46"], ["created_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_46"], ["title", "message_template_46"], ["updated_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 200 OK in 9ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (1.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_90@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_90@example.jp"], ["encrypted_password", "$2a$04$Hmm50h/vR5rq8fwHq8TtlOrA4i23ezieWlNphHYuhVM4FJjHVAPSe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_90"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:49.308503' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_47' LIMIT 1 SQL (0.8ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_47"], ["created_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_47"], ["title", "message_template_47"], ["updated_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_48' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_48"], ["created_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_48"], ["title", "message_template_48"], ["updated_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_11@example.jp"], ["encrypted_password", "$2a$04$3xQpGeOHbXM7zhjlsxh00uC1QTFQVVuMJlohTVkh1IomHeUHYsRxK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_11"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:49.363143' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 13ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_11@example.jp"], ["encrypted_password", "$2a$04$jWbZJu0wQhjPHirJs4fga.K4IlsA8M3fQ/3wzUaD5wzCNpfisdz1a"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_11"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:49.411129' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.5ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_91@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_91@example.jp"], ["encrypted_password", "$2a$04$A7ZOBkkbgKbYvZtj.4CSuuEbKZpaVemkre92uO7kFBQeSMqgqNXMi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_91"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:49.444572' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Processing by MessageTemplatesController#new as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (62.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_12@example.jp"], ["encrypted_password", "$2a$04$UzzeHNH97NTF6Wx5xbFHReY8NqqjSKGlPaYuU9mp5bmlPjt7scdZy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_12"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:49.551837' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_49' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_49"], ["created_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_49"], ["title", "message_template_49"], ["updated_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 200 OK in 10ms (Views: 3.0ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_12@example.jp"], ["encrypted_password", "$2a$04$2sVrCd5nlR3cPsU1hxR13edMyUn7LJxdzfTRmDAXqG/Y9rmtzt14."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_12"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:49.587463' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_50' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_50"], ["created_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_50"], ["title", "message_template_50"], ["updated_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.6ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_92@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (5.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_92@example.jp"], ["encrypted_password", "$2a$04$Gzw2fCho8wi.eLkwbyupvO.c5yARNgIxVOlDsVj5Fd4mpbmRBYtGa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_92"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:49.625732' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_51' LIMIT 1 SQL (1.0ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_51"], ["created_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_51"], ["title", "message_template_51"], ["updated_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.6ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_52' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_52"], ["created_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_52"], ["title", "message_template_52"], ["updated_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_13@example.jp"], ["encrypted_password", "$2a$04$SYCo4ksMAzTWU0t2ofO3UeImRSc6HvoLYBpSsMXk8f4hZOAzssHrW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_13"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:49.687023' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_53", "status"=>"message_template_53", "body"=>"message_template_53"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_53' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_14@example.jp"], ["encrypted_password", "$2a$04$AZtx7oYjvlbCme6F89C15ukFeWdi4YPsupP0t80yHN/ykN8SaIvae"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_14"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:49.723608' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_54", "status"=>"message_template_54", "body"=>"message_template_54"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 3.6ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_15@example.jp"], ["encrypted_password", "$2a$04$DSmKyPGXJI73rpsPBci0o.2ilz.2m5e69qLo/X62WPdOljk0infPa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_15"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:49.757048' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 14ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_16@example.jp"], ["encrypted_password", "$2a$04$0QvkJbYt/E3qozb6Eu5MxOg1mUy3BTebOpDdqNeyemR3yvT6FIPdu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_16"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:49.797141' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_13@example.jp"], ["encrypted_password", "$2a$04$OMppMtX6gXo0QW7CJbyHLeeRU/9G1HxuMWuKYo72cfaydIA7SLpmi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_13"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:49.893840' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_57", "status"=>"message_template_57", "body"=>"message_template_57"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_57' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_14@example.jp"], ["encrypted_password", "$2a$04$e4EcJRNo0Ri9/cmLpF05OuDWFAb6B4QtsO180whI5gB4GyRki7Edy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_14"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:49.924778' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_58", "status"=>"message_template_58", "body"=>"message_template_58"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_15@example.jp"], ["encrypted_password", "$2a$04$HXuVQriNCSDAOW4WdNsvWO7tsDDjjNyJRD/jlz8V2xpCV8PlhgW1C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_15"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:49.952435' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (5.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_16@example.jp"], ["encrypted_password", "$2a$04$jl0RNAZOT5VFFRmOW43pjOOlXvhTGDauK/bBShyaRpHCBNHw7VgM."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_16"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:08:49 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:49.987863' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_93@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_93@example.jp"], ["encrypted_password", "$2a$04$y4WR0w1QJ/WoLX75nqHeF.uuRij83ti8Pg/paNMPWrM3FaK6nXI2."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_93"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00], ["user_id", 12]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:50.016356' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_61", "status"=>"message_template_61", "body"=>"message_template_61"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_61' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_94@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_94@example.jp"], ["encrypted_password", "$2a$04$tjJAlHJc2b4MVdtMvfVOouUMu0NgGF./wyUfnyYZruxvWP9kv2rvG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_94"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:50.044798' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_62", "status"=>"message_template_62", "body"=>"message_template_62"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_95@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_95@example.jp"], ["encrypted_password", "$2a$04$IJifyYtkKn4iAa4YRp1TZOpM2tS60Rqk54tlts8pTQRJnHlrRIsj6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_95"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:50.071754' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_96@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (67.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_96@example.jp"], ["encrypted_password", "$2a$04$l41Yhzw2RwllkFUajLcx9u6gU65TTGc5GNyqFt87nJv7e73rPWT3O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_96"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:50.174230' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_65", "status"=>"message_template_65", "body"=>"message_template_65"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_65' LIMIT 1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_66", "status"=>"message_template_66", "body"=>"message_template_66"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_69' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_69"], ["created_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_69"], ["title", "message_template_69"], ["updated_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_17@example.jp"], ["encrypted_password", "$2a$04$TxcNJY5CTQxbRM9MXMkzn.EG0glK9GTQKLLaTJHxV7g2IlvIJnaAO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_17"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:50.269430' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_70", "status"=>"message_template_70", "body"=>"message_template_70"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_70' AND "message_templates"."id" != 9) LIMIT 1  (0.2ms) UPDATE "message_templates" SET "title" = 'message_template_70', "status" = 'message_template_70', "body" = 'message_template_70', "updated_at" = '2011-12-17 21:08:50.286947' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates/9 Completed 302 Found in 29ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_71' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_71"], ["created_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_71"], ["title", "message_template_71"], ["updated_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_18@example.jp"], ["encrypted_password", "$2a$04$n4Mvp4K1lGE7iQk3gq7n4eWEVmvjNrGXP9iLTYEfHLe4H7NkZXqU6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_18"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:50.322916' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_72", "status"=>"message_template_72", "body"=>"message_template_72"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (2.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_72' AND "message_templates"."id" != 9) LIMIT 1  (0.2ms) UPDATE "message_templates" SET "title" = 'message_template_72', "status" = 'message_template_72', "body" = 'message_template_72', "updated_at" = '2011-12-17 21:08:50.339898' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates/9 Completed 302 Found in 15ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_73' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_73"], ["created_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_73"], ["title", "message_template_73"], ["updated_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_19@example.jp"], ["encrypted_password", "$2a$04$B0FORJUZ3xj6xv8TLDrHWuqgfMAVuabou5XjJayfaUl0RETWRCmTy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_19"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:50.369619' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_74", "status"=>"message_template_74", "body"=>"message_template_74"}, "position"=>"2", "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "message_templates" SET "position" = 0, "updated_at" = '2011-12-17 21:08:50.381444' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "message_templates" SET position = (position - 1) WHERE "message_templates"."id" IN (SELECT "message_templates"."id" FROM "message_templates" WHERE (1 = 1 AND position > 9) ORDER BY position) SQL (0.2ms) UPDATE "message_templates" SET position = (position + 1) WHERE "message_templates"."id" IN (SELECT "message_templates"."id" FROM "message_templates" WHERE (1 = 1 AND position >= 2) ORDER BY position)  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "message_templates" SET "position" = 2, "updated_at" = '2011-12-17 21:08:50.384081' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates Completed 302 Found in 12ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.5ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_75' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_75"], ["created_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_75"], ["title", "message_template_75"], ["updated_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (66.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_20@example.jp"], ["encrypted_password", "$2a$04$cXvvxlXYh/A3KC45W5O7/.AHAEXE0SpD7xzjam3gACNjHvCKujXpG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_20"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:50.471797' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = '' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 16ms (Views: 1.1ms | ActiveRecord: 0.0ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_77' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_77"], ["created_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_77"], ["title", "message_template_77"], ["updated_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_17@example.jp"], ["encrypted_password", "$2a$04$qJm.S/kBBR8k7lWCp02R8urlhmcDDDpmpkryM8TmnoqdZ71HtAsHW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_17"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:50.520459' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_78", "status"=>"message_template_78", "body"=>"message_template_78"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_79' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_79"], ["created_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_79"], ["title", "message_template_79"], ["updated_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_18@example.jp"], ["encrypted_password", "$2a$04$DxxLfa8A3rkNQvL2uFWhoOc3nMXwssrrkDJys1Rfckpk08L5utchW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_18"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:50.560012' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_80", "status"=>"message_template_80", "body"=>"message_template_80"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 2.8ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_81' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_81"], ["created_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_81"], ["title", "message_template_81"], ["updated_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_19@example.jp"], ["encrypted_password", "$2a$04$UtOz2haGZPHUCRTj.y1GwO0X939PtHdQc1GIOjpSQejYCRtp4p9RS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_19"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:50.598452' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_83' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_83"], ["created_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_83"], ["title", "message_template_83"], ["updated_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_97@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_97@example.jp"], ["encrypted_password", "$2a$04$VX9IAUdI3mZT05D2j.U7hOdPSYgyntUcMJ/PFcE2puv57GncYLaMe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_97"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:50.637514' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_84", "status"=>"message_template_84", "body"=>"message_template_84"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 4.5ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_85' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_85"], ["created_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_85"], ["title", "message_template_85"], ["updated_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_98@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_98@example.jp"], ["encrypted_password", "$2a$04$PEz7Pg95Dq5EosB0ZfhbiOIT/9N7PFcksrWidWfaoFz965ThRyVk."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_98"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:50.674502' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_86", "status"=>"message_template_86", "body"=>"message_template_86"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.6ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_87' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_87"], ["created_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_87"], ["title", "message_template_87"], ["updated_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_99@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_99@example.jp"], ["encrypted_password", "$2a$04$fvPbFaRG9fsV0gekD9aObuMetiqOWjqxK1wgWi2rrmoFo.Mat/I1O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_99"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:50.714201' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (64.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 75ms (Views: 2.2ms | ActiveRecord: 64.7ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_89' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_89"], ["created_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_89"], ["title", "message_template_89"], ["updated_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_90", "status"=>"message_template_90", "body"=>"message_template_90"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 9ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_91' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_91"], ["created_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_91"], ["title", "message_template_91"], ["updated_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_92", "status"=>"message_template_92", "body"=>"message_template_92"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_93' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_93"], ["created_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_93"], ["title", "message_template_93"], ["updated_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_95' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_95"], ["created_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_95"], ["title", "message_template_95"], ["updated_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_21@example.jp"], ["encrypted_password", "$2a$04$R3YWXnY71WOaeROqhcjWAuYf7t1MpSUNX7fK7rV9VsfIT/hGT8Ffm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_21"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:50.866355' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_96' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_96"], ["created_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_96"], ["title", "message_template_96"], ["updated_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_22@example.jp"], ["encrypted_password", "$2a$04$Q79N0xD9YCSqlgmHWLElF.uZE6rCNEKhAnML4d6JtL41leSXJm6kG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_22"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:50.900853' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 14ms (Views: 5.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_97' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_97"], ["created_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_97"], ["title", "message_template_97"], ["updated_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_20@example.jp"], ["encrypted_password", "$2a$04$70iAJMmxfAqoiu5rBUsAGeYkrVTcFf8EUGJf.Bf8sC2mXpnOM2nPi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_20"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:50.940782' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_98' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_98"], ["created_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_98"], ["title", "message_template_98"], ["updated_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_21@example.jp"], ["encrypted_password", "$2a$04$hg33HhpU5EFW.8ABXRPSZ.OYyBOWki8JBa77.isK5tWDtUfAJg99e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_21"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:08:50 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:50.975467' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 3.5ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_99' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_99"], ["created_at", Sat, 17 Dec 2011 21:08:51 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_99"], ["title", "message_template_99"], ["updated_at", Sat, 17 Dec 2011 21:08:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_100@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_100@example.jp"], ["encrypted_password", "$2a$04$qeB6twVJKs86a6CI9kCkkONhDoVaGOPMliEKPwBI5WxGZnGE3bFDq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_100"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:51 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:51 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:51.013859' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_100' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_100"], ["created_at", Sat, 17 Dec 2011 21:08:51 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_100"], ["title", "message_template_100"], ["updated_at", Sat, 17 Dec 2011 21:08:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_101@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_101@example.jp"], ["encrypted_password", "$2a$04$g.RRt6VJkzoWAw50/QvDAOMkDl4UXcNJARvyCGEI1lZ4bHdDYYZmS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:51 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_101"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:51 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:51 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:51.116207' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_101' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_101"], ["created_at", Sat, 17 Dec 2011 21:08:51 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_101"], ["title", "message_template_101"], ["updated_at", Sat, 17 Dec 2011 21:08:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_102' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_102"], ["created_at", Sat, 17 Dec 2011 21:08:51 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_102"], ["title", "message_template_102"], ["updated_at", Sat, 17 Dec 2011 21:08:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms Role Load (0.3ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:52 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_23@example.jp"], ["encrypted_password", "$2a$04$vfVW4BvSFFK4vMSuw1dn8.fwsDgfYUkbqH2QB8IZyg3v4r8GMuWbW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:52 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_23"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:52 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:08:52 UTC +00:00], ["user_id", 12]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:52.450886' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 SOLR Request (5.3ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A12&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (6.0ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A12&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 54ms (Views: 8.0ms | ActiveRecord: 0.4ms | Solr: 11.3ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:52 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_24@example.jp"], ["encrypted_password", "$2a$04$4Aa.jvIzYwIYi9RFoajXXuyzmzk9kUjEeJgyZgiqQfzaL0krCGI9y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:52 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_24"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:52 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:08:52 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:52.569095' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML Parameters: {"user_id"=>"admin_24"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'admin_24' LIMIT 1 SOLR Request (10.3ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A12&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (7.0ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A12&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 29ms (Views: 1.5ms | ActiveRecord: 0.5ms | Solr: 17.3ms) Role Load (2.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:52 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_22@example.jp"], ["encrypted_password", "$2a$04$g7QePii5EgNHsAw0dVR0f.PuR5tJL67L2Q4P.E5nuf3c2FXHMzQv2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:52 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_22"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:52 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:08:52 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:52.630987' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 SOLR Request (3.2ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A12&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (82.8ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A12&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 96ms (Views: 1.5ms | ActiveRecord: 0.3ms | Solr: 86.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:52 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_23@example.jp"], ["encrypted_password", "$2a$04$wkcOeYiMzJ6B5d4mMfmmruB0QTqjSMILD.gGNe5jjPtk961LEMjDG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:52 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_23"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:52 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:08:52 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:52.747746' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML Parameters: {"user_id"=>"librarian_23"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'librarian_23' LIMIT 1 SOLR Request (17.0ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A12&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (9.9ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A12&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 38ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 27.0ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 SOLR Request (9.2ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (4.3ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IN (2) Completed 200 OK in 75ms (Views: 1.7ms | ActiveRecord: 0.5ms | Solr: 13.5ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML Parameters: {"query"=>"you"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 SOLR Request (10.7ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&q=you&fl=%2A+score&qf=body_text+subject_text&defType=dismax&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (27.6ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&q=you&fl=%2A+score&qf=body_text+subject_text&defType=dismax&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Message Load (0.3ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IN (2) Completed 200 OK in 54ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 38.4ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 SOLR Request (20.3ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (6.9ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IN (2) Completed 200 OK in 53ms (Views: 1.6ms | ActiveRecord: 0.5ms | Solr: 27.2ms) Processing by MessagesController#index as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 42ms (Views: 2.1ms | ActiveRecord: 0.6ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 403 Forbidden in 80ms (Views: 1.3ms | ActiveRecord: 0.6ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#show as HTML Parameters: {"id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 3 AND "messages"."id" = ? LIMIT 1 [["id", "2"]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) UPDATE "messages" SET "read_at" = '2011-12-17 21:08:53.160423', "updated_at" = '2011-12-17 21:08:53.160833' WHERE "messages"."id" = 2 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1  (0.5ms) UPDATE "messages" SET "state" = 'read', "updated_at" = '2011-12-17 21:08:53.171173' WHERE "messages"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 36ms (Views: 6.6ms | ActiveRecord: 2.1ms | Solr: 0.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 8ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_25@example.jp"], ["encrypted_password", "$2a$04$fHyMkOdYVWDIdpU37TWi6eZk3BBPGNm1LZryFzBYGkLw4gkoDp6Hu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_25"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:53.238168' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 Completed 200 OK in 15ms (Views: 2.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_24@example.jp"], ["encrypted_password", "$2a$04$wFXT7MrejJuJ6w7KalOSPekx5qh3QY3AouwMzZOuwLv/FTaRoe6nW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_24"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:53.273682' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 Completed 200 OK in 11ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 0.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 58ms (Views: 0.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML Parameters: {"parent_id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML Parameters: {"parent_id"=>"2"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Processing by MessagesController#new as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_26@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_26@example.jp"], ["encrypted_password", "$2a$04$lGhP69be6QulKtZ5xSczreMnj7X2p1.CAJwlUsHQBuSphe5d6rk5S"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_26"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:53.405627' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 12 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 8ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_25@example.jp"], ["encrypted_password", "$2a$04$glIzxbk5bCI1MZ/znc5yte2dsbC7D2IuI1YjAhK4IEUDZGPs6cNO2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_25"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:53.430422' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 13ms (Views: 0.9ms | ActiveRecord: 0.6ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_102@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_102@example.jp"], ["encrypted_password", "$2a$04$uxBK.HH1Lt0lXB..K1iMqOrTr0dhB.eWEW.wU26SJWOWDqpl3TIHq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_102"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:53.470942' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_103@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_103@example.jp"], ["encrypted_password", "$2a$04$clNCYtpXMwE1R08BsRNvJ.lxQsdxfpHinhL/W5H3nA55MvG6YSGKm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_103"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:53.479584' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user_102' LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" ORDER BY "rgt" desc LIMIT 1 SQL (0.8ms) INSERT INTO "messages" ("body", "created_at", "lft", "message_request_id", "parent_id", "read_at", "receiver_id", "rgt", "sender_id", "state", "subject", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "new message body is really short"], ["created_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["lft", 9], ["message_request_id", nil], ["parent_id", nil], ["read_at", nil], ["receiver_id", 12], ["rgt", 10], ["sender_id", 13], ["state", "unread"], ["subject", "new message"], ["updated_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00]] SQL (0.8ms) INSERT INTO "delayed_jobs" ("attempts", "created_at", "failed_at", "handler", "last_error", "locked_at", "locked_by", "priority", "run_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attempts", 0], ["created_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["failed_at", nil], ["handler", "--- !ruby/struct:Delayed::PerformableMailer \nobject: !ruby/class Notifier\nmethod_name: :message_notification\nargs: \n- !ruby/ActiveRecord:Message \n attributes: \n id: 8\n read_at: \n receiver_id: 12\n sender_id: 13\n subject: new message\n body: new message body is really short\n message_request_id: \n state: unread\n parent_id: \n created_at: &id001 2011-12-17 21:08:53.483065 Z\n updated_at: *id001\n lft: 9\n rgt: 10\n"], ["last_error", nil], ["locked_at", nil], ["locked_by", nil], ["priority", 0], ["run_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["updated_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#edit as HTML Parameters: {"id"=>"8"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "8"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_27@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_27@example.jp"], ["encrypted_password", "$2a$04$qssZSTngrfrsYHx2f4vy/ecJrNmNd03.LRowCJ1bje0eAY5z1JTcG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_27"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:53.559165' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user1", "subject"=>"test", "body"=>"test"}, "user_id"=>"user1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user1' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user1' LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" ORDER BY "rgt" desc LIMIT 1 SQL (0.8ms) INSERT INTO "messages" ("body", "created_at", "lft", "message_request_id", "parent_id", "read_at", "receiver_id", "rgt", "sender_id", "state", "subject", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "test"], ["created_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["lft", 9], ["message_request_id", nil], ["parent_id", nil], ["read_at", nil], ["receiver_id", 3], ["rgt", 10], ["sender_id", 12], ["state", "unread"], ["subject", "test"], ["updated_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00]] SQL (0.7ms) INSERT INTO "delayed_jobs" ("attempts", "created_at", "failed_at", "handler", "last_error", "locked_at", "locked_by", "priority", "run_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attempts", 0], ["created_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["failed_at", nil], ["handler", "--- !ruby/struct:Delayed::PerformableMailer \nobject: !ruby/class Notifier\nmethod_name: :message_notification\nargs: \n- !ruby/ActiveRecord:Message \n attributes: \n id: 8\n read_at: \n receiver_id: 3\n sender_id: 12\n subject: test\n body: test\n message_request_id: \n state: unread\n parent_id: \n created_at: &id001 2011-12-17 21:08:53.569629 Z\n updated_at: *id001\n lft: 9\n rgt: 10\n"], ["last_error", nil], ["locked_at", nil], ["locked_by", nil], ["priority", 0], ["run_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["updated_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/messages Completed 302 Found in 13ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_28@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_28@example.jp"], ["encrypted_password", "$2a$04$SesIRWZyUYZaMjuIzePk.eEgRfj4u23nXfkQ2b1lqghJ1RLDcfSXy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_28"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:53.585415' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user1", "subject"=>"test", "body"=>"test"}, "user_id"=>"user1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user1' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user1' LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" ORDER BY "rgt" desc LIMIT 1 SQL (0.8ms) INSERT INTO "messages" ("body", "created_at", "lft", "message_request_id", "parent_id", "read_at", "receiver_id", "rgt", "sender_id", "state", "subject", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "test"], ["created_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["lft", 9], ["message_request_id", nil], ["parent_id", nil], ["read_at", nil], ["receiver_id", 3], ["rgt", 10], ["sender_id", 12], ["state", "unread"], ["subject", "test"], ["updated_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00]] SQL (0.7ms) INSERT INTO "delayed_jobs" ("attempts", "created_at", "failed_at", "handler", "last_error", "locked_at", "locked_by", "priority", "run_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attempts", 0], ["created_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["failed_at", nil], ["handler", "--- !ruby/struct:Delayed::PerformableMailer \nobject: !ruby/class Notifier\nmethod_name: :message_notification\nargs: \n- !ruby/ActiveRecord:Message \n attributes: \n id: 8\n read_at: \n receiver_id: 3\n sender_id: 12\n subject: test\n body: test\n message_request_id: \n state: unread\n parent_id: \n created_at: &id001 2011-12-17 21:08:53.595976 Z\n updated_at: *id001\n lft: 9\n rgt: 10\n"], ["last_error", nil], ["locked_at", nil], ["locked_by", nil], ["priority", 0], ["run_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["updated_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/messages Completed 302 Found in 12ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_29@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_29@example.jp"], ["encrypted_password", "$2a$04$kC2EyUV7/aRSU.d66tU1HO624S72CETrFgYLUlttq5XLkrE4u3Jbu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_29"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:53.611622' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user1", "subject"=>"test", "body"=>""}, "user_id"=>"user1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user1' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 9ms (Views: 0.9ms | ActiveRecord: 0.5ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_30@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_30@example.jp"], ["encrypted_password", "$2a$04$dR/cq6rPzadRgUhYUhgLf.5rzqAO41JndOTw6P05x.t5pF6A2gdYi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_30"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:53.635116' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user1", "subject"=>"test", "body"=>""}, "user_id"=>"user1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user1' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 9ms (Views: 0.9ms | ActiveRecord: 0.4ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test", "parent_id"=>"2"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user2' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user2' LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" ORDER BY "rgt" desc LIMIT 1 SQL (0.7ms) INSERT INTO "messages" ("body", "created_at", "lft", "message_request_id", "parent_id", "read_at", "receiver_id", "rgt", "sender_id", "state", "subject", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "test"], ["created_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["lft", 9], ["message_request_id", nil], ["parent_id", 2], ["read_at", nil], ["receiver_id", 5], ["rgt", 10], ["sender_id", 2], ["state", "unread"], ["subject", "test"], ["updated_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00]] Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? ORDER BY "lft" LIMIT 1 [["id", 2]] Message Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 8]] SQL (0.4ms) UPDATE "messages" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 8 THEN 2 ELSE "parent_id" END WHERE "messages"."id" IN (SELECT "messages"."id" FROM "messages" ORDER BY "lft") Message Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 2]] Message Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/messages Completed 302 Found in 14ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 8ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test", "parent_id"=>"2"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user1", "subject"=>"test", "body"=>"test"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user1", "subject"=>"test", "body"=>"test"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user1", "subject"=>"test", "body"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user1", "subject"=>"test", "body"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_104@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_104@example.jp"], ["encrypted_password", "$2a$04$AyYZS1tKLS/BlExW2g683.zgfpqzQB9WS/P8.sU8QE7ordfQStwWK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_104"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:53.773185' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_105@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_105@example.jp"], ["encrypted_password", "$2a$04$1.eyoVlD0XM3qFHmi7WIsuy9OFh4Qsw53cI2mkHAkkyokeGwXRy8S"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_105"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:53.781721' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_104", "sender_id"=>"13", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 7ms (Views: 0.8ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_106@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_106@example.jp"], ["encrypted_password", "$2a$04$6nU8gi1OFfDo/1LjfQ5sceILBTYhDAYlcQtKUDHyc0XilOTdXZTme"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_106"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:53.801639' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_107@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_107@example.jp"], ["encrypted_password", "$2a$04$WeI9lVd3PL0JVInXqnI5/O/8AduxG/8yZqEMgSwrJOkKtHXtmw4Rq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_107"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:53.810015' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_106", "sender_id"=>"13", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 7ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_108@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_108@example.jp"], ["encrypted_password", "$2a$04$pJh/hfo7UDEh8.zhHFrN7.tV7s2AfuFCGiJ/mF8Z9ngc/LZ0hgSoa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_108"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:53.830793' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_109@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_109@example.jp"], ["encrypted_password", "$2a$04$HVIx5zKORbNMHTov.lb7W.ms4wE1xgpZHyyBG3/rCyn2zO4nk0HNW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_109"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:53.839156' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (37.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 44ms (Views: 1.3ms | ActiveRecord: 37.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_110@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_110@example.jp"], ["encrypted_password", "$2a$04$HkgsFOo3BuKsWCWdcOVWOeI5/qjk0bqKGUt9jg71MkjEHcJlEqC5G"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_110"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:53.896866' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_111@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_111@example.jp"], ["encrypted_password", "$2a$04$kFAPFnpPWTXUlvFtDKfa7OK4wVrRiitSCozm5qJm26PivM3jTUXxi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_111"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:53.904823' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_112@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_112@example.jp"], ["encrypted_password", "$2a$04$ie51487VVDE4Yap0XAXzqeBcVPi66kumLDdsgKx0DxcnI2UPzTgnG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_112"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:53.925094' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_113@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_113@example.jp"], ["encrypted_password", "$2a$04$xBf3I3tD8/RepC28WzQcp.gxo/SRya3zT0gPPa8FORm7Y1ZL8osIu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_113"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:53.933785' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_112", "sender_id"=>"13", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.8ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_114@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_114@example.jp"], ["encrypted_password", "$2a$04$.GUq8rnm640BCnK8zybDGebVENR.k7NYarRNCSXjTecdiDubZ6R96"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_114"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:53.955433' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_115@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_115@example.jp"], ["encrypted_password", "$2a$04$jOej5HTBIc6pOyj87VtM5Or/7sqh1yz.fpsJgodBt1oAjljV7C8Ne"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_115"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:53.964077' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_114", "sender_id"=>"13", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.8ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_116@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_116@example.jp"], ["encrypted_password", "$2a$04$QMOdUyvJLLye60ucIVLIPuV7KD1iAWn75VXqRV2y4ngpHBxuBGj8q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_116"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:53.984237' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_117@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_117@example.jp"], ["encrypted_password", "$2a$04$Be/fVTMa9Nbk66GO3zFZa.PTVN.lZcna2VoqWgUQaNL9D3ws0fqku"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_117"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:53 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:53.992670' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.8ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_118@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (37.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_118@example.jp"], ["encrypted_password", "$2a$04$l/RM9CNKszlMPP60bztFXOIdzwDZkVNGDVp/PnEu9AYmDk6T/wTgS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_118"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:54 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:54 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:54.050501' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_119@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_119@example.jp"], ["encrypted_password", "$2a$04$9Nz6pQf47wEA3F3JVxcZI.jJA5aAnjBuFxt8YutiUTOXoEdrhb.DG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_119"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:54 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:54 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:54.059301' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.8ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_120@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_120@example.jp"], ["encrypted_password", "$2a$04$ee6pQ6HvPy0kxTNoEbMfEehYjTMLhvquugqp4u9d7iTFk2o235cke"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_120"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:54 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:54 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:54.078547' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_121@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_121@example.jp"], ["encrypted_password", "$2a$04$vtyT2hmD5dKEsJOE6ipChO6vi2gohVVXeNO/EeYbcfrJ.Ctrjo1kq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_121"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:54 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:54 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:54.086384' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"2"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_122@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_122@example.jp"], ["encrypted_password", "$2a$04$Xfba6W0HsMkD/7qPGfOjgea5CEwhoxVmpuDXHIEQ9PHHQtmE7gG3W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_122"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:54 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:54 UTC +00:00], ["user_id", 12]]  (0.3ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:54.104735' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_123@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_123@example.jp"], ["encrypted_password", "$2a$04$2S4xzGH4dHlh1VkBRa5CJeHoq9ZroUplSx3GVYSfO2zgXtMSktggm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_123"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:54 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:54 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:54.113065' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_124@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_124@example.jp"], ["encrypted_password", "$2a$04$wTniiCIsWxwcMwmKkZk3ceyoMzV5S5v7sa9AiqZPb4QEp351CbjTS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_124"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:54 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:54 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:54.131585' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_125@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_125@example.jp"], ["encrypted_password", "$2a$04$dYQgNwySF7eL74QV8b5hXe3PSmP7MmWUlBXGt.WR7ThAdIpcW/XCC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_125"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:54 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:54 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:54.142501' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_124", "sender_id"=>"13", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 1.1ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_126@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_126@example.jp"], ["encrypted_password", "$2a$04$SeURV3Dw62B5MhzqnLGSOeRZ4xe1EbOMYCTDciyVybYVMIb29QdFa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_126"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:54 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:54 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:54.162201' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_127@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_127@example.jp"], ["encrypted_password", "$2a$04$OP5WSJ7uygajdk5iPkexouFnrhusN5iUdjeetR3beeLt6/PpZOWea"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_127"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:54 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:54 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:54.209273' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_126", "sender_id"=>"13", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_128@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_128@example.jp"], ["encrypted_password", "$2a$04$.glBKXMCOBHV7DECBe.wU.CBhzw14FjEe2AaoWUQmlpdEkKK57YZq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_128"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:54 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:54 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:54.229327' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_129@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_129@example.jp"], ["encrypted_password", "$2a$04$BeRY504T7Nvst1yAeutqveQH578IRzMafWYmKHmq8p4eNctBnaiD6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_129"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:54 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:54 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:54.238497' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_130@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_130@example.jp"], ["encrypted_password", "$2a$04$D4G8xHpVXZFLzoO0mLa/J.scKrbnYJsUhSsbc6PqK9Y.uGQ3uId3q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_130"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:54 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:54 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:54.266798' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_131@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_131@example.jp"], ["encrypted_password", "$2a$04$gFaiqABm85rUq8D8dcOIgurlQtFfDSDS3ZreZEDNHQMAEw3i3J5Oq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_131"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:54 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:54 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:54.283549' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_132@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_132@example.jp"], ["encrypted_password", "$2a$04$QBgmhkjzRRTvi0An5QmVl.Szoy6LNmqAFNB6mVjXzNO7yrau0mH2G"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_132"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:54 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:54 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:54.315001' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_133@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_133@example.jp"], ["encrypted_password", "$2a$04$QtnxvBm.l4MXP3L8zlLQpOTE4qYm3cpBfTyPiN54/qa0sUApku9Qa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:08:54 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_133"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:08:54 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:08:54 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:08:54.329184' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#destroy as HTML Parameters: {"id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 3 AND "messages"."id" = ? LIMIT 1 [["id", "2"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "messages" WHERE ("lft" > 3 AND "rgt" < 4) SQL (0.4ms) UPDATE "messages" SET "lft" = ("lft" - 2) WHERE "messages"."id" IN (SELECT "messages"."id" FROM "messages" WHERE ("lft" > 4) ORDER BY "lft") SQL (0.5ms) UPDATE "messages" SET "rgt" = ("rgt" - 2) WHERE "messages"."id" IN (SELECT "messages"."id" FROM "messages" WHERE ("rgt" > 4) ORDER BY "lft") SQL (0.2ms) DELETE FROM "messages" WHERE "messages"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/messages Completed 302 Found in 13ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.1ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (69.6ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 77ms LibraryGroup Load (6.0ms) SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]] LibraryGroup Load (0.1ms) SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]] Fixture Delete (0.4ms) DELETE FROM "library_groups" Fixture Insert (0.2ms) INSERT INTO "library_groups" ("id", "name", "display_name", "short_name", "email", "note", "my_networks", "url", "created_at", "updated_at") VALUES (1, 'unknown', 'unknown', 'unknown', 'next-l@library.example.jp', NULL, '0.0.0.0/0', 'http://localhost:3000/', '2011-12-17 21:10:21', '2011-12-17 21:10:21') Fixture Delete (0.1ms) DELETE FROM "message_requests" Fixture Insert (0.2ms) INSERT INTO "message_requests" ("sender_id", "receiver_id", "message_template_id", "state", "created_at", "updated_at", "id") VALUES (1, 1, 1, 'pending', '2011-12-17 21:10:21', '2011-12-17 21:10:21', 980190962) Fixture Insert (0.1ms) INSERT INTO "message_requests" ("sender_id", "receiver_id", "message_template_id", "state", "created_at", "updated_at", "id") VALUES (1, 1, 1, 'pending', '2011-12-17 21:10:21', '2011-12-17 21:10:21', 298486374) Fixture Delete (0.1ms) DELETE FROM "message_templates" Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (1, 'reservation_accepted', 'Reservation accepted', 'Reservation accepted', 1, '2011-12-17 21:10:21', '2011-12-17 21:10:21') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (2, 'item_received', 'Item received', 'Item received', 2, '2011-12-17 21:10:21', '2011-12-17 21:10:21') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (3, 'reservation_expired_for_patron', 'Reservation expired', 'Reservation expired', 3, '2011-12-17 21:10:21', '2011-12-17 21:10:21') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (4, 'reservation_expired_for_library', 'Reservation expired', 'Reservation expired', 4, '2011-12-17 21:10:21', '2011-12-17 21:10:21') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (5, 'reservation_canceled_for_patron', 'Reservation canceled', 'Reservation canceled', 5, '2011-12-17 21:10:21', '2011-12-17 21:10:21') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (6, 'reservation_canceled_for_library', 'Reservation canceled', 'Reservation canceled', 6, '2011-12-17 21:10:21', '2011-12-17 21:10:21') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (7, 'recall_item', 'Recall item', 'Recall item', 7, '2011-12-17 21:10:21', '2011-12-17 21:10:21') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (8, 'recall_overdue_item', 'Recall overdue item', 'Recall overdue item', 8, '2011-12-17 21:10:21', '2011-12-17 21:10:21') Fixture Delete (0.2ms) DELETE FROM "messages" Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "read_at", "state", "lft", "rgt", "updated_at") VALUES (1, 3, 4, 'First Message', 'Abby, you get the first message', '2007-07-04 12:10:47.0', '2011-12-14 21:10:21', 'unread', 1, 2, '2011-12-17 21:10:21') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (2, 4, 3, 'RE: First Message', 'Thanks Dad! You are the coolest!', '2011-12-15 21:10:21', 'unread', 3, 4, '2011-12-17 21:10:21') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (3, 3, 4, 'Second Message', 'Catie, you get the 2nd message', '2011-12-16 21:10:21', 'unread', 5, 6, '2011-12-17 21:10:21') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (6, 4, 5, 'Dad!', 'He is sucha dork.', '2011-12-15 21:10:21', 'unread', 7, 8, '2011-12-17 21:10:21') Fixture Delete (1.5ms) DELETE FROM "roles" Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Guest', 'Guest', 1, NULL, '2011-12-17 21:10:21', '2011-12-17 21:10:21') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('User', 'User', 2, NULL, '2011-12-17 21:10:21', '2011-12-17 21:10:21') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Librarian', 'Librarian', 3, NULL, '2011-12-17 21:10:21', '2011-12-17 21:10:21') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Administrator', 'Administrator', 4, NULL, '2011-12-17 21:10:21', '2011-12-17 21:10:21') Fixture Delete (0.1ms) DELETE FROM "user_groups" Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('(not specified)', '(not specified)', '2007-12-13 12:00:51.564542', 1, '', '2007-12-13 12:00:01.674976', 1) Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('User', 'User', '2007-12-22 18:14:56.836548', 2, '', '2007-12-22 18:14:40.173954', 2) Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('Faculty', 'Faculty', '2007-12-22 18:15:05.134351', 3, '', '2007-12-22 18:15:05.126457', 3) Fixture Delete (0.1ms) DELETE FROM "user_has_roles" Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (1, 4, '2011-12-17 21:10:21', '2011-12-17 21:10:21', 135138680) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (2, 3, '2011-12-17 21:10:21', '2011-12-17 21:10:21', 344583537) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (3, 2, '2011-12-17 21:10:21', '2011-12-17 21:10:21', 206669143) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (4, 3, '2011-12-17 21:10:21', '2011-12-17 21:10:21', 226540757) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (5, 2, '2011-12-17 21:10:21', '2011-12-17 21:10:21', 358143215) Fixture Insert (0.5ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (6, 2, '2011-12-17 21:10:21', '2011-12-17 21:10:21', 576709754) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (7, 2, '2011-12-17 21:10:21', '2011-12-17 21:10:21', 1010528733) Fixture Delete (0.2ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:16:30.163731', '$2a$10$vHohD1WflnTIqAa8zMkF9evwAgIZRw3XuR4d3bi29M.jph/MB/AJi', 2, 1, NULL, 'admin', 'tanabe@kamata.lib.teu.ac.jp', '2007-11-19 07:58:32.111941', 4) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 03:41:16.337474', '$2a$10$9O2VuTccN4gHq36ARg0QReSrb1D7WrBBhZZ759RM9moHbB0W5zCzS', 1, 2, NULL, 'librarian1', 'librarian1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:33.172441', 1) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', '$2a$10$JthS59A0BNkDOoFpCXM0V.GhhffKaoWKbzpPahYp/vTFrOyM7h/uW', 1, 3, NULL, 'user1', 'user1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:23.340575', '$2a$10$YmmTGrYQ1Ir6oc7wXnp.GuNeO1eYLoP3sv8wMSIrTdaGw2BPwRrpS', 1, 4, NULL, 'librarian2', '2008-01-18 03:24:04.222344', 1) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:44.711117', '$2a$10$i7UjJhLVrJM/J7qaTwW39OXw1NiwowUEbtNHVDV0sqMLjX9.UO9ca', 1, 5, NULL, 'user2', '2008-01-18 04:29:06.922728', 2) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 6, NULL, 'user3', 'user3@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 7, NULL, 'user4', 'user4@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_1@example.jp"], ["encrypted_password", "$2a$04$og4WY3jjO1u2.KXLNZfBzOeKPiD1D7QRsQxd8VZQrkEdFC611l3wW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_1"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["user_id", 12]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:22.217596' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Rendered /Users/kosuke/enju_message/app/views/message_requests/index.html.erb within layouts/application (4.3ms) Completed 200 OK in 99ms (Views: 79.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_1@example.jp"], ["encrypted_password", "$2a$04$qlEKzDishPyS1jbgf/v.J.fe8yXzTM8X5JcDz2Om5DvHW.UjvQuQ2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_1"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:22.358345' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 200 OK in 16ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_1@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_1@example.jp"], ["encrypted_password", "$2a$04$nXlsJvkA0GTBSaPAGxzpj.uWfrMyLVKkr1Z4.pK0tR1K1HO1jnFvW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_1"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:22.395703' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "message_requests" WHERE ('t'='f') Processing by MessageRequestsController#index as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 15ms  (0.1ms) SELECT COUNT(*) FROM "message_requests" WHERE ('t'='f') Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_2@example.jp"], ["encrypted_password", "$2a$04$kpQcXWAgQPhOOxki9ak0/OaLbIOgYMdqz6KNOXUm1exBAm2osN1IK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_2"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:22.448351' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_2@example.jp"], ["encrypted_password", "$2a$04$H5pgGI86EDV8.6YSHlpQPu/IjR7/B6R.xnbgCI7EX0hB16Z07Bpfa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_2"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:22.461275' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_3@example.jp"], ["encrypted_password", "$2a$04$7KI/tTavCset0IAH65AtTutdB3iB0.sKzR5ciX4rEu7vSLT//7Drq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_3"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:22.533389' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_1' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_1"], ["created_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_1"], ["title", "message_template_1"], ["updated_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_1' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 14], ["sender_id", 13], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.2ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 200 OK in 15ms (Views: 6.6ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_2@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_2@example.jp"], ["encrypted_password", "$2a$04$89u6memaiZaJeE1Z1nMWUOhoMpUVt2zfYU/6adDeGAJUBNO.i8g3W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_2"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:22.596829' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_4@example.jp"], ["encrypted_password", "$2a$04$tMVSPv.maB/QoGATYcwBy.Di/vMFfCGpnKGotLOPa4oUfzVsxLfme"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_4"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["user_id", 13]]  (2.4ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:22.611521' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_5@example.jp"], ["encrypted_password", "$2a$04$i9gHwfpF07pZY37IaIAfNephyJLPHFxiC5iGz4wdF.TLeJBOJGXk2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_5"]] SQL (1.9ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:22.630066' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_2' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_2"], ["created_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_2"], ["title", "message_template_2"], ["updated_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_2' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 14], ["sender_id", 13], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 200 OK in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_6@example.jp"], ["encrypted_password", "$2a$04$.bMYI2ShkRSx9DXtcUWY2eL1HaQ2J7nePPGWYEM4usUzW8ArKj6Lq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_6"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:22.674991' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_7@example.jp"], ["encrypted_password", "$2a$04$ghKJ60Ys.VqjzOOB8zHoIefTg2rjnQNvWl1X6R5ZACklAT/EYCbym"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_7"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:22.688848' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_8@example.jp"], ["encrypted_password", "$2a$04$c1TIZfa4cgTxKcELtCugE.4fY1zhqMyRqHA97dHxWBePGWRsuCGOO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_8"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:22.703325' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_3' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_3"], ["created_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_3"], ["title", "message_template_3"], ["updated_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_3' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 14], ["sender_id", 13], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 13ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_9@example.jp"], ["encrypted_password", "$2a$04$hnDdVCdu2E41hFbYUrakVujX7DWeNa6p1Sek5E8O9uXk4aUINZDku"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_9"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:22.803360' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_10@example.jp"], ["encrypted_password", "$2a$04$HTZtBmrLkciDLsBzBHhAaeCGYhSTcFamkGf7fdS2OBdPsh2kvAV4u"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_10"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["user_id", 13]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:22.817008' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_4' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_4"], ["created_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_4"], ["title", "message_template_4"], ["updated_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_4' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 8ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_3@example.jp"], ["encrypted_password", "$2a$04$QVfhcrwF0U9oyZ3GJoPy1OXDhSqIpJQ90u0PZ.y5Jm9argD7rFFAe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_3"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:22.859829' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_11@example.jp"], ["encrypted_password", "$2a$04$pEY6HASgodHx8i9fGLN/CO9FBq4LzCmkUcKlNrfJ0nrg36XAih3Q2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_11"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["user_id", 13]]  (0.7ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:22.885625' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_12@example.jp"], ["encrypted_password", "$2a$04$V.1Xydav/oyyolQdwAYooeAtdyhqkIWwS7pEyQ1/ywjEyGrjU5r7a"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_12"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:22.898728' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.9ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_5' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_5"], ["created_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_5"], ["title", "message_template_5"], ["updated_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_5' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.6ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 14], ["sender_id", 13], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 12ms (Views: 2.7ms | ActiveRecord: 0.6ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_3@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_3@example.jp"], ["encrypted_password", "$2a$04$cr0mxDtjWo2IE/B9ucB6vew/Ai5GobeSHgJrQoEWXrk2GBSAO6kYm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_3"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:22.941412' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_13@example.jp"], ["encrypted_password", "$2a$04$ozUdvfwUGRvORLPtIZ41iOQUy8hoMA/Jt2lc63EAsNqvraGtPWM6."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_13"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:22.954576' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_14@example.jp"], ["encrypted_password", "$2a$04$0qIkJADXCUqxkCLp/fG0J.VNK9q0uuxdWClHnlxEuhcT7qKllbC2u"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_14"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:22.966928' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_6' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_6"], ["created_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_6"], ["title", "message_template_6"], ["updated_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_6' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.6ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 14], ["sender_id", 13], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:10:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 10ms (Views: 1.4ms | ActiveRecord: 0.6ms | Solr: 0.0ms) Role Load (1.4ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_15@example.jp"], ["encrypted_password", "$2a$04$t91f8.VJnoGlJFCdgVFtLugmLuqmXRIA3Y3G1DIdFLy86VarH1eC2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_15"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:23.009203' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_16@example.jp"], ["encrypted_password", "$2a$04$gCGT6zGgSe0AlxTTtWmhJu/Fc/r.FZitofmo6cJQJs/dzxN.mFIlm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_16"]] SQL (0.4ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:23.080845' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.5ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_17@example.jp"], ["encrypted_password", "$2a$04$Wzo2i11A0rT5km2YyYiDQeszup6o7F30fIhSKsOHsTblLT1bFVB3y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_17"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:23.095129' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_7' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_7"], ["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_7"], ["title", "message_template_7"], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_7' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 14], ["sender_id", 13], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_18@example.jp"], ["encrypted_password", "$2a$04$BJEryHZDd6bzstrZaFBQj.MIAgMW/PDKWEElZ9YFWuHBoIguKCMjm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_18"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:23.138283' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (2.5ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_19@example.jp"], ["encrypted_password", "$2a$04$3FtMAdwJL2Dcyr9gDmctx.F63OdA6CMHz..zdZALji0NpGi.nN5tC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_19"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:23.154117' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_8' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_8"], ["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_8"], ["title", "message_template_8"], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_8' AND "message_templates"."id" != 9) LIMIT 1 SQL (1.6ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_20@example.jp"], ["encrypted_password", "$2a$04$oaFd.OJ.158f8uW4MHXyOOnhC6rZdY/6J0k3cz5Gh2ahDJQxWUR4O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_20"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:23.191791' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_21@example.jp"], ["encrypted_password", "$2a$04$NEJ6A7mzrNBAka2IXP1jg.ZEVaVG11TDTr3a95NzVTrmR8Tyv0z0m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_21"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:23.206870' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_9' LIMIT 1 SQL (1.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_9"], ["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_9"], ["title", "message_template_9"], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_9' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_22@example.jp"], ["encrypted_password", "$2a$04$UkG2NO9DjFp2vGMOX1HUb.JC3e/hDE0YByp5VX/Q6zaHGwpa9ImEK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_22"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:23.240415' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_23@example.jp"], ["encrypted_password", "$2a$04$GvNU0Lnqc66uW7gSV96dx.egTJStTO3ijtD83tz4aM00CpJX9Wzh6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_23"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:23.256449' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_10' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_10"], ["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_10"], ["title", "message_template_10"], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_4@example.jp"], ["encrypted_password", "$2a$04$7kQMdSFstPX2vI3VimGTZe89fSzWGZgTb6mUQuyCujNR.h6.zUAbO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_4"]] SQL (3.5ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:23.276926' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"14", "receiver_id"=>"15", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 15 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_10' AND "message_templates"."id" != 10) LIMIT 1  (0.3ms) UPDATE "message_requests" SET "sender_id" = 14, "receiver_id" = 15, "message_template_id" = 10, "updated_at" = '2011-12-17 21:10:23.296182' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 20ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_24@example.jp"], ["encrypted_password", "$2a$04$hSZV9.9GCQyVnp2kRYG8Oue7aG4hjXbRYEUbpKjeWa7toHaOwNdui"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_24"]] SQL (59.0ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:23.378606' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_25@example.jp"], ["encrypted_password", "$2a$04$87sYFRR8MDeXsKxlXeiFYudhjsbPydviuc2l/1Lv7jq6sEFpgVpqK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_25"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:23.393960' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_11' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_11"], ["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_11"], ["title", "message_template_11"], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_11' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_26@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_26@example.jp"], ["encrypted_password", "$2a$04$UFJRC0VNXmq.PguHEi1VP.Qy9JsESyg2SQif1xZtQ9HLLGK1oMEzS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_26"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:23.417885' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_27@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_27@example.jp"], ["encrypted_password", "$2a$04$EhKMB0A96SGylQOrV0RNcOCO6lfcz1neuP10ufmqJroSQNf.1XX6e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_27"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:23.430412' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_12' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_12"], ["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_12"], ["title", "message_template_12"], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_5@example.jp"], ["encrypted_password", "$2a$04$pIYS02ss3OBgLmBLSQOncO9jqJb0PvhgHfCdBpC.7sbikV0ITw1cO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_5"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:23.446822' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"14", "receiver_id"=>"15", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 15 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_12' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 14, "receiver_id" = 15, "message_template_id" = 10, "updated_at" = '2011-12-17 21:10:23.469049' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 22ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_28@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_28@example.jp"], ["encrypted_password", "$2a$04$KW9zvGzZNQcqPdG8/1P9HeBF63EYxljR3tLSYkpF9pPOdmWco0IR2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_28"]] SQL (0.4ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["user_id", 12]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:23.497865' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.2ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_29@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_29@example.jp"], ["encrypted_password", "$2a$04$1gIG2vv.pQENYsSSz/F0ROI.H31ag9s3RwGNwdOpUJzxmmRDwqGXu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_29"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["user_id", 13]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:23.515637' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_13' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_13"], ["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_13"], ["title", "message_template_13"], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_13' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_30@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_30@example.jp"], ["encrypted_password", "$2a$04$jI33WuGVMGfXPCLBoGZE/u4wN860FLYwx5cIRA1jMFHDR12d7jHBu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_30"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:23.542586' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_31@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_31@example.jp"], ["encrypted_password", "$2a$04$6yFysKS8H1kF6D4QvgJ0X.QsSgJScr21dZjm3ZW2yTEKZPrnLXNra"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_31"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:23.554769' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_14' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_14"], ["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_14"], ["title", "message_template_14"], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_6@example.jp"], ["encrypted_password", "$2a$04$0ffGN6Itp5OHv5nKE1D0gOmRszfENVqO6Yo5/v53/uMbwqSN9gSc."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_6"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:23.566868' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_13' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 12ms (Views: 0.9ms | ActiveRecord: 0.8ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_32@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (40.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_32@example.jp"], ["encrypted_password", "$2a$04$4vM9km35CUGt7kx1ZFarD.FcGqGvJx/NTRcjRhUq/O67/bfQjqDVq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_32"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:23.635408' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_33@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_33@example.jp"], ["encrypted_password", "$2a$04$KFB6f2pZzigfcza6jNbjBeBhrxY.eM9uzWJi6bAb4DbNfr9NakzFS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_33"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:23.645938' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_15' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_15"], ["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_15"], ["title", "message_template_15"], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_15' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_34@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_34@example.jp"], ["encrypted_password", "$2a$04$/mj0Bvmh6af5eRfKQsvat.S5ho5O9Ixr7cLmBhJBU07S1UczCrXFq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_34"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:23.660414' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_35@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_35@example.jp"], ["encrypted_password", "$2a$04$gRZaLIR8pFl89nzc1dej9OQJwVCliM0Dv5Nw9mrfxXxkky3bhFuTK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_35"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:23.667778' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_16' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_16"], ["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_16"], ["title", "message_template_16"], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_4@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_4@example.jp"], ["encrypted_password", "$2a$04$NhHcKO5vaTDKZwKmV/Pf4.7qvZpDJeatIs0okKbk.jjo.XlSMDbBu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_4"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:23.678038' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"14", "receiver_id"=>"15", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 15 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_16' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 14, "receiver_id" = 15, "message_template_id" = 10, "updated_at" = '2011-12-17 21:10:23.688278' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 10ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_36@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_36@example.jp"], ["encrypted_password", "$2a$04$8wNL90XTZihjAV1LHPQ4x.jW093qhraS8QCV7ZPgpCCPrtcFiZLhK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_36"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:23.699862' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_37@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_37@example.jp"], ["encrypted_password", "$2a$04$rWQe.JCRw6VNnY1IPt1PBORMdpHbd4u11YV2CY0dMb6NkphNgeii2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_37"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:23.708262' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_17' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_17"], ["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_17"], ["title", "message_template_17"], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_17' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_38@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_38@example.jp"], ["encrypted_password", "$2a$04$RJeKpZp0c/tqrkCfDvSsZ.icURlOWZQA7rUYKZSLZrqtpmV2BBWEu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_38"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:23.723006' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_39@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_39@example.jp"], ["encrypted_password", "$2a$04$.sYZQ/0dKmCgAQxvj6303ezfEr8Z/xjEMPyJnGdx2SdIOanPICQhK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_39"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:23.730708' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_18' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_18"], ["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_18"], ["title", "message_template_18"], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_5@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_5@example.jp"], ["encrypted_password", "$2a$04$9n.XgldPKg1je/Om5tdD6OJVWsu.tmPiBhUjRq1wgWuIMNUwFoCyW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_5"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:23.741183' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"14", "receiver_id"=>"15", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 15 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_18' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 14, "receiver_id" = 15, "message_template_id" = 10, "updated_at" = '2011-12-17 21:10:23.751649' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 10ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_40@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_40@example.jp"], ["encrypted_password", "$2a$04$ZUv1BDgEY264Wfit97MYG.P6PeaOzkLb/YXvX4x3hEvTliGAhwMdW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_40"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:23.799544' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_41@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_41@example.jp"], ["encrypted_password", "$2a$04$Mzu5ci/KfzVLxQjvbRjanenf7xLFgS23UJy02mPGXNkX/IDMNIRRO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_41"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:23.809053' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_19' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_19"], ["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_19"], ["title", "message_template_19"], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_19' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_42@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_42@example.jp"], ["encrypted_password", "$2a$04$Z8tNFF/eL6p.D0f8JH.yhu.BEAosi.PWIEwlP5yN6b4NQxASIgyRO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_42"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:23.823630' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_43@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_43@example.jp"], ["encrypted_password", "$2a$04$PdL8L8DAf/fIyg.vqRpx.u.VXrNF7eljuF6zsJS2YLyi8kKLxqBVW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_43"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:23.831400' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_20' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_20"], ["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_20"], ["title", "message_template_20"], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_6@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_6@example.jp"], ["encrypted_password", "$2a$04$CSZ8Z6Fub03wGLXTRpS4IexkeobxzD7LGRYb2hf51fLX/f1jwS0Ri"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_6"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:23.842409' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_19' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 10ms (Views: 0.8ms | ActiveRecord: 0.6ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_44@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_44@example.jp"], ["encrypted_password", "$2a$04$y2IrilFKLE/CBw8D8SMjuOd6Tg/CzXHczhCt/7V3ELXeBJPy8fUYq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_44"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:23.867167' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_45@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_45@example.jp"], ["encrypted_password", "$2a$04$aQRpg85TicU5s7zgy4GKsuF4MpHdz7TNs0AwAROv7N7yUNl7X4XIq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_45"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:23.877425' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_21' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_21"], ["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_21"], ["title", "message_template_21"], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_21' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_46@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_46@example.jp"], ["encrypted_password", "$2a$04$T0AoZ7XuMOVATIne1E1TDeY3IeqCJAu.B1kaZGysTRaws55M6UF7q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_46"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:23.892076' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_47@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_47@example.jp"], ["encrypted_password", "$2a$04$fj62.nmHKFkg.xBNqBNCJ.31cFeeuGWCU2YgsFMFUZOf9yq2NhgWm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_47"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:23.900088' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_22' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_22"], ["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_22"], ["title", "message_template_22"], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_48@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_48@example.jp"], ["encrypted_password", "$2a$04$HNm4.00zU2vrx4ouc.wKuey2JlTGhvwutks24oPWa7bjktZYGH7E."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_48"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:23.911288' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"14", "receiver_id"=>"15", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (33.4ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_49@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_49@example.jp"], ["encrypted_password", "$2a$04$SMug8QkFSY70wl7ipV6ovOAE/ymJSugmDqlrDojVh66Vjt.5gYX4q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_49"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:23.962831' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_50@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_50@example.jp"], ["encrypted_password", "$2a$04$hN0.dEAqyG0fGHMi6RzoYuIgKJSUIpeP/Avz//mlu6iXXwUHFmSY."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_50"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:23.971931' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_23' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_23"], ["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_23"], ["title", "message_template_23"], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_23' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_51@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_51@example.jp"], ["encrypted_password", "$2a$04$hVA/vxxkAeOmGheRFmNXoOjeKHBs4iB6C5n7EtQWS6Ijpny56DrKW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_51"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:23.985979' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_52@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_52@example.jp"], ["encrypted_password", "$2a$04$F0CYgg3Uh7u8rJffM92AV.wmEkczafnjqBOduaaUcEl6yESY65.Ei"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_52"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:23.993356' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_24' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_24"], ["created_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_24"], ["title", "message_template_24"], ["updated_at", Sat, 17 Dec 2011 21:10:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_53@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_53@example.jp"], ["encrypted_password", "$2a$04$9.BPrCNDeiWIyAu2kdt.a.TJFJNtou8NxGTfjkDTEJhNuoD6ueskq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_53"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:24.003554' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"14", "receiver_id"=>"15", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.7ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_54@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_54@example.jp"], ["encrypted_password", "$2a$04$GpbimOO19ACQ/fNRiuH9beXwV3bV524Q7SnwX0bdgw1gu/hOZcY1y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_54"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:24.020910' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_55@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_55@example.jp"], ["encrypted_password", "$2a$04$9.pTpd4p05/Juv16l.cd/uwvXOvbNmJXUzUKK.IBDhwmKvz/q7R/."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_55"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:24.028919' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_25' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_25"], ["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_25"], ["title", "message_template_25"], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_25' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_56@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_56@example.jp"], ["encrypted_password", "$2a$04$Nai4C4miotUOQs7kEPuPOuDEcTXRYZvOc/yV1p/GiXM3AJIOUOWVe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_56"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:24.043573' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_57@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_57@example.jp"], ["encrypted_password", "$2a$04$virPJrrV.cNXjRO8tjPZo.wfYmtIxpLunOgtuR3LT1fnusPOfyWM2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_57"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:24.051184' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_26' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_26"], ["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_26"], ["title", "message_template_26"], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_58@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_58@example.jp"], ["encrypted_password", "$2a$04$kd05H/vt9Uj2c00wcu49cO4zZbKWhz0BQas4kWXtvDvcHzcOjp7iK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_58"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:24.061213' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_59@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (34.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_59@example.jp"], ["encrypted_password", "$2a$04$n7TbVReOSV6yTjRhTlFNm.AgYA73eBPZTvI9aZ3E9HIazlMHUTM6O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_59"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:24.112374' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_60@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_60@example.jp"], ["encrypted_password", "$2a$04$RwIVERelDv/EFaEHyhTgw.VCBiDBq0.TzdDi.3rUSQW8kCTWHbb.."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_60"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:24.121125' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_27' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_27"], ["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_27"], ["title", "message_template_27"], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_27' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_61@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_61@example.jp"], ["encrypted_password", "$2a$04$l4mQtG7T68UB9mmsKC202uVAPFuHnwg8bOCfCuqQxwValhWZw8dSi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_61"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:24.135145' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_62@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_62@example.jp"], ["encrypted_password", "$2a$04$2JdvV8l9t61KXDGoLO//n.TCD7GS7BhPlWhEf/M13jjQLhH1N2mCa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_62"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:24.142838' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_28' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_28"], ["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_28"], ["title", "message_template_28"], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"14", "receiver_id"=>"15", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_63@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_63@example.jp"], ["encrypted_password", "$2a$04$bmXYMwehOVU1jvfinUtXL.wgBArmN.Xzhi7/tQL8KXjMkXZkJvzga"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_63"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:24.160405' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_64@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_64@example.jp"], ["encrypted_password", "$2a$04$Tn7jqBqsb30N7h7w8zFdMeOK7fyfyKkxF3C0hkWap2RNwjpmZkVz."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_64"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:24.169660' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_29' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_29"], ["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_29"], ["title", "message_template_29"], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_29' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_65@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_65@example.jp"], ["encrypted_password", "$2a$04$TaOttyHt/aYHnUns9bdi2u/dQWRzuyhdWXaimzmbeF7OcCbbbSGMS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_65"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:24.183598' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_66@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_66@example.jp"], ["encrypted_password", "$2a$04$u8PNSWGxIFI883GqqjWbn.E2iufqoEjYdECzTJXItriYmA8mAn5LK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_66"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:24.191126' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_30' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_30"], ["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_30"], ["title", "message_template_30"], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"14", "receiver_id"=>"15", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_67@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_67@example.jp"], ["encrypted_password", "$2a$04$Fz.kl90D0wamufXNhvKJ8uF9nyjvxaz7xUKYrrlUk8jvOXxV.R6.e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_67"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:24.209882' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_68@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_68@example.jp"], ["encrypted_password", "$2a$04$lV0l.32vR2kQx58oFtHTJeleL/4Xrn9mkaXPa9Fud2J42XXxhgh2W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_68"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:24.217611' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_31' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_31"], ["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_31"], ["title", "message_template_31"], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_31' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_69@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_69@example.jp"], ["encrypted_password", "$2a$04$Nwws50qoZFyiSAceG366suUVtuq9tEqGmhG83s9lMQ60lp9Z08Is."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_69"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:24.265866' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_70@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_70@example.jp"], ["encrypted_password", "$2a$04$o.baLHCam./apDRsVvylf.vTi7TjkcCxw/0V4U8gbv0PV.JGczDnS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_70"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:24.273507' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_32' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_32"], ["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_32"], ["title", "message_template_32"], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 5ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_71@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_71@example.jp"], ["encrypted_password", "$2a$04$T58haCjXNUoyCon.nIRnbO12iQNjP.dDRRLJLxGZdOxxxKi.ho3hy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_71"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:24.292905' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_72@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_72@example.jp"], ["encrypted_password", "$2a$04$W8oVd0UDHB05GLpV2AK6dOFeQvaNdTW1mF3fG18tk/iDo/NKq0GNy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_72"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:24.300870' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_33' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_33"], ["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_33"], ["title", "message_template_33"], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_33' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_7@example.jp"], ["encrypted_password", "$2a$04$QYpnaJvDHbotqOuibWsOi.qAHftJFdCniZOswM5s2jUmVq8YkOtTq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_7"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:24.315457' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 6ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_73@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_73@example.jp"], ["encrypted_password", "$2a$04$XfH5330KXaLoplkf1foUcuwKYxQM3YRfAjUpLdA.t9MJUUIv6vnxq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_73"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:24.332568' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_74@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_74@example.jp"], ["encrypted_password", "$2a$04$GRHiC67WY2NYhtmNkom7cuQ57eNXAnDojKM4oy9FIOv1gn4EkiEaG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_74"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:24.340781' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_34' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_34"], ["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_34"], ["title", "message_template_34"], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_34' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_8@example.jp"], ["encrypted_password", "$2a$04$dngNvyw3H6uGqS/i2zlAQ.Tak34j1q1ghOk9XjbbUO.7pW1xRtRJ2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_8"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:24.354537' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 5ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_75@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_75@example.jp"], ["encrypted_password", "$2a$04$NidbNZs4ODsXdiM9zHJP0.Zrl7OEtGrpdwNKQl2DreAcoxdRd9zBy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_75"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:24.372658' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_76@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (34.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_76@example.jp"], ["encrypted_password", "$2a$04$Zc.aZu/RIuIF29y8HatMQ./8lQccmdFp.nCHhJ2O0DXpdr8h7j6oG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_76"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:24.414627' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_35' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_35"], ["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_35"], ["title", "message_template_35"], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_35' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_7@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_7@example.jp"], ["encrypted_password", "$2a$04$cyNsWvpA/P6n.V5n4aqYw.D0SS4fBgUKDXy3bZSgNRQ8lhbrpQiXC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_7"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:24.428905' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 6ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_77@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_77@example.jp"], ["encrypted_password", "$2a$04$uMP6Qtkyie8ozU3NVMVk0u.NwwiJH4VDjVXq6AkLHKQ6oq1TV82Le"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_77"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:24.446266' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_78@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_78@example.jp"], ["encrypted_password", "$2a$04$ImhxbOhC7Plez5VNRmBKbOWeAWjF3wGcBHwoJ/xgTKC0Vt7PpOlk2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_78"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:24.454638' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_36' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_36"], ["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_36"], ["title", "message_template_36"], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_36' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_8@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_8@example.jp"], ["encrypted_password", "$2a$04$ophdPloqItZSRmP1Sx/SOeaUbmqC4jVZWTy1gV37hutqbqoNd5Uoi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_8"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:24.469643' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 6ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_79@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_79@example.jp"], ["encrypted_password", "$2a$04$7BHc.jWUlVpaVZJPvQrP8eGUWNYlKqJkfaM5FRA40tT5LlMuLMZnW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_79"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:24.487370' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_80@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_80@example.jp"], ["encrypted_password", "$2a$04$629jrXqg35lP70Guj9n6leL3/d.48Ahq1vxpozpiO8bu6trUbxeaO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_80"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:24.495584' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_37' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_37"], ["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_37"], ["title", "message_template_37"], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_37' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_81@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_81@example.jp"], ["encrypted_password", "$2a$04$5oXo6p6zkuFJ.uVkHtvuGu/WZmTNFLhVr4aqr5pSRR6pTrKI4jJT2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_81"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:24.510907' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_82@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_82@example.jp"], ["encrypted_password", "$2a$04$7LBB2o8BIjNvXCx/vcFGFOfXwD6k4Q6/foG5RJjX4xKzSosWluve2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_82"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:24.529037' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_83@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_83@example.jp"], ["encrypted_password", "$2a$04$3rm37mwr/sL/3r3TYo5vZ.pSp60jD8Q6oAaTjEBkl74pYuUwSOXFq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_83"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:24.537521' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_38' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_38"], ["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_38"], ["title", "message_template_38"], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_38' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_84@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_84@example.jp"], ["encrypted_password", "$2a$04$Pu8lezSlmc32o700uWYH1.TKQzwJ3c.7uQZ.YhXh3QROQaszncLaO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_84"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:24.596581' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.0ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_85@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_85@example.jp"], ["encrypted_password", "$2a$04$fcpGEvdAzADEE1IHQFX0K.057c/GyZyZsngMORaW79NiTnRvm6ibS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_85"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:24.621355' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_86@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_86@example.jp"], ["encrypted_password", "$2a$04$aaR2SwQlHkdhGNq1hi6GEO6zxO1gOrkXE0kdg4is/JUclIsf0ki76"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_86"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:24.633747' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_39' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_39"], ["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_39"], ["title", "message_template_39"], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_39' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_87@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_87@example.jp"], ["encrypted_password", "$2a$04$GiAX5OKZ26AI4T5tJ9Mv9ezC0eTZIgbqmlemgSttwJd8KZdp0Qsfq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_87"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:24.671666' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_88@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_88@example.jp"], ["encrypted_password", "$2a$04$mVm2qcaZlSR7ujXfbQdswu9CgviEfbaLkZrmw5QJLjd7UbunTooVa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_88"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:24.685250' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_40' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_40"], ["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_40"], ["title", "message_template_40"], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_40' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_41' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_41"], ["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_41"], ["title", "message_template_41"], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_9@example.jp"], ["encrypted_password", "$2a$04$XhF5hk9CcRvTIbg9q65nSOrjBIwPHwbKx8CeGLgPnBSCDLCcqsVJi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_9"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:24.726764' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 200 OK in 14ms (Views: 5.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position LIMIT 10 OFFSET 0  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_42' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_42"], ["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_42"], ["title", "message_template_42"], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_9@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_9@example.jp"], ["encrypted_password", "$2a$04$r0fwUa5i8VoeDlb5sLYHzOepZfwP7Y88RdpuTM/uNP2islnXXWZxC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_9"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:24.767032' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 200 OK in 9ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position LIMIT 10 OFFSET 0  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_43' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_43"], ["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_43"], ["title", "message_template_43"], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_89@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (61.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_89@example.jp"], ["encrypted_password", "$2a$04$6rh32Qe4XxKpEWBUBr.n..1Ay3xxWb9oDOvcVp4OiGOVo6nYWZtsm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_89"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:24.860996' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "message_templates" WHERE ('t'='f')  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_44' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_44"], ["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_44"], ["title", "message_template_44"], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms  (0.1ms) SELECT COUNT(*) FROM "message_templates" WHERE ('t'='f') Role Load (0.4ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_10@example.jp"], ["encrypted_password", "$2a$04$CTkc8CvY1WaOTXbhgBtJY.8SF8J0jcAbLJvEH1AsQtq16JyAWATeG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_10"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:24.917734' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_45' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_45"], ["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_45"], ["title", "message_template_45"], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 200 OK in 12ms (Views: 3.2ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_10@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_10@example.jp"], ["encrypted_password", "$2a$04$NqZIRGT6qtVB79of9SExy.ZchkkoMFNokNDYJwOtvRvt4Cq0xNlym"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_10"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:24.954776' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_46' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_46"], ["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_46"], ["title", "message_template_46"], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 200 OK in 10ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_90@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_90@example.jp"], ["encrypted_password", "$2a$04$qmgDXBnMMckc91vUznd8C.eyMl2iKeW8SMnyRtna5/KaCSILeV94S"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_90"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["user_id", 12]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:24.989797' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_47' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_47"], ["created_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_47"], ["title", "message_template_47"], ["updated_at", Sat, 17 Dec 2011 21:10:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_48' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_48"], ["created_at", Sat, 17 Dec 2011 21:10:25 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_48"], ["title", "message_template_48"], ["updated_at", Sat, 17 Dec 2011 21:10:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_11@example.jp"], ["encrypted_password", "$2a$04$KRUGaUUgekPcuBzUtlhIiuRP4k0D1VkdvvzKKG1TU7bP1RViBMOOO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_11"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:25 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:10:25 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:25.146807' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.4ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_11@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_11@example.jp"], ["encrypted_password", "$2a$04$LS.5zRX6nQjw/RlYcaJQSe36pztuHglZBh4a93iCrn27bevx9V.MK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_11"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:25 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:10:25 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:25.306670' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_91@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (62.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_91@example.jp"], ["encrypted_password", "$2a$04$6LQbncfYiVl2K3AlEIH4euwPyvyP4i3HsTXU5ejTb87JqhQ8kK/.C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_91"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:25 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:25 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:25.421924' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.5ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Processing by MessageTemplatesController#new as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_12@example.jp"], ["encrypted_password", "$2a$04$g1V/bOJvBLDXtfCiEFDfauquhguJl.mtTwaUnzd0bQK8C63uTvyv2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_12"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:25 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:10:25 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:25.477697' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_49' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_49"], ["created_at", Sat, 17 Dec 2011 21:10:25 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_49"], ["title", "message_template_49"], ["updated_at", Sat, 17 Dec 2011 21:10:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 200 OK in 12ms (Views: 2.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_12@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_12@example.jp"], ["encrypted_password", "$2a$04$rtm7deAkpDNIwMvP21RVt.r6YGkfbRbOrYz0W7JUxhkK26pQNxlOu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_12"]] SQL (0.5ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:25 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:10:25 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:25.516663' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_50' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_50"], ["created_at", Sat, 17 Dec 2011 21:10:25 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_50"], ["title", "message_template_50"], ["updated_at", Sat, 17 Dec 2011 21:10:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.8ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_92@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_92@example.jp"], ["encrypted_password", "$2a$04$8LnZneRqVV4ugrUTfVOGuexcZx1biPxGclAPbntCZwR/Gw1WFjbV2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_92"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:25 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:25 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:25.553101' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_51' LIMIT 1 SQL (0.8ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_51"], ["created_at", Sat, 17 Dec 2011 21:10:25 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_51"], ["title", "message_template_51"], ["updated_at", Sat, 17 Dec 2011 21:10:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.5ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_52' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_52"], ["created_at", Sat, 17 Dec 2011 21:10:25 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_52"], ["title", "message_template_52"], ["updated_at", Sat, 17 Dec 2011 21:10:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_13@example.jp"], ["encrypted_password", "$2a$04$VdMvO22yZTJJIksoIi7FiOLA2wLOFQoxQExmGjRz8MD9RUvNrVoPm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_13"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:25 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:10:25 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:25.605968' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_53", "status"=>"message_template_53", "body"=>"message_template_53"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_53' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_14@example.jp"], ["encrypted_password", "$2a$04$lANi4Fy2gY.JiGz9Ju2Vaemn21eI6i4IOhwyHphdn7L8tvIpnneuC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_14"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:25 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:10:25 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:25.638389' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_54", "status"=>"message_template_54", "body"=>"message_template_54"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (65.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_15@example.jp"], ["encrypted_password", "$2a$04$.8WKOopKCP.kw2rv.qQ.W.94n7UrQlVYDaYYUAmb3D3JUijudROXq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_15"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:25 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:10:25 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:25.731694' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_16@example.jp"], ["encrypted_password", "$2a$04$tuzp2kkQpaIlUW0xFZx5JeD1dAvV1NhwzzgIof3IZnf.6uQdMV6PC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_16"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:25 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:10:25 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:25.764424' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_13@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_13@example.jp"], ["encrypted_password", "$2a$04$C8bgAJRutBKJI5CFr7XVy.Pf8ioI9fR/.sC0NFq22.1rHC9IPhNoi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_13"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:25 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:10:25 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:25.793943' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_57", "status"=>"message_template_57", "body"=>"message_template_57"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_57' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_14@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_14@example.jp"], ["encrypted_password", "$2a$04$zrLKB/BW6aObI261Qn/rReqDgS.M/K.bzMlOkHFhHhllNVpjMHI.y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_14"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:25 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:10:25 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:25.824943' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_58", "status"=>"message_template_58", "body"=>"message_template_58"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 14ms (Views: 3.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_15@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_15@example.jp"], ["encrypted_password", "$2a$04$Ao8nXkxujRhgQeOoPVOYjOAEMM0.OH.AVP4d.bjMTSEnRN2RJkuoa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_15"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:25 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:10:25 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:25.858983' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_16@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_16@example.jp"], ["encrypted_password", "$2a$04$V5YcAWqK2sWMLWGqnDUD0OBKSCKHNNr1C1jWaCZdBZuddSv/SFq5."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_16"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:25 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:10:25 UTC +00:00], ["user_id", 12]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:25.891768' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 17ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_93@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_93@example.jp"], ["encrypted_password", "$2a$04$BgmZPT4niXu2xB9HphcRuO1mQOlJltSc7mOeHI0fAqGworqScO4Xe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_93"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:25 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:25 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:25.930044' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_61", "status"=>"message_template_61", "body"=>"message_template_61"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_61' LIMIT 1 Role Load (0.3ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_94@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (7.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:25 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_94@example.jp"], ["encrypted_password", "$2a$04$5FLYQSY5JSzSR6Fd7Nb/C.ijk22MMgqYVMywS5LSQJPuVtegGrGD."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:25 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_94"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:25 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:25 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:25.970560' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_62", "status"=>"message_template_62", "body"=>"message_template_62"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 77ms (Views: 1.6ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_95@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_95@example.jp"], ["encrypted_password", "$2a$04$EKwQYBUheSdyIbtVD9Sfw.80q3wmKmu5xZUAhrbyPfVRsc7M3EEs6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_95"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:26.067420' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 8ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_96@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_96@example.jp"], ["encrypted_password", "$2a$04$oQcbywEmW1WVae60ZWA70OhDvY2L4ROXgcKCrklCtD2UmVLQkV4Uu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_96"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:26.097820' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.5ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_65", "status"=>"message_template_65", "body"=>"message_template_65"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_65' LIMIT 1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_66", "status"=>"message_template_66", "body"=>"message_template_66"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 5ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_69' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_69"], ["created_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_69"], ["title", "message_template_69"], ["updated_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_17@example.jp"], ["encrypted_password", "$2a$04$M5FNykaax6ghZhvte4RCJOEqubDSMW4Hs0XerO8c6KqRaI3ANRVXK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_17"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:26.181029' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_70", "status"=>"message_template_70", "body"=>"message_template_70"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_70' AND "message_templates"."id" != 9) LIMIT 1  (0.2ms) UPDATE "message_templates" SET "title" = 'message_template_70', "status" = 'message_template_70', "body" = 'message_template_70', "updated_at" = '2011-12-17 21:10:26.194957' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates/9 Completed 302 Found in 24ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_71' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_71"], ["created_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_71"], ["title", "message_template_71"], ["updated_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_18@example.jp"], ["encrypted_password", "$2a$04$Le9v2DdkGJ2N1TRb.SVsPOs.LSHUQxMRKCJPbAEa/Spxozlf5052C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_18"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:26.229441' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_72", "status"=>"message_template_72", "body"=>"message_template_72"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.5ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_72' AND "message_templates"."id" != 9) LIMIT 1  (0.2ms) UPDATE "message_templates" SET "title" = 'message_template_72', "status" = 'message_template_72', "body" = 'message_template_72', "updated_at" = '2011-12-17 21:10:26.249907' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates/9 Completed 302 Found in 17ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_73' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_73"], ["created_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_73"], ["title", "message_template_73"], ["updated_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_19@example.jp"], ["encrypted_password", "$2a$04$fF7xCN3Qf6LeXo2B8MAYMeqPQtPriYBZt6BKwVmYDE4e.s3NKWBG6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_19"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:26.336117' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_74", "status"=>"message_template_74", "body"=>"message_template_74"}, "position"=>"2", "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "message_templates" SET "position" = 0, "updated_at" = '2011-12-17 21:10:26.348560' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "message_templates" SET position = (position - 1) WHERE "message_templates"."id" IN (SELECT "message_templates"."id" FROM "message_templates" WHERE (1 = 1 AND position > 9) ORDER BY position) SQL (0.3ms) UPDATE "message_templates" SET position = (position + 1) WHERE "message_templates"."id" IN (SELECT "message_templates"."id" FROM "message_templates" WHERE (1 = 1 AND position >= 2) ORDER BY position)  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "message_templates" SET "position" = 2, "updated_at" = '2011-12-17 21:10:26.351215' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates Completed 302 Found in 13ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_75' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_75"], ["created_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_75"], ["title", "message_template_75"], ["updated_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_20@example.jp"], ["encrypted_password", "$2a$04$ykR.nuhpFsZAWwMsfkVsteBrRJbVg8/OKJ2n9Kyq1yQuMH7Io8dfC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_20"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:26.377094' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = '' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 13ms (Views: 1.0ms | ActiveRecord: 0.0ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_77' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_77"], ["created_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_77"], ["title", "message_template_77"], ["updated_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_17@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_17@example.jp"], ["encrypted_password", "$2a$04$IguMzy0Yw/VTqVEzqVQFNuGIFRbK.wZoooqWaf5I1CJQ49erSqRHm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_17"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:26.416317' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_78", "status"=>"message_template_78", "body"=>"message_template_78"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_79' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_79"], ["created_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_79"], ["title", "message_template_79"], ["updated_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_18@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_18@example.jp"], ["encrypted_password", "$2a$04$4jKAf8diNHuF0cm3ekmMe.plCyNUlx/jzK58OHxCTF1E0JjgAiqpK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_18"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:26.449673' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_80", "status"=>"message_template_80", "body"=>"message_template_80"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_81' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_81"], ["created_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_81"], ["title", "message_template_81"], ["updated_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_19@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_19@example.jp"], ["encrypted_password", "$2a$04$.Ujaj7cVFtqbSh9VM942UuGH52ztLAFeSZPVeWy14QMlV6UhRQRMe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_19"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:26.489806' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 2.8ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_83' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_83"], ["created_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_83"], ["title", "message_template_83"], ["updated_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_97@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_97@example.jp"], ["encrypted_password", "$2a$04$QsPpW4xQF6k4KFWtuzUTdeHjO6QW4dtlsLv/EZ6SPU2yOx4Mp.r7a"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_97"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:26.534767' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_84", "status"=>"message_template_84", "body"=>"message_template_84"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 2.1ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_85' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_85"], ["created_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_85"], ["title", "message_template_85"], ["updated_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_98@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (74.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_98@example.jp"], ["encrypted_password", "$2a$04$v35VDzaDxokPZbpMX215N.CE3TVR4aod50qrUrlZF118nghqRKxIy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_98"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00], ["user_id", 12]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:26.641951' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_86", "status"=>"message_template_86", "body"=>"message_template_86"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_87' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_87"], ["created_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_87"], ["title", "message_template_87"], ["updated_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_99@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_99@example.jp"], ["encrypted_password", "$2a$04$5U8uIfhzcjB7.6R48ssKn.Xb4K81oT1NlF.jGHCoFpn0gyNR5JalS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_99"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:26.678271' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 2.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_89' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_89"], ["created_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_89"], ["title", "message_template_89"], ["updated_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_90", "status"=>"message_template_90", "body"=>"message_template_90"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_91' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_91"], ["created_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_91"], ["title", "message_template_91"], ["updated_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_92", "status"=>"message_template_92", "body"=>"message_template_92"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 8ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_93' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_93"], ["created_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_93"], ["title", "message_template_93"], ["updated_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_95' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_95"], ["created_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_95"], ["title", "message_template_95"], ["updated_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_21@example.jp"], ["encrypted_password", "$2a$04$qWL2w0a6tONAvi/IWsgmsOU8Pi4rkN1Sm3ehZA0vY4lZ8RjY4xEKm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_21"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:26.766731' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_96' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_96"], ["created_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_96"], ["title", "message_template_96"], ["updated_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_22@example.jp"], ["encrypted_password", "$2a$04$qoxjkJX9EElnzpZmSZJrOeiG.P5TB/Ae3OtBNvQXxErLRLsLWsZZa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_22"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:26.799579' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_97' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_97"], ["created_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_97"], ["title", "message_template_97"], ["updated_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_20@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_20@example.jp"], ["encrypted_password", "$2a$04$0IaQgyzKLzmbsBslXxshouvW44HWVRirY6p51OgYbMTkE1qSFL65a"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_20"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:26.836820' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.6ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_98' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_98"], ["created_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_98"], ["title", "message_template_98"], ["updated_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_21@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_21@example.jp"], ["encrypted_password", "$2a$04$J6LpAi55mAOw3iUIQbYn1uxgY7mnYs8Ekf9njF8UpNf5vyIwsiUWW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_21"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:26.874156' WHERE "roles"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 73ms (Views: 1.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_99' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_99"], ["created_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_99"], ["title", "message_template_99"], ["updated_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_100@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_100@example.jp"], ["encrypted_password", "$2a$04$sxn2S2.NrJoRBtlrk6qP/uwmAS/vsMrOzPRJOyx9N14moM8ilkNQC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_100"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:26 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:26.974156' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 16ms (Views: 7.7ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_100' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_100"], ["created_at", Sat, 17 Dec 2011 21:10:27 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_100"], ["title", "message_template_100"], ["updated_at", Sat, 17 Dec 2011 21:10:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_101@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_101@example.jp"], ["encrypted_password", "$2a$04$dAhJRagrciWgX.JZWlJzu.w5atck2BvWHDmgrPs54YW8CEdoAe28q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:27 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_101"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:27 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:27 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:27.021691' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (3.0ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_101' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_101"], ["created_at", Sat, 17 Dec 2011 21:10:27 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_101"], ["title", "message_template_101"], ["updated_at", Sat, 17 Dec 2011 21:10:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 8ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_102' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_102"], ["created_at", Sat, 17 Dec 2011 21:10:27 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_102"], ["title", "message_template_102"], ["updated_at", Sat, 17 Dec 2011 21:10:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 9ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_23@example.jp"], ["encrypted_password", "$2a$04$hS010K5piHLJl8YfT3RjEutbuwi7nrNmKSxUWH9w0nzKgyMX0CyTm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_23"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:28 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:10:28 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:28.346249' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 SOLR Request (2.6ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A12&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (2.2ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A12&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 22ms (Views: 4.0ms | ActiveRecord: 0.2ms | Solr: 4.8ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_24@example.jp"], ["encrypted_password", "$2a$04$qABTJo7UpaN6uQIFw3yYSOXB5di5WiYNfBBoiWjNTtVOTkjaRU/Vy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_24"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:28 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:10:28 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:28.385439' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML Parameters: {"user_id"=>"admin_24"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'admin_24' LIMIT 1 SOLR Request (2.4ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A12&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (2.2ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A12&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 57ms (Views: 0.9ms | ActiveRecord: 0.3ms | Solr: 4.5ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_22@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_22@example.jp"], ["encrypted_password", "$2a$04$bC.qH3KAhc6Lq9Gx1R4AvOiyFEnB98N/l2MVwilttuOTyMErZMdIi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_22"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:28 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:10:28 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:28.455285' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 SOLR Request (2.5ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A12&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (1.9ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A12&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 13ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 4.4ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_23@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_23@example.jp"], ["encrypted_password", "$2a$04$/2XbMp2..oUvyL.G2fp1VeC9fXzZ8cpt9KKn57xjV.lf9BPiu3p4O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_23"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:28 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:10:28 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:28.483952' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML Parameters: {"user_id"=>"librarian_23"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'librarian_23' LIMIT 1 SOLR Request (2.3ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A12&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (2.1ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A12&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 12ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 4.4ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 SOLR Request (2.7ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (2.0ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IN (2) Completed 200 OK in 29ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 4.7ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML Parameters: {"query"=>"you"} User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 SOLR Request (4.5ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&q=you&fl=%2A+score&qf=body_text+subject_text&defType=dismax&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (3.2ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&q=you&fl=%2A+score&qf=body_text+subject_text&defType=dismax&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Message Load (0.3ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IN (2) Completed 200 OK in 22ms (Views: 1.4ms | ActiveRecord: 1.0ms | Solr: 7.7ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 SOLR Request (3.4ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (4.4ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IN (2) Completed 200 OK in 20ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 7.8ms) Processing by MessagesController#index as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 5ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 89ms (Views: 5.6ms | ActiveRecord: 0.6ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.2ms | ActiveRecord: 0.5ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#show as HTML Parameters: {"id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 3 AND "messages"."id" = ? LIMIT 1 [["id", "2"]]  (0.0ms) SAVEPOINT active_record_1  (0.3ms) UPDATE "messages" SET "read_at" = '2011-12-17 21:10:28.727196', "updated_at" = '2011-12-17 21:10:28.727646' WHERE "messages"."id" = 2 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1  (0.5ms) UPDATE "messages" SET "state" = 'read', "updated_at" = '2011-12-17 21:10:28.735624' WHERE "messages"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 28ms (Views: 3.6ms | ActiveRecord: 1.7ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 8ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_25@example.jp"], ["encrypted_password", "$2a$04$gSWaYAT2nscOv4zsoITIPuAztHCEsr140SYo29d/BHqwrpkueGmjq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_25"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:28 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:10:28 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:28.788749' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 Completed 200 OK in 15ms (Views: 2.2ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_24@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (64.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_24@example.jp"], ["encrypted_password", "$2a$04$fXuzIyFZeDixYDvC1FqaoO31tXdiUx6Cq8YwpRKPUBmfLI0VTFd4e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:28 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_24"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:28 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:10:28 UTC +00:00], ["user_id", 12]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:28.887549' WHERE "roles"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 Completed 200 OK in 11ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML Parameters: {"parent_id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 18ms (Views: 3.5ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML Parameters: {"parent_id"=>"2"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 3.7ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Processing by MessagesController#new as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 13ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_26@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:29 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_26@example.jp"], ["encrypted_password", "$2a$04$rM/CvZwYPc4oWJARDjPSQulfYArcsv5ISFwpvVL9o.MDbAcklRaS."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:29 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_26"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:29 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:10:29 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:29.030505' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 12 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 15ms (Views: 1.3ms | ActiveRecord: 0.6ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_25@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (8.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:29 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_25@example.jp"], ["encrypted_password", "$2a$04$LaOVGpNG9k8Gkch/0SuYmOJQjFncpyya3iKU7xj4XlF0yLvW7wWae"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:29 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_25"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:29 UTC +00:00], ["role_id", 3], ["updated_at", Sat, 17 Dec 2011 21:10:29 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:29.108889' WHERE "roles"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 16ms (Views: 1.2ms | ActiveRecord: 0.6ms | Solr: 0.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_102@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:29 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_102@example.jp"], ["encrypted_password", "$2a$04$HbF.hWRy4eHWzgO3/iHl3e1tgjtlNXXgtNODryuuw9oeNtHOzbfK."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:29 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_102"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:29 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:29 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:29.168991' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_103@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:29 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_103@example.jp"], ["encrypted_password", "$2a$04$hS7mbKYpxsuwM0wZVnNlRe5rLxbXCHKcTOt308IE5lF1EFABFGk8q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:29 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_103"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:29 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:29 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:29.183096' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user_102' LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" ORDER BY "rgt" desc LIMIT 1 SQL (0.9ms) INSERT INTO "messages" ("body", "created_at", "lft", "message_request_id", "parent_id", "read_at", "receiver_id", "rgt", "sender_id", "state", "subject", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "new message body is really short"], ["created_at", Sat, 17 Dec 2011 21:10:29 UTC +00:00], ["lft", 9], ["message_request_id", nil], ["parent_id", nil], ["read_at", nil], ["receiver_id", 12], ["rgt", 10], ["sender_id", 13], ["state", "unread"], ["subject", "new message"], ["updated_at", Sat, 17 Dec 2011 21:10:29 UTC +00:00]] SQL (3.1ms) INSERT INTO "delayed_jobs" ("attempts", "created_at", "failed_at", "handler", "last_error", "locked_at", "locked_by", "priority", "run_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attempts", 0], ["created_at", Sat, 17 Dec 2011 21:10:29 UTC +00:00], ["failed_at", nil], ["handler", "--- !ruby/struct:Delayed::PerformableMailer \nobject: !ruby/class Notifier\nmethod_name: :message_notification\nargs: \n- !ruby/ActiveRecord:Message \n attributes: \n id: 8\n read_at: \n receiver_id: 12\n sender_id: 13\n subject: new message\n body: new message body is really short\n message_request_id: \n state: unread\n parent_id: \n created_at: &id001 2011-12-17 21:10:29.187860 Z\n updated_at: *id001\n lft: 9\n rgt: 10\n"], ["last_error", nil], ["locked_at", nil], ["locked_by", nil], ["priority", 0], ["run_at", Sat, 17 Dec 2011 21:10:29 UTC +00:00], ["updated_at", Sat, 17 Dec 2011 21:10:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#edit as HTML Parameters: {"id"=>"8"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "8"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 9ms User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_27@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:29 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_27@example.jp"], ["encrypted_password", "$2a$04$2.UGlilLbNizHBnwjQ0fPOWoyEnEYfdhGETDWvzM3LAyIOPjzYPzS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:29 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_27"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:29 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:10:29 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:29.319189' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user1", "subject"=>"test", "body"=>"test"}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user1' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user1' LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" ORDER BY "rgt" desc LIMIT 1 SQL (1.2ms) INSERT INTO "messages" ("body", "created_at", "lft", "message_request_id", "parent_id", "read_at", "receiver_id", "rgt", "sender_id", "state", "subject", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "test"], ["created_at", Sat, 17 Dec 2011 21:10:29 UTC +00:00], ["lft", 9], ["message_request_id", nil], ["parent_id", nil], ["read_at", nil], ["receiver_id", 3], ["rgt", 10], ["sender_id", 12], ["state", "unread"], ["subject", "test"], ["updated_at", Sat, 17 Dec 2011 21:10:29 UTC +00:00]] SQL (1.1ms) INSERT INTO "delayed_jobs" ("attempts", "created_at", "failed_at", "handler", "last_error", "locked_at", "locked_by", "priority", "run_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attempts", 0], ["created_at", Sat, 17 Dec 2011 21:10:29 UTC +00:00], ["failed_at", nil], ["handler", "--- !ruby/struct:Delayed::PerformableMailer \nobject: !ruby/class Notifier\nmethod_name: :message_notification\nargs: \n- !ruby/ActiveRecord:Message \n attributes: \n id: 8\n read_at: \n receiver_id: 3\n sender_id: 12\n subject: test\n body: test\n message_request_id: \n state: unread\n parent_id: \n created_at: &id001 2011-12-17 21:10:29.339737 Z\n updated_at: *id001\n lft: 9\n rgt: 10\n"], ["last_error", nil], ["locked_at", nil], ["locked_by", nil], ["priority", 0], ["run_at", Sat, 17 Dec 2011 21:10:29 UTC +00:00], ["updated_at", Sat, 17 Dec 2011 21:10:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/messages Completed 302 Found in 26ms User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_28@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:29 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_28@example.jp"], ["encrypted_password", "$2a$04$l3u0oWouJ9HN4.jukzmaeOjN/2JuulVoT.vkUAxCnwrgt3v95OLNG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:29 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_28"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:29 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:10:29 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:29.374700' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user1", "subject"=>"test", "body"=>"test"}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Message Load (1.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user1' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user1' LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" ORDER BY "rgt" desc LIMIT 1 SQL (1.3ms) INSERT INTO "messages" ("body", "created_at", "lft", "message_request_id", "parent_id", "read_at", "receiver_id", "rgt", "sender_id", "state", "subject", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "test"], ["created_at", Sat, 17 Dec 2011 21:10:29 UTC +00:00], ["lft", 9], ["message_request_id", nil], ["parent_id", nil], ["read_at", nil], ["receiver_id", 3], ["rgt", 10], ["sender_id", 12], ["state", "unread"], ["subject", "test"], ["updated_at", Sat, 17 Dec 2011 21:10:29 UTC +00:00]] SQL (1.2ms) INSERT INTO "delayed_jobs" ("attempts", "created_at", "failed_at", "handler", "last_error", "locked_at", "locked_by", "priority", "run_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attempts", 0], ["created_at", Sat, 17 Dec 2011 21:10:29 UTC +00:00], ["failed_at", nil], ["handler", "--- !ruby/struct:Delayed::PerformableMailer \nobject: !ruby/class Notifier\nmethod_name: :message_notification\nargs: \n- !ruby/ActiveRecord:Message \n attributes: \n id: 8\n read_at: \n receiver_id: 3\n sender_id: 12\n subject: test\n body: test\n message_request_id: \n state: unread\n parent_id: \n created_at: &id001 2011-12-17 21:10:29.396098 Z\n updated_at: *id001\n lft: 9\n rgt: 10\n"], ["last_error", nil], ["locked_at", nil], ["locked_by", nil], ["priority", 0], ["run_at", Sat, 17 Dec 2011 21:10:29 UTC +00:00], ["updated_at", Sat, 17 Dec 2011 21:10:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/messages Completed 302 Found in 24ms User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_29@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:29 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_29@example.jp"], ["encrypted_password", "$2a$04$DZBFEolOSDiXCARFuJhFcOhrkT48Mn/wYdkINrF.ylqEr0AZLtc3u"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:29 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_29"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:29 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:10:29 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:29.423360' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user1", "subject"=>"test", "body"=>""}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user1' LIMIT 1  (1.6ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 17ms (Views: 1.3ms | ActiveRecord: 2.2ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_30@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (69.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:29 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_30@example.jp"], ["encrypted_password", "$2a$04$6DHdB6Wz2Pi4VJIxfcxGkeKc4ErVi1Mwwlm3la/4qWwdWMmhdb.Le"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:29 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_30"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:29 UTC +00:00], ["role_id", 4], ["updated_at", Sat, 17 Dec 2011 21:10:29 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:29.529463' WHERE "roles"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user1", "subject"=>"test", "body"=>""}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user1' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 14ms (Views: 1.3ms | ActiveRecord: 0.7ms | Solr: 0.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test", "parent_id"=>"2"}} User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (1.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user2' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user2' LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" ORDER BY "rgt" desc LIMIT 1 SQL (0.9ms) INSERT INTO "messages" ("body", "created_at", "lft", "message_request_id", "parent_id", "read_at", "receiver_id", "rgt", "sender_id", "state", "subject", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "test"], ["created_at", Sat, 17 Dec 2011 21:10:29 UTC +00:00], ["lft", 9], ["message_request_id", nil], ["parent_id", 2], ["read_at", nil], ["receiver_id", 5], ["rgt", 10], ["sender_id", 2], ["state", "unread"], ["subject", "test"], ["updated_at", Sat, 17 Dec 2011 21:10:29 UTC +00:00]] Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? ORDER BY "lft" LIMIT 1 [["id", 2]] Message Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 8]] SQL (0.6ms) UPDATE "messages" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 8 THEN 2 ELSE "parent_id" END WHERE "messages"."id" IN (SELECT "messages"."id" FROM "messages" ORDER BY "lft") Message Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 2]] Message Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/messages Completed 302 Found in 26ms User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test", "parent_id"=>"2"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user1", "subject"=>"test", "body"=>"test"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 8ms User Load (3.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user1", "subject"=>"test", "body"=>"test"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user1", "subject"=>"test", "body"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 8ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user1", "subject"=>"test", "body"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 10ms Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_104@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:29 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_104@example.jp"], ["encrypted_password", "$2a$04$r94RTYACKaCM41ikalvLie90ENmW5m3P4nTK5.mww2LLopWvIIlgi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:29 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_104"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:29 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:29 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:29.699802' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_105@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:29 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_105@example.jp"], ["encrypted_password", "$2a$04$spViDo8kxMK0uJUqXwUAQ.KFT4RVMujnq66CYNrNkv1Jq0nmIvYxS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:29 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_105"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:29 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:29 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:29.718585' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_104", "sender_id"=>"13", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 12ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_106@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:29 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_106@example.jp"], ["encrypted_password", "$2a$04$NNMJHpqTyYLdIXw1.Po7H.74OVngfNal4jnNIEt6Zwb67U1AuFXHS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:29 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_106"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:29 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:29 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:29.759754' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (1.0ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_107@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:29 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_107@example.jp"], ["encrypted_password", "$2a$04$kuHjh5T1TQJveJPeFi.M3uRey2/u39sZYJPMqCFT3UqGrDJgVZCVq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:29 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_107"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:29 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:29 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:29.774897' WHERE "roles"."id" = 2  (1.8ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_106", "sender_id"=>"13", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 106ms (Views: 1.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_108@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:29 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_108@example.jp"], ["encrypted_password", "$2a$04$cT41nQCkN5uzLP8JHJlJCeWQ1YOpCERSekVLwsFMl67d1.6WSyYyW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:29 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_108"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:29 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:29 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:29.905853' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_109@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:29 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_109@example.jp"], ["encrypted_password", "$2a$04$zP6BJpHO1odzHs/Q9WMF7.NwVMCe4XwmvSRddAjnvjyqb3NQ/02OK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:29 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_109"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:29 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:29 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:29.922480' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 12ms (Views: 1.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_110@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:29 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_110@example.jp"], ["encrypted_password", "$2a$04$6SLWve14eIS3PKC4e34rs.TlSc6cMLCbUOXuPmMr1tccCYKKM74nC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:29 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_110"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:29 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:29 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:29.955985' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_111@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:29 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_111@example.jp"], ["encrypted_password", "$2a$04$hX7YYnCECU9TXF7G2b.nt.7M.qGRT2YKSB9oRTb5/CUQoGQqRTfxm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:29 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_111"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:29 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:29 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:29.971025' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 13ms (Views: 1.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_112@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_112@example.jp"], ["encrypted_password", "$2a$04$mB0jf/GC9MUpA7z4ekBQFuAuB7IezS/OSp7WdKINzBRsEPaeEyrLi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_112"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:30.006408' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_113@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_113@example.jp"], ["encrypted_password", "$2a$04$aRmGhNyFDMKYi429nD/rYOUBASy/ahGTIFFek6ZbrtiybYJ8wASXS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_113"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:30.020750' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_112", "sender_id"=>"13", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 14ms (Views: 3.0ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_114@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_114@example.jp"], ["encrypted_password", "$2a$04$dh/v4diTQSf/qfBvi9KyP.QlkdqB8cZbeWAAI.Ee/NRRKbTFU0AKu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_114"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:30.058266' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_115@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_115@example.jp"], ["encrypted_password", "$2a$04$DYjB05WcnsREsjXj/20l.OVMzEzguaycOTncte2uQU7tYXns4nfBa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_115"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:30.072174' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_114", "sender_id"=>"13", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 15ms (Views: 1.9ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_116@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (68.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_116@example.jp"], ["encrypted_password", "$2a$04$KQim5YN6cy2.h34aevdkfuEf6RBv4QPll.az/2M64.Netbg8rNzDG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_116"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:30.186035' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_117@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_117@example.jp"], ["encrypted_password", "$2a$04$EKjoklsP/rMkTEPA9Lm0Lud6kN1qvFKEsm5O1IiFcu1XHl3TrZ6gq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_117"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:30.208054' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.2ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_118@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_118@example.jp"], ["encrypted_password", "$2a$04$LETO1R6LsW/2AkiNno4O5eh70pQcKljtk2bXiwcxWdR88CBzbI..."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_118"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:30.250928' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_119@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_119@example.jp"], ["encrypted_password", "$2a$04$c48zU9tHkWzcll92RtwaVuHU9AJ5L4MITcTagsgzGv/1q3jd45W8K"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_119"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:30.268616' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 14ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_120@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_120@example.jp"], ["encrypted_password", "$2a$04$uf/OAy5qiZ4D6A1uA4bt6.oJMbEkk6lCzB14pvfgo2c6odFpFxYmm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_120"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["user_id", 12]]  (0.3ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:30.302414' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_121@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_121@example.jp"], ["encrypted_password", "$2a$04$0tfKoyuUhGsUIMCrk0lktO/ClU/0zUuxaAhrpgZVFNcqC9Qaict.q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_121"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:30.317395' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_122@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_122@example.jp"], ["encrypted_password", "$2a$04$4jQkF3QvE0zbzXg4MwG6jOiQYy3RnjN61rcvkfDOt1YnrJdtgU9pC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_122"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:30.350339' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_123@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_123@example.jp"], ["encrypted_password", "$2a$04$so49SbqKBFJwCKajDcMv4.xXyV2R.tIEQFqFhjIKe2o5Wl3nc2WPe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_123"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:30.364024' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 2.7ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_124@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_124@example.jp"], ["encrypted_password", "$2a$04$WdyDjuN6XIBLELJyRBJdNuav0l7w1Ygf83QztZXX8Ohd.AHw5MSWS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_124"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:30.397697' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_125@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (61.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_125@example.jp"], ["encrypted_password", "$2a$04$BvD/5jy3BaMGaODSRTgQv.d6pMv3cm83UGhKtlEYRd8/.26NUD5gS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_125"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:30.475328' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_124", "sender_id"=>"13", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 15ms (Views: 1.2ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_126@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_126@example.jp"], ["encrypted_password", "$2a$04$Vn6z7d6YiLE9Dz98MpJnp.B.yt2ub7QsykdYrZOQxFyp.CBKL7EDO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_126"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:30.521245' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.2ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_127@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_127@example.jp"], ["encrypted_password", "$2a$04$ALuy.U/Z23n0hR0q5.KICu53z2fsygY3S5oMcKxVQckCu5Xq.gEz2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_127"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:30.536058' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_126", "sender_id"=>"13", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_128@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_128@example.jp"], ["encrypted_password", "$2a$04$mO/aieoB.ogqCP2mjfsI.uq1gK9OvBrnohKCsiy5xlKIYT5hx8I0K"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_128"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:30.569821' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_129@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_129@example.jp"], ["encrypted_password", "$2a$04$NvtlqSUFdg3MCiFQCBpqqOL1dTOvAWh.nvR3Q4D9BhBx75dRqAPp2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_129"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["user_id", 13]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:30.585928' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_130@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_130@example.jp"], ["encrypted_password", "$2a$04$tOiYsA55E.TPtOYVradfYuVrbfHEs1sjXmyGEB5mnwnmWMXY3YekG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_130"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:30.618456' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_131@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_131@example.jp"], ["encrypted_password", "$2a$04$XajUJevUttbCofVEzWDrG.O6/r/xqEzmdyJSohg51zBOgcWiMLeiG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_131"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["user_id", 13]]  (0.3ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:30.632361' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 2.1ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_132@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_132@example.jp"], ["encrypted_password", "$2a$04$pOGspsSBbuWDoi8UGoW8Iu9FIcJvaW1bmeMVICLaS4kZEdZLrPUwa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_132"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:30.665297' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_133@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_133@example.jp"], ["encrypted_password", "$2a$04$jbQ8sBvB7Xe1qhJcQt/lPOe7YhskvV5boAV58qSRX3FOtv0kQUPQa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_133"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:30.678700' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#destroy as HTML Parameters: {"id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 3 AND "messages"."id" = ? LIMIT 1 [["id", "2"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "messages" WHERE ("lft" > 3 AND "rgt" < 4) SQL (0.4ms) UPDATE "messages" SET "lft" = ("lft" - 2) WHERE "messages"."id" IN (SELECT "messages"."id" FROM "messages" WHERE ("lft" > 4) ORDER BY "lft") SQL (0.6ms) UPDATE "messages" SET "rgt" = ("rgt" - 2) WHERE "messages"."id" IN (SELECT "messages"."id" FROM "messages" WHERE ("rgt" > 4) ORDER BY "lft") SQL (0.2ms) DELETE FROM "messages" WHERE "messages"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/messages Completed 302 Found in 84ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.2ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 13ms Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 10ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (1.5ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_134@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_134@example.jp"], ["encrypted_password", "$2a$04$ZjIX/rpLL4XHfeusnTCDtOs1jjncdcG6.PJnV7El0rISCwtAPC6dS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_134"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:30.848501' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_135@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_135@example.jp"], ["encrypted_password", "$2a$04$UKjJQdtO9k6lppk0NWT9nuoue1J6NJzEsQVMHIOLkjN00QSQs3f8S"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_135"]] SQL (0.5ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["user_id", 13]]  (0.6ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:30.869500' WHERE "roles"."id" = 2  (3.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user_134' LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" ORDER BY "rgt" desc LIMIT 1 SQL (0.8ms) INSERT INTO "messages" ("body", "created_at", "lft", "message_request_id", "parent_id", "read_at", "receiver_id", "rgt", "sender_id", "state", "subject", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "new message body is really short"], ["created_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["lft", 9], ["message_request_id", nil], ["parent_id", nil], ["read_at", nil], ["receiver_id", 12], ["rgt", 10], ["sender_id", 13], ["state", "unread"], ["subject", "new message"], ["updated_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00]] SQL (4.5ms) INSERT INTO "delayed_jobs" ("attempts", "created_at", "failed_at", "handler", "last_error", "locked_at", "locked_by", "priority", "run_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attempts", 0], ["created_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["failed_at", nil], ["handler", "--- !ruby/struct:Delayed::PerformableMailer \nobject: !ruby/class Notifier\nmethod_name: :message_notification\nargs: \n- !ruby/ActiveRecord:Message \n attributes: \n id: 8\n read_at: \n receiver_id: 12\n sender_id: 13\n subject: new message\n body: new message body is really short\n message_request_id: \n state: unread\n parent_id: \n created_at: &id001 2011-12-17 21:10:30.877728 Z\n updated_at: *id001\n lft: 9\n rgt: 10\n"], ["last_error", nil], ["locked_at", nil], ["locked_by", nil], ["priority", 0], ["run_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["updated_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_136@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_136@example.jp"], ["encrypted_password", "$2a$04$Y9wscx9naXgEqn7lePWU3uIq0GDpW3TwBjK9A0ETatiqXNIxNnqZG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_136"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:30.913206' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_137@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_137@example.jp"], ["encrypted_password", "$2a$04$Md./al6kfR67E1.nz22U6uodCHu4Fgt3Y2OtGG.SPC4oWsU0t06bm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_137"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:30.933664' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user_136' LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" ORDER BY "rgt" desc LIMIT 1 SQL (0.7ms) INSERT INTO "messages" ("body", "created_at", "lft", "message_request_id", "parent_id", "read_at", "receiver_id", "rgt", "sender_id", "state", "subject", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "new message body is really short"], ["created_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["lft", 9], ["message_request_id", nil], ["parent_id", nil], ["read_at", nil], ["receiver_id", 12], ["rgt", 10], ["sender_id", 13], ["state", "unread"], ["subject", "new message"], ["updated_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00]] SQL (1.0ms) INSERT INTO "delayed_jobs" ("attempts", "created_at", "failed_at", "handler", "last_error", "locked_at", "locked_by", "priority", "run_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attempts", 0], ["created_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["failed_at", nil], ["handler", "--- !ruby/struct:Delayed::PerformableMailer \nobject: !ruby/class Notifier\nmethod_name: :message_notification\nargs: \n- !ruby/ActiveRecord:Message \n attributes: \n id: 8\n read_at: \n receiver_id: 12\n sender_id: 13\n subject: new message\n body: new message body is really short\n message_request_id: \n state: unread\n parent_id: \n created_at: &id001 2011-12-17 21:10:30.937452 Z\n updated_at: *id001\n lft: 9\n rgt: 10\n"], ["last_error", nil], ["locked_at", nil], ["locked_by", nil], ["priority", 0], ["run_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["updated_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_138@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (6.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_138@example.jp"], ["encrypted_password", "$2a$04$gODEpNb113b6DOeooBqo5ODyY/8NJXsI5denILLOKyPxxa05q/7GC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_138"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:30.969625' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (7.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_139@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_139@example.jp"], ["encrypted_password", "$2a$04$/kyPvxlmUl6k2HO7Dtp4GOFjCNFfGJNKiIXjs4OoGMfhOg6awfZCG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_139"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:30.991034' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user_138' LIMIT 1 Message Load (3.2ms) SELECT "messages".* FROM "messages" ORDER BY "rgt" desc LIMIT 1 SQL (0.8ms) INSERT INTO "messages" ("body", "created_at", "lft", "message_request_id", "parent_id", "read_at", "receiver_id", "rgt", "sender_id", "state", "subject", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "new message body is really short"], ["created_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00], ["lft", 9], ["message_request_id", nil], ["parent_id", nil], ["read_at", nil], ["receiver_id", 12], ["rgt", 10], ["sender_id", 13], ["state", "unread"], ["subject", "new message"], ["updated_at", Sat, 17 Dec 2011 21:10:30 UTC +00:00]] SQL (1.0ms) INSERT INTO "delayed_jobs" ("attempts", "created_at", "failed_at", "handler", "last_error", "locked_at", "locked_by", "priority", "run_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attempts", 0], ["created_at", Sat, 17 Dec 2011 21:10:31 UTC +00:00], ["failed_at", nil], ["handler", "--- !ruby/struct:Delayed::PerformableMailer \nobject: !ruby/class Notifier\nmethod_name: :message_notification\nargs: \n- !ruby/ActiveRecord:Message \n attributes: \n id: 8\n read_at: \n receiver_id: 12\n sender_id: 13\n subject: new message\n body: new message body is really short\n message_request_id: \n state: unread\n parent_id: \n created_at: &id001 2011-12-17 21:10:30.997939 Z\n updated_at: *id001\n lft: 9\n rgt: 10\n"], ["last_error", nil], ["locked_at", nil], ["locked_by", nil], ["priority", 0], ["run_at", Sat, 17 Dec 2011 21:10:31 UTC +00:00], ["updated_at", Sat, 17 Dec 2011 21:10:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_140@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_140@example.jp"], ["encrypted_password", "$2a$04$eumg7REd1knz1GFMuMhEqedWduDjMtettaeeh1.v34QfYsn4Rw0Oe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:31 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_140"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:31 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:31 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:31.020229' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_141@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (64.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_141@example.jp"], ["encrypted_password", "$2a$04$cLgYZGtwvSyY5AMp2CwM0.ddU4DK3oneDkmlar8LTEaa9mRzfNqTe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:31 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_141"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:31 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:31 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:31.095904' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (1.4ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user_140' LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" ORDER BY "rgt" desc LIMIT 1 SQL (0.8ms) INSERT INTO "messages" ("body", "created_at", "lft", "message_request_id", "parent_id", "read_at", "receiver_id", "rgt", "sender_id", "state", "subject", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "new message body is really short"], ["created_at", Sat, 17 Dec 2011 21:10:31 UTC +00:00], ["lft", 9], ["message_request_id", nil], ["parent_id", nil], ["read_at", nil], ["receiver_id", 12], ["rgt", 10], ["sender_id", 13], ["state", "unread"], ["subject", "new message"], ["updated_at", Sat, 17 Dec 2011 21:10:31 UTC +00:00]] SQL (1.0ms) INSERT INTO "delayed_jobs" ("attempts", "created_at", "failed_at", "handler", "last_error", "locked_at", "locked_by", "priority", "run_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attempts", 0], ["created_at", Sat, 17 Dec 2011 21:10:31 UTC +00:00], ["failed_at", nil], ["handler", "--- !ruby/struct:Delayed::PerformableMailer \nobject: !ruby/class Notifier\nmethod_name: :message_notification\nargs: \n- !ruby/ActiveRecord:Message \n attributes: \n id: 8\n read_at: \n receiver_id: 12\n sender_id: 13\n subject: new message\n body: new message body is really short\n message_request_id: \n state: unread\n parent_id: \n created_at: &id001 2011-12-17 21:10:31.101117 Z\n updated_at: *id001\n lft: 9\n rgt: 10\n"], ["last_error", nil], ["locked_at", nil], ["locked_by", nil], ["priority", 0], ["run_at", Sat, 17 Dec 2011 21:10:31 UTC +00:00], ["updated_at", Sat, 17 Dec 2011 21:10:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_142@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_142@example.jp"], ["encrypted_password", "$2a$04$EBcUyeMBL013Ucfo9sgWZeIcsGtG0vxJZwwXsnna1Zwzp0EMOR64."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:31 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_142"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:31 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:31 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:31.123807' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_143@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_143@example.jp"], ["encrypted_password", "$2a$04$bt12DhmedMAxnRGtiBsiIex8H6r1J3RAUPtKTVv/JzL0XBP3jqyqq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:31 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_143"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:31 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:31 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:31.136925' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user_142' LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" ORDER BY "rgt" desc LIMIT 1 SQL (0.7ms) INSERT INTO "messages" ("body", "created_at", "lft", "message_request_id", "parent_id", "read_at", "receiver_id", "rgt", "sender_id", "state", "subject", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "new message body is really short"], ["created_at", Sat, 17 Dec 2011 21:10:31 UTC +00:00], ["lft", 9], ["message_request_id", nil], ["parent_id", nil], ["read_at", nil], ["receiver_id", 12], ["rgt", 10], ["sender_id", 13], ["state", "unread"], ["subject", "new message"], ["updated_at", Sat, 17 Dec 2011 21:10:31 UTC +00:00]] SQL (0.9ms) INSERT INTO "delayed_jobs" ("attempts", "created_at", "failed_at", "handler", "last_error", "locked_at", "locked_by", "priority", "run_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attempts", 0], ["created_at", Sat, 17 Dec 2011 21:10:31 UTC +00:00], ["failed_at", nil], ["handler", "--- !ruby/struct:Delayed::PerformableMailer \nobject: !ruby/class Notifier\nmethod_name: :message_notification\nargs: \n- !ruby/ActiveRecord:Message \n attributes: \n id: 8\n read_at: \n receiver_id: 12\n sender_id: 13\n subject: new message\n body: new message body is really short\n message_request_id: \n state: unread\n parent_id: \n created_at: &id001 2011-12-17 21:10:31.140649 Z\n updated_at: *id001\n lft: 9\n rgt: 10\n"], ["last_error", nil], ["locked_at", nil], ["locked_by", nil], ["priority", 0], ["run_at", Sat, 17 Dec 2011 21:10:31 UTC +00:00], ["updated_at", Sat, 17 Dec 2011 21:10:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_144@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_144@example.jp"], ["encrypted_password", "$2a$04$S1hcnpBP5QpiZNRV3I1XXO5KS9MDJ502l4VuxW0ZOu.U6cPtQ4M8O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:31 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_144"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:31 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:31 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:31.162923' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_145@example.jp' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_145@example.jp"], ["encrypted_password", "$2a$04$lqL24aqE20mAFP7QUMoHaeOp2Rp1tFxlDxE1CzkjNhAiaIMXxDIHW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["note", nil], ["remember_created_at", nil], ["required_role_id", 2], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 17 Dec 2011 21:10:31 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_145"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 17 Dec 2011 21:10:31 UTC +00:00], ["role_id", 2], ["updated_at", Sat, 17 Dec 2011 21:10:31 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2011-12-17 21:10:31.176398' WHERE "roles"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user_144' LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" ORDER BY "rgt" desc LIMIT 1 SQL (0.8ms) INSERT INTO "messages" ("body", "created_at", "lft", "message_request_id", "parent_id", "read_at", "receiver_id", "rgt", "sender_id", "state", "subject", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "new message body is really short"], ["created_at", Sat, 17 Dec 2011 21:10:31 UTC +00:00], ["lft", 9], ["message_request_id", nil], ["parent_id", nil], ["read_at", nil], ["receiver_id", 12], ["rgt", 10], ["sender_id", 13], ["state", "unread"], ["subject", "new message"], ["updated_at", Sat, 17 Dec 2011 21:10:31 UTC +00:00]] SQL (1.0ms) INSERT INTO "delayed_jobs" ("attempts", "created_at", "failed_at", "handler", "last_error", "locked_at", "locked_by", "priority", "run_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attempts", 0], ["created_at", Sat, 17 Dec 2011 21:10:31 UTC +00:00], ["failed_at", nil], ["handler", "--- !ruby/struct:Delayed::PerformableMailer \nobject: !ruby/class Notifier\nmethod_name: :message_notification\nargs: \n- !ruby/ActiveRecord:Message \n attributes: \n id: 8\n read_at: \n receiver_id: 12\n sender_id: 13\n subject: new message\n body: new message body is really short\n message_request_id: \n state: unread\n parent_id: \n created_at: &id001 2011-12-17 21:10:31.180525 Z\n updated_at: *id001\n lft: 9\n rgt: 10\n"], ["last_error", nil], ["locked_at", nil], ["locked_by", nil], ["priority", 0], ["run_at", Sat, 17 Dec 2011 21:10:31 UTC +00:00], ["updated_at", Sat, 17 Dec 2011 21:10:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "messages" SET "read_at" = '2011-12-17 21:10:31.188080', "updated_at" = '2011-12-17 21:10:31.188393' WHERE "messages"."id" = 2 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1  (0.1ms) UPDATE "messages" SET "state" = 'read', "updated_at" = '2011-12-17 21:10:31.193867' WHERE "messages"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreatePatrons (1)  (0.0ms) select sqlite_version(*)  (0.5ms) CREATE TABLE "patrons" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "last_name" varchar(255), "middle_name" varchar(255), "first_name" varchar(255), "last_name_transcription" varchar(255), "middle_name_transcription" varchar(255), "first_name_transcription" varchar(255), "corporate_name" varchar(255), "corporate_name_transcription" varchar(255), "full_name" varchar(255), "full_name_transcription" text, "full_name_alternative" text, "created_at" datetime, "updated_at" datetime, "deleted_at" datetime, "zip_code_1" varchar(255), "zip_code_2" varchar(255), "address_1" text, "address_2" text, "address_1_note" text, "address_2_note" text, "telephone_number_1" varchar(255), "telephone_number_2" varchar(255), "fax_number_1" varchar(255), "fax_number_2" varchar(255), "other_designation" text, "place" text, "postal_code" varchar(255), "street" text, "locality" text, "region" text, "date_of_birth" datetime, "date_of_death" datetime, "language_id" integer DEFAULT 1 NOT NULL, "country_id" integer DEFAULT 1 NOT NULL, "patron_type_id" integer DEFAULT 1 NOT NULL, "lock_version" integer DEFAULT 0 NOT NULL, "note" text, "creates_count" integer DEFAULT 0 NOT NULL, "realizes_count" integer DEFAULT 0 NOT NULL, "produces_count" integer DEFAULT 0 NOT NULL, "owns_count" integer DEFAULT 0 NOT NULL, "required_role_id" integer DEFAULT 1 NOT NULL, "required_score" integer DEFAULT 0 NOT NULL, "state" varchar(255), "email" text, "url" text)   (0.0ms) PRAGMA index_list("patrons")  (0.3ms) CREATE UNIQUE INDEX "index_patrons_on_user_id" ON "patrons" ("user_id")  (0.0ms) PRAGMA index_list("patrons")  (0.0ms) PRAGMA index_info('index_patrons_on_user_id')  (0.1ms) CREATE INDEX "index_patrons_on_language_id" ON "patrons" ("language_id")  (0.0ms) PRAGMA index_list("patrons")  (0.0ms) PRAGMA index_info('index_patrons_on_language_id')  (0.0ms) PRAGMA index_info('index_patrons_on_user_id')  (0.1ms) CREATE INDEX "index_patrons_on_country_id" ON "patrons" ("country_id")  (0.0ms) PRAGMA index_list("patrons")  (0.0ms) PRAGMA index_info('index_patrons_on_country_id')  (0.0ms) PRAGMA index_info('index_patrons_on_language_id')  (0.0ms) PRAGMA index_info('index_patrons_on_user_id')  (0.1ms) CREATE INDEX "index_patrons_on_required_role_id" ON "patrons" ("required_role_id")  (0.0ms) PRAGMA index_list("patrons")  (0.0ms) PRAGMA index_info('index_patrons_on_required_role_id')  (0.0ms) PRAGMA index_info('index_patrons_on_country_id')  (0.0ms) PRAGMA index_info('index_patrons_on_language_id')  (0.0ms) PRAGMA index_info('index_patrons_on_user_id')  (0.1ms) CREATE INDEX "index_patrons_on_full_name" ON "patrons" ("full_name")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('1') Migrating to CreateLibraryGroups (80) Migrating to CreateMessageTemplates (149) Migrating to CreateMessages (154) Migrating to CreateMessageRequests (20080819181903) Migrating to CreatePatronTypes (20080905191442)  (0.3ms) CREATE TABLE "patron_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080905191442') Migrating to AddAdminNetworksToLibraryGroup (20100211105551) Migrating to AddAllowBookmarkExternalUrlToLibraryGroup (20100222124420) Migrating to CreateDelayedJobs (20100527113752) Migrating to AddPositionToLibraryGroup (20110115022329) Migrating to AddUrlToLibraryGroup (20110222073537) Migrating to AddLftAndRgtToMessage (20110913115320) Migrating to RemoveDsblFromLibraryGroup (20111020063828) Migrating to CreateLanguages (20111201121636) Migrating to CreateRoles (20111201121844) Migrating to CreateUsers (20111201155456) Migrating to AddDeviseToUsers (20111201155513) Migrating to CreateUserGroups (20111201163342) Migrating to CreateUserHasRoles (20111201163718)  (0.5ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  (0.0ms) PRAGMA index_list("delayed_jobs")  (0.0ms) PRAGMA index_info('delayed_jobs_priority')  (0.0ms) PRAGMA index_list("languages")  (0.0ms) PRAGMA index_list("library_groups")  (0.0ms) PRAGMA index_info('index_library_groups_on_short_name')  (0.0ms) PRAGMA index_list("message_requests")  (0.0ms) PRAGMA index_info('index_message_requests_on_state')  (0.0ms) PRAGMA index_list("message_templates")  (0.0ms) PRAGMA index_info('index_message_templates_on_status')  (0.0ms) PRAGMA index_list("messages")  (0.0ms) PRAGMA index_info('index_messages_on_parent_id')  (0.0ms) PRAGMA index_info('index_messages_on_message_request_id')  (0.0ms) PRAGMA index_info('index_messages_on_receiver_id')  (0.0ms) PRAGMA index_info('index_messages_on_sender_id')  (0.0ms) PRAGMA index_list("patron_types")  (0.0ms) PRAGMA index_list("patrons")  (0.0ms) PRAGMA index_info('index_patrons_on_full_name')  (0.0ms) PRAGMA index_info('index_patrons_on_required_role_id')  (0.0ms) PRAGMA index_info('index_patrons_on_country_id')  (0.0ms) PRAGMA index_info('index_patrons_on_language_id')  (0.0ms) PRAGMA index_info('index_patrons_on_user_id')  (0.0ms) PRAGMA index_list("roles")  (0.0ms) PRAGMA index_list("user_groups")  (0.0ms) PRAGMA index_list("user_has_roles")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')  (0.0ms) PRAGMA index_info('index_users_on_email') LibraryGroup Load (7.0ms) SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]] LibraryGroup Load (0.2ms) SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]] Fixture Delete (0.4ms) DELETE FROM "library_groups" Fixture Insert (0.2ms) INSERT INTO "library_groups" ("id", "name", "display_name", "short_name", "email", "note", "my_networks", "url", "created_at", "updated_at") VALUES (1, 'unknown', 'unknown', 'unknown', 'next-l@library.example.jp', NULL, '0.0.0.0/0', 'http://localhost:3000/', '2012-01-08 15:20:33', '2012-01-08 15:20:33') Fixture Delete (0.1ms) DELETE FROM "message_requests" Fixture Insert (0.1ms) INSERT INTO "message_requests" ("sender_id", "receiver_id", "message_template_id", "state", "created_at", "updated_at", "id") VALUES (1, 1, 1, 'pending', '2012-01-08 15:20:33', '2012-01-08 15:20:33', 980190962) Fixture Insert (0.1ms) INSERT INTO "message_requests" ("sender_id", "receiver_id", "message_template_id", "state", "created_at", "updated_at", "id") VALUES (1, 1, 1, 'pending', '2012-01-08 15:20:33', '2012-01-08 15:20:33', 298486374) Fixture Delete (0.1ms) DELETE FROM "message_templates" Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (1, 'reservation_accepted', 'Reservation accepted', 'Reservation accepted', 1, '2012-01-08 15:20:33', '2012-01-08 15:20:33') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (2, 'item_received', 'Item received', 'Item received', 2, '2012-01-08 15:20:33', '2012-01-08 15:20:33') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (3, 'reservation_expired_for_patron', 'Reservation expired', 'Reservation expired', 3, '2012-01-08 15:20:33', '2012-01-08 15:20:33') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (4, 'reservation_expired_for_library', 'Reservation expired', 'Reservation expired', 4, '2012-01-08 15:20:33', '2012-01-08 15:20:33') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (5, 'reservation_canceled_for_patron', 'Reservation canceled', 'Reservation canceled', 5, '2012-01-08 15:20:33', '2012-01-08 15:20:33') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (6, 'reservation_canceled_for_library', 'Reservation canceled', 'Reservation canceled', 6, '2012-01-08 15:20:33', '2012-01-08 15:20:33') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (7, 'recall_item', 'Recall item', 'Recall item', 7, '2012-01-08 15:20:33', '2012-01-08 15:20:33') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (8, 'recall_overdue_item', 'Recall overdue item', 'Recall overdue item', 8, '2012-01-08 15:20:33', '2012-01-08 15:20:33') Fixture Delete (0.2ms) DELETE FROM "messages" Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "read_at", "state", "lft", "rgt", "updated_at") VALUES (1, 3, 4, 'First Message', 'Abby, you get the first message', '2007-07-04 12:10:47.0', '2012-01-05 15:20:33', 'unread', 1, 2, '2012-01-08 15:20:33') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (2, 4, 3, 'RE: First Message', 'Thanks Dad! You are the coolest!', '2012-01-06 15:20:33', 'unread', 3, 4, '2012-01-08 15:20:33') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (3, 3, 4, 'Second Message', 'Catie, you get the 2nd message', '2012-01-07 15:20:33', 'unread', 5, 6, '2012-01-08 15:20:33') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (6, 4, 5, 'Dad!', 'He is sucha dork.', '2012-01-06 15:20:33', 'unread', 7, 8, '2012-01-08 15:20:33') Fixture Delete (21.2ms) DELETE FROM "patrons" Fixture Insert (0.2ms) INSERT INTO "patrons" ("place", "last_name", "first_name", "full_name", "updated_at", "other_designation", "id", "date_of_birth", "date_of_death", "address_1", "language_id", "country_id", "patron_type_id", "required_role_id", "created_at", "user_id") VALUES ('', 'Administrator', NULL, 'Administrator', '2007-11-21 13:01:56.137409', '', 1, '2000-01-01', NULL, NULL, 1, 1, 1, 1, '2007-11-19 08:06:06.507237', 1) Fixture Insert (0.2ms) INSERT INTO "patrons" ("place", "last_name", "first_name", "full_name", "updated_at", "other_designation", "id", "date_of_birth", "date_of_death", "address_1", "language_id", "country_id", "patron_type_id", "required_role_id", "created_at", "user_id") VALUES ('', 'Librarian1', NULL, 'Librarian1', '2007-11-21 13:02:10.359793', '', 2, '2000-01-01', NULL, NULL, 1, 1, 1, 4, '2007-11-19 08:06:07.724517', 2) Fixture Insert (0.2ms) INSERT INTO "patrons" ("place", "last_name", "first_name", "full_name", "updated_at", "other_designation", "id", "date_of_birth", "date_of_death", "address_1", "language_id", "country_id", "patron_type_id", "required_role_id", "created_at", "user_id") VALUES (NULL, 'Kosuke', 'Tanabe', 'Kosuke Tanabe', '2007-12-04 07:25:01.523618', NULL, 3, '2000-01-01', NULL, NULL, 1, 1, 1, 3, '2007-12-04 07:25:01.523618', 3) Fixture Insert (0.2ms) INSERT INTO "patrons" ("place", "last_name", "first_name", "full_name", "updated_at", "other_designation", "id", "date_of_birth", "date_of_death", "address_1", "language_id", "country_id", "patron_type_id", "required_role_id", "created_at", "user_id") VALUES (NULL, 'Librarian2', NULL, 'Librarian2', '2007-12-04 07:25:01.785027', NULL, 4, '2000-01-01', NULL, NULL, 1, 1, 1, 1, '2007-12-04 07:25:01.785027', 4) Fixture Insert (0.2ms) INSERT INTO "patrons" ("place", "last_name", "first_name", "full_name", "updated_at", "other_designation", "id", "date_of_birth", "date_of_death", "address_1", "language_id", "country_id", "patron_type_id", "required_role_id", "created_at", "user_id") VALUES ('', 'User2', NULL, 'User2', '2007-11-21 13:02:35.579396', '', 5, '2000-01-01', NULL, NULL, 1, 1, 1, 2, '2007-11-19 08:24:50.153417', 5) Fixture Insert (0.2ms) INSERT INTO "patrons" ("place", "last_name", "first_name", "full_name", "updated_at", "other_designation", "id", "date_of_birth", "date_of_death", "address_1", "language_id", "country_id", "patron_type_id", "required_role_id", "created_at") VALUES ('', 'New patron 1', NULL, 'New patron 1', '2007-11-21 13:02:35.579396', '', 6, '2000-01-01', NULL, NULL, 1, 1, 1, 1, '2007-11-19 08:24:50.153417') Fixture Insert (0.2ms) INSERT INTO "patrons" ("place", "last_name", "first_name", "full_name", "updated_at", "other_designation", "id", "date_of_birth", "date_of_death", "address_1", "language_id", "country_id", "patron_type_id", "required_role_id", "created_at") VALUES ('', 'New patron 2', NULL, 'New patron 2', '2007-11-21 13:02:35.579396', '', 7, '2000-01-01', NULL, NULL, 1, 1, 1, 1, '2007-11-19 08:24:50.153417') Fixture Insert (0.2ms) INSERT INTO "patrons" ("place", "last_name", "first_name", "full_name", "updated_at", "other_designation", "id", "date_of_birth", "date_of_death", "address_1", "language_id", "country_id", "patron_type_id", "required_role_id", "created_at") VALUES ('', 'New patron 3', NULL, 'New patron 3', '2007-11-21 13:02:35.579396', '', 8, '2000-01-01', NULL, NULL, 1, 1, 1, 1, '2007-11-19 08:24:50.153417') Fixture Insert (0.2ms) INSERT INTO "patrons" ("place", "last_name", "first_name", "full_name", "updated_at", "other_designation", "id", "date_of_birth", "date_of_death", "address_1", "language_id", "country_id", "patron_type_id", "required_role_id", "created_at") VALUES ('', 'New patron 4', NULL, 'New patron 4', '2007-11-21 13:02:35.579396', '', 9, '2000-01-01', NULL, NULL, 1, 1, 1, 1, '2007-11-19 08:24:50.153417') Fixture Insert (0.2ms) INSERT INTO "patrons" ("place", "last_name", "first_name", "full_name", "updated_at", "other_designation", "id", "date_of_birth", "date_of_death", "address_1", "language_id", "country_id", "patron_type_id", "required_role_id", "created_at") VALUES ('', 'New patron 5', NULL, 'New patron 5', '2007-11-21 13:02:35.579396', '', 10, '2000-01-01', NULL, NULL, 1, 1, 1, 1, '2007-11-19 08:24:50.153417') Fixture Insert (0.2ms) INSERT INTO "patrons" ("place", "last_name", "first_name", "full_name", "updated_at", "other_designation", "id", "date_of_birth", "date_of_death", "address_1", "language_id", "country_id", "patron_type_id", "required_role_id", "created_at", "user_id") VALUES ('', 'User3', NULL, 'User3', '2007-11-21 13:02:35.579396', '', 11, '2000-01-01', NULL, NULL, 1, 1, 1, 1, '2007-11-19 08:24:50.153417', 6) Fixture Insert (0.2ms) INSERT INTO "patrons" ("place", "last_name", "first_name", "full_name", "updated_at", "other_designation", "id", "date_of_birth", "date_of_death", "address_1", "language_id", "country_id", "patron_type_id", "required_role_id", "created_at") VALUES ('', 'テスト名字', 'テスト名前', 'テスト正式名称', '2010-03-03 08:00:00.579396', '', 101, '2000-01-01', NULL, NULL, 1, 1, 1, 1, '2010-03-03 08:00:00.579396') Fixture Insert (0.2ms) INSERT INTO "patrons" ("place", "last_name", "first_name", "full_name", "updated_at", "other_designation", "id", "date_of_birth", "date_of_death", "address_1", "language_id", "country_id", "patron_type_id", "required_role_id", "created_at") VALUES ('', NULL, NULL, '出版社テスト', '2010-03-03 08:00:00.579396', '', 102, NULL, NULL, NULL, 1, 1, 1, 1, '2010-03-03 08:00:00.579396') Fixture Insert (0.2ms) INSERT INTO "patrons" ("place", "last_name", "first_name", "full_name", "updated_at", "other_designation", "id", "date_of_birth", "date_of_death", "address_1", "language_id", "country_id", "patron_type_id", "required_role_id", "created_at") VALUES ('', NULL, NULL, '作者ダミー', '2010-03-16 10:00:00.579396', '', 103, NULL, NULL, NULL, 1, 1, 1, 1, '2010-03-16 10:00:00.579396') Fixture Insert (0.2ms) INSERT INTO "patrons" ("place", "last_name", "first_name", "full_name", "updated_at", "other_designation", "id", "date_of_birth", "date_of_death", "address_1", "language_id", "country_id", "patron_type_id", "required_role_id", "created_at") VALUES ('', NULL, NULL, '試験用会社', '2010-03-16 10:00:00.579396', '', 104, NULL, NULL, NULL, 1, 1, 1, 1, '2010-03-16 10:00:00.579396') Fixture Insert (0.2ms) INSERT INTO "patrons" ("place", "last_name", "first_name", "full_name", "updated_at", "other_designation", "id", "date_of_birth", "date_of_death", "address_1", "language_id", "country_id", "patron_type_id", "required_role_id", "created_at") VALUES ('', NULL, NULL, 'オーム社', '2010-03-15 08:00:00.579396', '', 201, NULL, NULL, NULL, 1, 1, 1, 1, '2010-03-15 08:00:00.579396') Fixture Insert (0.2ms) INSERT INTO "patrons" ("place", "last_name", "first_name", "full_name", "updated_at", "other_designation", "id", "date_of_birth", "date_of_death", "address_1", "language_id", "country_id", "patron_type_id", "required_role_id", "created_at") VALUES ('', NULL, NULL, 'Ruby社', '2010-03-15 08:00:00.579396', '', 202, NULL, NULL, NULL, 1, 1, 1, 1, '2010-03-15 08:00:00.579396') Fixture Delete (0.1ms) DELETE FROM "roles" Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Guest', 'Guest', 1, NULL, '2012-01-08 15:20:34', '2012-01-08 15:20:34') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('User', 'User', 2, NULL, '2012-01-08 15:20:34', '2012-01-08 15:20:34') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Librarian', 'Librarian', 3, NULL, '2012-01-08 15:20:34', '2012-01-08 15:20:34') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Administrator', 'Administrator', 4, NULL, '2012-01-08 15:20:34', '2012-01-08 15:20:34') Fixture Delete (0.2ms) DELETE FROM "user_groups" Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('(not specified)', '(not specified)', '2007-12-13 12:00:51.564542', 1, '', '2007-12-13 12:00:01.674976', 1) Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('User', 'User', '2007-12-22 18:14:56.836548', 2, '', '2007-12-22 18:14:40.173954', 2) Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('Faculty', 'Faculty', '2007-12-22 18:15:05.134351', 3, '', '2007-12-22 18:15:05.126457', 3) Fixture Delete (0.1ms) DELETE FROM "user_has_roles" Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (1, 4, '2012-01-08 15:20:34', '2012-01-08 15:20:34', 135138680) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (2, 3, '2012-01-08 15:20:34', '2012-01-08 15:20:34', 344583537) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (3, 2, '2012-01-08 15:20:34', '2012-01-08 15:20:34', 206669143) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (4, 3, '2012-01-08 15:20:34', '2012-01-08 15:20:34', 226540757) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (5, 2, '2012-01-08 15:20:34', '2012-01-08 15:20:34', 358143215) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (6, 2, '2012-01-08 15:20:34', '2012-01-08 15:20:34', 576709754) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (7, 2, '2012-01-08 15:20:34', '2012-01-08 15:20:34', 1010528733) Fixture Delete (0.2ms) DELETE FROM "users" Fixture Insert (2.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:16:30.163731', '$2a$10$vHohD1WflnTIqAa8zMkF9evwAgIZRw3XuR4d3bi29M.jph/MB/AJi', 2, 1, NULL, 'admin', 'tanabe@kamata.lib.teu.ac.jp', '2007-11-19 07:58:32.111941', 4) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 03:41:16.337474', '$2a$10$9O2VuTccN4gHq36ARg0QReSrb1D7WrBBhZZ759RM9moHbB0W5zCzS', 1, 2, NULL, 'librarian1', 'librarian1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:33.172441', 1) Fixture Insert (0.2ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', '$2a$10$JthS59A0BNkDOoFpCXM0V.GhhffKaoWKbzpPahYp/vTFrOyM7h/uW', 1, 3, NULL, 'user1', 'user1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:23.340575', '$2a$10$YmmTGrYQ1Ir6oc7wXnp.GuNeO1eYLoP3sv8wMSIrTdaGw2BPwRrpS', 1, 4, NULL, 'librarian2', '2008-01-18 03:24:04.222344', 1) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:44.711117', '$2a$10$i7UjJhLVrJM/J7qaTwW39OXw1NiwowUEbtNHVDV0sqMLjX9.UO9ca', 1, 5, NULL, 'user2', '2008-01-18 04:29:06.922728', 2) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 6, NULL, 'user3', 'user3@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 7, NULL, 'user4', 'user4@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_1@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.2ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_1@example.jp"], ["encrypted_password", "$2a$04$hypj1e/XEXTkRdM3cSt8n..GaG95.MHEhH.u0X9wafq1PprkW9RPe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_1"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00], ["role_id", 4], ["updated_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:35.166722' WHERE "roles"."id" = 4  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Rendered /Users/kosuke/enju_message/app/views/message_requests/index.html.erb within layouts/application (3.8ms) Completed 200 OK in 132ms (Views: 114.7ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_1@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_1@example.jp"], ["encrypted_password", "$2a$04$D89z6zNJMgKLkYUO2SGnBuxTW2R9sK8Y/uRkHREJVbI31XU5nL/je"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_1"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00], ["role_id", 3], ["updated_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:35.349374' WHERE "roles"."id" = 3  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 200 OK in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_1@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_1@example.jp"], ["encrypted_password", "$2a$04$8ieN8s35pEdRCyMYzf6om.Z5/T2.VfWgQ1ercBmNe.V6CBxKXaf8y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_1"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:35.391200' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 41ms (Views: 32.8ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "message_requests" WHERE ('t'='f') Processing by MessageRequestsController#index as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 13ms  (0.1ms) SELECT COUNT(*) FROM "message_requests" WHERE ('t'='f') Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_2@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_2@example.jp"], ["encrypted_password", "$2a$04$b3EFTFoVfeWDzFCOTawnwOz/7F1QPgyHpti.oJZxNzZTgHvRYAE2O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_2"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00], ["role_id", 4], ["updated_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00], ["user_id", 12]]  (0.3ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:35.477640' WHERE "roles"."id" = 4  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_2@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_2@example.jp"], ["encrypted_password", "$2a$04$jTSbKa.vhRgQZjF2fae6nO6.FPq4VPSE4w09wgEY9..P5UImAkt.C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_2"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:35.561706' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_3@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_3@example.jp"], ["encrypted_password", "$2a$04$byZ.SJr.VHIIJQDWMi8eQuuPzIpR./se2mD2JwXo.AHlOffdkjaaC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_3"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:35.597189' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 14 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_1' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_1"], ["created_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_1"], ["title", "message_template_1"], ["updated_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_1' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 14], ["sender_id", 13], ["sent_at", nil], ["state", "pending"], ["updated_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.2ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 200 OK in 44ms (Views: 35.4ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_2@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_2@example.jp"], ["encrypted_password", "$2a$04$utnQDViMNIOmS8Zg2IBGjOawZeSZuCDI4od/GVPeCBVOhrd2DVKly"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_2"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00], ["role_id", 3], ["updated_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:35.704920' WHERE "roles"."id" = 3  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_4@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_4@example.jp"], ["encrypted_password", "$2a$04$1nRVEtIV1E3cN/lbxQFPM.k7gbayGrpy7GY0ejF2xKRTF7/X8Kw2."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_4"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:35.727365' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_5@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_5@example.jp"], ["encrypted_password", "$2a$04$qFgpNLfmd6Z8OE0LYLXBk.BGnT8jt3ufR8YzgbHcjDPuOSoUs4iry"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_5"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:35.790208' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 14 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_2' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_2"], ["created_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_2"], ["title", "message_template_2"], ["updated_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_2' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 14], ["sender_id", 13], ["sent_at", nil], ["state", "pending"], ["updated_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_6@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_6@example.jp"], ["encrypted_password", "$2a$04$qJ39WEEChpbivRMguhkM3eEhEMeRDb5q5418IV8vr0TFf3pFU7FB6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_6"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:35.818635' WHERE "roles"."id" = 2  (0.0ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_7@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_7@example.jp"], ["encrypted_password", "$2a$04$I7vbxiFL/tdzTxkJ.ZdjduWDJ5wrs/bFoRf7swuK95gLKVFBGmhL2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_7"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:35.830331' WHERE "roles"."id" = 2  (0.0ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_8@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_8@example.jp"], ["encrypted_password", "$2a$04$9cr/l3h34Jg3Q4JaSQv9zuOZ19kUzqZXAZg1jgc6le0fK3UA2YPce"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_8"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:35.841598' WHERE "roles"."id" = 2  (0.0ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 14 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_3' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_3"], ["created_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_3"], ["title", "message_template_3"], ["updated_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_3' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 14], ["sender_id", 13], ["sent_at", nil], ["state", "pending"], ["updated_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_9@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_9@example.jp"], ["encrypted_password", "$2a$04$IL1.rHecxPpfl40UQEOjjuNaH.4GAWTUb65.KUtQLUvkEICfwDXU2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_9"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:35.870019' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_10@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_10@example.jp"], ["encrypted_password", "$2a$04$TJIdloadB8Z3.bypXA.Vhu8TYgCJ57EnXfGNX8viK2Ruv8cqkcNAm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_10"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:35.918125' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_4' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_4"], ["created_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_4"], ["title", "message_template_4"], ["updated_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_4' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_3@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_3@example.jp"], ["encrypted_password", "$2a$04$ccG8WCdNKVMbOkR.4/joEOh8ZBOGNOR7yEOjKgfsMNS6caLzLFijC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_3"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00], ["role_id", 4], ["updated_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:35.943771' WHERE "roles"."id" = 4  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_11@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_11@example.jp"], ["encrypted_password", "$2a$04$bqp.0E1.clpYvn82yHyf2.b7DsriiOGctkW/7.EKLaag1AlIAP2gu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_11"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:35.956276' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_12@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_12@example.jp"], ["encrypted_password", "$2a$04$N3y8NCsB2MF9STKTrf/5u.vIS/8PLeGWlIlTkNGg73ImN/zwUYJTO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_12"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:35.968123' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 14 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_5' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_5"], ["created_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_5"], ["title", "message_template_5"], ["updated_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_5' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 14], ["sender_id", 13], ["sent_at", nil], ["state", "pending"], ["updated_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 9ms (Views: 2.9ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_3@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_3@example.jp"], ["encrypted_password", "$2a$04$NNziaWuKhR3hvHW4b.ExUeNugoM1n0nuBNhkvfTdhSthW3F3hWk4e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_3"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00], ["role_id", 3], ["updated_at", Sun, 08 Jan 2012 15:20:35 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:35.998201' WHERE "roles"."id" = 3  (0.0ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_13@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (33.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_13@example.jp"], ["encrypted_password", "$2a$04$yAeqYDBgQNf7Tkh486YoZ.iEXqAEgZZAxnJrZ70UbbyfdDE5pGGMy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_13"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:36.043277' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_14@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_14@example.jp"], ["encrypted_password", "$2a$04$0nll/y8xWJXFwidEO7ODQ.BF3z5Hk8d/LokqMYWZ3jPU5LTumGPlu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_14"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:36.055776' WHERE "roles"."id" = 2  (0.0ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 14 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_6' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_6"], ["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_6"], ["title", "message_template_6"], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_6' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 14], ["sender_id", 13], ["sent_at", nil], ["state", "pending"], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_15@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_15@example.jp"], ["encrypted_password", "$2a$04$XKHPppwtrpR035HxZfp.BONAToIkvzHiC4gQNOwtecjEeJMuTNPna"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_15"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:36.084213' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_16@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_16@example.jp"], ["encrypted_password", "$2a$04$V0bUwOM4IRPFzGGPtaR2aeL7t4aOFl4DZyayDLMn6ujWk3Bg4PGXu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_16"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:36.096480' WHERE "roles"."id" = 2  (0.0ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_17@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_17@example.jp"], ["encrypted_password", "$2a$04$Ot85jw/o2PSkGFhvRdexse0UoAaRyGo8TwI0ZjseSLAfJScRqxaJO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_17"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:36.108191' WHERE "roles"."id" = 2  (0.0ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 14 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_7' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_7"], ["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_7"], ["title", "message_template_7"], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_7' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 14], ["sender_id", 13], ["sent_at", nil], ["state", "pending"], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_18@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (34.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_18@example.jp"], ["encrypted_password", "$2a$04$kOuoRfUMVRtcXRkRMjwFle5exfDT5ZboLsOxakkQF2ibuBbAHiTTO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_18"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:36.170547' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_19@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_19@example.jp"], ["encrypted_password", "$2a$04$c3VVfmJuFJRA4PRzMg0nzuhUI0wuWwfm2e1DjJiJhCEvv/3FtfEUS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_19"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:36.183572' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_8' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_8"], ["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_8"], ["title", "message_template_8"], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_8' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_20@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_20@example.jp"], ["encrypted_password", "$2a$04$EodMfvP3Bgpw1sBMZijyRO8uXYMPD/Gk3Jai0iTsW5hXJ2EI4D/DC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_20"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:36.210405' WHERE "roles"."id" = 2  (0.0ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_21@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_21@example.jp"], ["encrypted_password", "$2a$04$d2B8XAXpBLus4956yWa.tuFxv1S6GGTNbG8OB/3MqvBV4TQgARz/m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_21"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:36.222770' WHERE "roles"."id" = 2  (0.0ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_9' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_9"], ["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_9"], ["title", "message_template_9"], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_9' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_22@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_22@example.jp"], ["encrypted_password", "$2a$04$vpEPpOU4B00V8EZtpRJh4ulXN.yMPfbJA8k9tx1mncdK.vpl89u5a"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_22"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:36.240861' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 14 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_23@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_23@example.jp"], ["encrypted_password", "$2a$04$gMZoJwCXCW3dwxr6rePT3uUliNgG82MMUAmS.lMfW/wE8qeaJoPFm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_23"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:36.253358' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 15 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_10' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_10"], ["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_10"], ["title", "message_template_10"], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_4@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_4@example.jp"], ["encrypted_password", "$2a$04$fAgt05F4CveIZuGVo29uLOAW.Kgnhl21wf6ZyuqAvlak7LlFlXyH6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_4"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["role_id", 4], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:36.300676' WHERE "roles"."id" = 4  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 16 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"14", "receiver_id"=>"15", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 15 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_10' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 14, "receiver_id" = 15, "message_template_id" = 10, "updated_at" = '2012-01-08 15:20:36.312693' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 11ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_24@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_24@example.jp"], ["encrypted_password", "$2a$04$Zvm2IcPlnf2UxRH5mmUONO4Kciu1.SXZDpgRghUIZU9Km3gAPnbXq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_24"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:36.327218' WHERE "roles"."id" = 2  (0.0ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_25@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_25@example.jp"], ["encrypted_password", "$2a$04$mvmFYYy7u8bhY5bptQasDekbcJnHQOKC/fscU8sdIDWL1hRM.GoK6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_25"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:36.339289' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_11' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_11"], ["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_11"], ["title", "message_template_11"], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_11' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_26@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_26@example.jp"], ["encrypted_password", "$2a$04$gDvqxQs9LLOvwad7NsDWS.XGvpzuDWQf54LvIaSggjTsFBawRVT06"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_26"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:36.359050' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 14 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_27@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_27@example.jp"], ["encrypted_password", "$2a$04$IZFXXIvDpNAwbp8UIAS1v.SoDKtCs5oCBZAyVi8TojjldmQ6zuCTq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_27"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:36.370955' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 15 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_12' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_12"], ["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_12"], ["title", "message_template_12"], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_5@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_5@example.jp"], ["encrypted_password", "$2a$04$zT6RLrI3Q.XKZBVbWT.rxuRPfN1oAznofzq8FIAfCAs1b1BLQbLni"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_5"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["role_id", 4], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:36.418503' WHERE "roles"."id" = 4  (0.0ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 16 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"14", "receiver_id"=>"15", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 15 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_12' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 14, "receiver_id" = 15, "message_template_id" = 10, "updated_at" = '2012-01-08 15:20:36.430641' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 10ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_28@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_28@example.jp"], ["encrypted_password", "$2a$04$s1GH2uf4Ly7y8ePNGIJYw.zynhMPxfaYb3ZtbcXtIZa8jj792xMw2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_28"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:36.444422' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_29@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_29@example.jp"], ["encrypted_password", "$2a$04$mQGl6VEGMOC/ABCxA1IM8uTOgrBXbFiENQUpCYVLGz0pFbRYbqyAu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_29"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:36.456842' WHERE "roles"."id" = 2  (0.0ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_13' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_13"], ["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_13"], ["title", "message_template_13"], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_13' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_30@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_30@example.jp"], ["encrypted_password", "$2a$04$oMySe/3ij4SSEdgk5Y5ae.ZBD1fH545FgybvFTJ4D6RGvAqNhoUDi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_30"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:36.475222' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 14 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_31@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_31@example.jp"], ["encrypted_password", "$2a$04$VDQe64z5oc2D9KkwJnHnguAzh8wuj7THB6bwoHbDiIqcB0xQnZrma"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_31"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:36.487468' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 15 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_14' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_14"], ["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_14"], ["title", "message_template_14"], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_6@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_6@example.jp"], ["encrypted_password", "$2a$04$61ObtnCaXxBbDES0kZAjduRgwIh064CAUUEXKVMSHsoombFm2GgUC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_6"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["role_id", 4], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:36.534941' WHERE "roles"."id" = 4  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 16 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_13' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 10ms (Views: 0.9ms | ActiveRecord: 0.6ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_32@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_32@example.jp"], ["encrypted_password", "$2a$04$IMXBgtQosGmQIggIEIF8YOcZKTDlE4GTlsVdY8FNvEr/hWtNl/eAO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_32"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:36.561289' WHERE "roles"."id" = 2  (0.0ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_33@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_33@example.jp"], ["encrypted_password", "$2a$04$85aNMEf3fr4iDuq2X3eZv.cxYClO2J2rEFaMLvPdK5AJ0zfNvKo1C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_33"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:36.573301' WHERE "roles"."id" = 2  (0.0ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_15' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_15"], ["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_15"], ["title", "message_template_15"], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_15' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_34@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_34@example.jp"], ["encrypted_password", "$2a$04$nCXmbNtmT64Xo4dJMOFkIuMaFSgrl0qNvhJu1NFf2XoEaCGr6Iw.O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_34"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:36.592278' WHERE "roles"."id" = 2  (0.0ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 14 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_35@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_35@example.jp"], ["encrypted_password", "$2a$04$6hfJ4TxQaVV1KaKGgzB.MuBYiUyspLdajRYQOi3fwU9hjSJoEPPpC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_35"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:36.603947' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 15 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_16' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_16"], ["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_16"], ["title", "message_template_16"], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_4@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_4@example.jp"], ["encrypted_password", "$2a$04$5uHunWd1rgAHhosoxSQ6E.2Q.1mQ2HA.0DAiNRrFUYHGPJRnQZuNi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_4"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["role_id", 3], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:36.652679' WHERE "roles"."id" = 3  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 16 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"14", "receiver_id"=>"15", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 15 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_16' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 14, "receiver_id" = 15, "message_template_id" = 10, "updated_at" = '2012-01-08 15:20:36.664109' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 9ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_36@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_36@example.jp"], ["encrypted_password", "$2a$04$3WKv/V671WXvPNpE3HhUE.ZmTzHRa1vWS6HPMRJUA8gafEo5.2I8."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_36"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:36.677635' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_37@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_37@example.jp"], ["encrypted_password", "$2a$04$KQhShYJMolfTmiOLjTXqQORKUTqGkPd5Tgul4.il6nCcJ6WKkBllK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_37"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:36.690202' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_17' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_17"], ["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_17"], ["title", "message_template_17"], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_17' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_38@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_38@example.jp"], ["encrypted_password", "$2a$04$qw.gB3Xhb2CWbYjoVo5bkujuW6p0HsVl6FgJWlFkpWbER9XCI1zZO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_38"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:36.709130' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 14 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_39@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_39@example.jp"], ["encrypted_password", "$2a$04$n9qOOH0DU8i/zqbPgo.rAOov.XecejjbOSuABAh1xSuPku5RdIYGO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_39"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:36.721459' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 15 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_18' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_18"], ["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_18"], ["title", "message_template_18"], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_5@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_5@example.jp"], ["encrypted_password", "$2a$04$YVerg8nw8vdJ4zDz/Zp5yuZk4XHhpRE07VCl8d6whohVUMUUqeMjC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_5"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["role_id", 3], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:36.772119' WHERE "roles"."id" = 3  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 16 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"14", "receiver_id"=>"15", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 15 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_18' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 14, "receiver_id" = 15, "message_template_id" = 10, "updated_at" = '2012-01-08 15:20:36.789069' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 16ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_40@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_40@example.jp"], ["encrypted_password", "$2a$04$ZZ1yDDwx/8bn.51mnRFyKe0orp./63UM/SH0DnXyTUzGVoNtx/.Uu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_40"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:36.811671' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_41@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_41@example.jp"], ["encrypted_password", "$2a$04$LuFQU07ao4ep5mJYqt9xdOg4BvMvSiU6/YN0Pdrmx0yXs3x1G7EfS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_41"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:36.831723' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_19' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_19"], ["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_19"], ["title", "message_template_19"], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_19' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_42@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_42@example.jp"], ["encrypted_password", "$2a$04$EDaKdHc254XKCtrLnFBOQeMRpShs2JdkQCspbj0zLvlQazfQ/Lrvq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_42"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:36.862372' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 14 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_43@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_43@example.jp"], ["encrypted_password", "$2a$04$oz.OAWSqZGVEmZChPCfoCeBPBP93zS7fvi8YdeogQyyuLBxxZHAq."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_43"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:36.883525' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 15 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_20' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_20"], ["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_20"], ["title", "message_template_20"], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_6@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.2ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_6@example.jp"], ["encrypted_password", "$2a$04$OG2D4WBsD5dL7cTVpiv1DemXRZYUgq4VJUPWq8uNjzXZER5evy8L2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_6"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["role_id", 3], ["updated_at", Sun, 08 Jan 2012 15:20:36 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:36.965635' WHERE "roles"."id" = 3  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 16 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.3ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_19' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 17ms (Views: 1.3ms | ActiveRecord: 1.2ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_44@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_44@example.jp"], ["encrypted_password", "$2a$04$fJe8DVMNjSp/dlebNnlGOeT6wSBFvETCm76wt3GSJ7ycz.9dotWI."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_44"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:37.009428' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_45@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_45@example.jp"], ["encrypted_password", "$2a$04$0PDNaAlWNMqrx4oGRKA1bOaAkXn2O24gZKb9IPTFdZW7IklKxoU0q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_45"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:37.031610' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_21' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_21"], ["created_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_21"], ["title", "message_template_21"], ["updated_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_21' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_46@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_46@example.jp"], ["encrypted_password", "$2a$04$FUFs0acpyD/1wJV6GtmzbesmYg2b.Na/g.r/2Cdfeenloh8xs7Q8m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_46"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:37.064992' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 14 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_47@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_47@example.jp"], ["encrypted_password", "$2a$04$V6u/DFTu2DG6eOQLEm8CgOflNIJO.T6d8zicnU8mAcCHcCFc8Ixn2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_47"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:37.087151' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 15 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_22' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_22"], ["created_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_22"], ["title", "message_template_22"], ["updated_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_48@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.2ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_48@example.jp"], ["encrypted_password", "$2a$04$FRgniI9gOFbJmo9ssx.aMOw2E7eTIz94p94z2NmHJD5vdEBIWTQf2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_48"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:37.171652' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 16 LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"14", "receiver_id"=>"15", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_49@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_49@example.jp"], ["encrypted_password", "$2a$04$psbxsorH0SvTGUDmgiicvOorI9rVIw8kY2/awlm3u2zCsnG3BJHjO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_49"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:37.207890' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_50@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_50@example.jp"], ["encrypted_password", "$2a$04$c5aVLgEirPt5vw3CK2p9zOphzs2lophWffdy9MUNTbjJyLPMvrcUi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_50"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:37.229232' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_23' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_23"], ["created_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_23"], ["title", "message_template_23"], ["updated_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (1.4ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_23' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_51@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_51@example.jp"], ["encrypted_password", "$2a$04$oyUaaWr62JwDeuP7hmM13.AmZQTx9ocXbKgMl4MB2ho9DzpRXF62i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_51"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:37.263827' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 14 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_52@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_52@example.jp"], ["encrypted_password", "$2a$04$DvOmeu7SwM9VbwNM/GKJA.gXvlBFTUeP.UB.5xW10mXi.DHcv8EKe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_52"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:37.283858' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 15 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_24' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_24"], ["created_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_24"], ["title", "message_template_24"], ["updated_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_53@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (59.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_53@example.jp"], ["encrypted_password", "$2a$04$VG3USPzkAdRaaz5rDr0cIefaNDlfpjyTYVHfQ2YuVBpiTmSp7JchS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_53"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:37.366381' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 16 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"14", "receiver_id"=>"15", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_54@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_54@example.jp"], ["encrypted_password", "$2a$04$2Z0qfAoscHShvAPDgVYCP.HnCYh8C0kn4hJ9mtiXWI7GSa0hVZSfq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_54"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:37.405410' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_55@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_55@example.jp"], ["encrypted_password", "$2a$04$6dwgStN1FmmW5Mg0iEM3huxuiakbWbTghvUbTCVHWGap7tEOeN44u"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_55"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:37.426429' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_25' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_25"], ["created_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_25"], ["title", "message_template_25"], ["updated_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_25' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_56@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_56@example.jp"], ["encrypted_password", "$2a$04$b.V88jqe03r6FIF1PEDZAOuCaTHpcw.bykjVj2kSmgil9EfkaomIa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_56"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:37.459226' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 14 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_57@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_57@example.jp"], ["encrypted_password", "$2a$04$xq5FSyc0vjAucqmkDJtLbuq7tDDOAed.i7k5IX5ZpPD1/Bi0PWbEK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_57"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:37.478905' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 15 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_26' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_26"], ["created_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_26"], ["title", "message_template_26"], ["updated_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_58@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_58@example.jp"], ["encrypted_password", "$2a$04$0zMRMt3K8HR1B0UywZiQpOtMr7ykT.apCxaObfRCca84oQC4GuDR."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_58"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:37.504165' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 16 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_59@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_59@example.jp"], ["encrypted_password", "$2a$04$swDAnZQ09U3tBgh11d3XCOpZrWYoH4M4Uw4GpFa5ozbHZQ1jg0qjC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_59"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:37.598419' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_60@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_60@example.jp"], ["encrypted_password", "$2a$04$wwcO0JVK2DjQ0SepiKOrRe2XDKQc1NeLhkjEpApBoleDVOrE/HawW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_60"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:37.623274' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_27' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_27"], ["created_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_27"], ["title", "message_template_27"], ["updated_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_27' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_61@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_61@example.jp"], ["encrypted_password", "$2a$04$OvcmkJLPlevyK52wD9DKFO8VaMLHBqv6J/7KmMKIAh.Z8C1d2lGU."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_61"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:37.656169' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 14 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_62@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_62@example.jp"], ["encrypted_password", "$2a$04$Jcgu82wTVM9gOIRPCyCBHO1BYsERj2VXFWiMECsd20wT2HlLVuBmu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_62"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:37.677338' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 15 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_28' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_28"], ["created_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_28"], ["title", "message_template_28"], ["updated_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"14", "receiver_id"=>"15", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_63@example.jp' LIMIT 1 Role Load (0.7ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (59.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_63@example.jp"], ["encrypted_password", "$2a$04$O76WoMny4gGNCt5UamK9FuU36RviV6kU9ubB11eFA1OoRrTA8p2q."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_63"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:37.775097' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_64@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_64@example.jp"], ["encrypted_password", "$2a$04$MdIbXx.qALdrFN5v9Q2YLOtXfNcTyWBPOeTtAt39pjhFYxlRrtWPG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_64"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:37.797743' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_29' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_29"], ["created_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_29"], ["title", "message_template_29"], ["updated_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_29' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.9ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.8ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_65@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_65@example.jp"], ["encrypted_password", "$2a$04$C4aZW8gn37azvzah1HlGVeHK4kOh/TeQUW5kTYScHR2XPmDy33EA6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_65"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["user_id", 14]]  (0.3ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:37.831289' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 14 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_66@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_66@example.jp"], ["encrypted_password", "$2a$04$67t3hzzVORiZ2RrFWB2Rg..8D5lI0TgSE73gG/P0/tt1mjZDS.3x6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_66"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["user_id", 15]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:37.851759' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 15 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_30' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_30"], ["created_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_30"], ["title", "message_template_30"], ["updated_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"14", "receiver_id"=>"15", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 10ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_67@example.jp' LIMIT 1 Role Load (1.6ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_67@example.jp"], ["encrypted_password", "$2a$04$IfBnHbt7vkyEPAIXXCYP1eimGupt2lLHoPwgJ9MspNBGKa8FgoaI."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_67"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:37.897148' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_68@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_68@example.jp"], ["encrypted_password", "$2a$04$TNyFYCw2i7Xxg9GFt5jEt.n357jJctny6yvz8MXDjzxxoh08d.oC2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_68"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:37.921868' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.7ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_31' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_31"], ["created_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_31"], ["title", "message_template_31"], ["updated_at", Sun, 08 Jan 2012 15:20:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_31' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.2ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_69@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_69@example.jp"], ["encrypted_password", "$2a$04$J19Cy2ThNDv8vSCE/tEk1OdTnu0ZOKh3k5S9uQ5hWqRrXUrlSBcp."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_69"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:38.021367' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 14 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_70@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_70@example.jp"], ["encrypted_password", "$2a$04$aDIzomZvltaMHFL9aTNJz.vF8LR2bB2MxyUWRWislMlUL7Lt3XEmW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_70"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:38.041904' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 15 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_32' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_32"], ["created_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_32"], ["title", "message_template_32"], ["updated_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_71@example.jp' LIMIT 1 Role Load (0.8ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_71@example.jp"], ["encrypted_password", "$2a$04$5yrS.Q5ueaJRJk7XvdtM0eM.vA7a2KjQoLcUgWDdSsuAsCmPzaSvu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_71"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["user_id", 12]]  (0.3ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:38.081503' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_72@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_72@example.jp"], ["encrypted_password", "$2a$04$3nBuV8KMT6vuuHMm/rtp9uu5stU28hZUM5tT4kyci7Y37W7OHu55C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_72"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:38.105522' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_33' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_33"], ["created_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_33"], ["title", "message_template_33"], ["updated_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_33' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_7@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_7@example.jp"], ["encrypted_password", "$2a$04$W0DmwjK43Q2sY7QCHwRESOUUoL9n8dvR02xjYyZqeyaFOKCt9X8wG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_7"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["role_id", 4], ["updated_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:38.140711' WHERE "roles"."id" = 4  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 14 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 10ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_73@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_73@example.jp"], ["encrypted_password", "$2a$04$AUwv5c3eNDSZEEiqfo5gEOgjibyfv9bdE2Dg9ubfpRdd/R.SY4Av2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_73"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:38.237056' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_74@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_74@example.jp"], ["encrypted_password", "$2a$04$jpJ2lS2aEP1c7RjbGSm0WuoEEjD5iZoH0t5okcL021DIi/PI8Y5VW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_74"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:38.266165' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_34' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_34"], ["created_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_34"], ["title", "message_template_34"], ["updated_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_34' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_8@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_8@example.jp"], ["encrypted_password", "$2a$04$tsllPI9nhstYri8wPVo7lOynX9p/Ntf1UpKzfbwLOifs6lnUhTmPq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_8"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["role_id", 4], ["updated_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:38.301649' WHERE "roles"."id" = 4  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 14 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 10ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_75@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_75@example.jp"], ["encrypted_password", "$2a$04$3IUqkeboZD6.4JSj0pnNDema5Gg6LcHyT4lFLwyb38OX2VZAiz.9m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_75"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:38.343051' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_76@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_76@example.jp"], ["encrypted_password", "$2a$04$UAzPtbPKSqfJZw86C2AbTuyFjKFmBCJN1daDBJVRqNil.nk0F1tci"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_76"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:38.380367' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_35' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_35"], ["created_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_35"], ["title", "message_template_35"], ["updated_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_35' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_7@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_7@example.jp"], ["encrypted_password", "$2a$04$U1Q5.Qg6B.2Yy/jzbp079ueW2bBkRGlFOVUjYmARfQMWgcKQr1E7S"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_7"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["role_id", 3], ["updated_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:38.478428' WHERE "roles"."id" = 3  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 14 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.8ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 10ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_77@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_77@example.jp"], ["encrypted_password", "$2a$04$0laJFY2X/8Y4eEBBFVz9qujh0rujpqp3kOJds6B1xopMMwgye0Bu6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_77"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["user_id", 12]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:38.521168' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_78@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_78@example.jp"], ["encrypted_password", "$2a$04$UgBt2PGDwdNodQDVJ.PG.uErAecsW9siLyup0izLQ5bx1kFWlEIzq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_78"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["user_id", 13]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:38.545085' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_36' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_36"], ["created_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_36"], ["title", "message_template_36"], ["updated_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_36' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_8@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_8@example.jp"], ["encrypted_password", "$2a$04$gkDuZA5Pm/Bw5zIaqxmrN.GeQkvpy327xepKM.VhS3Ay/DiHSP8oS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_8"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["role_id", 3], ["updated_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:38.578914' WHERE "roles"."id" = 3  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 14 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 10ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_79@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_79@example.jp"], ["encrypted_password", "$2a$04$hfUbPLdWi19i62hWU1OIEua12w6EVFnMgf8VuwrFXNmPxXrvsq0mC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_79"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:38.618021' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_80@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_80@example.jp"], ["encrypted_password", "$2a$04$EyesGofzCT6EGIyoK.0ELOYSisEJ3056ghYKd09qRNkM.I02RIn1O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_80"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:38.707582' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_37' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_37"], ["created_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_37"], ["title", "message_template_37"], ["updated_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_37' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_81@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_81@example.jp"], ["encrypted_password", "$2a$04$ntQoHl4a.ryisZsFPhB6B.f9V05nay6JTDf3rALRrNv0XKLA.Nlwu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_81"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:38.745087' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 14 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_82@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_82@example.jp"], ["encrypted_password", "$2a$04$WfG04Okp7rc.BVPB2DfsDu9EOt.p2VBJ7I8aLVcj4lfcCh2BV28Um"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_82"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:38.788434' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_83@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_83@example.jp"], ["encrypted_password", "$2a$04$oGeystvyRa0r.xFLxutKYu8bTu34Hk4Ugob.VB3ONg./UCtWR1qqK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_83"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:38.809611' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_38' LIMIT 1 SQL (0.8ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_38"], ["created_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_38"], ["title", "message_template_38"], ["updated_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_38' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_84@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_84@example.jp"], ["encrypted_password", "$2a$04$Mg2MrGdokS0RAkhRASTaKuQjTxwuTnwdERafV6g51sEtgGD5Au0E."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_84"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:38.842353' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 14 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1 Completed 403 Forbidden in 79ms (Views: 1.5ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_85@example.jp' LIMIT 1 Role Load (0.9ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_85@example.jp"], ["encrypted_password", "$2a$04$172v0t/Ov75/1WKPT8RvauMd4NhXxgxWocOx07PapOELfS/spOaMK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_85"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:38.952417' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_86@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_86@example.jp"], ["encrypted_password", "$2a$04$twEu/J03ONMdBNy0gy1V/.GBW.TjCwVX00Ct5FzSk4NMkmRMXaH5C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_86"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["user_id", 13]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:38.975467' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_39' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_39"], ["created_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_39"], ["title", "message_template_39"], ["updated_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_39' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sun, 08 Jan 2012 15:20:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_87@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_87@example.jp"], ["encrypted_password", "$2a$04$xfSEFUJDlbSK6xc7qERPQOKzUECGrhGw3EkJo.ATQ6kL6JMN7Md6S"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_87"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:39.025015' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_88@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_88@example.jp"], ["encrypted_password", "$2a$04$p/mRwmNeN4ExXr17kuxTHuSMbiRljYqj9ipnt6HvpzTwBs/tprZki"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_88"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:39.046522' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_40' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_40"], ["created_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_40"], ["title", "message_template_40"], ["updated_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_40' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 10ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_41' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_41"], ["created_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_41"], ["title", "message_template_41"], ["updated_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_9@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (71.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_9@example.jp"], ["encrypted_password", "$2a$04$gnJUNKgyVs5iRJe.TJ/8iuPBNoYYxIrWNvfCUIv4mx88dTduqBdj."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_9"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00], ["role_id", 4], ["updated_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00], ["user_id", 12]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:39.171375' WHERE "roles"."id" = 4  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 200 OK in 17ms (Views: 8.1ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position LIMIT 10 OFFSET 0  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_42' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_42"], ["created_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_42"], ["title", "message_template_42"], ["updated_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_9@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_9@example.jp"], ["encrypted_password", "$2a$04$hu/qSL6LWKT.iSi7cG7nhOEt5KwHz7shEub5ZtlO/TySfGJXRGHDK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_9"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00], ["role_id", 3], ["updated_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:39.230975' WHERE "roles"."id" = 3  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 200 OK in 10ms (Views: 1.7ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position LIMIT 10 OFFSET 0  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_43' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_43"], ["created_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_43"], ["title", "message_template_43"], ["updated_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_89@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_89@example.jp"], ["encrypted_password", "$2a$04$KztqnwDaI67QMwR.aZ3hfuMrKJW6hFOlq4e6zi/hc0Vlbge1QBiDS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_89"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:39.277783' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "message_templates" WHERE ('t'='f')  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_44' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_44"], ["created_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_44"], ["title", "message_template_44"], ["updated_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms  (0.1ms) SELECT COUNT(*) FROM "message_templates" WHERE ('t'='f') Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_10@example.jp' LIMIT 1 Role Load (1.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_10@example.jp"], ["encrypted_password", "$2a$04$VFwSS9DoduhvlHage9LLhe7D.TCCZMJcYb13ZMxRh9O5fCrKV./OW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_10"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00], ["role_id", 4], ["updated_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:39.335959' WHERE "roles"."id" = 4  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_45' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_45"], ["created_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_45"], ["title", "message_template_45"], ["updated_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 200 OK in 22ms (Views: 12.0ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_10@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_10@example.jp"], ["encrypted_password", "$2a$04$uc6KZariSTxj6RlZOtasE.MqcDOb2NqYcfBZKHQqzP2dKVY5GlngW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_10"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00], ["role_id", 3], ["updated_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:39.393797' WHERE "roles"."id" = 3  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_46' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_46"], ["created_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_46"], ["title", "message_template_46"], ["updated_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 200 OK in 10ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.3ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_90@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_90@example.jp"], ["encrypted_password", "$2a$04$/cCq4LmC5dfdEPVenkT3/eEBIsgSDOphjU0qAppnaORx.uKrXlx66"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_90"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:39.500587' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_47' LIMIT 1 SQL (0.8ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_47"], ["created_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_47"], ["title", "message_template_47"], ["updated_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_48' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_48"], ["created_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_48"], ["title", "message_template_48"], ["updated_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_11@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_11@example.jp"], ["encrypted_password", "$2a$04$e0FYCBss4mv0b4EnrV7MXegPOcWKSb63zNgDxrBtEFPgZKutwenxa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_11"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00], ["role_id", 4], ["updated_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:39.564786' WHERE "roles"."id" = 4  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_11@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_11@example.jp"], ["encrypted_password", "$2a$04$d3o9KvPhYo.5qvpiYGFpnenzU93HEdW48ybyxZL9R/xwi9dXhGmOm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_11"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00], ["role_id", 3], ["updated_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:39.611365' WHERE "roles"."id" = 3  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_91@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_91@example.jp"], ["encrypted_password", "$2a$04$gpXKmjSiEUWItwrjV3XbqOCEdd6G9Qr1KJ5EHlcTtMT0Mpctj0Rkm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_91"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:39.651426' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.7ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Processing by MessageTemplatesController#new as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_12@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_12@example.jp"], ["encrypted_password", "$2a$04$ibQNUhDlec2ZakgRpkGCL.ea428hLDwjQu23bT/c5ynNdy33N.r0K"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_12"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00], ["role_id", 4], ["updated_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:39.764545' WHERE "roles"."id" = 4  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_49' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_49"], ["created_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_49"], ["title", "message_template_49"], ["updated_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 200 OK in 9ms (Views: 3.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_12@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_12@example.jp"], ["encrypted_password", "$2a$04$rgxywyKcOd0tZUVtPQb8NeADKz/bckm/KeA2JK4c5pxWSuJ4ETQCu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_12"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00], ["role_id", 3], ["updated_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:39.795859' WHERE "roles"."id" = 3  (0.0ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_50' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_50"], ["created_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_50"], ["title", "message_template_50"], ["updated_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_92@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_92@example.jp"], ["encrypted_password", "$2a$04$rq.PuHmpWHAQxmRwvdKL7uDC0/Zk8fFrlqmeLLasnGnQMPfHC64CC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_92"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:39.820363' WHERE "roles"."id" = 2  (0.0ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_51' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_51"], ["created_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_51"], ["title", "message_template_51"], ["updated_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_52' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_52"], ["created_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_52"], ["title", "message_template_52"], ["updated_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_13@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_13@example.jp"], ["encrypted_password", "$2a$04$WViLxtIF0Y.voymIQa/MFe/dOxEthI/pMQMh/BV6CBsFAF8/JTFbm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_13"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00], ["role_id", 4], ["updated_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:39.853738' WHERE "roles"."id" = 4  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_53", "status"=>"message_template_53", "body"=>"message_template_53"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_53' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_14@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_14@example.jp"], ["encrypted_password", "$2a$04$JMrM1a8aRmKVaumoMMzfXu.Rsj/OTlj7XN72paJ/7Gugswcl3CFiq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_14"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00], ["role_id", 4], ["updated_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:39.922710' WHERE "roles"."id" = 4  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_54", "status"=>"message_template_54", "body"=>"message_template_54"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_15@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_15@example.jp"], ["encrypted_password", "$2a$04$Xz0kV5vhxCDpWRsYTM0zW.g9IC5qGdZqtTQMq0ESRLLlrm8IHPfA."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_15"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00], ["role_id", 4], ["updated_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:39.945593' WHERE "roles"."id" = 4  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_16@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_16@example.jp"], ["encrypted_password", "$2a$04$Kc//x/NRHY8cX2kc9lr9DOcwAm6OFCUodMj5m.umtNFxgBMDWSiEC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_16"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00], ["role_id", 4], ["updated_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:39.972237' WHERE "roles"."id" = 4  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_13@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_13@example.jp"], ["encrypted_password", "$2a$04$vRkddXPRUD.jnRzae5UXw.zjrDgkLmZtyiZx6qiA9.yZJMFhEHCP6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_13"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00], ["role_id", 3], ["updated_at", Sun, 08 Jan 2012 15:20:39 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:39.992950' WHERE "roles"."id" = 3  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_57", "status"=>"message_template_57", "body"=>"message_template_57"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_57' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_14@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_14@example.jp"], ["encrypted_password", "$2a$04$dmxGwJiF7ZHDWb.nLyzdFeGM0IMYn0X.dSLxj.bD/wwGp8E6WbiFu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_14"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["role_id", 3], ["updated_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:40.051396' WHERE "roles"."id" = 3  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_58", "status"=>"message_template_58", "body"=>"message_template_58"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_15@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_15@example.jp"], ["encrypted_password", "$2a$04$9lDQVvQfePoWWSiYdnqxh..8my5awCA5J5Hv/PlZGjTi/fLs99VxG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_15"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["role_id", 3], ["updated_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:40.072065' WHERE "roles"."id" = 3  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_16@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_16@example.jp"], ["encrypted_password", "$2a$04$C1M9ZW00mVa2tBc4WV9Oa.EOAeuaaVkLe1kvV4oO.lwNSb6bzaD4y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_16"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["role_id", 3], ["updated_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:40.094925' WHERE "roles"."id" = 3  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_93@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_93@example.jp"], ["encrypted_password", "$2a$04$FpAZAHOIMN.pO6djF1t7O.8EHKYDpBJPS9EFabXSsGbRbuZ5WZErC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_93"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:40.116239' WHERE "roles"."id" = 2  (0.0ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_61", "status"=>"message_template_61", "body"=>"message_template_61"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_61' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_94@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_94@example.jp"], ["encrypted_password", "$2a$04$yjMV4tsKl2g/2WqjT2m2NuguOPJsnKVdjtdkUe6zVZaP5ehQqJkMO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_94"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:40.138402' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_62", "status"=>"message_template_62", "body"=>"message_template_62"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 8ms (Views: 1.2ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_95@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_95@example.jp"], ["encrypted_password", "$2a$04$F4Q/FFRk2BgXQk0.V2934ucH9MJDjcrv1Eto2kg7qwPuNKL5KOrPK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_95"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:40.199506' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_96@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_96@example.jp"], ["encrypted_password", "$2a$04$4LDn51NZXlfMU9SakvAvt.ocQK29I7fvdHz44jfUbk7Aa/M6bs4Ri"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_96"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:40.222581' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_65", "status"=>"message_template_65", "body"=>"message_template_65"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 3ms MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_65' LIMIT 1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_66", "status"=>"message_template_66", "body"=>"message_template_66"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 3ms Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 3ms MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 3ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_69' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_69"], ["created_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_69"], ["title", "message_template_69"], ["updated_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_17@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_17@example.jp"], ["encrypted_password", "$2a$04$LY9cZwQvA85sfJp2VCKAJ.wxfwJ/GMEpqZ2Jdp9UcUhX23bvO2Hq6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_17"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["role_id", 4], ["updated_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:40.272492' WHERE "roles"."id" = 4  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_70", "status"=>"message_template_70", "body"=>"message_template_70"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_70' AND "message_templates"."id" != 9) LIMIT 1  (0.1ms) UPDATE "message_templates" SET "title" = 'message_template_70', "status" = 'message_template_70', "body" = 'message_template_70', "updated_at" = '2012-01-08 15:20:40.282872' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates/9 Completed 302 Found in 50ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_71' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_71"], ["created_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_71"], ["title", "message_template_71"], ["updated_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_18@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_18@example.jp"], ["encrypted_password", "$2a$04$xH0AoiYEh105991PNc8WlOoIMvmKOaNybEbEZ8FTpWzR5iJ3hBkmi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_18"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["role_id", 4], ["updated_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:40.341287' WHERE "roles"."id" = 4  (0.0ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_72", "status"=>"message_template_72", "body"=>"message_template_72"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_72' AND "message_templates"."id" != 9) LIMIT 1  (0.1ms) UPDATE "message_templates" SET "title" = 'message_template_72', "status" = 'message_template_72', "body" = 'message_template_72', "updated_at" = '2012-01-08 15:20:40.351592' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates/9 Completed 302 Found in 8ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_73' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_73"], ["created_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_73"], ["title", "message_template_73"], ["updated_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_19@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_19@example.jp"], ["encrypted_password", "$2a$04$g89Aja2F/qTzSlyB0X97reKFf14HfU7oI4U89bFd6RBPyxhz/H8pi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_19"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["role_id", 4], ["updated_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:40.369693' WHERE "roles"."id" = 4  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_74", "status"=>"message_template_74", "body"=>"message_template_74"}, "position"=>"2", "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "message_templates" SET "position" = 0, "updated_at" = '2012-01-08 15:20:40.378417' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "message_templates" SET position = (position - 1) WHERE "message_templates"."id" IN (SELECT "message_templates"."id" FROM "message_templates" WHERE (1 = 1 AND position > 9) ORDER BY position) SQL (0.2ms) UPDATE "message_templates" SET position = (position + 1) WHERE "message_templates"."id" IN (SELECT "message_templates"."id" FROM "message_templates" WHERE (1 = 1 AND position >= 2) ORDER BY position)  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "message_templates" SET "position" = 2, "updated_at" = '2012-01-08 15:20:40.380176' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates Completed 302 Found in 7ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_75' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_75"], ["created_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_75"], ["title", "message_template_75"], ["updated_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_20@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_20@example.jp"], ["encrypted_password", "$2a$04$z.vCRU7WDDT94bjQ9nnk0OB75gMi1WDGmyH1wrVUlAVfWYtZnHZei"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_20"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["role_id", 4], ["updated_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:40.395677' WHERE "roles"."id" = 4  (0.0ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = '' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 0.8ms | ActiveRecord: 0.0ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_77' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_77"], ["created_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_77"], ["title", "message_template_77"], ["updated_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_17@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_17@example.jp"], ["encrypted_password", "$2a$04$vghSlHhxqk5zUjcSKo7a6eGtHK/8ehh.EL3puI/DeUStM53iJ3ffW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_17"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["role_id", 3], ["updated_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:40.421500' WHERE "roles"."id" = 3  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_78", "status"=>"message_template_78", "body"=>"message_template_78"}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_79' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_79"], ["created_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_79"], ["title", "message_template_79"], ["updated_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_18@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_18@example.jp"], ["encrypted_password", "$2a$04$ezivdN16WM3Xbvc25yeirOUV461tdc4cPoDCjSMUxQ4AxWVwmSoDG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_18"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["role_id", 3], ["updated_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:40.482207' WHERE "roles"."id" = 3  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_80", "status"=>"message_template_80", "body"=>"message_template_80"}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_81' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_81"], ["created_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_81"], ["title", "message_template_81"], ["updated_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_19@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_19@example.jp"], ["encrypted_password", "$2a$04$w16HlPRNTCu5oZO8S6HAHuvRTh5ukjmPLMYyObLcnPhNLN9FsNCpa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_19"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["role_id", 3], ["updated_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:40.506387' WHERE "roles"."id" = 3  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_83' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_83"], ["created_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_83"], ["title", "message_template_83"], ["updated_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_97@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_97@example.jp"], ["encrypted_password", "$2a$04$.IDzxl6wYuiVnJ/nxdZHbehWYpII/x0ck3rWHveAJ2ZspBedzkk1S"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_97"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:40.531017' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_84", "status"=>"message_template_84", "body"=>"message_template_84"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_85' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_85"], ["created_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_85"], ["title", "message_template_85"], ["updated_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_98@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_98@example.jp"], ["encrypted_password", "$2a$04$TVP4WpxQdm7BJa73FTxGz.nbmef9o1ccFB.FQM4KA6Zo.IYzy9Iva"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_98"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:40.556154' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_86", "status"=>"message_template_86", "body"=>"message_template_86"}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 42ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_87' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_87"], ["created_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_87"], ["title", "message_template_87"], ["updated_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_99@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_99@example.jp"], ["encrypted_password", "$2a$04$AA4AtaFr0mMxhTTIAW3vKuS7HEQpLm/ep7ghHmf1F2HljU/oIc/HK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_99"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:40.618003' WHERE "roles"."id" = 2  (0.0ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 5ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_89' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_89"], ["created_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_89"], ["title", "message_template_89"], ["updated_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_90", "status"=>"message_template_90", "body"=>"message_template_90"}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_91' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_91"], ["created_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_91"], ["title", "message_template_91"], ["updated_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_92", "status"=>"message_template_92", "body"=>"message_template_92"}, "id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_93' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_93"], ["created_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_93"], ["title", "message_template_93"], ["updated_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_95' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_95"], ["created_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_95"], ["title", "message_template_95"], ["updated_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_21@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_21@example.jp"], ["encrypted_password", "$2a$04$pcJSfEYt2vehXCtiOv4EAe74Blvw7pYgkhl4O2M3va5wnL8cceKqK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_21"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["role_id", 4], ["updated_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:40.670243' WHERE "roles"."id" = 4  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_96' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_96"], ["created_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_96"], ["title", "message_template_96"], ["updated_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_22@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_22@example.jp"], ["encrypted_password", "$2a$04$3lT23Hv7XhEhk/hiNUVrx..v7Fxk0W.9P/V3w/VQdOFn4IUejs2Za"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_22"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["role_id", 4], ["updated_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:40.695095' WHERE "roles"."id" = 4  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.0ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 1.2ms | ActiveRecord: 0.2ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_97' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_97"], ["created_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_97"], ["title", "message_template_97"], ["updated_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_20@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (40.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_20@example.jp"], ["encrypted_password", "$2a$04$YNUg5Dg/TlwYQiW7k0de5Of9yevF8E7gFRhl2EJL3fJHWdXkQjD3y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_20"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["role_id", 3], ["updated_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:40.761644' WHERE "roles"."id" = 3  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 8ms (Views: 1.0ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_98' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_98"], ["created_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_98"], ["title", "message_template_98"], ["updated_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_21@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_21@example.jp"], ["encrypted_password", "$2a$04$Ut54U0DtzIiSm8a5BxaOzuA3nrX1u6mkkFC4JIuz3YgYJt2GfR4Ia"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_21"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["role_id", 3], ["updated_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:40.798049' WHERE "roles"."id" = 3  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_99' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_99"], ["created_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_99"], ["title", "message_template_99"], ["updated_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_100@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_100@example.jp"], ["encrypted_password", "$2a$04$ZtuDObrSPAAOVE12HU6X/uyxaUX21R3YuzsufxrmLFuF2vGUEl/gu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_100"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:40.839096' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 2.0ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_100' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_100"], ["created_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_100"], ["title", "message_template_100"], ["updated_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_101@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_101@example.jp"], ["encrypted_password", "$2a$04$PtEtbzf8s3L7wTJ29beFzufLvCeGhA9pYYvGGoMOT5M1WAHQiwf6C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_101"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:40.878483' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_101' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_101"], ["created_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_101"], ["title", "message_template_101"], ["updated_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_102' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_102"], ["created_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_102"], ["title", "message_template_102"], ["updated_at", Sun, 08 Jan 2012 15:20:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 64ms (Views: 43.2ms | ActiveRecord: 0.6ms | Solr: 0.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 403 Forbidden in 15ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#show as HTML Parameters: {"id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 3 AND "messages"."id" = ? LIMIT 1 [["id", "2"]]  (0.0ms) SAVEPOINT active_record_1  (0.3ms) UPDATE "messages" SET "read_at" = '2012-01-08 15:20:41.157651', "updated_at" = '2012-01-08 15:20:41.158044' WHERE "messages"."id" = 2 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1  (0.4ms) UPDATE "messages" SET "state" = 'read', "updated_at" = '2012-01-08 15:20:41.165447' WHERE "messages"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 105ms (Views: 18.7ms | ActiveRecord: 1.7ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_23@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_23@example.jp"], ["encrypted_password", "$2a$04$cbMxHf8HKOUGInHJI9IJWeqTPHHxLn/NklY0GFGCqFetyN/CoTaGm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_23"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:41 UTC +00:00], ["role_id", 4], ["updated_at", Sun, 08 Jan 2012 15:20:41 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:41.299518' WHERE "roles"."id" = 4  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 Completed 200 OK in 46ms (Views: 31.2ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.3ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_22@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_22@example.jp"], ["encrypted_password", "$2a$04$/.em3bG3Cgs3Fi/OidQYs.2WK69W0laksIEJqUN.FghNvF25fBm1K"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_22"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:41 UTC +00:00], ["role_id", 3], ["updated_at", Sun, 08 Jan 2012 15:20:41 UTC +00:00], ["user_id", 12]]  (0.3ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:41.375611' WHERE "roles"."id" = 3  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 Completed 200 OK in 13ms (Views: 1.4ms | ActiveRecord: 0.5ms | Solr: 0.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 13ms (Views: 1.5ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML Parameters: {"parent_id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML Parameters: {"parent_id"=>"2"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Processing by MessagesController#new as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 8ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_24@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_24@example.jp"], ["encrypted_password", "$2a$04$aBkJe.glsWGomQ/KI/.UBOcU/HqmPRrcZMn9j4swzzNgqdaRV6IAm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_24"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:41 UTC +00:00], ["role_id", 4], ["updated_at", Sun, 08 Jan 2012 15:20:41 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:41.575953' WHERE "roles"."id" = 4  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.3ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 12 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 12ms (Views: 1.3ms | ActiveRecord: 1.0ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_23@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_23@example.jp"], ["encrypted_password", "$2a$04$v1eEZigO0uL15AGptJ3MCOzyOuTXIlRTM5KJB0YjJS.RM2i5a9HBC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_23"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:41 UTC +00:00], ["role_id", 3], ["updated_at", Sun, 08 Jan 2012 15:20:41 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:41.618734' WHERE "roles"."id" = 3  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 25ms (Views: 8.5ms | ActiveRecord: 0.6ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_102@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_102@example.jp"], ["encrypted_password", "$2a$04$vEEgvicLfq28fTXfZ4RAKOXCpQPBEb09F9I0UPmvzGO/PfmDBcggS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_102"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:41 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:41 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:41.691029' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_103@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_103@example.jp"], ["encrypted_password", "$2a$04$9BrOeQOig6mD2sFBALweJu9gC3CwWnD.rrqkvXXLopv5adXtwiKNC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_103"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:41 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:41 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:41.711164' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user_102' LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" ORDER BY "rgt" desc LIMIT 1 SQL (0.9ms) INSERT INTO "messages" ("body", "created_at", "lft", "message_request_id", "parent_id", "read_at", "receiver_id", "rgt", "sender_id", "state", "subject", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "new message body is really short"], ["created_at", Sun, 08 Jan 2012 15:20:41 UTC +00:00], ["lft", 9], ["message_request_id", nil], ["parent_id", nil], ["read_at", nil], ["receiver_id", 12], ["rgt", 10], ["sender_id", 13], ["state", "unread"], ["subject", "new message"], ["updated_at", Sun, 08 Jan 2012 15:20:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#edit as HTML Parameters: {"id"=>"8"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "8"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_25@example.jp' LIMIT 1 Role Load (1.6ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (65.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_25@example.jp"], ["encrypted_password", "$2a$04$BLIseEe6.ZjaHeuZRH3MIOmU6HODwP0C6KDb9WtXcdxoGLtUzvAAS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_25"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:41 UTC +00:00], ["role_id", 4], ["updated_at", Sun, 08 Jan 2012 15:20:41 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:41.820679' WHERE "roles"."id" = 4  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user1", "subject"=>"test", "body"=>"test"}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user1' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user1' LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" ORDER BY "rgt" desc LIMIT 1 SQL (3.8ms) INSERT INTO "messages" ("body", "created_at", "lft", "message_request_id", "parent_id", "read_at", "receiver_id", "rgt", "sender_id", "state", "subject", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "test"], ["created_at", Sun, 08 Jan 2012 15:20:41 UTC +00:00], ["lft", 9], ["message_request_id", nil], ["parent_id", nil], ["read_at", nil], ["receiver_id", 3], ["rgt", 10], ["sender_id", 12], ["state", "unread"], ["subject", "test"], ["updated_at", Sun, 08 Jan 2012 15:20:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/messages Completed 302 Found in 20ms User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_26@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_26@example.jp"], ["encrypted_password", "$2a$04$/6N8bxlGYX1DYhtlHpcBNeKu4aocI.e5RiYoMMnYZaKI7NR3l3eSG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_26"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:41 UTC +00:00], ["role_id", 4], ["updated_at", Sun, 08 Jan 2012 15:20:41 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:41.869500' WHERE "roles"."id" = 4  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user1", "subject"=>"test", "body"=>"test"}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user1' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user1' LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" ORDER BY "rgt" desc LIMIT 1 SQL (1.3ms) INSERT INTO "messages" ("body", "created_at", "lft", "message_request_id", "parent_id", "read_at", "receiver_id", "rgt", "sender_id", "state", "subject", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "test"], ["created_at", Sun, 08 Jan 2012 15:20:41 UTC +00:00], ["lft", 9], ["message_request_id", nil], ["parent_id", nil], ["read_at", nil], ["receiver_id", 3], ["rgt", 10], ["sender_id", 12], ["state", "unread"], ["subject", "test"], ["updated_at", Sun, 08 Jan 2012 15:20:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/messages Completed 302 Found in 21ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_27@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_27@example.jp"], ["encrypted_password", "$2a$04$EYeXHh2w6TUBX4pN5Ux4mOS01BX/K2pzXsW8O7/jYph8o5SG2MR6a"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_27"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:41 UTC +00:00], ["role_id", 4], ["updated_at", Sun, 08 Jan 2012 15:20:41 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:41.925647' WHERE "roles"."id" = 4  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user1", "subject"=>"test", "body"=>""}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user1' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 12ms (Views: 1.2ms | ActiveRecord: 0.6ms | Solr: 0.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_28@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_28@example.jp"], ["encrypted_password", "$2a$04$5QTF7lWyBEdd4/DltKXie.k22Z8G/a4mYY675sOfx8IKDx3yBEEdK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_28"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:41 UTC +00:00], ["role_id", 4], ["updated_at", Sun, 08 Jan 2012 15:20:41 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:41.969806' WHERE "roles"."id" = 4  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user1", "subject"=>"test", "body"=>""}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user1' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 14ms (Views: 1.2ms | ActiveRecord: 0.7ms | Solr: 0.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test", "parent_id"=>"2"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user2' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user2' LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" ORDER BY "rgt" desc LIMIT 1 SQL (1.3ms) INSERT INTO "messages" ("body", "created_at", "lft", "message_request_id", "parent_id", "read_at", "receiver_id", "rgt", "sender_id", "state", "subject", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "test"], ["created_at", Sun, 08 Jan 2012 15:20:42 UTC +00:00], ["lft", 9], ["message_request_id", nil], ["parent_id", 2], ["read_at", nil], ["receiver_id", 5], ["rgt", 10], ["sender_id", 2], ["state", "unread"], ["subject", "test"], ["updated_at", Sun, 08 Jan 2012 15:20:42 UTC +00:00]] Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? ORDER BY "lft" LIMIT 1 [["id", 2]] Message Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 8]] SQL (0.6ms) UPDATE "messages" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 8 THEN 2 ELSE "parent_id" END WHERE "messages"."id" IN (SELECT "messages"."id" FROM "messages" ORDER BY "lft") Message Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 2]] Message Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/messages Completed 302 Found in 22ms User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 2.1ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test", "parent_id"=>"2"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user1", "subject"=>"test", "body"=>"test"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user1", "subject"=>"test", "body"=>"test"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user1", "subject"=>"test", "body"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 8ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user1", "subject"=>"test", "body"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_104@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_104@example.jp"], ["encrypted_password", "$2a$04$1Ue14/Xl9etrUOsJ4ws7jeZQqAtQcX7jtBSG8LYaRv2Kcpw/qeur."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_104"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:42 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:42 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:42.199229' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_105@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_105@example.jp"], ["encrypted_password", "$2a$04$EKbGyPr0Ish2b8MqdM0AQuLjcc2Z2fhxno2ypmClgdg9I01.fTtxy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_105"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:42 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:42 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:42.220922' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_104", "sender_id"=>"13", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (3.4ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 16ms (Views: 1.3ms | ActiveRecord: 4.2ms | Solr: 0.0ms) Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_106@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_106@example.jp"], ["encrypted_password", "$2a$04$XWgUPqAH9h.MlgcqMHF6lO.5Rsx/CqWZc8Jpq25y/gNvrGhU6OjCy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_106"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:42 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:42 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:42.264765' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_107@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (65.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_107@example.jp"], ["encrypted_password", "$2a$04$MyVuj9aaYgf2TcymQ7xWy.9HoRsWoow0JazrRlabQYA5ZJysjjGwC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_107"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:42 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:42 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:42.350271' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_106", "sender_id"=>"13", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 12ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_108@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_108@example.jp"], ["encrypted_password", "$2a$04$skUzl2zZiRA6hA7mT4vFn.lyqgq9wxm7vBJWWyR8hUP.Twf1Gvvwm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_108"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:42 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:42 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:42.395600' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_109@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_109@example.jp"], ["encrypted_password", "$2a$04$Op19TP.4EMvH9sD2hMxWBuzr451d90omlz7/Alf27cOYMddo3kUT6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_109"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:42 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:42 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:42.420159' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 11ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_110@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_110@example.jp"], ["encrypted_password", "$2a$04$G2vQihn8tzUyoqCZs9TrmuPXgv0.21myOwX57RcXE1YPyesrvcwZ."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_110"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:42 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:42 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:42.458487' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.3ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_111@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_111@example.jp"], ["encrypted_password", "$2a$04$Tcsqowy5YnhpWcXrbObsfOETqpdULaVguWRnndaA/biwLmmWz1jCS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_111"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:42 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:42 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:42.487165' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 86ms (Views: 74.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_112@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_112@example.jp"], ["encrypted_password", "$2a$04$vpwmHgluxr6gxTTzoQF.Ue4LYwWRB3WKdHT.b0HtyEGvtcvI5R2/K"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_112"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:42 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:42 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:42.600928' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_113@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_113@example.jp"], ["encrypted_password", "$2a$04$p6pMUGJpyVytxFg5NV2y7OslXEMLJnfEOGGqhIlQw32JRWbrZl0JW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_113"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:42 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:42 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:42.625678' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_112", "sender_id"=>"13", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.2ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_114@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_114@example.jp"], ["encrypted_password", "$2a$04$m.IbcaHcBMS9YwscmuAMQuMMfsvMb0cE48JJCZyUVcihuEPk.V/JC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_114"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:42 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:42 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:42.667280' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.2ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_115@example.jp' LIMIT 1 Role Load (2.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_115@example.jp"], ["encrypted_password", "$2a$04$YGzzL0n4dgiNmRvBiz9Q2e5bjNA3rzI2LzM3vr1Xbt5gSMZZLAhI."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_115"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:42 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:42 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:42.693743' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_114", "sender_id"=>"13", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_116@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_116@example.jp"], ["encrypted_password", "$2a$04$3QoiQHi4VXMvESWBOeJQk.1n629rdCQnZrg.1arnuXJXbYVYKQO9e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_116"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:42 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:42 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:42.744531' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_117@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_117@example.jp"], ["encrypted_password", "$2a$04$mrlU.Xjv6vi4gVIrVRYiQOHH0Lsevh3O6ob6Sw8nw2GXPjKDOY32y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_117"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:42 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:42 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:42.829493' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.2ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_118@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_118@example.jp"], ["encrypted_password", "$2a$04$1qWZE.fIyjPLetiMQqX6CeXYjin3jXWfNqyzNou9dnvD5/7ntCmmG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_118"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:42 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:42 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:42.873193' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_119@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_119@example.jp"], ["encrypted_password", "$2a$04$BU3rIVNhWmtWjysgHtWm7e3axskeolUzlDBAzktU.1FzjVoNVlIwq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_119"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:42 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:42 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:42.898424' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_120@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_120@example.jp"], ["encrypted_password", "$2a$04$QJZ.y.hDOVhTWDqK/lxhyO9WghQsj1Oj0FUomZFWoE4qZds9BQaSa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_120"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:42 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:42 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:42.948431' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.6ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_121@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_121@example.jp"], ["encrypted_password", "$2a$04$9On3V3XdcP.Z/TeSjCKwPuBLF0H.2xh0W/qVvgGwmdAXoyZ/0xD8O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_121"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:42 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:42 UTC +00:00], ["user_id", 13]]  (0.8ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:42.977697' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_122@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_122@example.jp"], ["encrypted_password", "$2a$04$5tPsQYHIILcZ4opIEXCkRu/8t30TRytEUMQN0qFec75OoRUCp4ycm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_122"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:43 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:43 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:43.089125' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_123@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_123@example.jp"], ["encrypted_password", "$2a$04$2Rtw44/0EOTM562Cwy7Lgu8xYbnUM1nKHDinlpE/CV5JVniZteAdC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_123"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:43 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:43 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:43.111080' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.7ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_124@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_124@example.jp"], ["encrypted_password", "$2a$04$cd5w5Ztbnw5rDbu/wf4lm.upyYsY5nEM.FQGRQasDEdgpTlt34sQW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_124"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:43 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:43 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:43.156117' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_125@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_125@example.jp"], ["encrypted_password", "$2a$04$T5BQJsDpLcC.Wnzv3ILq9OCqAKvoICWv0BojyF5GikQqMkjVo9wbe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_125"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:43 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:43 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:43.176941' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_124", "sender_id"=>"13", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_126@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (73.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_126@example.jp"], ["encrypted_password", "$2a$04$Mh8HhTR4DPxGz4Nv8xzdMuqjK2khe1pCykOPb75YarfrkThZfbQx."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_126"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:43 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:43 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:43.289839' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_127@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_127@example.jp"], ["encrypted_password", "$2a$04$2cn7bVnpdcjvlvzTYI0Plupkn28LsM9ivIvCerc5cPBoNYsyxx1h6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_127"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:43 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:43 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:43.312195' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_126", "sender_id"=>"13", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_128@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_128@example.jp"], ["encrypted_password", "$2a$04$YVrxp0W.iAyc.qkFChenGedaEwFJlYAHce19dz3Cs0Vtlm14PpRzq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_128"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:43 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:43 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:43.351607' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_129@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_129@example.jp"], ["encrypted_password", "$2a$04$KqA0S.HpY9tYxAO3GmVjjOpGUx.p7x80PN/I02QNjtFVerZoze70y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_129"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:43 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:43 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:43.386164' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_130@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_130@example.jp"], ["encrypted_password", "$2a$04$D9IlwbWFYMaGshS2uEshpO1GtVdPoaW8EjexzSfKEFrQTJaL/Ay5q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_130"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:43 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:43 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:43.428096' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_131@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_131@example.jp"], ["encrypted_password", "$2a$04$YPR7BuGI6rfyyDF8exHd/uny1VWv4hQzlojv2oKQRPeVZjKrqrtCq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_131"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:43 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:43 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:43.512931' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (3.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 14ms (Views: 1.3ms | ActiveRecord: 3.6ms | Solr: 0.0ms) Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_132@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_132@example.jp"], ["encrypted_password", "$2a$04$iAc2bFNF2GxvwMs.mEl8LuWHT5u60wuD.KdamPStRHnFva87Xkhaq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_132"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:43 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:43 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:43.556880' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_133@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_133@example.jp"], ["encrypted_password", "$2a$04$svgE78rSx2MGesI07MHrQOtaFx.L..zEipnHwfi2xB5ogxuv2zJfy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_133"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:43 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:43 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:43.580689' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 8ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#destroy as HTML Parameters: {"id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 3 AND "messages"."id" = ? LIMIT 1 [["id", "2"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "messages" WHERE ("lft" > 3 AND "rgt" < 4) SQL (0.4ms) UPDATE "messages" SET "lft" = ("lft" - 2) WHERE "messages"."id" IN (SELECT "messages"."id" FROM "messages" WHERE ("lft" > 4) ORDER BY "lft") SQL (0.5ms) UPDATE "messages" SET "rgt" = ("rgt" - 2) WHERE "messages"."id" IN (SELECT "messages"."id" FROM "messages" WHERE ("rgt" > 4) ORDER BY "lft") SQL (0.2ms) DELETE FROM "messages" WHERE "messages"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/messages Completed 302 Found in 21ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 403 Forbidden in 14ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_134@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_134@example.jp"], ["encrypted_password", "$2a$04$OQWLPBYGB.dfMCSM1moL1uriOG6jY85/ViFI9h0FccWPiKJHQQqBS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_134"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:43 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:43 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:43.689860' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_135@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_135@example.jp"], ["encrypted_password", "$2a$04$fZMQSmVwcNeahFsCv5MWD.hyLRWJ7mk/D2l/913VtklaJfKbRdp0C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_135"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:43 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:43 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:43.778900' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.1ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user_134' LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" ORDER BY "rgt" desc LIMIT 1 SQL (0.8ms) INSERT INTO "messages" ("body", "created_at", "lft", "message_request_id", "parent_id", "read_at", "receiver_id", "rgt", "sender_id", "state", "subject", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "new message body is really short"], ["created_at", Sun, 08 Jan 2012 15:20:43 UTC +00:00], ["lft", 9], ["message_request_id", nil], ["parent_id", nil], ["read_at", nil], ["receiver_id", 12], ["rgt", 10], ["sender_id", 13], ["state", "unread"], ["subject", "new message"], ["updated_at", Sun, 08 Jan 2012 15:20:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_136@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_136@example.jp"], ["encrypted_password", "$2a$04$bhoKHkLb.VcHQp47IrTP0e.oosYtbg7IFB7VZ8.GyapRQnAU/VVYS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_136"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:43 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:43 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:43.808322' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_137@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_137@example.jp"], ["encrypted_password", "$2a$04$/ve5HeIKJBdjMFsovHc8LO5fSGlKyFGafy.9LgSog8zWPwAI4a8oe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_137"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:43 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:43 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:43.829757' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user_136' LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" ORDER BY "rgt" desc LIMIT 1 SQL (0.9ms) INSERT INTO "messages" ("body", "created_at", "lft", "message_request_id", "parent_id", "read_at", "receiver_id", "rgt", "sender_id", "state", "subject", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "new message body is really short"], ["created_at", Sun, 08 Jan 2012 15:20:43 UTC +00:00], ["lft", 9], ["message_request_id", nil], ["parent_id", nil], ["read_at", nil], ["receiver_id", 12], ["rgt", 10], ["sender_id", 13], ["state", "unread"], ["subject", "new message"], ["updated_at", Sun, 08 Jan 2012 15:20:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_138@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_138@example.jp"], ["encrypted_password", "$2a$04$C8jAPX4F2b622YDvaNFW3O8FBKwZq/enwlmsq9e94DwXHm6hiuiee"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_138"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:43 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:43 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:43.864957' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.5ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_139@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_139@example.jp"], ["encrypted_password", "$2a$04$mv5OD/bR2OZ1phv1qGtSL.ug8A02l4NBjYxqVatsUSGtkm92zC78e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_139"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:43 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:43 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:43.886827' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user_138' LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" ORDER BY "rgt" desc LIMIT 1 SQL (0.8ms) INSERT INTO "messages" ("body", "created_at", "lft", "message_request_id", "parent_id", "read_at", "receiver_id", "rgt", "sender_id", "state", "subject", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "new message body is really short"], ["created_at", Sun, 08 Jan 2012 15:20:43 UTC +00:00], ["lft", 9], ["message_request_id", nil], ["parent_id", nil], ["read_at", nil], ["receiver_id", 12], ["rgt", 10], ["sender_id", 13], ["state", "unread"], ["subject", "new message"], ["updated_at", Sun, 08 Jan 2012 15:20:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_140@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_140@example.jp"], ["encrypted_password", "$2a$04$z8wSgr2xrgze7C0ZtfynYefFWCH.1LzeNrrWE5wdMjINRn/SNbrpG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_140"]] SQL (0.4ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:43 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:43 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:43.984853' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_141@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (1.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_141@example.jp"], ["encrypted_password", "$2a$04$397R0tHLz1koAd3qGqByf.CRe2Oahyd5SCVxyIWbkTa4pMk7q3kki"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_141"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:44 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:44 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:44.010086' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user_140' LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" ORDER BY "rgt" desc LIMIT 1 SQL (0.8ms) INSERT INTO "messages" ("body", "created_at", "lft", "message_request_id", "parent_id", "read_at", "receiver_id", "rgt", "sender_id", "state", "subject", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "new message body is really short"], ["created_at", Sun, 08 Jan 2012 15:20:44 UTC +00:00], ["lft", 9], ["message_request_id", nil], ["parent_id", nil], ["read_at", nil], ["receiver_id", 12], ["rgt", 10], ["sender_id", 13], ["state", "unread"], ["subject", "new message"], ["updated_at", Sun, 08 Jan 2012 15:20:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_142@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_142@example.jp"], ["encrypted_password", "$2a$04$v2oFGKhNGhjgdJSXiQLF5e3TMEAjBtsyyOnaRLo4f.lHPr8xOJ4uS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_142"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:44 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:44 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:44.040876' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_143@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_143@example.jp"], ["encrypted_password", "$2a$04$6.v8.gyPN1faV6m1Dleucu1NHyJ2LgmfeM7Lj8iePKxvw1dWEpUW."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_143"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:44 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:44 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:44.062545' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user_142' LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" ORDER BY "rgt" desc LIMIT 1 SQL (0.8ms) INSERT INTO "messages" ("body", "created_at", "lft", "message_request_id", "parent_id", "read_at", "receiver_id", "rgt", "sender_id", "state", "subject", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "new message body is really short"], ["created_at", Sun, 08 Jan 2012 15:20:44 UTC +00:00], ["lft", 9], ["message_request_id", nil], ["parent_id", nil], ["read_at", nil], ["receiver_id", 12], ["rgt", 10], ["sender_id", 13], ["state", "unread"], ["subject", "new message"], ["updated_at", Sun, 08 Jan 2012 15:20:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_144@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_144@example.jp"], ["encrypted_password", "$2a$04$7Vnd6sSfpmVDnKWyT0PuU.7X8DiHdxy8xkJom5tKoM.La.Uu6wHJW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_144"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:44 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:44 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:44.093784' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_145@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:44 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_145@example.jp"], ["encrypted_password", "$2a$04$I7/avwKvrhIrGZr.kGKa.eJP77as7JlpMvBjJWKITmQr2S03xDuFG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:20:44 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_145"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:20:44 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:20:44 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:20:44.117368' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user_144' LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" ORDER BY "rgt" desc LIMIT 1 SQL (0.8ms) INSERT INTO "messages" ("body", "created_at", "lft", "message_request_id", "parent_id", "read_at", "receiver_id", "rgt", "sender_id", "state", "subject", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "new message body is really short"], ["created_at", Sun, 08 Jan 2012 15:20:44 UTC +00:00], ["lft", 9], ["message_request_id", nil], ["parent_id", nil], ["read_at", nil], ["receiver_id", 12], ["rgt", 10], ["sender_id", 13], ["state", "unread"], ["subject", "new message"], ["updated_at", Sun, 08 Jan 2012 15:20:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "messages" SET "read_at" = '2012-01-08 15:20:44.133466', "updated_at" = '2012-01-08 15:20:44.133800' WHERE "messages"."id" = 2 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1  (0.1ms) UPDATE "messages" SET "state" = 'read', "updated_at" = '2012-01-08 15:20:44.206737' WHERE "messages"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 LibraryGroup Load (6.1ms) SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]] LibraryGroup Load (0.2ms) SELECT "library_groups".* FROM "library_groups" WHERE "library_groups"."id" = ? LIMIT 1 [["id", 1]] Fixture Delete (0.3ms) DELETE FROM "library_groups" Fixture Insert (0.2ms) INSERT INTO "library_groups" ("id", "name", "display_name", "short_name", "email", "note", "my_networks", "url", "created_at", "updated_at") VALUES (1, 'unknown', 'unknown', 'unknown', 'next-l@library.example.jp', NULL, '0.0.0.0/0', 'http://localhost:3000/', '2012-01-08 15:21:36', '2012-01-08 15:21:36') Fixture Delete (0.1ms) DELETE FROM "message_requests" Fixture Insert (0.1ms) INSERT INTO "message_requests" ("sender_id", "receiver_id", "message_template_id", "state", "created_at", "updated_at", "id") VALUES (1, 1, 1, 'pending', '2012-01-08 15:21:36', '2012-01-08 15:21:36', 980190962) Fixture Insert (0.1ms) INSERT INTO "message_requests" ("sender_id", "receiver_id", "message_template_id", "state", "created_at", "updated_at", "id") VALUES (1, 1, 1, 'pending', '2012-01-08 15:21:36', '2012-01-08 15:21:36', 298486374) Fixture Delete (0.1ms) DELETE FROM "message_templates" Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (1, 'reservation_accepted', 'Reservation accepted', 'Reservation accepted', 1, '2012-01-08 15:21:36', '2012-01-08 15:21:36') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (2, 'item_received', 'Item received', 'Item received', 2, '2012-01-08 15:21:36', '2012-01-08 15:21:36') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (3, 'reservation_expired_for_patron', 'Reservation expired', 'Reservation expired', 3, '2012-01-08 15:21:36', '2012-01-08 15:21:36') Fixture Insert (0.0ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (4, 'reservation_expired_for_library', 'Reservation expired', 'Reservation expired', 4, '2012-01-08 15:21:36', '2012-01-08 15:21:36') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (5, 'reservation_canceled_for_patron', 'Reservation canceled', 'Reservation canceled', 5, '2012-01-08 15:21:36', '2012-01-08 15:21:36') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (6, 'reservation_canceled_for_library', 'Reservation canceled', 'Reservation canceled', 6, '2012-01-08 15:21:36', '2012-01-08 15:21:36') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (7, 'recall_item', 'Recall item', 'Recall item', 7, '2012-01-08 15:21:36', '2012-01-08 15:21:36') Fixture Insert (0.1ms) INSERT INTO "message_templates" ("id", "status", "title", "body", "position", "created_at", "updated_at") VALUES (8, 'recall_overdue_item', 'Recall overdue item', 'Recall overdue item', 8, '2012-01-08 15:21:36', '2012-01-08 15:21:36') Fixture Delete (0.2ms) DELETE FROM "messages" Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "read_at", "state", "lft", "rgt", "updated_at") VALUES (1, 3, 4, 'First Message', 'Abby, you get the first message', '2007-07-04 12:10:47.0', '2012-01-05 15:21:36', 'unread', 1, 2, '2012-01-08 15:21:36') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (2, 4, 3, 'RE: First Message', 'Thanks Dad! You are the coolest!', '2012-01-06 15:21:36', 'unread', 3, 4, '2012-01-08 15:21:36') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (3, 3, 4, 'Second Message', 'Catie, you get the 2nd message', '2012-01-07 15:21:36', 'unread', 5, 6, '2012-01-08 15:21:36') Fixture Insert (0.1ms) INSERT INTO "messages" ("id", "sender_id", "receiver_id", "subject", "body", "created_at", "state", "lft", "rgt", "updated_at") VALUES (6, 4, 5, 'Dad!', 'He is sucha dork.', '2012-01-06 15:21:36', 'unread', 7, 8, '2012-01-08 15:21:36') Fixture Delete (0.2ms) DELETE FROM "patrons" Fixture Insert (0.1ms) INSERT INTO "patrons" ("place", "last_name", "first_name", "full_name", "updated_at", "other_designation", "id", "date_of_birth", "date_of_death", "address_1", "language_id", "country_id", "patron_type_id", "required_role_id", "created_at", "user_id") VALUES ('', 'Administrator', NULL, 'Administrator', '2007-11-21 13:01:56.137409', '', 1, '2000-01-01', NULL, NULL, 1, 1, 1, 1, '2007-11-19 08:06:06.507237', 1) Fixture Insert (0.1ms) INSERT INTO "patrons" ("place", "last_name", "first_name", "full_name", "updated_at", "other_designation", "id", "date_of_birth", "date_of_death", "address_1", "language_id", "country_id", "patron_type_id", "required_role_id", "created_at", "user_id") VALUES ('', 'Librarian1', NULL, 'Librarian1', '2007-11-21 13:02:10.359793', '', 2, '2000-01-01', NULL, NULL, 1, 1, 1, 4, '2007-11-19 08:06:07.724517', 2) Fixture Insert (0.1ms) INSERT INTO "patrons" ("place", "last_name", "first_name", "full_name", "updated_at", "other_designation", "id", "date_of_birth", "date_of_death", "address_1", "language_id", "country_id", "patron_type_id", "required_role_id", "created_at", "user_id") VALUES (NULL, 'Kosuke', 'Tanabe', 'Kosuke Tanabe', '2007-12-04 07:25:01.523618', NULL, 3, '2000-01-01', NULL, NULL, 1, 1, 1, 3, '2007-12-04 07:25:01.523618', 3) Fixture Insert (0.1ms) INSERT INTO "patrons" ("place", "last_name", "first_name", "full_name", "updated_at", "other_designation", "id", "date_of_birth", "date_of_death", "address_1", "language_id", "country_id", "patron_type_id", "required_role_id", "created_at", "user_id") VALUES (NULL, 'Librarian2', NULL, 'Librarian2', '2007-12-04 07:25:01.785027', NULL, 4, '2000-01-01', NULL, NULL, 1, 1, 1, 1, '2007-12-04 07:25:01.785027', 4) Fixture Insert (0.1ms) INSERT INTO "patrons" ("place", "last_name", "first_name", "full_name", "updated_at", "other_designation", "id", "date_of_birth", "date_of_death", "address_1", "language_id", "country_id", "patron_type_id", "required_role_id", "created_at", "user_id") VALUES ('', 'User2', NULL, 'User2', '2007-11-21 13:02:35.579396', '', 5, '2000-01-01', NULL, NULL, 1, 1, 1, 2, '2007-11-19 08:24:50.153417', 5) Fixture Insert (0.1ms) INSERT INTO "patrons" ("place", "last_name", "first_name", "full_name", "updated_at", "other_designation", "id", "date_of_birth", "date_of_death", "address_1", "language_id", "country_id", "patron_type_id", "required_role_id", "created_at") VALUES ('', 'New patron 1', NULL, 'New patron 1', '2007-11-21 13:02:35.579396', '', 6, '2000-01-01', NULL, NULL, 1, 1, 1, 1, '2007-11-19 08:24:50.153417') Fixture Insert (0.1ms) INSERT INTO "patrons" ("place", "last_name", "first_name", "full_name", "updated_at", "other_designation", "id", "date_of_birth", "date_of_death", "address_1", "language_id", "country_id", "patron_type_id", "required_role_id", "created_at") VALUES ('', 'New patron 2', NULL, 'New patron 2', '2007-11-21 13:02:35.579396', '', 7, '2000-01-01', NULL, NULL, 1, 1, 1, 1, '2007-11-19 08:24:50.153417') Fixture Insert (0.1ms) INSERT INTO "patrons" ("place", "last_name", "first_name", "full_name", "updated_at", "other_designation", "id", "date_of_birth", "date_of_death", "address_1", "language_id", "country_id", "patron_type_id", "required_role_id", "created_at") VALUES ('', 'New patron 3', NULL, 'New patron 3', '2007-11-21 13:02:35.579396', '', 8, '2000-01-01', NULL, NULL, 1, 1, 1, 1, '2007-11-19 08:24:50.153417') Fixture Insert (0.1ms) INSERT INTO "patrons" ("place", "last_name", "first_name", "full_name", "updated_at", "other_designation", "id", "date_of_birth", "date_of_death", "address_1", "language_id", "country_id", "patron_type_id", "required_role_id", "created_at") VALUES ('', 'New patron 4', NULL, 'New patron 4', '2007-11-21 13:02:35.579396', '', 9, '2000-01-01', NULL, NULL, 1, 1, 1, 1, '2007-11-19 08:24:50.153417') Fixture Insert (0.1ms) INSERT INTO "patrons" ("place", "last_name", "first_name", "full_name", "updated_at", "other_designation", "id", "date_of_birth", "date_of_death", "address_1", "language_id", "country_id", "patron_type_id", "required_role_id", "created_at") VALUES ('', 'New patron 5', NULL, 'New patron 5', '2007-11-21 13:02:35.579396', '', 10, '2000-01-01', NULL, NULL, 1, 1, 1, 1, '2007-11-19 08:24:50.153417') Fixture Insert (0.1ms) INSERT INTO "patrons" ("place", "last_name", "first_name", "full_name", "updated_at", "other_designation", "id", "date_of_birth", "date_of_death", "address_1", "language_id", "country_id", "patron_type_id", "required_role_id", "created_at", "user_id") VALUES ('', 'User3', NULL, 'User3', '2007-11-21 13:02:35.579396', '', 11, '2000-01-01', NULL, NULL, 1, 1, 1, 1, '2007-11-19 08:24:50.153417', 6) Fixture Insert (0.1ms) INSERT INTO "patrons" ("place", "last_name", "first_name", "full_name", "updated_at", "other_designation", "id", "date_of_birth", "date_of_death", "address_1", "language_id", "country_id", "patron_type_id", "required_role_id", "created_at") VALUES ('', 'テスト名字', 'テスト名前', 'テスト正式名称', '2010-03-03 08:00:00.579396', '', 101, '2000-01-01', NULL, NULL, 1, 1, 1, 1, '2010-03-03 08:00:00.579396') Fixture Insert (0.1ms) INSERT INTO "patrons" ("place", "last_name", "first_name", "full_name", "updated_at", "other_designation", "id", "date_of_birth", "date_of_death", "address_1", "language_id", "country_id", "patron_type_id", "required_role_id", "created_at") VALUES ('', NULL, NULL, '出版社テスト', '2010-03-03 08:00:00.579396', '', 102, NULL, NULL, NULL, 1, 1, 1, 1, '2010-03-03 08:00:00.579396') Fixture Insert (0.1ms) INSERT INTO "patrons" ("place", "last_name", "first_name", "full_name", "updated_at", "other_designation", "id", "date_of_birth", "date_of_death", "address_1", "language_id", "country_id", "patron_type_id", "required_role_id", "created_at") VALUES ('', NULL, NULL, '作者ダミー', '2010-03-16 10:00:00.579396', '', 103, NULL, NULL, NULL, 1, 1, 1, 1, '2010-03-16 10:00:00.579396') Fixture Insert (0.1ms) INSERT INTO "patrons" ("place", "last_name", "first_name", "full_name", "updated_at", "other_designation", "id", "date_of_birth", "date_of_death", "address_1", "language_id", "country_id", "patron_type_id", "required_role_id", "created_at") VALUES ('', NULL, NULL, '試験用会社', '2010-03-16 10:00:00.579396', '', 104, NULL, NULL, NULL, 1, 1, 1, 1, '2010-03-16 10:00:00.579396') Fixture Insert (0.1ms) INSERT INTO "patrons" ("place", "last_name", "first_name", "full_name", "updated_at", "other_designation", "id", "date_of_birth", "date_of_death", "address_1", "language_id", "country_id", "patron_type_id", "required_role_id", "created_at") VALUES ('', NULL, NULL, 'オーム社', '2010-03-15 08:00:00.579396', '', 201, NULL, NULL, NULL, 1, 1, 1, 1, '2010-03-15 08:00:00.579396') Fixture Insert (0.1ms) INSERT INTO "patrons" ("place", "last_name", "first_name", "full_name", "updated_at", "other_designation", "id", "date_of_birth", "date_of_death", "address_1", "language_id", "country_id", "patron_type_id", "required_role_id", "created_at") VALUES ('', NULL, NULL, 'Ruby社', '2010-03-15 08:00:00.579396', '', 202, NULL, NULL, NULL, 1, 1, 1, 1, '2010-03-15 08:00:00.579396') Fixture Delete (0.1ms) DELETE FROM "roles" Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Guest', 'Guest', 1, NULL, '2012-01-08 15:21:36', '2012-01-08 15:21:36') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('User', 'User', 2, NULL, '2012-01-08 15:21:36', '2012-01-08 15:21:36') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Librarian', 'Librarian', 3, NULL, '2012-01-08 15:21:36', '2012-01-08 15:21:36') Fixture Insert (0.1ms) INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Administrator', 'Administrator', 4, NULL, '2012-01-08 15:21:36', '2012-01-08 15:21:36') Fixture Delete (0.1ms) DELETE FROM "user_groups" Fixture Insert (0.1ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('(not specified)', '(not specified)', '2007-12-13 12:00:51.564542', 1, '', '2007-12-13 12:00:01.674976', 1) Fixture Insert (0.0ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('User', 'User', '2007-12-22 18:14:56.836548', 2, '', '2007-12-22 18:14:40.173954', 2) Fixture Insert (0.0ms) INSERT INTO "user_groups" ("name", "display_name", "updated_at", "id", "note", "created_at", "position") VALUES ('Faculty', 'Faculty', '2007-12-22 18:15:05.134351', 3, '', '2007-12-22 18:15:05.126457', 3) Fixture Delete (0.1ms) DELETE FROM "user_has_roles" Fixture Insert (0.0ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (1, 4, '2012-01-08 15:21:36', '2012-01-08 15:21:36', 135138680) Fixture Insert (0.0ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (2, 3, '2012-01-08 15:21:36', '2012-01-08 15:21:36', 344583537) Fixture Insert (0.0ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (3, 2, '2012-01-08 15:21:36', '2012-01-08 15:21:36', 206669143) Fixture Insert (0.0ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (4, 3, '2012-01-08 15:21:36', '2012-01-08 15:21:36', 226540757) Fixture Insert (0.1ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (5, 2, '2012-01-08 15:21:36', '2012-01-08 15:21:36', 358143215) Fixture Insert (0.0ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (6, 2, '2012-01-08 15:21:36', '2012-01-08 15:21:36', 576709754) Fixture Insert (0.0ms) INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (7, 2, '2012-01-08 15:21:36', '2012-01-08 15:21:36', 1010528733) Fixture Delete (0.1ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:16:30.163731', '$2a$10$vHohD1WflnTIqAa8zMkF9evwAgIZRw3XuR4d3bi29M.jph/MB/AJi', 2, 1, NULL, 'admin', 'tanabe@kamata.lib.teu.ac.jp', '2007-11-19 07:58:32.111941', 4) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 03:41:16.337474', '$2a$10$9O2VuTccN4gHq36ARg0QReSrb1D7WrBBhZZ759RM9moHbB0W5zCzS', 1, 2, NULL, 'librarian1', 'librarian1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:33.172441', 1) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', '$2a$10$JthS59A0BNkDOoFpCXM0V.GhhffKaoWKbzpPahYp/vTFrOyM7h/uW', 1, 3, NULL, 'user1', 'user1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:23.340575', '$2a$10$YmmTGrYQ1Ir6oc7wXnp.GuNeO1eYLoP3sv8wMSIrTdaGw2BPwRrpS', 1, 4, NULL, 'librarian2', '2008-01-18 03:24:04.222344', 1) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:44.711117', '$2a$10$i7UjJhLVrJM/J7qaTwW39OXw1NiwowUEbtNHVDV0sqMLjX9.UO9ca', 1, 5, NULL, 'user2', '2008-01-18 04:29:06.922728', 2) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 6, NULL, 'user3', 'user3@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Fixture Insert (0.1ms) INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 7, NULL, 'user4', 'user4@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_1@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_1@example.jp"], ["encrypted_password", "$2a$04$9l/2WSipMyT0mfFqLB3MgeLO/EZNTWPKGPZQkL2iJ600ReU1eRQ4W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_1"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:37 UTC +00:00], ["role_id", 4], ["updated_at", Sun, 08 Jan 2012 15:21:37 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:37.317466' WHERE "roles"."id" = 4  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Rendered /Users/kosuke/enju_message/app/views/message_requests/index.html.erb within layouts/application (3.7ms) Completed 200 OK in 105ms (Views: 87.1ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_1@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_1@example.jp"], ["encrypted_password", "$2a$04$mwdF3Dmqlah/9vAPe7JSI.wQUyutH5UBhqPG4jGU73po4BOSDIPLG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_1"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:37 UTC +00:00], ["role_id", 3], ["updated_at", Sun, 08 Jan 2012 15:21:37 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:37.472176' WHERE "roles"."id" = 3  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.7ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 200 OK in 14ms (Views: 1.4ms | ActiveRecord: 0.9ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_1@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_1@example.jp"], ["encrypted_password", "$2a$04$jwgi40Qc8fAxmGlcTadp8OtHOpw/n0TCi6pYQPpoLLXbfJOqmrLEW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_1"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:37 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:37 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:37.513579' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 14ms (Views: 1.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "message_requests" WHERE ('t'='f') Processing by MessageRequestsController#index as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 11ms  (0.1ms) SELECT COUNT(*) FROM "message_requests" WHERE ('t'='f') Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_2@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_2@example.jp"], ["encrypted_password", "$2a$04$dRgEB0fRJ32PWg3BIrS4V.Qf5buNOBivjPYr.Fri6qkISOfVnMVH."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_2"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:37 UTC +00:00], ["role_id", 4], ["updated_at", Sun, 08 Jan 2012 15:21:37 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:37.570193' WHERE "roles"."id" = 4  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_2@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_2@example.jp"], ["encrypted_password", "$2a$04$cDlu7UPsqHiTkW6K4hvO6eAJ1F8ieoCv/CM.4MPizDZDKCCtQbeoK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_2"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:37 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:37 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:37.652733' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_3@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_3@example.jp"], ["encrypted_password", "$2a$04$H.Y/egQbDpL6V1fFRTxxwu986AVGj5MIpGFD5bFcnv6075101WiNK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_3"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:37 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:37 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:37.687156' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 14 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_1' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_1"], ["created_at", Sun, 08 Jan 2012 15:21:37 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_1"], ["title", "message_template_1"], ["updated_at", Sun, 08 Jan 2012 15:21:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_1' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sun, 08 Jan 2012 15:21:37 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 14], ["sender_id", 13], ["sent_at", nil], ["state", "pending"], ["updated_at", Sun, 08 Jan 2012 15:21:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.2ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 200 OK in 12ms (Views: 2.9ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_2@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_2@example.jp"], ["encrypted_password", "$2a$04$Xx7u7/LipgA4QYCmtg3YTerxLgTFfIgkC6uOnACFjE.gU2dwpaguS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_2"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:37 UTC +00:00], ["role_id", 3], ["updated_at", Sun, 08 Jan 2012 15:21:37 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:37.761420' WHERE "roles"."id" = 3  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_4@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_4@example.jp"], ["encrypted_password", "$2a$04$i7HD67Z3yvtwVGf1J5t3cuRv03kpb2eA06ML8pgRpJYLifiG4ZDsa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_4"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:37 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:37 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:37.782438' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_5@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_5@example.jp"], ["encrypted_password", "$2a$04$ISvkAZk1zd7xc33oU1YCeunkWXEU.8745g6miDSES2WcpWGrtEuhK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_5"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:37 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:37 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:37.861422' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 14 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_2' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_2"], ["created_at", Sun, 08 Jan 2012 15:21:37 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_2"], ["title", "message_template_2"], ["updated_at", Sun, 08 Jan 2012 15:21:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.2ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_2' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sun, 08 Jan 2012 15:21:37 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 14], ["sender_id", 13], ["sent_at", nil], ["state", "pending"], ["updated_at", Sun, 08 Jan 2012 15:21:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 200 OK in 10ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_6@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_6@example.jp"], ["encrypted_password", "$2a$04$oLCxQnUfBuUpDxLm1mHuNe/gBdzhUJQIT7ht.z/57NKohKl56u73a"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_6"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:37 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:37 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:37.917695' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_7@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_7@example.jp"], ["encrypted_password", "$2a$04$OTqGJs/fmarG/wwVITjjRefl7mBBkKbe0wlqHwUMvsPnaSNaNmXPC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_7"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:37 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:37 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:37.944657' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_8@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_8@example.jp"], ["encrypted_password", "$2a$04$pNsTHzNbW2XEIt5U85inI.1v1ox37PMPfsWDddAvhtO3kkfhfTNJK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:37 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_8"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:37 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:37 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:37.968848' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 14 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_3' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_3"], ["created_at", Sun, 08 Jan 2012 15:21:37 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_3"], ["title", "message_template_3"], ["updated_at", Sun, 08 Jan 2012 15:21:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_3' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sun, 08 Jan 2012 15:21:37 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 14], ["sender_id", 13], ["sent_at", nil], ["state", "pending"], ["updated_at", Sun, 08 Jan 2012 15:21:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_9@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_9@example.jp"], ["encrypted_password", "$2a$04$fx8ufhh62MBrWFk1YV.B9ezxwZaPh5043gYSf0WURYHHVq1xI.ShK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_9"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:38.026687' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_10@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_10@example.jp"], ["encrypted_password", "$2a$04$n6wHUl4NCMSQn9OiUEA7vOjEh6KZ8ZwwWqfV6psxp7GjidLia7.6K"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_10"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:38.106867' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_4' LIMIT 1 SQL (1.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_4"], ["created_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_4"], ["title", "message_template_4"], ["updated_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_4' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#show as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_3@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_3@example.jp"], ["encrypted_password", "$2a$04$x1VDSJ0ejzF451U1wItMu.yt4hgEw9RNVJ2lADUdgqwLUxy3R.etu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_3"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["role_id", 4], ["updated_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:38.154822' WHERE "roles"."id" = 4  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_11@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_11@example.jp"], ["encrypted_password", "$2a$04$KMJZ.zpvxA/uhl.mWzWsKOs3i1xz8Q1A0niVdudHRAtJwxLiXNhjS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_11"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:38.176467' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_12@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_12@example.jp"], ["encrypted_password", "$2a$04$QVESuuylzwVa7IPlnKOhDeLCRUTsWKUmPYoWorZXdD.JqLYAtVliC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_12"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:38.198558' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 14 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_5' LIMIT 1 SQL (2.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_5"], ["created_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_5"], ["title", "message_template_5"], ["updated_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_5' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 14], ["sender_id", 13], ["sent_at", nil], ["state", "pending"], ["updated_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 13ms (Views: 2.2ms | ActiveRecord: 0.7ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_3@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_3@example.jp"], ["encrypted_password", "$2a$04$Rnc4LZXoSmSfjfos.xJ/7egCcy3HJGLqkfBMARjk1PIqed6/fAIhy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_3"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["role_id", 3], ["updated_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:38.257780' WHERE "roles"."id" = 3  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (59.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_13@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_13@example.jp"], ["encrypted_password", "$2a$04$iWBs0OrIw65JFHW87r.g2up050Hgz3m.XZlzMVDpuKaLqGW16M6LO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_13"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:38.339387' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_14@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_14@example.jp"], ["encrypted_password", "$2a$04$miiQkL/Slpw8T/MkENcfNuokh80Jt1Erj1JfuEkWhm8.4WerzZ88G"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_14"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:38.361207' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 14 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_6' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_6"], ["created_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_6"], ["title", "message_template_6"], ["updated_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_6' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 14], ["sender_id", 13], ["sent_at", nil], ["state", "pending"], ["updated_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 11ms (Views: 1.4ms | ActiveRecord: 0.6ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_15@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_15@example.jp"], ["encrypted_password", "$2a$04$9Uig48fqixb3FEdA1MkOJ.TKzy/ybfAagB3UYbl8sdMzQyTlUAJkS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_15"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:38.415740' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_16@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_16@example.jp"], ["encrypted_password", "$2a$04$OYnKisuCxchmGy7.lUDxVuwMiI.0CZmldmrPqm0kOtYJYlHDNjC6u"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_16"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:38.439963' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_17@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_17@example.jp"], ["encrypted_password", "$2a$04$NZ3MWgCpY2oYsQYg3NoEwunajcWol06jy8VeRlTuDoJfSIJaw.uee"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_17"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:38.462462' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 14 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_7' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_7"], ["created_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_7"], ["title", "message_template_7"], ["updated_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_7' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 14], ["sender_id", 13], ["sent_at", nil], ["state", "pending"], ["updated_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 15ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_18@example.jp' LIMIT 1 Role Load (59.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_18@example.jp"], ["encrypted_password", "$2a$04$0u5KtbMP3HYC.tdSAjX8BOe37wI//IEo.Nopnzh3uPuDkmaGc9MMe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_18"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:38.583248' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_19@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_19@example.jp"], ["encrypted_password", "$2a$04$qCY5inQFnqZwIwgVvqyGi.u5ZOMwTvnGnH3L6HUBQGfVmvSdZ97uS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_19"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["user_id", 13]]  (2.4ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:38.605309' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_8' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_8"], ["created_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_8"], ["title", "message_template_8"], ["updated_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_8' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#edit as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_20@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_20@example.jp"], ["encrypted_password", "$2a$04$Fw4RHTyTnFAJgMj5RlNBuOyG.CxfKWRgt.fCIOURQdWkT2c1veXF6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_20"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:38.658043' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_21@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_21@example.jp"], ["encrypted_password", "$2a$04$Nzymln4kr6caDieNprVkGeDbtW0wDQKqZuze2PDVOsiT3lwqASAjW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_21"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:38.679669' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_9' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_9"], ["created_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_9"], ["title", "message_template_9"], ["updated_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_9' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_22@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_22@example.jp"], ["encrypted_password", "$2a$04$jDpnBhlL4yJJ0Iah0i2cc.VA.M5oGf/0unLP4KnjJOUYj2.Spuiqi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_22"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:38.712349' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 14 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_23@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.2ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_23@example.jp"], ["encrypted_password", "$2a$04$eHQt.mjx/OKpuLayRBhwq.Qiz/0TRrIQ3meB18ZFmabdVc3YeiKtK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_23"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:38.790271' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 15 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_10' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_10"], ["created_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_10"], ["title", "message_template_10"], ["updated_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_4@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_4@example.jp"], ["encrypted_password", "$2a$04$QtD9miBOQ7sJpNpU8IXarOYUNGvsGlxb/iAx0ivsE4s7i815AApOO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_4"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["role_id", 4], ["updated_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["user_id", 16]]  (2.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:38.817130' WHERE "roles"."id" = 4  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 16 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"14", "receiver_id"=>"15", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 15 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_10' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 14, "receiver_id" = 15, "message_template_id" = 10, "updated_at" = '2012-01-08 15:21:38.846794' WHERE "message_requests"."id" = 980190963  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 28ms Role Load (0.5ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_24@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_24@example.jp"], ["encrypted_password", "$2a$04$ulJhjofgOoGAKztKk8.n3.0Z6R0BrFLqZeFkBJ4oYFeMieq4ZJKp."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_24"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:38.876973' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_25@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_25@example.jp"], ["encrypted_password", "$2a$04$23Y9insRxV1rbGdZQWsAZObzH3OsJdKJEKziqYe2/De7pFFez3v1C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_25"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:38.901067' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_11' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_11"], ["created_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_11"], ["title", "message_template_11"], ["updated_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_11' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_26@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_26@example.jp"], ["encrypted_password", "$2a$04$iBoDV49VXFotqOAwfC3C5umI.3ACww..QvIaids0vmWx1cK8tP7Su"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_26"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:38.933122' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 14 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_27@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (66.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_27@example.jp"], ["encrypted_password", "$2a$04$.JnaIuf1Tv.LKyUYT7Lvze.MvXmYv94lhLmo8B2bRD7cNeRMm/gOS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:38 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_27"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["user_id", 15]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:39.018520' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 15 LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_12' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_12"], ["created_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_12"], ["title", "message_template_12"], ["updated_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_5@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.2ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_5@example.jp"], ["encrypted_password", "$2a$04$QlxkSkbIUvFh8UzUhJdXzuqCrF40HGM2tpzzSMC2ocQavRmnkTQpm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_5"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["role_id", 4], ["updated_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:39.046296' WHERE "roles"."id" = 4  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 16 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"14", "receiver_id"=>"15", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 15 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_12' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 14, "receiver_id" = 15, "message_template_id" = 10, "updated_at" = '2012-01-08 15:21:39.070049' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 17ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_28@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_28@example.jp"], ["encrypted_password", "$2a$04$ZLDs.WvEwFNTE.UKThIGiuuVKnIN8Ovzfn/EK5WbZdeOjB3oGeABa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_28"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:39.095872' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_29@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_29@example.jp"], ["encrypted_password", "$2a$04$sjNClad/n57R.TDZxAC5euczQqGbo6DeY5R3cbQgnO5.itahd.GCa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_29"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:39.128751' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_13' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_13"], ["created_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_13"], ["title", "message_template_13"], ["updated_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_13' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_30@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_30@example.jp"], ["encrypted_password", "$2a$04$twPvdYDp2F.t8jRmfxMoT.lcvq7dK.yvenuMzOEAaXrGEI9fv30WC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_30"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:39.164041' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 14 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_31@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (60.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_31@example.jp"], ["encrypted_password", "$2a$04$1giFSyI.zGW6ajxDFlwea.s.2utkAk.mU6ncUbXMOSygJMG5fku36"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_31"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:39.244699' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 15 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_14' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_14"], ["created_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_14"], ["title", "message_template_14"], ["updated_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_6@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_6@example.jp"], ["encrypted_password", "$2a$04$ICIbS3g94Iod6BOW/sUadOpnUg5zzA5DMaooNL51WTTy8FsajYJA6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_6"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["role_id", 4], ["updated_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:39.269877' WHERE "roles"."id" = 4  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 16 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_13' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 17ms (Views: 1.3ms | ActiveRecord: 1.1ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_32@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_32@example.jp"], ["encrypted_password", "$2a$04$XBzZrXY1xm89vk0y3rU9XOliviqlemWJdye01cLvoZwAYXS9W0.Z6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_32"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:39.315280' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_33@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_33@example.jp"], ["encrypted_password", "$2a$04$A2b63eOxfOXotodXE3p.f.sKLKXfQlkT4YTkU87wxQ/5RJ0xYUh7W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_33"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:39.337244' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_15' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_15"], ["created_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_15"], ["title", "message_template_15"], ["updated_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_15' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_34@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_34@example.jp"], ["encrypted_password", "$2a$04$/fGNki7rGNGHw9VMbQTw8ezcks4of.o58lnCJpiLK82//kaamRA2W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_34"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:39.372485' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 14 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_35@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (55.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_35@example.jp"], ["encrypted_password", "$2a$04$PvAKVxBK1g4P12ff.wnm0ueo.gmeUnsJ/Dj.xyYtI/P8AjyZAY8nO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_35"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:39.448183' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 15 LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_16' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_16"], ["created_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_16"], ["title", "message_template_16"], ["updated_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_4@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_4@example.jp"], ["encrypted_password", "$2a$04$TPVAAZfQIR67xLq1iTRie.yyg2lpslIqObgvquXxxR0V1rgBPECZe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_4"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["role_id", 3], ["updated_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:39.473692' WHERE "roles"."id" = 3  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 16 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"14", "receiver_id"=>"15", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 15 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_16' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 14, "receiver_id" = 15, "message_template_id" = 10, "updated_at" = '2012-01-08 15:21:39.503036' WHERE "message_requests"."id" = 980190963  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 21ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_36@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_36@example.jp"], ["encrypted_password", "$2a$04$pD0NvjXlm1MPViDBA8A/vuA8V.NOlKrZGQYO/beYJgEb0RWRK6whW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_36"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:39.527763' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_37@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_37@example.jp"], ["encrypted_password", "$2a$04$HfvdKjHrUQ.XoSsmaHDqS.ITe41nC04GCRkpwvGQPZhaXARpkfj.6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_37"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:39.548736' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_17' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_17"], ["created_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_17"], ["title", "message_template_17"], ["updated_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_17' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_38@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_38@example.jp"], ["encrypted_password", "$2a$04$ZV3qBixrouVQBBGAwVychOVOShX1r6GvnnCbZ5U7TeqVduawpv6pe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_38"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:39.580950' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 14 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_39@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_39@example.jp"], ["encrypted_password", "$2a$04$atRTL20RN.Hzni0eeSCC3.XmwQEjZgGpHyKiaNUQ6rLquACyEJUPa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_39"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["user_id", 15]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:39.602897' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 15 LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_18' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_18"], ["created_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_18"], ["title", "message_template_18"], ["updated_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_5@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_5@example.jp"], ["encrypted_password", "$2a$04$B.oCDh.zJ4nauExIt.PYfukS9fkZBhNKPVsTJvYNZxj76wxUdgm4."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_5"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["role_id", 3], ["updated_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:39.692264' WHERE "roles"."id" = 3  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 16 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"14", "receiver_id"=>"15", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 15 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 10 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_18' AND "message_templates"."id" != 10) LIMIT 1  (0.1ms) UPDATE "message_requests" SET "sender_id" = 14, "receiver_id" = 15, "message_template_id" = 10, "updated_at" = '2012-01-08 15:21:39.715332' WHERE "message_requests"."id" = 980190963  (0.5ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests/980190963 Completed 302 Found in 21ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_40@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_40@example.jp"], ["encrypted_password", "$2a$04$ysgnvYQD9S7fdiTMRCk8G.xKJ0dLTp4HkGKYmCO3yyJaAgHO9/ryC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_40"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:39.747047' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_41@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_41@example.jp"], ["encrypted_password", "$2a$04$tBodf971F6K06uistEOmrO2PDCgGwngLnNr7rXpflWBUBzDLXgoJa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_41"]] SQL (0.4ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:39.772603' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_19' LIMIT 1 SQL (0.4ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_19"], ["created_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_19"], ["title", "message_template_19"], ["updated_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_19' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_42@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_42@example.jp"], ["encrypted_password", "$2a$04$/Vf8408JvCKs6LlKbki0u.Dce0jXgOcNGi5WBodYo4JBE.k8kl.cm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_42"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:39.806254' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 14 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_43@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_43@example.jp"], ["encrypted_password", "$2a$04$PMi4GRSx23a8V6ebA53ZCO9ncEiM/dLavsWgKOs8I92xkUi3O2sA2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_43"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:39.827643' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 15 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_20' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_20"], ["created_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_20"], ["title", "message_template_20"], ["updated_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_6@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_6@example.jp"], ["encrypted_password", "$2a$04$CykYaqwmAX/qu9Ijm37fZelHbNAPf2p4S8uCHsSrKHYN/m3YZshdu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_6"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["role_id", 3], ["updated_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:39.915339' WHERE "roles"."id" = 3  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 16 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_19' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position Completed 200 OK in 17ms (Views: 1.3ms | ActiveRecord: 1.0ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_44@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_44@example.jp"], ["encrypted_password", "$2a$04$85lT6XQL/0BiiyHwCup0XeTs/MhUMyLbj.CP5rPp3KxRyVTyG7a6y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_44"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:39.963593' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_45@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_45@example.jp"], ["encrypted_password", "$2a$04$ClLexh2DI1u7bUau29nfxeUwB8IqWXlADZxxcfd99JI6FeQCOHh3a"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_45"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:39.986939' WHERE "roles"."id" = 2  (0.2ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_21' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_21"], ["created_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_21"], ["title", "message_template_21"], ["updated_at", Sun, 08 Jan 2012 15:21:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_21' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.6ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_46@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_46@example.jp"], ["encrypted_password", "$2a$04$AD5QRjhV9quCQoCrSXAXT.OCoFmg3G..PdR7Re/cHVSU71RTKgHz6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_46"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:40.017856' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 14 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_47@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_47@example.jp"], ["encrypted_password", "$2a$04$/AuvbkP.cFYPVAhgYBDqfuOTrEiLPcH95WteLruRDruJdM5mWewnS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_47"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:40.036836' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 15 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_22' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_22"], ["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_22"], ["title", "message_template_22"], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_48@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_48@example.jp"], ["encrypted_password", "$2a$04$.yAzZPWhG102vugnN9kZjOVi9kVbH6tUUGshWuYGDNXHWo/ZxGeKG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_48"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:40.095745' WHERE "roles"."id" = 2  (0.0ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 16 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"14", "receiver_id"=>"15", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_49@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_49@example.jp"], ["encrypted_password", "$2a$04$enc0Gre8z7IeuHCD.iapi.dA2OkDxi33Z95IlN2PUv4tTzZ/LTnvO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_49"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:40.117214' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_50@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_50@example.jp"], ["encrypted_password", "$2a$04$EhXWW1OVTApHB52EOZKsuOWYoZF3O/X0LlkBO/OwmIxtUXr9NFmS2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_50"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:40.130080' WHERE "roles"."id" = 2  (0.0ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_23' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_23"], ["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_23"], ["title", "message_template_23"], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_23' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_51@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_51@example.jp"], ["encrypted_password", "$2a$04$AeSuLxtzBSXBQYGFAtmIO.cbsiEUT/Aokro27y7EyluHpqiqcM0s2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_51"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:40.148377' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 14 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_52@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_52@example.jp"], ["encrypted_password", "$2a$04$iQ5KtipmF9ck2jvGQllit.N.kbMWJ8MYo0BRJ4GbaDtioz1ZzR/e."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_52"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:40.160643' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 15 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_24' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_24"], ["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_24"], ["title", "message_template_24"], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_53@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_53@example.jp"], ["encrypted_password", "$2a$04$qmpOvdMWUQeEf6JSv9zq0OdBGkHXr7HzNeQLFSRocwpOogtadZkR6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_53"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:40.211238' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 16 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"14", "receiver_id"=>"15", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_54@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_54@example.jp"], ["encrypted_password", "$2a$04$zBxOVYSVdooY0VS5fA28yO2YH8JPCHrUEIC6amye6c3gFusXo2Z4m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_54"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:40.232903' WHERE "roles"."id" = 2  (0.0ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_55@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_55@example.jp"], ["encrypted_password", "$2a$04$8uzZQLgZ5GzsghFuFN6Uj.s74bOnFklO7vmCWzv8XU.b3IH2MGBMG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_55"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:40.245180' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_25' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_25"], ["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_25"], ["title", "message_template_25"], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_25' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_56@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_56@example.jp"], ["encrypted_password", "$2a$04$iZm5kaSk/41KzHFWibaxAevc921S55oRGQ/8rZuGRUxM7210NAutq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_56"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:40.264547' WHERE "roles"."id" = 2  (0.0ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 14 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_57@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_57@example.jp"], ["encrypted_password", "$2a$04$jYvGoRr0FG9r/IypgMhvjeQu21dCGdCTz6yoEHqdTGdksdzCjWSuS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_57"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:40.276613' WHERE "roles"."id" = 2  (0.0ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 15 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_26' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_26"], ["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_26"], ["title", "message_template_26"], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_58@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_58@example.jp"], ["encrypted_password", "$2a$04$PWPkJWKk.TYhHVqrtSBLJOpFVvQuGApthWwF1w9LdXZ2mRkQrdvMO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_58"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["user_id", 16]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:40.326272' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 16 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 16 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_59@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_59@example.jp"], ["encrypted_password", "$2a$04$gcAM33VxLB7XoHMT6nmMJ.h183RZA6mgBCYuU2BmXlSpREPKDrhAi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_59"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:40.347425' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_60@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_60@example.jp"], ["encrypted_password", "$2a$04$Aw/nY8YqwUpWRutSCybGRueK50o7.h9qOsR0XvZWKN2NVbZMA8UUS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_60"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:40.360500' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_27' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_27"], ["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_27"], ["title", "message_template_27"], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_27' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_61@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_61@example.jp"], ["encrypted_password", "$2a$04$t8ostJ3rH4f/.9dLqOkvR.weMhIHZloECJbilYNEJARFyfDf06cc2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_61"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:40.379109' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 14 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_62@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_62@example.jp"], ["encrypted_password", "$2a$04$1w6YkB8mlJ5fVjO0O64bheV3UeQXGIZkxny7uAbGCPETBY73Q5hj6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_62"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:40.391372' WHERE "roles"."id" = 2  (0.0ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 15 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_28' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_28"], ["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_28"], ["title", "message_template_28"], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"14", "receiver_id"=>"15", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_63@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_63@example.jp"], ["encrypted_password", "$2a$04$I0XSPbxTmyJy6GKWD1bgOeUhr2UIuNNDwyFGOEmXs8RTcAztzHRuC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_63"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:40.448651' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_64@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_64@example.jp"], ["encrypted_password", "$2a$04$PpLfawuF3iSbf8t3oaGqge/GeF8m3uxQCMqoNkHeXtHVRyumXZcce"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_64"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:40.461200' WHERE "roles"."id" = 2  (0.0ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_29' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_29"], ["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_29"], ["title", "message_template_29"], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_29' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_65@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_65@example.jp"], ["encrypted_password", "$2a$04$OxCFDP/1EfzrI9A7eL3QzeJ/8IKUoXLw5opp4qSihfarci1A21n7a"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_65"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:40.479577' WHERE "roles"."id" = 2  (0.0ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 14 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_66@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_66@example.jp"], ["encrypted_password", "$2a$04$QC6ZubJ9b.GeW/nPgTAcyuU63MsdeVAWqYoseKJmZUBPxpg648s1q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_66"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:40.491742' WHERE "roles"."id" = 2  (0.0ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 15 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_30' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_30"], ["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_30"], ["title", "message_template_30"], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>"14", "receiver_id"=>"15", "message_template_id"=>"10"}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_67@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_67@example.jp"], ["encrypted_password", "$2a$04$y41IFdrbFMV3OYiitG8uMeIXc95.u.f.faIen8D78UR.qI.iF.zP6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_67"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:40.514114' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_68@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_68@example.jp"], ["encrypted_password", "$2a$04$j.XfN0qrvZfJR.gpTk3wiu.WSXFrFDiSGvUv9qqD3/psNtTPgmCo2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_68"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:40.562493' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_31' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_31"], ["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_31"], ["title", "message_template_31"], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_31' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_69@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_69@example.jp"], ["encrypted_password", "$2a$04$1Tt.vf18BHJ6FX3cBy4lRu.Hg/hO1bLP7CSzowf9yhZeiyI9lZrve"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_69"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:40.581613' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 14 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_70@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_70@example.jp"], ["encrypted_password", "$2a$04$cB6r8rGqkXTutTQiunCOc.DB1LYZ3NI.b7kut4OtWQAzJIU7SWevS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_70"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["user_id", 15]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:40.593679' WHERE "roles"."id" = 2  (0.0ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 15 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_32' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_32"], ["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["locale", "en"], ["position", 10], ["status", "message_template_32"], ["title", "message_template_32"], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#update as HTML Parameters: {"message_request"=>{"sender_id"=>""}, "id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_71@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_71@example.jp"], ["encrypted_password", "$2a$04$zfaUYFDSRAcs0wwtpVkhjuzjSTP.Zd2RufZ3WMjbJjn7VgeQV1Sfy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_71"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:40.616134' WHERE "roles"."id" = 2  (0.0ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_72@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_72@example.jp"], ["encrypted_password", "$2a$04$NawHV2W0.J0qjMqlrkMiyOfOowPH/whlKJooWV4DoC9RLmKUgKASG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_72"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:40.628240' WHERE "roles"."id" = 2  (0.0ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_33' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_33"], ["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_33"], ["title", "message_template_33"], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_33' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_7@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_7@example.jp"], ["encrypted_password", "$2a$04$NfB.pEiMmBAAbxMKesBB7umE5wvrLwZXeCq8Ypilz419QxjVQn3KC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_7"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["role_id", 4], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:40.681353' WHERE "roles"."id" = 4  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 14 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 6ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_73@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_73@example.jp"], ["encrypted_password", "$2a$04$9m7E2jSbT.ZCSj0AHIptaOuLnP0UKijvX9mUAlWebsHuKKNz31a7C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_73"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:40.702371' WHERE "roles"."id" = 2  (0.0ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_74@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_74@example.jp"], ["encrypted_password", "$2a$04$hwx7cZ97UVdwLJwoXnZCYu8uw.lRqjqtypQ8af/XHDcZD7bbjzsTm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_74"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:40.714465' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_34' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_34"], ["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_34"], ["title", "message_template_34"], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_34' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_8@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_8@example.jp"], ["encrypted_password", "$2a$04$SbNhx1MLw2gDrUMbAqs2SO/M.u3pmk2YwV9mLhPrr108DQhAmJFhK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_8"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["role_id", 4], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:40.733382' WHERE "roles"."id" = 4  (0.0ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 14 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 5ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_75@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_75@example.jp"], ["encrypted_password", "$2a$04$x2y76A29Xkla3H0sseu9JuElY4PCK6PDkNgjQazQA.Xizi8euq0Ie"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_75"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:40.755214' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_76@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (36.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_76@example.jp"], ["encrypted_password", "$2a$04$djBIzWWbHiYqnqF0HkKWqes1cCqIun8DV.dhrksd0bFgC8S.udZui"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_76"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:40.803400' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_35' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_35"], ["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_35"], ["title", "message_template_35"], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_35' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.5ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_7@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_7@example.jp"], ["encrypted_password", "$2a$04$W5tBI0yhYEn2os1veDzWWuT4NCwqb2PhtR4jXatI23fpPF6anzyfq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_7"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["role_id", 3], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:40.822931' WHERE "roles"."id" = 3  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 14 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 6ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_77@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_77@example.jp"], ["encrypted_password", "$2a$04$qU8cKTdlMQ3DlsCSTGqe0OcjR72mqOx9azO7/RZ/29U0OY4ngbp0O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_77"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:40.843842' WHERE "roles"."id" = 2  (0.0ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_78@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_78@example.jp"], ["encrypted_password", "$2a$04$jLg5BqtKt2Gw86Du66044O1OIpEdAlDaFbS3HWsy1srLXpMF7jPjO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_78"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:40.856501' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_36' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_36"], ["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_36"], ["title", "message_template_36"], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.0ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_36' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_8@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_8@example.jp"], ["encrypted_password", "$2a$04$ANTReOeAonC9Eah/pwMtgO0C58do/hM7vXlSCcvy5MrQ9Rx3ugCFi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_8"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["role_id", 3], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:40.874883' WHERE "roles"."id" = 3  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 14 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "message_requests" WHERE "message_requests"."id" = ? [["id", 980190963]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_requests Completed 302 Found in 6ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_79@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_79@example.jp"], ["encrypted_password", "$2a$04$alzWh0xeMnQGkgOps1cy..LQ2betEZUmFy8ZFvcgOjzJaM0xE516G"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_79"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:40.932161' WHERE "roles"."id" = 2  (0.0ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_80@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_80@example.jp"], ["encrypted_password", "$2a$04$FqfhI0EqW8oelvSGCZ9e0.vYyFBVX9r7RP2hNoc.rdXYCSMYFLk3u"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_80"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:40.944132' WHERE "roles"."id" = 2  (0.0ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_37' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_37"], ["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_37"], ["title", "message_template_37"], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_37' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.4ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_81@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_81@example.jp"], ["encrypted_password", "$2a$04$BxFQy6NiyZTag47Srnuxm.hQUoC6rMJ039vTjfqSHaX96g5za2oYC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_81"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:40.962809' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 14 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.0ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1 Completed 403 Forbidden in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_82@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_82@example.jp"], ["encrypted_password", "$2a$04$fx3M0d2fpmhReLiZYepI3.EpYBbwG8aWYSVSAw//uEqdKGT7Xna9q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_82"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:40.985236' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_83@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_83@example.jp"], ["encrypted_password", "$2a$04$BsuInHkGcBdcWG3H6g9q0uBTSw3swPXdqvsXXjY6BW3fgylCWfAde"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_83"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:40 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:41.000658' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_38' LIMIT 1 SQL (0.2ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_38"], ["created_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_38"], ["title", "message_template_38"], ["updated_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_38' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.7ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_84@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (47.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_84@example.jp"], ["encrypted_password", "$2a$04$USEjS2J9xxkTQO7kLZrtvuwka20WEDWrg3KMcdU3PaqjPUMbHbdo."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_84"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00], ["user_id", 14]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:41.074662' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 14 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 14 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 14 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_85@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_85@example.jp"], ["encrypted_password", "$2a$04$hQR.kRt9pvBiVj3UhGDIe.FjDErqClhQmlKjV9f9tXUnvOHkU9YaG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_85"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:41.112539' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_86@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_86@example.jp"], ["encrypted_password", "$2a$04$IupyQxfT5dJKQfMXjVXJ8eBmFO0nKd1//rQFDIFLT5ooOcSgcmow."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_86"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:41.136437' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_39' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_39"], ["created_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_39"], ["title", "message_template_39"], ["updated_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_39' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_87@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_87@example.jp"], ["encrypted_password", "$2a$04$i8Z0gCcahBhugV7UEvwomeUphZboFOkOtkTasmKWDUkcyZTaa5o7e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_87"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:41.179752' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_88@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_88@example.jp"], ["encrypted_password", "$2a$04$pE4qBlBnDJHlZlwMZtVMFOMSrjdYa169z2yY.dcNDww.hLboxHyWC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_88"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:41.201381' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (3.1ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_40' LIMIT 1 SQL (0.3ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_40"], ["created_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_40"], ["title", "message_template_40"], ["updated_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = 9 ORDER BY position LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_40' AND "message_templates"."id" != 9) LIMIT 1 SQL (0.8ms) INSERT INTO "message_requests" ("body", "created_at", "deleted_at", "message_template_id", "receiver_id", "sender_id", "sent_at", "state", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00], ["deleted_at", nil], ["message_template_id", 9], ["receiver_id", 13], ["sender_id", 12], ["sent_at", nil], ["state", "pending"], ["updated_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageRequestsController#destroy as HTML Parameters: {"id"=>"980190963"} MessageRequest Load (0.1ms) SELECT "message_requests".* FROM "message_requests" WHERE "message_requests"."id" = ? LIMIT 1 [["id", "980190963"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_41' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_41"], ["created_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_41"], ["title", "message_template_41"], ["updated_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (1.0ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_9@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_9@example.jp"], ["encrypted_password", "$2a$04$cf2qNz4.qP1bjDcD/aj1suDuZmoAqR3kCcjHbdaCYomikoqIMteVS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_9"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00], ["role_id", 4], ["updated_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:41.332387' WHERE "roles"."id" = 4  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 200 OK in 15ms (Views: 6.0ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position LIMIT 10 OFFSET 0  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_42' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_42"], ["created_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_42"], ["title", "message_template_42"], ["updated_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.3ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_9@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_9@example.jp"], ["encrypted_password", "$2a$04$TeKj59LxJ5sMeDA4U0HXvuGAwUHJ8AjOW79w6o4uNF5MMc.5lzsqm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_9"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00], ["role_id", 3], ["updated_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:41.386184' WHERE "roles"."id" = 3  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 200 OK in 9ms (Views: 1.5ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" ORDER BY position LIMIT 10 OFFSET 0  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_43' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_43"], ["created_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_43"], ["title", "message_template_43"], ["updated_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_89@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_89@example.jp"], ["encrypted_password", "$2a$04$dGVGugfZqbhD3QG4VXTCyuMIkslR1scNgW3c8GCjhHJ7p0Lf0MBnO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_89"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:41.434982' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "message_templates" WHERE ('t'='f')  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_44' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_44"], ["created_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_44"], ["title", "message_template_44"], ["updated_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#index as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms  (0.1ms) SELECT COUNT(*) FROM "message_templates" WHERE ('t'='f') Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_10@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_10@example.jp"], ["encrypted_password", "$2a$04$//FgbduQ3960/ol8/Cney.1TwPvTk6fd/o0DZqW/Mn6ueQ5J8JgEa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_10"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00], ["role_id", 4], ["updated_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:41.490197' WHERE "roles"."id" = 4  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_45' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_45"], ["created_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_45"], ["title", "message_template_45"], ["updated_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 200 OK in 16ms (Views: 5.3ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_10@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.2ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_10@example.jp"], ["encrypted_password", "$2a$04$kJ7PddgfuWzrzpfJ033s/uP9WuMD7qO9QAKs6HodmMTiaBoqwGxtK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_10"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00], ["role_id", 3], ["updated_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:41.600739' WHERE "roles"."id" = 3  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_46' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_46"], ["created_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_46"], ["title", "message_template_46"], ["updated_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 200 OK in 10ms (Views: 1.4ms | ActiveRecord: 0.6ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_90@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_90@example.jp"], ["encrypted_password", "$2a$04$ub6ewbj3JT2.wQomm.VE3OkCjCmqIbG7VfKyDTl4ht1HzqV4FRJ7O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_90"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:41.642444' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_47' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_47"], ["created_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_47"], ["title", "message_template_47"], ["updated_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_48' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_48"], ["created_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_48"], ["title", "message_template_48"], ["updated_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#show as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 8ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_11@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_11@example.jp"], ["encrypted_password", "$2a$04$Ko46jn3sbdDyJHH43WMPbeEgX6x7HDMlE5Ckh/8k9fyklR.VotT2q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_11"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00], ["role_id", 4], ["updated_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:41.702183' WHERE "roles"."id" = 4  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_11@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_11@example.jp"], ["encrypted_password", "$2a$04$EAnPnXCtxkMXIcPmno30ZO/xFo17tkOrUbyXM607KY5Yil8hIG63K"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_11"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00], ["role_id", 3], ["updated_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:41.747061' WHERE "roles"."id" = 3  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_91@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (62.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_91@example.jp"], ["encrypted_password", "$2a$04$Zg6OSQEiT49J2Zmp571EhepuwCU68YADV4Nee6Iepyfbx835bcSuy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_91"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:41.850209' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.5ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Processing by MessageTemplatesController#new as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms MessageTemplate Load (2.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_12@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_12@example.jp"], ["encrypted_password", "$2a$04$eimtGMZcYoSNZHoUjiNqC.kPku1LJyQghyvcpACY3D/Lhb8Pbbdxu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_12"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00], ["role_id", 4], ["updated_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:41.913125' WHERE "roles"."id" = 4  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_49' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_49"], ["created_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_49"], ["title", "message_template_49"], ["updated_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 200 OK in 11ms (Views: 2.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_12@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_12@example.jp"], ["encrypted_password", "$2a$04$MhMpbXZoEuJ6J18kfShZjesSM8wAIkXcabB3pEYCAax6g717nTYBS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_12"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00], ["role_id", 3], ["updated_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:41.958846' WHERE "roles"."id" = 3  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_50' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_50"], ["created_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_50"], ["title", "message_template_50"], ["updated_at", Sun, 08 Jan 2012 15:21:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 18ms (Views: 1.5ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_92@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_92@example.jp"], ["encrypted_password", "$2a$04$RgbEZit2kGVjRGdVADPTQ.GGOA4h4n8U8f1FrKph3ajGwKgGyGZly"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_92"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:42 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:42 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:42.010744' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_51' LIMIT 1 SQL (0.7ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_51"], ["created_at", Sun, 08 Jan 2012 15:21:42 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_51"], ["title", "message_template_51"], ["updated_at", Sun, 08 Jan 2012 15:21:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.7ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 1.0ms | Solr: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_52' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_52"], ["created_at", Sun, 08 Jan 2012 15:21:42 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_52"], ["title", "message_template_52"], ["updated_at", Sun, 08 Jan 2012 15:21:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#edit as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.2ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 9ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_13@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_13@example.jp"], ["encrypted_password", "$2a$04$DiFoF7v0aZwkHmASios0NOqp1bwZ68iCWSng3VT9mjUHnaB0akBSS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_13"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:42 UTC +00:00], ["role_id", 4], ["updated_at", Sun, 08 Jan 2012 15:21:42 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:42.143796' WHERE "roles"."id" = 4  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_53", "status"=>"message_template_53", "body"=>"message_template_53"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_53' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_14@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_14@example.jp"], ["encrypted_password", "$2a$04$7udPA.3uIUnnboYtXkSN1eJy1ROX152B5hrPA49to7bfNzI0/w7lu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_14"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:42 UTC +00:00], ["role_id", 4], ["updated_at", Sun, 08 Jan 2012 15:21:42 UTC +00:00], ["user_id", 12]]  (1.5ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:42.185757' WHERE "roles"."id" = 4  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_54", "status"=>"message_template_54", "body"=>"message_template_54"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_15@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_15@example.jp"], ["encrypted_password", "$2a$04$zbMXjJAEWCVTg0YvoqcJre/oztxEDtiXPGhLk3SVyBALoQk7DV.LK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_15"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:42 UTC +00:00], ["role_id", 4], ["updated_at", Sun, 08 Jan 2012 15:21:42 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:42.228273' WHERE "roles"."id" = 4  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (3.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 18ms (Views: 1.4ms | ActiveRecord: 3.7ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_16@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_16@example.jp"], ["encrypted_password", "$2a$04$s59OPiYHvUniR7mvRAlIXuuZFx9v7237mXaXIjGCxUKaeFhcpsdSy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_16"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:42 UTC +00:00], ["role_id", 4], ["updated_at", Sun, 08 Jan 2012 15:21:42 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:42.279758' WHERE "roles"."id" = 4  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_13@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_13@example.jp"], ["encrypted_password", "$2a$04$849rQ918D147InGVX16LKeymuSAy3EMoIpdCrWIwVtx5JtJ36t8IS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_13"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:42 UTC +00:00], ["role_id", 3], ["updated_at", Sun, 08 Jan 2012 15:21:42 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:42.318842' WHERE "roles"."id" = 3  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_57", "status"=>"message_template_57", "body"=>"message_template_57"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 85ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_57' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_14@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_14@example.jp"], ["encrypted_password", "$2a$04$IPZGXoow5w4aqNkb2q3oZuHwIumHpuZVGimb17q58tJnapT.qgFa."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_14"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:42 UTC +00:00], ["role_id", 3], ["updated_at", Sun, 08 Jan 2012 15:21:42 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:42.437715' WHERE "roles"."id" = 3  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_58", "status"=>"message_template_58", "body"=>"message_template_58"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 3.0ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_15@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_15@example.jp"], ["encrypted_password", "$2a$04$fOUPVVtWb3dxR44qkw5/kOzie2tjwn9427SeL4VA2LaH00ccl.DHm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_15"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:42 UTC +00:00], ["role_id", 3], ["updated_at", Sun, 08 Jan 2012 15:21:42 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:42.482295' WHERE "roles"."id" = 3  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_16@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_16@example.jp"], ["encrypted_password", "$2a$04$4CuLreBmyPl9Q6ZUs/iTLewHGPLIRXW5W9jKO8RlhRh9T2PH8Nv1C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_16"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:42 UTC +00:00], ["role_id", 3], ["updated_at", Sun, 08 Jan 2012 15:21:42 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:42.531743' WHERE "roles"."id" = 3  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_93@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_93@example.jp"], ["encrypted_password", "$2a$04$tywlKstzD72soJ5I3sqguumdMSXl5b3s1okG6.Tls1E5Zkto52ewK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_93"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:42 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:42 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:42.570095' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_61", "status"=>"message_template_61", "body"=>"message_template_61"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_61' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_94@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (75.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_94@example.jp"], ["encrypted_password", "$2a$04$IgHMCleLmepQfdmoaqbbd.Hb2LIDpFsWLTNU.I2A8Jw03OIvc9EmK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_94"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:42 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:42 UTC +00:00], ["user_id", 12]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:42.684035' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_62", "status"=>"message_template_62", "body"=>"message_template_62"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_95@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_95@example.jp"], ["encrypted_password", "$2a$04$QJ.J1Z6jgY3uxuSYwUiR2eBXPVadRXntZBbjLy7m23vDHO8U0QNVW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_95"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:42 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:42 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:42.725847' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_96@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_96@example.jp"], ["encrypted_password", "$2a$04$/94HL/XWyQ/C4HBTrmzovODPK5j2Ppy42gOUDmm08Aunb56VsafH2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_96"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:42 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:42 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:42.765940' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.4ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_65", "status"=>"message_template_65", "body"=>"message_template_65"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_65' LIMIT 1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"title"=>"message_template_66", "status"=>"message_template_66", "body"=>"message_template_66"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = '' LIMIT 1 Processing by MessageTemplatesController#create as HTML Parameters: {"message_template"=>{"status"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_69' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_69"], ["created_at", Sun, 08 Jan 2012 15:21:42 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_69"], ["title", "message_template_69"], ["updated_at", Sun, 08 Jan 2012 15:21:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_17@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_17@example.jp"], ["encrypted_password", "$2a$04$skd4aXRSTDm404PmkD/vIOpXEkthoSdpClVg3EeAfCt3RtLKUXMHi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_17"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:42 UTC +00:00], ["role_id", 4], ["updated_at", Sun, 08 Jan 2012 15:21:42 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:42.853315' WHERE "roles"."id" = 4  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_70", "status"=>"message_template_70", "body"=>"message_template_70"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_70' AND "message_templates"."id" != 9) LIMIT 1  (0.2ms) UPDATE "message_templates" SET "title" = 'message_template_70', "status" = 'message_template_70', "body" = 'message_template_70', "updated_at" = '2012-01-08 15:21:42.878300' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates/9 Completed 302 Found in 92ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_71' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_71"], ["created_at", Sun, 08 Jan 2012 15:21:42 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_71"], ["title", "message_template_71"], ["updated_at", Sun, 08 Jan 2012 15:21:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_18@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_18@example.jp"], ["encrypted_password", "$2a$04$IgEX5JBX0Wnv3YKYyt0Xbus3Cg5DGmkh/Gx1x.4W2x1grpzxLykFC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:42 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_18"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:42 UTC +00:00], ["role_id", 4], ["updated_at", Sun, 08 Jan 2012 15:21:42 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:42.988763' WHERE "roles"."id" = 4  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_72", "status"=>"message_template_72", "body"=>"message_template_72"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (4.4ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = 'message_template_72' AND "message_templates"."id" != 9) LIMIT 1  (0.2ms) UPDATE "message_templates" SET "title" = 'message_template_72', "status" = 'message_template_72', "body" = 'message_template_72', "updated_at" = '2012-01-08 15:21:43.012475' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates/9 Completed 302 Found in 18ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_73' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_73"], ["created_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_73"], ["title", "message_template_73"], ["updated_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_19@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_19@example.jp"], ["encrypted_password", "$2a$04$3H/a4coCodOdXIHEg60P0.LdHISAOZBPRLf4qIxkBnZnSJxXbvU3e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_19"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00], ["role_id", 4], ["updated_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:43.041493' WHERE "roles"."id" = 4  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_74", "status"=>"message_template_74", "body"=>"message_template_74"}, "position"=>"2", "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "message_templates" SET "position" = 0, "updated_at" = '2012-01-08 15:21:43.060270' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "message_templates" SET position = (position - 1) WHERE "message_templates"."id" IN (SELECT "message_templates"."id" FROM "message_templates" WHERE (1 = 1 AND position > 9) ORDER BY position) SQL (0.2ms) UPDATE "message_templates" SET position = (position + 1) WHERE "message_templates"."id" IN (SELECT "message_templates"."id" FROM "message_templates" WHERE (1 = 1 AND position >= 2) ORDER BY position)  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "message_templates" SET "position" = 2, "updated_at" = '2012-01-08 15:21:43.062914' WHERE "message_templates"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/message_templates Completed 302 Found in 16ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_75' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_75"], ["created_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_75"], ["title", "message_template_75"], ["updated_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_20@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_20@example.jp"], ["encrypted_password", "$2a$04$mGmPM9R5r/yp/6ADvmuw8.w3sTMgiQ1kaDA6.D.7OG58ZdPjTpxMe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_20"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00], ["role_id", 4], ["updated_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:43.090998' WHERE "roles"."id" = 4  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "message_templates" WHERE ("message_templates"."status" = '' AND "message_templates"."id" != 9) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 25ms (Views: 1.2ms | ActiveRecord: 0.0ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_77' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_77"], ["created_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_77"], ["title", "message_template_77"], ["updated_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_17@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (66.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_17@example.jp"], ["encrypted_password", "$2a$04$.NpXZKgS0tPJ2i5ZixxNUOGj9AGT612xQd2uvUI7uzUIr06a3NT2i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_17"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00], ["role_id", 3], ["updated_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00], ["user_id", 12]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:43.213931' WHERE "roles"."id" = 3  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_78", "status"=>"message_template_78", "body"=>"message_template_78"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 14ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_79' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_79"], ["created_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_79"], ["title", "message_template_79"], ["updated_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_18@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_18@example.jp"], ["encrypted_password", "$2a$04$Lyh0bfBY0Aj6CA0vKDfK5.b4SirSB/3zwKkNE/JFqxyvHI79paAgq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_18"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00], ["role_id", 3], ["updated_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:43.271597' WHERE "roles"."id" = 3  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_80", "status"=>"message_template_80", "body"=>"message_template_80"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_81' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_81"], ["created_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_81"], ["title", "message_template_81"], ["updated_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_19@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (4.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_19@example.jp"], ["encrypted_password", "$2a$04$KRM.RwjAuLehDpf9WrT2weIxuArlGlaRU7rQnWCxoifQ9fxVT2lJm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_19"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00], ["role_id", 3], ["updated_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:43.319950' WHERE "roles"."id" = 3  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_83' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_83"], ["created_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_83"], ["title", "message_template_83"], ["updated_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.5ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_97@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_97@example.jp"], ["encrypted_password", "$2a$04$uSTIuD8qmaS2N7f03a9Op.YLyGdB00qO6Fbqzs5F6VKvTca.Ou.wW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_97"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00], ["user_id", 12]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:43.363978' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_84", "status"=>"message_template_84", "body"=>"message_template_84"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 2.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_85' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_85"], ["created_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_85"], ["title", "message_template_85"], ["updated_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_98@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_98@example.jp"], ["encrypted_password", "$2a$04$9lg0pZs1coHh21oUV1wtqeXXRNf3kYGJS9LzKj8/z3yVItMbYJx22"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_98"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:43.408142' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_86", "status"=>"message_template_86", "body"=>"message_template_86"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 17ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_87' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_87"], ["created_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_87"], ["title", "message_template_87"], ["updated_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.3ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_99@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_99@example.jp"], ["encrypted_password", "$2a$04$BnScRLPbpx1SFIUXZh/HhuXRtval5RZvbRZVqBatCIYGsP9ZwJj.W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_99"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:43.533187' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 2.2ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_89' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_89"], ["created_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_89"], ["title", "message_template_89"], ["updated_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_90", "status"=>"message_template_90", "body"=>"message_template_90"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_91' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_91"], ["created_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_91"], ["title", "message_template_91"], ["updated_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"title"=>"message_template_92", "status"=>"message_template_92", "body"=>"message_template_92"}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_93' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_93"], ["created_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_93"], ["title", "message_template_93"], ["updated_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#update as HTML Parameters: {"message_template"=>{"status"=>""}, "id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_95' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_95"], ["created_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_95"], ["title", "message_template_95"], ["updated_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_21@example.jp' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_21@example.jp"], ["encrypted_password", "$2a$04$SXOC9U/97PdoiebS4Z08XOC1wns/s4n6eiiWzQa/fnnhq6.MPdaDm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_21"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00], ["role_id", 4], ["updated_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:43.637462' WHERE "roles"."id" = 4  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_96' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_96"], ["created_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_96"], ["title", "message_template_96"], ["updated_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_22@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (3.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_22@example.jp"], ["encrypted_password", "$2a$04$af2R9dASBPVyBT/gQi2lwebQ0A9S1fAnjuMWdtWPntku9ZnfGyYq2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_22"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00], ["role_id", 4], ["updated_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:43.688659' WHERE "roles"."id" = 4  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 78ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_97' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_97"], ["created_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_97"], ["title", "message_template_97"], ["updated_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_20@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_20@example.jp"], ["encrypted_password", "$2a$04$6K0UgFnZntG9Jg49lYPcZ.e35Xd4b97hBKUVqwtmoDeDWuPJZtjSW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_20"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00], ["role_id", 3], ["updated_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:43.802912' WHERE "roles"."id" = 3  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 2.0ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_98' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_98"], ["created_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_98"], ["title", "message_template_98"], ["updated_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_21@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_21@example.jp"], ["encrypted_password", "$2a$04$XLD4dPakV9V.vGlCysg4fuUwF9mo4uC/J2qikg5mX2h.3pXRu22Q6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_21"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00], ["role_id", 3], ["updated_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:43.846442' WHERE "roles"."id" = 3  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 14ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_99' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_99"], ["created_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_99"], ["title", "message_template_99"], ["updated_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_100@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (6.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_100@example.jp"], ["encrypted_password", "$2a$04$1bpsX8kv2C4r0sXgNOZ4s.IMDgNeUUic9vvXnZR3oG65QEHbbPBKO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_100"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:43.898008' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_100' LIMIT 1 SQL (0.6ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_100"], ["created_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_100"], ["title", "message_template_100"], ["updated_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_101@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_101@example.jp"], ["encrypted_password", "$2a$04$Gyd39riuj7k6.xbOmx5eBupjRhbZwoHTFuSJOSiVrgMmuJmZzT96G"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_101"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:43.941703' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Completed 403 Forbidden in 20ms (Views: 5.7ms | ActiveRecord: 0.4ms | Solr: 0.0ms)  (0.1ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_101' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_101"], ["created_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_101"], ["title", "message_template_101"], ["updated_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 12ms  (0.0ms) SAVEPOINT active_record_1 MessageTemplate Load (0.3ms) SELECT "message_templates".* FROM "message_templates" WHERE (1 = 1) ORDER BY position DESC LIMIT 1  (0.1ms) SELECT 1 FROM "message_templates" WHERE "message_templates"."status" = 'message_template_102' LIMIT 1 SQL (0.5ms) INSERT INTO "message_templates" ("body", "created_at", "locale", "position", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "message_template_102"], ["created_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00], ["locale", "en"], ["position", 9], ["status", "message_template_102"], ["title", "message_template_102"], ["updated_at", Sun, 08 Jan 2012 15:21:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessageTemplatesController#destroy as HTML Parameters: {"id"=>"9"} MessageTemplate Load (0.1ms) SELECT "message_templates".* FROM "message_templates" WHERE "message_templates"."id" = ? ORDER BY position LIMIT 1 [["id", "9"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 75ms Role Load (0.3ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.5ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_23@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_23@example.jp"], ["encrypted_password", "$2a$04$2PalrS5wN75MXnT3Ziy59.pANGg6fu9HeVIdTC7zppKvhu7LDMQIS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_23"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:45 UTC +00:00], ["role_id", 4], ["updated_at", Sun, 08 Jan 2012 15:21:45 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:45.429198' WHERE "roles"."id" = 4  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 SOLR Request (8.0ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A12&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (3.8ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A12&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 77ms (Views: 25.6ms | ActiveRecord: 0.4ms | Solr: 11.8ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_24@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_24@example.jp"], ["encrypted_password", "$2a$04$lypNEjz6Y5KWQNG3IW8BsebIWm7agdw8/XKk1ZcTi/JhbgMBWLc9y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_24"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:45 UTC +00:00], ["role_id", 4], ["updated_at", Sun, 08 Jan 2012 15:21:45 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:45.539421' WHERE "roles"."id" = 4  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML Parameters: {"user_id"=>"admin_24"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'admin_24' LIMIT 1 SOLR Request (7.0ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A12&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (5.7ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A12&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 24ms (Views: 1.4ms | ActiveRecord: 0.5ms | Solr: 12.7ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_22@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_22@example.jp"], ["encrypted_password", "$2a$04$7NaVS1FMgT1AHU3PRlQ1puUjP9jtSe5R9/JsOIAIZno2E9sVO2lLm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_22"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:45 UTC +00:00], ["role_id", 3], ["updated_at", Sun, 08 Jan 2012 15:21:45 UTC +00:00], ["user_id", 12]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:45.595259' WHERE "roles"."id" = 3  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.8ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 SOLR Request (80.6ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A12&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (12.0ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A12&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 106ms (Views: 1.6ms | ActiveRecord: 1.0ms | Solr: 92.6ms) Role Load (0.5ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_23@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:45 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_23@example.jp"], ["encrypted_password", "$2a$04$VtW.POEAAcBbZ4MwJPEmquLoFIAeW96gkIYOTCNeB6Ur6nZb07pQO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:45 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_23"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:45 UTC +00:00], ["role_id", 3], ["updated_at", Sun, 08 Jan 2012 15:21:45 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:45.744717' WHERE "roles"."id" = 3  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#index as HTML Parameters: {"user_id"=>"librarian_23"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'librarian_23' LIMIT 1 SOLR Request (5.5ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A12&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (3.1ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A12&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Completed 200 OK in 20ms (Views: 1.4ms | ActiveRecord: 0.5ms | Solr: 8.6ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 SOLR Request (19.4ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (6.3ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IN (2) Completed 200 OK in 65ms (Views: 1.4ms | ActiveRecord: 0.5ms | Solr: 25.7ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML Parameters: {"query"=>"you"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 SOLR Request (13.0ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&q=you&fl=%2A+score&qf=body_text+subject_text&defType=dismax&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (5.9ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&q=you&fl=%2A+score&qf=body_text+subject_text&defType=dismax&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Message Load (0.3ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IN (2) Completed 200 OK in 50ms (Views: 1.4ms | ActiveRecord: 0.6ms | Solr: 18.9ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 SOLR Request (4.3ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=30&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] SOLR Request (7.3ms) [ path=# parameters={data: fq=type%3AMessage&fq=receiver_id_i%3A3&sort=created_at_d+desc&start=0&rows=10&facet=true&f.is_read_b.facet.mincount=1&facet.field=is_read_b&q=%2A%3A%2A, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded"}, path: select, uri: http://localhost:8981/solr/select?wt=ruby} ] Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IN (2) Completed 200 OK in 29ms (Views: 1.4ms | ActiveRecord: 0.6ms | Solr: 11.6ms) Processing by MessagesController#index as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 5ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 101ms (Views: 73.8ms | ActiveRecord: 0.6ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 0.9ms | ActiveRecord: 0.5ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#show as HTML Parameters: {"id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 3 AND "messages"."id" = ? LIMIT 1 [["id", "2"]]  (0.0ms) SAVEPOINT active_record_1  (0.3ms) UPDATE "messages" SET "read_at" = '2012-01-08 15:21:46.090409', "updated_at" = '2012-01-08 15:21:46.090843' WHERE "messages"."id" = 2 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1  (0.3ms) UPDATE "messages" SET "state" = 'read', "updated_at" = '2012-01-08 15:21:46.097423' WHERE "messages"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 22ms (Views: 1.5ms | ActiveRecord: 1.6ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#show as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_25@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_25@example.jp"], ["encrypted_password", "$2a$04$Sb2oFA9ChRnsmyLYQ.s8a.unVr3fvfkxQNCXTrKExItFfNEpDq4wu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_25"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00], ["role_id", 4], ["updated_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:46.137451' WHERE "roles"."id" = 4  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 Completed 200 OK in 11ms (Views: 1.8ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_24@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_24@example.jp"], ["encrypted_password", "$2a$04$x3Y42nUu3rw2mgaBS4xnyOURvuavNjx17v1KEboI4avM39Vq2bSAW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_24"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00], ["role_id", 3], ["updated_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:46.171582' WHERE "roles"."id" = 3  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 8ms (Views: 1.1ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 8ms (Views: 1.4ms | ActiveRecord: 0.2ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML Parameters: {"parent_id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 1.1ms | ActiveRecord: 0.2ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#new as HTML Parameters: {"parent_id"=>"2"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 9ms (Views: 0.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Processing by MessagesController#new as HTML Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_26@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_26@example.jp"], ["encrypted_password", "$2a$04$CyddsjG9Is8daqerG1qpbO4.ZhmLpFFvPQtkR60AMpoD0M4hE7rl."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_26"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00], ["role_id", 4], ["updated_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:46.307639' WHERE "roles"."id" = 4  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 12 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 9ms (Views: 0.9ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'librarian_25@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "librarian_25@example.jp"], ["encrypted_password", "$2a$04$DixO16UIpa5AmN9.9PDKYe6mR9sDcprB.5qeg0T/BbyA6jvtVvvky"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "librarian_25"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00], ["role_id", 3], ["updated_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:46.333336' WHERE "roles"."id" = 3  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.1ms | ActiveRecord: 0.5ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#edit as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 8ms (Views: 0.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_102@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (42.5ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_102@example.jp"], ["encrypted_password", "$2a$04$4ZO6Jfi11aKKpf6zXuH0YeSyS7q4FfMHMG3uDXLbugHV0VXAumZhm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_102"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:46.417282' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_103@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_103@example.jp"], ["encrypted_password", "$2a$04$AZodSBhWJ2TtYZAsbuqBJuXSvTp1Y/9tTyQsXqIBBX9mUZyEvRbBm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_103"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:46.430198' WHERE "roles"."id" = 2  (0.0ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user_102' LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "messages" ("body", "created_at", "lft", "message_request_id", "parent_id", "read_at", "receiver_id", "rgt", "sender_id", "state", "subject", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "new message body is really short"], ["created_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00], ["lft", 9], ["message_request_id", nil], ["parent_id", nil], ["read_at", nil], ["receiver_id", 12], ["rgt", 10], ["sender_id", 13], ["state", "unread"], ["subject", "new message"], ["updated_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#edit as HTML Parameters: {"id"=>"8"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "8"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_27@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_27@example.jp"], ["encrypted_password", "$2a$04$Er1Te8/22zvQBuhBiGivjemIoq4SdsoGmEnI0UWxzIdEqwizCO35."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_27"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00], ["role_id", 4], ["updated_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:46.455206' WHERE "roles"."id" = 4  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user1", "subject"=>"test", "body"=>"test"}, "user_id"=>"user1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user1' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user1' LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" ORDER BY "rgt" desc LIMIT 1 SQL (0.8ms) INSERT INTO "messages" ("body", "created_at", "lft", "message_request_id", "parent_id", "read_at", "receiver_id", "rgt", "sender_id", "state", "subject", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "test"], ["created_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00], ["lft", 9], ["message_request_id", nil], ["parent_id", nil], ["read_at", nil], ["receiver_id", 3], ["rgt", 10], ["sender_id", 12], ["state", "unread"], ["subject", "test"], ["updated_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/messages Completed 302 Found in 10ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_28@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_28@example.jp"], ["encrypted_password", "$2a$04$wly60ujvGs93MTV0Nhl4cO8qkyHpY52J18AlFleffjsr5.Px03KRq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_28"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00], ["role_id", 4], ["updated_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:46.484266' WHERE "roles"."id" = 4  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user1", "subject"=>"test", "body"=>"test"}, "user_id"=>"user1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user1' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user1' LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" ORDER BY "rgt" desc LIMIT 1 SQL (0.8ms) INSERT INTO "messages" ("body", "created_at", "lft", "message_request_id", "parent_id", "read_at", "receiver_id", "rgt", "sender_id", "state", "subject", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "test"], ["created_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00], ["lft", 9], ["message_request_id", nil], ["parent_id", nil], ["read_at", nil], ["receiver_id", 3], ["rgt", 10], ["sender_id", 12], ["state", "unread"], ["subject", "test"], ["updated_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/messages Completed 302 Found in 10ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_29@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_29@example.jp"], ["encrypted_password", "$2a$04$VhUWj6.7MwASZuJk5ANA/u.eD3b8KlaPcQkUt7zIBFidYhH2IQAEm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_29"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00], ["role_id", 4], ["updated_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:46.511359' WHERE "roles"."id" = 4  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user1", "subject"=>"test", "body"=>""}, "user_id"=>"user1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user1' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 51ms (Views: 0.8ms | ActiveRecord: 0.5ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Administrator' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin_30@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin_30@example.jp"], ["encrypted_password", "$2a$04$8M6sqxZdlQ3obpcgCHcmc.nJIhtgTBaEuhxNkhK.xhq9mKs0sBsbu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "admin_30"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00], ["role_id", 4], ["updated_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:46.578806' WHERE "roles"."id" = 4  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user1", "subject"=>"test", "body"=>""}, "user_id"=>"user1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 12 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 12 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" IS NULL LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user1' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 0.8ms | ActiveRecord: 0.4ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test", "parent_id"=>"2"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user2' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user2' LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "messages" ("body", "created_at", "lft", "message_request_id", "parent_id", "read_at", "receiver_id", "rgt", "sender_id", "state", "subject", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "test"], ["created_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00], ["lft", 9], ["message_request_id", nil], ["parent_id", 2], ["read_at", nil], ["receiver_id", 5], ["rgt", 10], ["sender_id", 2], ["state", "unread"], ["subject", "test"], ["updated_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00]] Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? ORDER BY "lft" LIMIT 1 [["id", 2]] Message Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 8]] SQL (0.3ms) UPDATE "messages" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 8 THEN 2 ELSE "parent_id" END WHERE "messages"."id" IN (SELECT "messages"."id" FROM "messages" ORDER BY "lft") Message Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 2]] Message Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/messages Completed 302 Found in 13ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user2", "subject"=>"test", "body"=>"test", "parent_id"=>"2"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user1", "subject"=>"test", "body"=>"test"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user1", "subject"=>"test", "body"=>"test"}} Redirected to http://test.host/users/sign_in Completed 302 Found in 6ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user1", "subject"=>"test", "body"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#create as HTML Parameters: {"message"=>{"recipient"=>"user1", "subject"=>"test", "body"=>""}} Redirected to http://test.host/users/sign_in Completed 302 Found in 4ms Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_104@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_104@example.jp"], ["encrypted_password", "$2a$04$wUm5c88YXAqbn0u49dqUK.9XoTxVMCb0yhTPsYrCBrhBiOVAuJHoG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_104"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:46.707623' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_105@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (41.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_105@example.jp"], ["encrypted_password", "$2a$04$fVd3QZUJqKRXPMX7B/YHJegasnCbEgW1efyMnDA5lcKcvm5ZkkuES"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_105"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:46.760411' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_104", "sender_id"=>"13", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 7ms (Views: 0.8ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_106@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_106@example.jp"], ["encrypted_password", "$2a$04$ExxJU8Df/uoNIvNhfum/lOLMsXnbTX3iXgkuRZgaMhABztrqB9hmy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_106"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:46.784028' WHERE "roles"."id" = 2  (0.0ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_107@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_107@example.jp"], ["encrypted_password", "$2a$04$YaCVn1lpe/JnT7g.eUSo3eZxF9.UINU0c/uBjP4QZLzQk9sCwXcPK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_107"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:46.796285' WHERE "roles"."id" = 2  (0.0ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_106", "sender_id"=>"13", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 6ms (Views: 0.9ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_108@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_108@example.jp"], ["encrypted_password", "$2a$04$i9SGnCrLlBw6GLIfNdq9KO8wU3g/mtnw8d/DQ1smC/Ek6cvqOKdA2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_108"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:46.820361' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_109@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_109@example.jp"], ["encrypted_password", "$2a$04$hIN9gUi3aJNZZXbyubm1y.PoZywbXzMecY8xzyY4sFSEMdK52u5vW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_109"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:46.832631' WHERE "roles"."id" = 2  (0.0ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 7ms (Views: 0.9ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_110@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_110@example.jp"], ["encrypted_password", "$2a$04$BEHfK3SOELhIa26uazQqUO7txK7KA8D3Yz.m7ovzQbp2lDP/EpPjK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_110"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:46.894916' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_111@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_111@example.jp"], ["encrypted_password", "$2a$04$fMbgN9hXiSRXZ4j2TtiJAOBSWxK516D2cwn8VUAbcjAUBuo28FByu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_111"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:46.907157' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 LIMIT 1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 1 AND "messages"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 6ms (Views: 0.8ms | ActiveRecord: 0.2ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_112@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_112@example.jp"], ["encrypted_password", "$2a$04$3avEtk18S.WgYFR3ng.GzegaEzZ5u1c5qOdYBRvVoLcJl8dsuE3yS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_112"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:46.930539' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_113@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_113@example.jp"], ["encrypted_password", "$2a$04$B.ITS3LWXIMcxVRndk0TbOf4ki28Nfe1pzDhd4n5zs5eP2kfInmEO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_113"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:46.942621' WHERE "roles"."id" = 2  (0.0ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_112", "sender_id"=>"13", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.8ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_114@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_114@example.jp"], ["encrypted_password", "$2a$04$SHAeURJt/y8M585nnonyw.VpCLLhX2183KrYT2eEjpZBo8f2ZL.I2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_114"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:46 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:46.966113' WHERE "roles"."id" = 2  (0.0ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_115@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.4ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_115@example.jp"], ["encrypted_password", "$2a$04$JidVziCzU9sc4UQvwtPMMe2uFW6IubQ/PiRgEi8mmXXoQ7XgfdA3W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_115"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:47 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:47 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:47.017608' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_114", "sender_id"=>"13", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 7ms (Views: 0.8ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_116@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.7ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_116@example.jp"], ["encrypted_password", "$2a$04$HgT3g6iOWEusDfSO4mKoYuh8OqFuOZb1kJtixW54.jsU2AJBEkWim"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_116"]] SQL (0.1ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:47 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:47 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:47.042423' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_117@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_117@example.jp"], ["encrypted_password", "$2a$04$Rk.GL1OlXA.KlUjJVB/m4OmAsymsUBLJMVBevN5HoNoaQCq6vWAEq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_117"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:47 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:47 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:47.059157' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 8ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_118@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_118@example.jp"], ["encrypted_password", "$2a$04$V45OSO6P/txgPrsLHa3T3.q1Up6lB55ybqCnC1cYf1SxXhxYEYVp6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_118"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:47 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:47 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:47.092779' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_119@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_119@example.jp"], ["encrypted_password", "$2a$04$Q94AO4sO5nwlSK3KIEwV4ug8kSne6ZWbykkej3P9dZbT3A7WsqtBO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_119"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:47 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:47 UTC +00:00], ["user_id", 13]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:47.116615' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_120@example.jp' LIMIT 1 Role Load (0.3ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_120@example.jp"], ["encrypted_password", "$2a$04$/NP9NZP/1ybSn/EtHWL7uu7ohK/k8i9Or/A62OPkUnYjbnO693QHW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_120"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:47 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:47 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:47.226254' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_121@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_121@example.jp"], ["encrypted_password", "$2a$04$QaONW6WRC93JBYcGY5oWsu7iQlq1aKvc2phRgrg3QqO2L3UxL5/iC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_121"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:47 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:47 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:47.248496' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_122@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_122@example.jp"], ["encrypted_password", "$2a$04$yzL06u5hMNjbkmTLrHCzH.b8CkGQzt5tc880AAQHgnaY9lpG3GL7O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_122"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:47 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:47 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:47.292352' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_123@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_123@example.jp"], ["encrypted_password", "$2a$04$2uZW8FwZF/.Kt0nPbxaUmeXB5qTZq9J4lMUaIXznTQg9hJ9.43u.2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_123"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:47 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:47 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:47.314450' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_124@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (68.6ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_124@example.jp"], ["encrypted_password", "$2a$04$MqugJRYvnX5E7FwNvlweKuyECBLoyrdMQnePVR2nkoip/A2pbsnUm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_124"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:47 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:47 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:47.421603' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_125@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_125@example.jp"], ["encrypted_password", "$2a$04$9jJzXD/7Wnzl6QMNzlG/We6zWbTdKGyw1bihUouJLyWHUwrbjb1SO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_125"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:47 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:47 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:47.443751' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_124", "sender_id"=>"13", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_126@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_126@example.jp"], ["encrypted_password", "$2a$04$vibIapAdBMfj9LziK8/dbuF6VL7M8Lk0SJcQRCZiSW5m4JxY0ipgO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_126"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:47 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:47 UTC +00:00], ["user_id", 12]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:47.486205' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_127@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_127@example.jp"], ["encrypted_password", "$2a$04$6i9QMMy8cuJmMPVLsL0FFuZEd6ZFXI1suvh3IEJxKE7Zh0g3xxdJm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_127"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:47 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:47 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:47.511673' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"recipient"=>"user_126", "sender_id"=>"13", "subject"=>"new message", "body"=>"new message body is really short"}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_128@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_128@example.jp"], ["encrypted_password", "$2a$04$MsDhJLWCdPekrUoFHzZyPO1./VID1cNxkfqGG2f6DXO6k52PKLD3i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_128"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:47 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:47 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:47.555911' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_129@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (66.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_129@example.jp"], ["encrypted_password", "$2a$04$LhPnAYX7MCVrsdDj.YFUduUuLHxEGJK0/381rEDpD4xC.Biya0Ojm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_129"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:47 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:47 UTC +00:00], ["user_id", 13]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:47.644067' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 10ms (Views: 1.2ms | ActiveRecord: 0.3ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_130@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_130@example.jp"], ["encrypted_password", "$2a$04$PjX0By99U3WrOv0GCZIk2ePjmgvuWmon86Eb6IjAbYRC36HuBvMh2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_130"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:47 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:47 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:47.689156' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_131@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.3ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_131@example.jp"], ["encrypted_password", "$2a$04$YjKjIfFkK2Pb9od.jsltWueXQpF1bRJuC5fLOmPmmVEyOtY5qfw2u"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_131"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:47 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:47 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:47.713851' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#update as HTML Parameters: {"message"=>{"sender_id"=>""}, "id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 Completed 403 Forbidden in 11ms (Views: 1.3ms | ActiveRecord: 0.4ms | Solr: 0.0ms) Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_132@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_132@example.jp"], ["encrypted_password", "$2a$04$xHR4Tn6zWul8ybvsLzKPPO3Gp5mc26L5Am6soaCuR9QiReRi2Bt/6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_132"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:47 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:47 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:47.757841' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_133@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_133@example.jp"], ["encrypted_password", "$2a$04$6fOTzQEC1YBb.voO63Ot2Om4UQrqEHZR2j5RQmQFxDqMgrhPIhOHK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_133"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:47 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:47 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:47.780548' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MessagesController#update as HTML Parameters: {"message"=>{}, "id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 9ms User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#destroy as HTML Parameters: {"id"=>"2"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "2"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."receiver_id" = 3 AND "messages"."id" = ? LIMIT 1 [["id", "2"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "messages" WHERE ("lft" > 3 AND "rgt" < 4) SQL (0.4ms) UPDATE "messages" SET "lft" = ("lft" - 2) WHERE "messages"."id" IN (SELECT "messages"."id" FROM "messages" WHERE ("lft" > 4) ORDER BY "lft") SQL (0.5ms) UPDATE "messages" SET "rgt" = ("rgt" - 2) WHERE "messages"."id" IN (SELECT "messages"."id" FROM "messages" WHERE ("rgt" > 4) ORDER BY "lft") SQL (0.2ms) DELETE FROM "messages" WHERE "messages"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/messages Completed 302 Found in 88ms User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 3 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 Completed 403 Forbidden in 12ms (Views: 1.3ms | ActiveRecord: 0.5ms | Solr: 0.0ms) Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 7ms Processing by MessagesController#destroy as HTML Parameters: {"id"=>"1"} Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", "1"]] Redirected to http://test.host/users/sign_in Completed 302 Found in 8ms Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_134@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_134@example.jp"], ["encrypted_password", "$2a$04$jHJmPdaZ2tWGTF8pqTIvKuLAD1ziIJq/BT8gaiOXOoR0Si2tALqkG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_134"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:47 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:47 UTC +00:00], ["user_id", 12]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:47.953590' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_135@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (6.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_135@example.jp"], ["encrypted_password", "$2a$04$O391JQBiPvXdgamLC7bzZ.VQy2XCbSZ4TbJ19jI6sK3cQTKOu58IO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:47 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_135"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:47 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:47 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:47.980299' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user_134' LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" ORDER BY "rgt" desc LIMIT 1 SQL (0.8ms) INSERT INTO "messages" ("body", "created_at", "lft", "message_request_id", "parent_id", "read_at", "receiver_id", "rgt", "sender_id", "state", "subject", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "new message body is really short"], ["created_at", Sun, 08 Jan 2012 15:21:47 UTC +00:00], ["lft", 9], ["message_request_id", nil], ["parent_id", nil], ["read_at", nil], ["receiver_id", 12], ["rgt", 10], ["sender_id", 13], ["state", "unread"], ["subject", "new message"], ["updated_at", Sun, 08 Jan 2012 15:21:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_136@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_136@example.jp"], ["encrypted_password", "$2a$04$G4EU0GJDGjbw53kpm2tqAuiHBT7hTsyGs2Vkdaj9yRM/1Xb2TcO8q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_136"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:48 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:48 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:48.014270' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_137@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.1ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_137@example.jp"], ["encrypted_password", "$2a$04$6N7gAd8Yem1hd.slfbCnHOLTBTs8OA6CH2w0hYmcT8GZRdT93a2ru"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_137"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:48 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:48 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:48.039829' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user_136' LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" ORDER BY "rgt" desc LIMIT 1 SQL (0.8ms) INSERT INTO "messages" ("body", "created_at", "lft", "message_request_id", "parent_id", "read_at", "receiver_id", "rgt", "sender_id", "state", "subject", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "new message body is really short"], ["created_at", Sun, 08 Jan 2012 15:21:48 UTC +00:00], ["lft", 9], ["message_request_id", nil], ["parent_id", nil], ["read_at", nil], ["receiver_id", 12], ["rgt", 10], ["sender_id", 13], ["state", "unread"], ["subject", "new message"], ["updated_at", Sun, 08 Jan 2012 15:21:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_138@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (68.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_138@example.jp"], ["encrypted_password", "$2a$04$fixPzkjMHStRGe7D3I5BAeDNFAch7l4oLbb5f1qv3gWGIHUNl8DUC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_138"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:48 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:48 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:48.140466' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_139@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_139@example.jp"], ["encrypted_password", "$2a$04$kjlS8IbytDQs62xQaCn2dORVck2fwas3bJyWIuyIiGh5589LEZ4mC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_139"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:48 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:48 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:48.164562' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user_138' LIMIT 1 Message Load (1.8ms) SELECT "messages".* FROM "messages" ORDER BY "rgt" desc LIMIT 1 SQL (1.0ms) INSERT INTO "messages" ("body", "created_at", "lft", "message_request_id", "parent_id", "read_at", "receiver_id", "rgt", "sender_id", "state", "subject", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "new message body is really short"], ["created_at", Sun, 08 Jan 2012 15:21:48 UTC +00:00], ["lft", 9], ["message_request_id", nil], ["parent_id", nil], ["read_at", nil], ["receiver_id", 12], ["rgt", 10], ["sender_id", 13], ["state", "unread"], ["subject", "new message"], ["updated_at", Sun, 08 Jan 2012 15:21:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_140@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_140@example.jp"], ["encrypted_password", "$2a$04$8VoiT8SrNEMu4KU.ymIaqujCcL7nqVyKOV70e7/COitm1oSZHVssi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_140"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:48 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:48 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:48.196466' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_141@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_141@example.jp"], ["encrypted_password", "$2a$04$r1zGu3dHXwb7SEVYnGLlwOx.PYWMlxuRxO5hP.JeYyjg9KhV5IAQi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_141"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:48 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:48 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:48.218829' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user_140' LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" ORDER BY "rgt" desc LIMIT 1 SQL (0.9ms) INSERT INTO "messages" ("body", "created_at", "lft", "message_request_id", "parent_id", "read_at", "receiver_id", "rgt", "sender_id", "state", "subject", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "new message body is really short"], ["created_at", Sun, 08 Jan 2012 15:21:48 UTC +00:00], ["lft", 9], ["message_request_id", nil], ["parent_id", nil], ["read_at", nil], ["receiver_id", 12], ["rgt", 10], ["sender_id", 13], ["state", "unread"], ["subject", "new message"], ["updated_at", Sun, 08 Jan 2012 15:21:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_142@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.8ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_142@example.jp"], ["encrypted_password", "$2a$04$vpqOrLDR/LtRtr0dBvF2POAcKvu31KVyZ5CJvDQeLraeGuEtUn8U2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_142"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:48 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:48 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:48.253999' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_143@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.0ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_143@example.jp"], ["encrypted_password", "$2a$04$t5aBQ3iYB9Cl3pF5RJVx7.bKkcvEIHbegyh84/lNDJpkz/wWIQCVS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_143"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:48 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:48 UTC +00:00], ["user_id", 13]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:48.277912' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user_142' LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" ORDER BY "rgt" desc LIMIT 1 SQL (0.9ms) INSERT INTO "messages" ("body", "created_at", "lft", "message_request_id", "parent_id", "read_at", "receiver_id", "rgt", "sender_id", "state", "subject", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "new message body is really short"], ["created_at", Sun, 08 Jan 2012 15:21:48 UTC +00:00], ["lft", 9], ["message_request_id", nil], ["parent_id", nil], ["read_at", nil], ["receiver_id", 12], ["rgt", 10], ["sender_id", 13], ["state", "unread"], ["subject", "new message"], ["updated_at", Sun, 08 Jan 2012 15:21:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_144@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.2ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_144@example.jp"], ["encrypted_password", "$2a$04$Gq3XwbNqoomVcH.n4fx7HufK7DpBcpds6xNF1TT2EgsLB8Sdu2.C."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_144"]] SQL (0.2ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:48 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:48 UTC +00:00], ["user_id", 12]]  (0.1ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:48.387980' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 12 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 UserGroup Load (0.1ms) SELECT "user_groups".* FROM "user_groups" LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'User' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user_145@example.jp' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Librarian' LIMIT 1 PatronType Load (0.1ms) SELECT "patron_types".* FROM "patron_types" WHERE "patron_types"."id" = 1 ORDER BY patron_types.position LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.9ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "locale", "note", "remember_created_at", "required_role_id", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "user_group_id", "user_number", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user_145@example.jp"], ["encrypted_password", "$2a$04$w5HwyLY9A0wczcIGWXJwhOpqBxq0mNxEgwG0.50UBoqb.VHU3mT.m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", "en"], ["note", nil], ["remember_created_at", nil], ["required_role_id", 3], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Jan 2012 15:21:48 UTC +00:00], ["user_group_id", 1], ["user_number", nil], ["username", "user_145"]] SQL (0.3ms) INSERT INTO "user_has_roles" ("created_at", "role_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Jan 2012 15:21:48 UTC +00:00], ["role_id", 2], ["updated_at", Sun, 08 Jan 2012 15:21:48 UTC +00:00], ["user_id", 13]]  (0.2ms) UPDATE "roles" SET "updated_at" = '2012-01-08 15:21:48.409506' WHERE "roles"."id" = 2  (0.1ms) SELECT 1 FROM "patrons" WHERE "patrons"."user_id" = 13 LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'user_144' LIMIT 1 Message Load (0.2ms) SELECT "messages".* FROM "messages" ORDER BY "rgt" desc LIMIT 1 SQL (0.8ms) INSERT INTO "messages" ("body", "created_at", "lft", "message_request_id", "parent_id", "read_at", "receiver_id", "rgt", "sender_id", "state", "subject", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "new message body is really short"], ["created_at", Sun, 08 Jan 2012 15:21:48 UTC +00:00], ["lft", 9], ["message_request_id", nil], ["parent_id", nil], ["read_at", nil], ["receiver_id", 12], ["rgt", 10], ["sender_id", 13], ["state", "unread"], ["subject", "new message"], ["updated_at", Sun, 08 Jan 2012 15:21:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "messages" SET "read_at" = '2012-01-08 15:21:48.420990', "updated_at" = '2012-01-08 15:21:48.421608' WHERE "messages"."id" = 2 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1  (0.1ms) UPDATE "messages" SET "state" = 'read', "updated_at" = '2012-01-08 15:21:48.427380' WHERE "messages"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1